package hanson.xyz.vpnhotspotmod;

@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000z\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\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u000f\u0018\u0000 72\u00020\u00012\u00020\u0002:\u00066789:;B\u0005\u00a2\u0006\u0002\u0010\u0003J\u0011\u0010 \u001a\u00020!H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\"J\u0016\u0010#\u001a\u00060\nR\u00020\u00002\b\u0010$\u001a\u0004\u0018\u00010%H\u0016J\b\u0010&\u001a\u00020!H\u0016J\u0010\u0010\'\u001a\u00020!2\u0006\u0010(\u001a\u00020\u0013H\u0002J\u0010\u0010)\u001a\u00020!2\u0006\u0010\u001a\u001a\u00020\u001bH\u0002J\u0016\u0010*\u001a\u00020!2\f\u0010+\u001a\b\u0012\u0004\u0012\u00020-0,H\u0016J\"\u0010.\u001a\u00020\u00132\b\u0010$\u001a\u0004\u0018\u00010%2\u0006\u0010/\u001a\u00020\u00132\u0006\u00100\u001a\u00020\u0013H\u0016J\b\u00101\u001a\u00020!H\u0002J\u0012\u00102\u001a\u00020!2\b\b\u0002\u00103\u001a\u00020\u0019H\u0002J\b\u00104\u001a\u00020!H\u0002J\u0010\u00105\u001a\u00020!2\u0006\u0010$\u001a\u00020%H\u0002R\u001a\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u00058TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0012\u0010\t\u001a\u00060\nR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000b\u001a\u00020\fX\u0096\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u000e\u0010\u000f\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000R$\u0010\u0011\u001a\u0018\u0012\u0004\u0012\u00020\u0013\u0012\u0006\u0012\u0004\u0018\u00010\u0006\u0012\u0004\u0012\u00020\u0013\u0018\u00010\u0012X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0014\u001a\u00020\u0015X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0016\u001a\u00020\u0017X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0018\u001a\u00020\u0019X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001a\u001a\u0004\u0018\u00010\u001bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001c\u001a\u0004\u0018\u00010\u001dX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u001e\u001a\u0004\u0018\u00010\u001fX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006<"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService;", "Lhanson/xyz/vpnhotspotmod/IpNeighbourMonitoringService;", "Lkotlinx/coroutines/CoroutineScope;", "()V", "activeIfaces", "", "", "getActiveIfaces", "()Ljava/util/List;", "binder", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;", "coroutineContext", "Lkotlin/coroutines/CoroutineContext;", "getCoroutineContext", "()Lkotlin/coroutines/CoroutineContext;", "dispatcher", "Lkotlinx/coroutines/CoroutineDispatcher;", "lastState", "Lkotlin/Triple;", "", "lohCallback", "Landroid/net/wifi/WifiManager$LocalOnlyHotspotCallback;", "receiver", "Landroid/content/BroadcastReceiver;", "receiverRegistered", "", "reservation", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Reservation;", "routingManager", "Lhanson/xyz/vpnhotspotmod/RoutingManager;", "timeoutMonitor", "Lhanson/xyz/vpnhotspotmod/net/monitor/TetherTimeoutMonitor;", "doStart", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "onBind", "intent", "Landroid/content/Intent;", "onDestroy", "onFrameworkFailed", "reason", "onFrameworkStarted", "onIpNeighbourAvailable", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "onStartCommand", "flags", "startId", "stopService", "unregisterReceiver", "exit", "unregisterStateReceiver", "updateState", "Binder", "Companion", "Framework", "Reservation", "Root", "Starter", "mobile_freedomDebug"})
public final class LocalOnlyHotspotService extends hanson.xyz.vpnhotspotmod.IpNeighbourMonitoringService implements kotlinx.coroutines.CoroutineScope {
    @org.jetbrains.annotations.NotNull
    public static final java.lang.String KEY_USE_SYSTEM = "service.tempHotspot.useSystem";
    @org.jetbrains.annotations.NotNull
    private final hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Binder binder = null;
    @org.jetbrains.annotations.Nullable
    private hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Reservation reservation;
    @org.jetbrains.annotations.NotNull
    private final android.net.wifi.WifiManager.LocalOnlyHotspotCallback lohCallback = null;
    
    /**
     * Writes and critical reads to routingManager 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.Nullable
    private hanson.xyz.vpnhotspotmod.RoutingManager routingManager;
    @org.jetbrains.annotations.Nullable
    private hanson.xyz.vpnhotspotmod.net.monitor.TetherTimeoutMonitor timeoutMonitor;
    @org.jetbrains.annotations.Nullable
    private kotlin.Triple<java.lang.Integer, java.lang.String, java.lang.Integer> lastState;
    @org.jetbrains.annotations.NotNull
    private final android.content.BroadcastReceiver receiver = null;
    private boolean receiverRegistered = false;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Companion Companion = null;
    
    public LocalOnlyHotspotService() {
        super();
    }
    
    private final void onFrameworkStarted(hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Reservation reservation) {
    }
    
    private final void onFrameworkFailed(int reason) {
    }
    
    @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;
    }
    
    private final void updateState(android.content.Intent intent) {
    }
    
    private final void unregisterStateReceiver() {
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.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;
    }
    
    private final java.lang.Object doStart(kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
        return null;
    }
    
    @java.lang.Override
    public void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
    java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours) {
    }
    
    @java.lang.Override
    public void onDestroy() {
    }
    
    private final void stopService() {
    }
    
    private final void unregisterReceiver(boolean exit) {
    }
    
    @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\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\u0012\u001a\u00020\u0013R\u0013\u0010\u0003\u001a\u0004\u0018\u00010\u00048F\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R(\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\b@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR\u0019\u0010\u000e\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\b0\u000f\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;", "Landroid/os/Binder;", "(Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService;)V", "configuration", "Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "getConfiguration", "()Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "value", "", "iface", "getIface", "()Ljava/lang/String;", "setIface", "(Ljava/lang/String;)V", "ifaceChanged", "Lhanson/xyz/vpnhotspotmod/util/StickyEvent1;", "getIfaceChanged", "()Lhanson/xyz/vpnhotspotmod/util/StickyEvent1;", "stop", "", "mobile_freedomDebug"})
    public final class Binder extends android.os.Binder {
        
        /**
         * null represents IDLE, "" represents CONNECTING, "something" represents CONNECTED.
         */
        @org.jetbrains.annotations.Nullable
        private java.lang.String iface;
        @org.jetbrains.annotations.NotNull
        private final hanson.xyz.vpnhotspotmod.util.StickyEvent1<java.lang.String> ifaceChanged = null;
        
