package hanson.xyz.vpnhotspotmod;

@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\\\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\f\u0018\u0000 *2\u00020\u00012\u00020\u00022\u00020\u0003:\u0004)*+,B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0016\u0010\u0019\u001a\u00060\u000bR\u00020\u00002\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bH\u0016J\b\u0010\u001c\u001a\u00020\u001dH\u0016J\b\u0010\u001e\u001a\u00020\u001dH\u0002J\u0010\u0010\u001f\u001a\u00020\u001d2\u0006\u0010 \u001a\u00020!H\u0017J\"\u0010\"\u001a\u00020!2\b\u0010\u001a\u001a\u0004\u0018\u00010\u001b2\u0006\u0010#\u001a\u00020!2\u0006\u0010$\u001a\u00020!H\u0016J\u0018\u0010%\u001a\u00020\u001d2\u000e\u0010&\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00070\u0006H\u0016J\b\u0010\'\u001a\u00020\u001dH\u0002J\b\u0010(\u001a\u00020\u001dH\u0014R\u001a\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0012\u0010\n\u001a\u00060\u000bR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\rX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000e\u001a\u00020\u000fX\u0096\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u000e\u0010\u0012\u001a\u00020\u0013X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0014\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\u00160\u0015X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00070\u00068TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0018\u0010\t\u00a8\u0006-"}, d2 = {"Lhanson/xyz/vpnhotspotmod/TetheringService;", "Lhanson/xyz/vpnhotspotmod/IpNeighbourMonitoringService;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$TetheringEventCallback;", "Lkotlinx/coroutines/CoroutineScope;", "()V", "activeIfaces", "", "", "getActiveIfaces", "()Ljava/util/List;", "binder", "Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "callbackRegistered", "", "coroutineContext", "Lkotlin/coroutines/CoroutineContext;", "getCoroutineContext", "()Lkotlin/coroutines/CoroutineContext;", "dispatcher", "Lkotlinx/coroutines/CoroutineDispatcher;", "downstreams", "Ljava/util/concurrent/ConcurrentHashMap;", "Lhanson/xyz/vpnhotspotmod/TetheringService$Downstream;", "inactiveIfaces", "getInactiveIfaces", "onBind", "intent", "Landroid/content/Intent;", "onDestroy", "", "onDownstreamsChangedLocked", "onOffloadStatusChanged", "status", "", "onStartCommand", "flags", "startId", "onTetheredInterfacesChanged", "interfaces", "unregisterReceiver", "updateNotification", "Binder", "Companion", "Downstream", "Starter", "mobile_freedomDebug"})
public final class TetheringService extends hanson.xyz.vpnhotspotmod.IpNeighbourMonitoringService implements hanson.xyz.vpnhotspotmod.net.TetheringManager.TetheringEventCallback, kotlinx.coroutines.CoroutineScope {
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String EXTRA_ADD_INTERFACES = "interface.add";
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String EXTRA_ADD_INTERFACE_MONITOR = "interface.add.monitor";
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String EXTRA_ADD_INTERFACES_MONITOR = "interface.adds.monitor";
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String EXTRA_REMOVE_INTERFACE = "interface.remove";
    
    /**
     * Writes and critical reads to downstreams should be protected with this context.
     */
    @org.jetbrains.annotations.NotNull
    private final kotlinx.coroutines.CoroutineDispatcher dispatcher = null;
    @org.jetbrains.annotations.NotNull
    private final kotlin.coroutines.CoroutineContext coroutineContext = null;
    @org.jetbrains.annotations.NotNull
    private final hanson.xyz.vpnhotspotmod.TetheringService.Binder binder = null;
    @org.jetbrains.annotations.NotNull
    private final java.util.concurrent.ConcurrentHashMap<java.lang.String, hanson.xyz.vpnhotspotmod.TetheringService.Downstream> downstreams = null;
    private boolean callbackRegistered = false;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.TetheringService.Companion Companion = null;
    
    public TetheringService() {
        super();
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public kotlin.coroutines.CoroutineContext getCoroutineContext() {
        return null;
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    protected java.util.List<java.lang.String> getActiveIfaces() {
        return null;
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    protected java.util.List<java.lang.String> getInactiveIfaces() {
        return null;
    }
    
    @java.lang.Override
    public void onTetheredInterfacesChanged(@org.jetbrains.annotations.NotNull
    java.util.List<java.lang.String> interfaces) {
    }
    
    @java.lang.Override
    @androidx.annotation.RequiresApi(value = 30)
    public void onOffloadStatusChanged(int status) {
    }
    
    private final void onDownstreamsChangedLocked() {
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public hanson.xyz.vpnhotspotmod.TetheringService.Binder onBind(@org.jetbrains.annotations.Nullable
    android.content.Intent intent) {
        return null;
    }
    
    @java.lang.Override
    public int onStartCommand(@org.jetbrains.annotations.Nullable
    android.content.Intent intent, int flags, int startId) {
        return 0;
    }
    
    @java.lang.Override
    public void onDestroy() {
    }
    
    private final void unregisterReceiver() {
    }
    
    @java.lang.Override
    protected void updateNotification() {
    }
    
    @java.lang.Override
    public void onClientsChanged(@org.jetbrains.annotations.NotNull
    java.util.Collection<?> clients) {
    }
    
    @java.lang.Override
    public void onError(@org.jetbrains.annotations.NotNull
    java.lang.String ifName, int error) {
    }
    
    @java.lang.Override
    @android.annotation.TargetApi(value = 31)
    public void onSupportedTetheringTypes(@org.jetbrains.annotations.NotNull
    java.util.Set<java.lang.Integer> supportedTypes) {
    }
    
    @java.lang.Override
    public void onTetherableInterfaceRegexpsChanged(@org.jetbrains.annotations.Nullable
    java.lang.Object reg) {
    }
    
    @java.lang.Override
    public void onTetherableInterfacesChanged(@org.jetbrains.annotations.NotNull
    java.util.List<java.lang.String> interfaces) {
    }
    
    @java.lang.Override
    public void onTetheringSupported(boolean supported) {
    }
    
    @java.lang.Override
    public void onUpstreamChanged(@org.jetbrains.annotations.Nullable
    android.net.Network network) {
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u0005J\u0015\u0010\u000f\u001a\u0004\u0018\u00010\r2\u0006\u0010\u000e\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0010J\u0015\u0010\u0011\u001a\u0004\u0018\u00010\r2\u0006\u0010\u000e\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0010R\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048F\u00a2\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\b\u001a\u00020\t\u00a2\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "Landroid/os/Binder;", "(Lhanson/xyz/vpnhotspotmod/TetheringService;)V", "monitoredIfaces", "", "", "getMonitoredIfaces", "()Ljava/util/List;", "routingsChanged", "Lhanson/xyz/vpnhotspotmod/util/Event0;", "getRoutingsChanged", "()Lhanson/xyz/vpnhotspotmod/util/Event0;", "isActive", "", "iface", "isInactive", "(Ljava/lang/String;)Ljava/lang/Boolean;", "monitored", "mobile_freedomDebug"})
    public final class Binder extends android.os.Binder {
        @org.jetbrains.annotations.NotNull
        private final hanson.xyz.vpnhotspotmod.util.Event0 routingsChanged = null;
        
        public Binder() {
            super();
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.util.Event0 getRoutingsChanged() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.List<java.lang.String> getMonitoredIfaces() {
            return null;
        }
        
        public final boolean isActive(@org.jetbrains.annotations.NotNull
        java.lang.String iface) {
            return false;
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Boolean isInactive(@org.jetbrains.annotations.NotNull
        java.lang.String iface) {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Boolean monitored(@org.jetbrains.annotations.NotNull
        java.lang.String iface) {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/TetheringService$Companion;", "", "()V", "EXTRA_ADD_INTERFACES", "", "EXTRA_ADD_INTERFACES_MONITOR", "EXTRA_ADD_INTERFACE_MONITOR", "EXTRA_REMOVE_INTERFACE", "mobile_freedomDebug"})
    public static final class Companion {
        
        private Companion() {
            super();
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\bJ\f\u0010\r\u001a\u00020\u000e*\u00020\u000fH\u0014R\u001a\u0010\u0006\u001a\u00020\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\f\u00a8\u0006\u0010"}, d2 = {"Lhanson/xyz/vpnhotspotmod/TetheringService$Downstream;", "Lhanson/xyz/vpnhotspotmod/RoutingManager;", "caller", "", "downstream", "", "monitor", "", "(Ljava/lang/Object;Ljava/lang/String;Z)V", "getMonitor", "()Z", "setMonitor", "(Z)V", "configure", "", "Lhanson/xyz/vpnhotspotmod/net/Routing;", "mobile_freedomDebug"})
    static final class Downstream extends hanson.xyz.vpnhotspotmod.RoutingManager {
        private boolean monitor;
        
        public Downstream(@org.jetbrains.annotations.NotNull
        java.lang.Object caller, @org.jetbrains.annotations.NotNull
        java.lang.String downstream, boolean monitor) {
            super(null, null, false);
        }
        
        public final boolean getMonitor() {
            return false;
        }
        
        public final void setMonitor(boolean p0) {
        }
        
        @java.lang.Override
        protected void configure(@org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.Routing $this$configure) {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0016\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00040\u0003j\b\u0012\u0004\u0012\u00020\u0004`\u0005\u00a2\u0006\u0002\u0010\u0006J\u0019\u0010\t\u001a\u0012\u0012\u0004\u0012\u00020\u00040\u0003j\b\u0012\u0004\u0012\u00020\u0004`\u0005H\u00c6\u0003J#\u0010\n\u001a\u00020\u00002\u0018\b\u0002\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00040\u0003j\b\u0012\u0004\u0012\u00020\u0004`\u0005H\u00c6\u0001J\t\u0010\u000b\u001a\u00020\fH\u00d6\u0001J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u00d6\u0003J\t\u0010\u0011\u001a\u00020\fH\u00d6\u0001J\u0010\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u0015H\u0016J\t\u0010\u0016\u001a\u00020\u0004H\u00d6\u0001J\u0019\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u001a\u001a\u00020\fH\u00d6\u0001R!\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00040\u0003j\b\u0012\u0004\u0012\u00020\u0004`\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\b\u00a8\u0006\u001b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/TetheringService$Starter;", "Lhanson/xyz/vpnhotspotmod/BootReceiver$Startable;", "monitored", "Ljava/util/ArrayList;", "", "Lkotlin/collections/ArrayList;", "(Ljava/util/ArrayList;)V", "getMonitored", "()Ljava/util/ArrayList;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "start", "", "context", "Landroid/content/Context;", "toString", "writeToParcel", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
    @kotlinx.parcelize.Parcelize
    public static final class Starter implements hanson.xyz.vpnhotspotmod.BootReceiver.Startable {
        @org.jetbrains.annotations.NotNull
        private final java.util.ArrayList<java.lang.String> monitored = null;
        
        public Starter(@org.jetbrains.annotations.NotNull
        java.util.ArrayList<java.lang.String> monitored) {
            super();
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.ArrayList<java.lang.String> getMonitored() {
            return null;
        }
        
        @java.lang.Override
        public void start(@org.jetbrains.annotations.NotNull
        android.content.Context context) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.ArrayList<java.lang.String> component1() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.TetheringService.Starter copy(@org.jetbrains.annotations.NotNull
        java.util.ArrayList<java.lang.String> monitored) {
            return null;
        }
        
        @java.lang.Override
        public int describeContents() {
            return 0;
        }
        
        @java.lang.Override
        public boolean equals(@org.jetbrains.annotations.Nullable
        java.lang.Object other) {
            return false;
        }
        
        @java.lang.Override
        public int hashCode() {
            return 0;
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public java.lang.String toString() {
            return null;
        }
        
        @java.lang.Override
        public void writeToParcel(@org.jetbrains.annotations.NotNull
        android.os.Parcel parcel, int flags) {
        }
    }
}