        public Binder() {
            super();
        }
        
        /**
         * null represents IDLE, "" represents CONNECTING, "something" represents CONNECTED.
         */
        @org.jetbrains.annotations.Nullable
        public final java.lang.String getIface() {
            return null;
        }
        
        public final void setIface(@org.jetbrains.annotations.Nullable
        java.lang.String value) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.util.StickyEvent1<java.lang.String> getIfaceChanged() {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable
        public final hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat getConfiguration() {
            return null;
        }
        
        public final void stop() {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\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\u0000\u00a8\u0006\u0005"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Companion;", "", "()V", "KEY_USE_SYSTEM", "", "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\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\u0018\u00002\u00020\u0001B\u0011\u0012\n\u0010\u0002\u001a\u00060\u0003R\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\b\u0010\n\u001a\u00020\u000bH\u0016R\u0016\u0010\u0006\u001a\u0004\u0018\u00010\u00078VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0012\u0010\u0002\u001a\u00060\u0003R\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Framework;", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Reservation;", "reservation", "Landroid/net/wifi/WifiManager$LocalOnlyHotspotReservation;", "Landroid/net/wifi/WifiManager;", "(Landroid/net/wifi/WifiManager$LocalOnlyHotspotReservation;)V", "configuration", "Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "getConfiguration", "()Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "close", "", "mobile_freedomDebug"})
    public static final class Framework implements hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Reservation {
        @org.jetbrains.annotations.NotNull
        private final android.net.wifi.WifiManager.LocalOnlyHotspotReservation reservation = null;
        
        public Framework(@org.jetbrains.annotations.NotNull
        android.net.wifi.WifiManager.LocalOnlyHotspotReservation reservation) {
            super();
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.Nullable
        public hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat getConfiguration() {
            return null;
        }
        
        @java.lang.Override
        public void close() {
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0014\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005\u00a8\u0006\u0006"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Reservation;", "Ljava/lang/AutoCloseable;", "configuration", "Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "getConfiguration", "()Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "mobile_freedomDebug"})
    public static abstract interface Reservation extends java.lang.AutoCloseable {
        
        @org.jetbrains.annotations.Nullable
        public abstract hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat getConfiguration();
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0087\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\b\u0010\r\u001a\u00020\u000eH\u0016J\u0011\u0010\u000f\u001a\u00020\u000eH\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010R\u0014\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00070\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\"\u0010\n\u001a\u0004\u0018\u00010\t2\b\u0010\b\u001a\u0004\u0018\u00010\t@RX\u0096\u000e\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Root;", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Reservation;", "rootServer", "Lbe/mygod/librootkotlinx/RootServer;", "(Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService;Lbe/mygod/librootkotlinx/RootServer;)V", "channel", "Lkotlinx/coroutines/channels/ReceiveChannel;", "Lhanson/xyz/vpnhotspotmod/root/LocalOnlyHotspotCallbacks;", "<set-?>", "Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "configuration", "getConfiguration", "()Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "close", "", "work", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "mobile_freedomDebug"})
    @androidx.annotation.RequiresApi(value = 30)
    public final class Root implements hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Reservation {
        @org.jetbrains.annotations.NotNull
        private final kotlinx.coroutines.channels.ReceiveChannel<hanson.xyz.vpnhotspotmod.root.LocalOnlyHotspotCallbacks> channel = null;
        @org.jetbrains.annotations.Nullable
        private hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat configuration;
        
        public Root(@org.jetbrains.annotations.NotNull
        be.mygod.librootkotlinx.RootServer rootServer) {
            super();
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.Nullable
        public hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat getConfiguration() {
            return null;
        }
        
        @java.lang.Override
        public void close() {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Object work(@org.jetbrains.annotations.NotNull
        kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
            return null;
        }
    }
    
    @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\b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\t\u0010\u0003\u001a\u00020\u0004H\u00d6\u0001J\u0010\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0016J\u0019\u0010\t\u001a\u00020\u00062\u0006\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00020\u0004H\u00d6\u0001\u00a8\u0006\r"}, d2 = {"Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Starter;", "Lhanson/xyz/vpnhotspotmod/BootReceiver$Startable;", "()V", "describeContents", "", "start", "", "context", "Landroid/content/Context;", "writeToParcel", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
    @kotlinx.parcelize.Parcelize
    public static final class Starter implements hanson.xyz.vpnhotspotmod.BootReceiver.Startable {
        
        public Starter() {
            super();
        }
        
        @java.lang.Override
        public void start(@org.jetbrains.annotations.NotNull
        android.content.Context context) {
        }
        
        @java.lang.Override
        public int describeContents() {
            return 0;
        }
        
        @java.lang.Override
        public void writeToParcel(@org.jetbrains.annotations.NotNull
        android.os.Parcel parcel, int flags) {
        }
    }
}