wip
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package error;
|
||||
|
||||
public final class NonExistentClass {
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
/**
|
||||
* Based on: https://android.googlesource.com/platform/packages/apps/ExactCalculator/+/8c43f06/src/com/android/calculator2/AlertDialogFragment.java
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\b&\u0018\u0000 #*\b\b\u0000\u0010\u0001*\u00020\u0002*\b\b\u0001\u0010\u0003*\u00020\u00022\u00020\u00042\u00020\u0005:\u0001#B\u0005\u00a2\u0006\u0002\u0010\u0006J\u0013\u0010\u0007\u001a\u00020\u00122\u0006\u0010\u0007\u001a\u00028\u0000\u00a2\u0006\u0002\u0010\u0013J\b\u0010\u0014\u001a\u00020\u0015H\u0002J\u0010\u0010\u0016\u001a\u00020\u00122\b\b\u0002\u0010\f\u001a\u00020\rJ\u001a\u0010\u0017\u001a\u00020\u00122\b\u0010\u0018\u001a\u0004\u0018\u00010\u00192\u0006\u0010\u001a\u001a\u00020\u001bH\u0016J\u0012\u0010\u001c\u001a\u00020\u001d2\b\u0010\u001e\u001a\u0004\u0018\u00010\u0015H\u0016J\u0010\u0010\u001f\u001a\u00020\u00122\u0006\u0010\u0018\u001a\u00020\u0019H\u0016J\u0014\u0010 \u001a\u00020\u0012*\u00020!2\u0006\u0010\"\u001a\u00020\u0005H$R\u001b\u0010\u0007\u001a\u00028\u00008DX\u0084\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR\u0016\u0010\f\u001a\u0004\u0018\u00010\r8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000e\u0010\u000fR\u0016\u0010\u0010\u001a\u0004\u0018\u00018\u00018TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0011\u0010\t\u00a8\u0006$"}, d2 = {"Lhanson/xyz/vpnhotspotmod/AlertDialogFragment;", "Arg", "Landroid/os/Parcelable;", "Ret", "Landroidx/appcompat/app/AppCompatDialogFragment;", "Landroid/content/DialogInterface$OnClickListener;", "()V", "arg", "getArg", "()Landroid/os/Parcelable;", "arg$delegate", "Lkotlin/Lazy;", "resultKey", "", "getResultKey", "()Ljava/lang/String;", "ret", "getRet", "", "(Landroid/os/Parcelable;)V", "args", "Landroid/os/Bundle;", "key", "onClick", "dialog", "Landroid/content/DialogInterface;", "which", "", "onCreateDialog", "Landroidx/appcompat/app/AlertDialog;", "savedInstanceState", "onDismiss", "prepare", "Landroidx/appcompat/app/AlertDialog$Builder;", "listener", "Companion", "mobile_freedomDebug"})
|
||||
public abstract class AlertDialogFragment<Arg extends android.os.Parcelable, Ret extends android.os.Parcelable> extends androidx.appcompat.app.AppCompatDialogFragment implements android.content.DialogInterface.OnClickListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_RESULT = "result";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_ARG = "arg";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_RET = "ret";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_WHICH = "which";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy arg$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.AlertDialogFragment.Companion Companion = null;
|
||||
|
||||
public AlertDialogFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
protected abstract void prepare(@org.jetbrains.annotations.NotNull
|
||||
androidx.appcompat.app.AlertDialog.Builder listener, @org.jetbrains.annotations.NotNull
|
||||
android.content.DialogInterface.OnClickListener p1);
|
||||
|
||||
private final java.lang.String getResultKey() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected final Arg getArg() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected Ret getRet() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final android.os.Bundle args() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void arg(@org.jetbrains.annotations.NotNull
|
||||
Arg arg) {
|
||||
}
|
||||
|
||||
public final void key(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String resultKey) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public androidx.appcompat.app.AlertDialog onCreateDialog(@org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.Nullable
|
||||
android.content.DialogInterface dialog, int which) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onDismiss(@org.jetbrains.annotations.NotNull
|
||||
android.content.DialogInterface dialog) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002JR\u0010\b\u001a\u00020\t\"\u0014\b\u0002\u0010\n\u0018\u0001*\f\u0012\u0002\b\u0003\u0012\u0004\u0012\u0002H\f0\u000b\"\b\b\u0003\u0010\f*\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\u001c\b\b\u0010\u0010\u001a\u0016\u0012\u0004\u0012\u00020\u0012\u0012\u0006\u0012\u0004\u0018\u0001H\f\u0012\u0004\u0012\u00020\t0\u0011H\u0086\b\u00f8\u0001\u0000J<\u0010\b\u001a\u00020\t\"\b\b\u0002\u0010\f*\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0013\u001a\u00020\u00042\u001a\u0010\u0010\u001a\u0016\u0012\u0004\u0012\u00020\u0012\u0012\u0006\u0012\u0004\u0018\u0001H\f\u0012\u0004\u0012\u00020\t0\u0011R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0007\n\u0005\b\u009920\u0001\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/AlertDialogFragment$Companion;", "", "()V", "KEY_ARG", "", "KEY_RESULT", "KEY_RET", "KEY_WHICH", "setResultListener", "", "T", "Lhanson/xyz/vpnhotspotmod/AlertDialogFragment;", "Ret", "Landroid/os/Parcelable;", "fragment", "Landroidx/fragment/app/Fragment;", "listener", "Lkotlin/Function2;", "", "requestKey", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final <Ret extends android.os.Parcelable>void setResultListener(@org.jetbrains.annotations.NotNull
|
||||
androidx.fragment.app.Fragment fragment, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String requestKey, @org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function2<? super java.lang.Integer, ? super Ret, kotlin.Unit> listener) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,103 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000h\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0005\u0018\u0000 :2\u00020\u0001:\u0001:B\u0005\u00a2\u0006\u0002\u0010\u0002J+\u0010(\u001a\u00020)2\b\b\u0001\u0010*\u001a\u00020+2\u0019\b\u0002\u0010,\u001a\u0013\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020)0-\u00a2\u0006\u0002\b/J\u0010\u00100\u001a\u00020)2\u0006\u00101\u001a\u000202H\u0016J\b\u00103\u001a\u00020)H\u0017J\u0010\u00104\u001a\u00020)2\u0006\u00105\u001a\u000206H\u0016J\u0019\u00107\u001a\u00020)\"\u0006\b\u0000\u00108\u0018\u00012\u0006\u00109\u001a\u00020\u0014H\u0086\bR\u001b\u0010\u0003\u001a\u00020\u00048FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0007\u0010\b\u001a\u0004\b\u0005\u0010\u0006R\u001b\u0010\t\u001a\u00020\n8FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\r\u0010\b\u001a\u0004\b\u000b\u0010\fR\u001a\u0010\u000e\u001a\u00020\u0001X\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000f\u0010\u0010\"\u0004\b\u0011\u0010\u0012R#\u0010\u0013\u001a\n \u0015*\u0004\u0018\u00010\u00140\u00148FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0018\u0010\b\u001a\u0004\b\u0016\u0010\u0017R\u001b\u0010\u0019\u001a\u00020\u001a8FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\u001d\u0010\b\u001a\u0004\b\u001b\u0010\u001cR\u001d\u0010\u001e\u001a\u0004\u0018\u00010\u001f8FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\"\u0010\b\u001a\u0004\b \u0010!R#\u0010#\u001a\n \u0015*\u0004\u0018\u00010$0$8FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\'\u0010\b\u001a\u0004\b%\u0010&\u00a8\u0006;"}, d2 = {"Lhanson/xyz/vpnhotspotmod/App;", "Landroid/app/Application;", "()V", "clipboard", "Landroid/content/ClipboardManager;", "getClipboard", "()Landroid/content/ClipboardManager;", "clipboard$delegate", "Lkotlin/Lazy;", "customTabsIntent", "Landroidx/browser/customtabs/CustomTabsIntent;", "getCustomTabsIntent", "()Landroidx/browser/customtabs/CustomTabsIntent;", "customTabsIntent$delegate", "deviceStorage", "getDeviceStorage", "()Landroid/app/Application;", "setDeviceStorage", "(Landroid/app/Application;)V", "english", "Landroid/content/Context;", "kotlin.jvm.PlatformType", "getEnglish", "()Landroid/content/Context;", "english$delegate", "hasTouch", "", "getHasTouch", "()Z", "hasTouch$delegate", "location", "Landroid/location/LocationManager;", "getLocation", "()Landroid/location/LocationManager;", "location$delegate", "pref", "Landroid/content/SharedPreferences;", "getPref", "()Landroid/content/SharedPreferences;", "pref$delegate", "logEvent", "", "event", "", "block", "Lkotlin/Function1;", "Lcom/google/firebase/analytics/ktx/ParametersBuilder;", "Lkotlin/ExtensionFunctionType;", "onConfigurationChanged", "newConfig", "Landroid/content/res/Configuration;", "onCreate", "onTrimMemory", "level", "", "startServiceWithLocation", "T", "context", "Companion", "mobile_freedomDebug"})
|
||||
public final class App extends android.app.Application {
|
||||
@android.annotation.SuppressLint(value = {"StaticFieldLeak"})
|
||||
public static hanson.xyz.vpnhotspotmod.App app;
|
||||
public android.app.Application deviceStorage;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy english$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy pref$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy clipboard$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy location$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy hasTouch$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy customTabsIntent$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.App.Companion Companion = null;
|
||||
|
||||
public App() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@android.annotation.SuppressLint(value = {"RestrictedApi"})
|
||||
public void onCreate() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onConfigurationChanged(@org.jetbrains.annotations.NotNull
|
||||
android.content.res.Configuration newConfig) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTrimMemory(int level) {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is used to log "expected" and well-handled errors, i.e. we care less about logs, etc.
|
||||
* logException is inappropriate sometimes because it flushes all logs that could be used to investigate other bugs.
|
||||
*/
|
||||
public final void logEvent(@androidx.annotation.Size(min = 1L, max = 40L)
|
||||
@org.jetbrains.annotations.NotNull
|
||||
java.lang.String event, @org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function1<? super com.google.firebase.analytics.ktx.ParametersBuilder, kotlin.Unit> block) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.app.Application getDeviceStorage() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setDeviceStorage(@org.jetbrains.annotations.NotNull
|
||||
android.app.Application p0) {
|
||||
}
|
||||
|
||||
public final android.content.Context getEnglish() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final android.content.SharedPreferences getPref() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.content.ClipboardManager getClipboard() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final android.location.LocationManager getLocation() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final boolean getHasTouch() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.browser.customtabs.CustomTabsIntent getCustomTabsIntent() {
|
||||
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\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u001e\u0010\u0003\u001a\u00020\u00048\u0006@\u0006X\u0087.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b\u00a8\u0006\t"}, d2 = {"Lhanson/xyz/vpnhotspotmod/App$Companion;", "", "()V", "app", "Lhanson/xyz/vpnhotspotmod/App;", "getApp", "()Lhanson/xyz/vpnhotspotmod/App;", "setApp", "(Lhanson/xyz/vpnhotspotmod/App;)V", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.App getApp() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setApp(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.App p0) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,156 @@
|
||||
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\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000 \t2\u00020\u0001:\u0003\t\n\u000bB\u0005\u00a2\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0016\u00a8\u0006\f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/BootReceiver;", "Landroid/content/BroadcastReceiver;", "()V", "onReceive", "", "context", "Landroid/content/Context;", "intent", "Landroid/content/Intent;", "Companion", "Config", "Startable", "mobile_freedomDebug"})
|
||||
public final class BootReceiver extends android.content.BroadcastReceiver {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String KEY = "service.autoStart";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy<?> componentName$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String FILENAME = "bootconfig";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy<?> configFile$delegate = null;
|
||||
private static boolean started = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.BootReceiver.Companion Companion = null;
|
||||
|
||||
public BootReceiver() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onReceive(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context, @org.jetbrains.annotations.NotNull
|
||||
android.content.Intent intent) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\t\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0019\u0010\u001f\u001a\u00020 \"\u0006\b\u0000\u0010!\u0018\u00012\u0006\u0010\u0015\u001a\u00020\"H\u0086\bJ\u0016\u0010\u001f\u001a\u00020 2\u0006\u0010#\u001a\u00020\u00042\u0006\u0010\u0015\u001a\u00020\"J\u0011\u0010$\u001a\u00020 \"\u0006\b\u0000\u0010!\u0018\u0001H\u0086\bJ\u000e\u0010$\u001a\u00020 2\u0006\u0010#\u001a\u00020\u0004J\u0006\u0010%\u001a\u00020 J\u0010\u0010&\u001a\u00020 2\u0006\u0010\'\u001a\u00020\u0016H\u0002J\u000e\u0010(\u001a\u00020 2\u0006\u0010)\u001a\u00020\u0016J\u0006\u0010*\u001a\u00020 J\b\u0010+\u001a\u00020 H\u0002J!\u0010,\u001a\u00020\r2\u0017\u0010-\u001a\u0013\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u00020 0.\u00a2\u0006\u0002\b/H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u0006\u001a\u00020\u00078BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR\u0013\u0010\f\u001a\u0004\u0018\u00010\r8F\u00a2\u0006\u0006\u001a\u0004\b\u000e\u0010\u000fR\u001b\u0010\u0010\u001a\u00020\u00118BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0014\u0010\u000b\u001a\u0004\b\u0012\u0010\u0013R$\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0015\u001a\u00020\u00168B@BX\u0082\u000e\u00a2\u0006\f\u001a\u0004\b\u0018\u0010\u0019\"\u0004\b\u001a\u0010\u001bR\u000e\u0010\u001c\u001a\u00020\u0016X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u001d\u001a\u00020\u00168BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001e\u0010\u0019\u00a8\u00060"}, d2 = {"Lhanson/xyz/vpnhotspotmod/BootReceiver$Companion;", "", "()V", "FILENAME", "", "KEY", "componentName", "Landroid/content/ComponentName;", "getComponentName", "()Landroid/content/ComponentName;", "componentName$delegate", "Lkotlin/Lazy;", "config", "Lhanson/xyz/vpnhotspotmod/BootReceiver$Config;", "getConfig", "()Lhanson/xyz/vpnhotspotmod/BootReceiver$Config;", "configFile", "Ljava/io/File;", "getConfigFile", "()Ljava/io/File;", "configFile$delegate", "value", "", "enabled", "getEnabled", "()Z", "setEnabled", "(Z)V", "started", "userEnabled", "getUserEnabled", "add", "", "T", "Lhanson/xyz/vpnhotspotmod/BootReceiver$Startable;", "key", "delete", "migrateIfNecessary", "onConfigUpdated", "isNotEmpty", "onUserSettingUpdated", "shouldStart", "startIfEnabled", "startIfNecessary", "updateConfig", "work", "Lkotlin/Function1;", "Lkotlin/ExtensionFunctionType;", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final android.content.ComponentName getComponentName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final boolean getEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
private final void setEnabled(boolean value) {
|
||||
}
|
||||
|
||||
private final boolean getUserEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final void onUserSettingUpdated(boolean shouldStart) {
|
||||
}
|
||||
|
||||
private final void onConfigUpdated(boolean isNotEmpty) {
|
||||
}
|
||||
|
||||
private final java.io.File getConfigFile() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.BootReceiver.Config getConfig() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final hanson.xyz.vpnhotspotmod.BootReceiver.Config updateConfig(kotlin.jvm.functions.Function1<? super hanson.xyz.vpnhotspotmod.BootReceiver.Config, kotlin.Unit> work) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void add(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String key, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.BootReceiver.Startable value) {
|
||||
}
|
||||
|
||||
public final void delete(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String key) {
|
||||
}
|
||||
|
||||
public final void migrateIfNecessary() {
|
||||
}
|
||||
|
||||
private final void startIfNecessary() {
|
||||
}
|
||||
|
||||
public final void startIfEnabled() {
|
||||
}
|
||||
}
|
||||
|
||||
@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%\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0014\b\u0002\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003\u00a2\u0006\u0002\u0010\u0006J\u0015\u0010\n\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003H\u00c6\u0003J\u001f\u0010\u000b\u001a\u00020\u00002\u0014\b\u0002\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003H\u00c6\u0001J\t\u0010\f\u001a\u00020\rH\u00d6\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0011H\u00d6\u0003J\t\u0010\u0012\u001a\u00020\rH\u00d6\u0001J\t\u0010\u0013\u001a\u00020\u0004H\u00d6\u0001J\u0019\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u00172\u0006\u0010\u0018\u001a\u00020\rH\u00d6\u0001R&\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00050\u0003X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\u0006\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/BootReceiver$Config;", "Landroid/os/Parcelable;", "startables", "", "", "Lhanson/xyz/vpnhotspotmod/BootReceiver$Startable;", "(Ljava/util/Map;)V", "getStartables", "()Ljava/util/Map;", "setStartables", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
|
||||
@kotlinx.parcelize.Parcelize
|
||||
public static final class Config implements android.os.Parcelable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> startables;
|
||||
|
||||
public Config(@org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> startables) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> getStartables() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setStartables(@org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> p0) {
|
||||
}
|
||||
|
||||
public Config() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.BootReceiver.Config copy(@org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.BootReceiver.Startable> startables) {
|
||||
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) {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&\u00a8\u0006\u0006"}, d2 = {"Lhanson/xyz/vpnhotspotmod/BootReceiver$Startable;", "Landroid/os/Parcelable;", "start", "", "context", "Landroid/content/Context;", "mobile_freedomDebug"})
|
||||
public static abstract interface Startable extends android.os.Parcelable {
|
||||
|
||||
public abstract void start(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
/**
|
||||
* Based on: https://github.com/PrivacyApps/donations/blob/747d36a18433c7e9329691054122a8ad337a62d2/Donations/src/main/java/org/sufficientlysecure/donations/DonationsFragment.java
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\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\u0005\u0018\u0000 \u001a2\u00020\u0001:\u0001\u001aB\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u000b\u001a\u00020\fH\u0002J$\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0016J\b\u0010\u0015\u001a\u00020\u0016H\u0016J\b\u0010\u0017\u001a\u00020\u0016H\u0016J\u001a\u0010\u0018\u001a\u00020\u00162\u0006\u0010\u0019\u001a\u00020\u000e2\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082.\u00a2\u0006\u0002\n\u0000R.\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00062\u000e\u0010\u0005\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u0006@BX\u0082\u000e\u00a2\u0006\b\n\u0000\"\u0004\b\t\u0010\n\u00a8\u0006\u001b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/EBegFragment;", "Landroidx/appcompat/app/AppCompatDialogFragment;", "()V", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/FragmentEbegBinding;", "value", "", "Lcom/android/billingclient/api/ProductDetails;", "productDetails", "setProductDetails", "(Ljava/util/List;)V", "onBillingConnected", "Lkotlinx/coroutines/Job;", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onStart", "", "onStop", "onViewCreated", "view", "Companion", "mobile_freedomDebug"})
|
||||
public final class EBegFragment extends androidx.appcompat.app.AppCompatDialogFragment {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy<?> billingClient$delegate = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static hanson.xyz.vpnhotspotmod.EBegFragment instance;
|
||||
private hanson.xyz.vpnhotspotmod.databinding.FragmentEbegBinding binding;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.util.List<com.android.billingclient.api.ProductDetails> productDetails;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.EBegFragment.Companion Companion = null;
|
||||
|
||||
public EBegFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final void setProductDetails(java.util.List<com.android.billingclient.api.ProductDetails> value) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public android.view.View onCreateView(@org.jetbrains.annotations.NotNull
|
||||
android.view.LayoutInflater inflater, @org.jetbrains.annotations.Nullable
|
||||
android.view.ViewGroup container, @org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onViewCreated(@org.jetbrains.annotations.NotNull
|
||||
android.view.View view, @org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStart() {
|
||||
}
|
||||
|
||||
private final kotlinx.coroutines.Job onBillingConnected() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStop() {
|
||||
}
|
||||
|
||||
@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\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\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\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0000\b\u0086\u0003\u0018\u00002\u00020\u00012\u00020\u0002B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0003J\u0010\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fH\u0002J\b\u0010\u0010\u001a\u00020\u0011H\u0016J\u0010\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u0013\u001a\u00020\u0014H\u0016J \u0010\u0015\u001a\u00020\u00112\u0006\u0010\u0013\u001a\u00020\u00142\u000e\u0010\u0016\u001a\n\u0012\u0004\u0012\u00020\u000f\u0018\u00010\u0017H\u0016R\u001b\u0010\u0004\u001a\u00020\u00058BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\b\u0010\t\u001a\u0004\b\u0006\u0010\u0007R\u0010\u0010\n\u001a\u0004\u0018\u00010\u000bX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0018"}, d2 = {"Lhanson/xyz/vpnhotspotmod/EBegFragment$Companion;", "Lcom/android/billingclient/api/BillingClientStateListener;", "Lcom/android/billingclient/api/PurchasesUpdatedListener;", "()V", "billingClient", "Lcom/android/billingclient/api/BillingClient;", "getBillingClient", "()Lcom/android/billingclient/api/BillingClient;", "billingClient$delegate", "Lkotlin/Lazy;", "instance", "Lhanson/xyz/vpnhotspotmod/EBegFragment;", "consumePurchase", "Lkotlinx/coroutines/Job;", "purchase", "Lcom/android/billingclient/api/Purchase;", "onBillingServiceDisconnected", "", "onBillingSetupFinished", "billingResult", "Lcom/android/billingclient/api/BillingResult;", "onPurchasesUpdated", "purchases", "", "mobile_freedomDebug"})
|
||||
public static final class Companion implements com.android.billingclient.api.BillingClientStateListener, com.android.billingclient.api.PurchasesUpdatedListener {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final com.android.billingclient.api.BillingClient getBillingClient() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onBillingSetupFinished(@org.jetbrains.annotations.NotNull
|
||||
com.android.billingclient.api.BillingResult billingResult) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onBillingServiceDisconnected() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onPurchasesUpdated(@org.jetbrains.annotations.NotNull
|
||||
com.android.billingclient.api.BillingResult billingResult, @org.jetbrains.annotations.Nullable
|
||||
java.util.List<? extends com.android.billingclient.api.Purchase> purchases) {
|
||||
}
|
||||
|
||||
private final kotlinx.coroutines.Job consumePurchase(com.android.billingclient.api.Purchase purchase) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,20 @@
|
||||
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\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0002\n\u0000\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\u0019\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\u0004H\u00d6\u0001\u00a8\u0006\n"}, d2 = {"Lhanson/xyz/vpnhotspotmod/Empty;", "Landroid/os/Parcelable;", "()V", "describeContents", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
|
||||
@kotlinx.parcelize.Parcelize
|
||||
public final class Empty implements android.os.Parcelable {
|
||||
|
||||
public Empty() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeToParcel(@org.jetbrains.annotations.NotNull
|
||||
android.os.Parcel parcel, int flags) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
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\b\u0002\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\b&\u0018\u00002\u00020\u00012\u00020\u0002B\u0005\u00a2\u0006\u0002\u0010\u0003J\u0016\u0010\u000e\u001a\u00020\u000f2\f\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\fH\u0016J\b\u0010\u0010\u001a\u00020\u000fH\u0014R\u0018\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u001a\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u00060\u00058TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\bR\u0014\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/IpNeighbourMonitoringService;", "Landroid/app/Service;", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "()V", "activeIfaces", "", "", "getActiveIfaces", "()Ljava/util/List;", "inactiveIfaces", "getInactiveIfaces", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "onIpNeighbourAvailable", "", "updateNotification", "mobile_freedomDebug"})
|
||||
public abstract class IpNeighbourMonitoringService extends android.app.Service implements hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours;
|
||||
|
||||
public IpNeighbourMonitoringService() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected abstract java.util.List<java.lang.String> getActiveIfaces();
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected java.util.List<java.lang.String> getInactiveIfaces() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours) {
|
||||
}
|
||||
|
||||
protected void updateNotification() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,223 @@
|
||||
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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0018\u00002\u00020\u00012\u00020\u0002B\u0005\u00a2\u0006\u0002\u0010\u0003J\u0010\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0013H\u0002J\u0012\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u000bH\u0002J\u0012\u0010\u0017\u001a\u00020\u00152\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019H\u0014J\u0010\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u000fH\u0016R\u001a\u0010\u0004\u001a\u00020\u0005X\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\tR\u0010\u0010\n\u001a\u0004\u0018\u00010\u000bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\rX\u0082.\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\u000fX\u0082.\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001d"}, d2 = {"Lhanson/xyz/vpnhotspotmod/MainActivity;", "Landroidx/appcompat/app/AppCompatActivity;", "Lcom/google/android/material/navigation/NavigationBarView$OnItemSelectedListener;", "()V", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ActivityMainBinding;", "getBinding", "()Lhanson/xyz/vpnhotspotmod/databinding/ActivityMainBinding;", "setBinding", "(Lhanson/xyz/vpnhotspotmod/databinding/ActivityMainBinding;)V", "lastUpdate", "Lhanson/xyz/vpnhotspotmod/util/AppUpdate;", "updateBadge", "Lcom/google/android/material/badge/BadgeDrawable;", "updateItem", "Landroid/view/MenuItem;", "displayFragment", "", "fragment", "Landroidx/fragment/app/Fragment;", "onAppUpdateAvailable", "", "update", "onCreate", "savedInstanceState", "Landroid/os/Bundle;", "onNavigationItemSelected", "", "item", "mobile_freedomDebug"})
|
||||
public final class MainActivity extends androidx.appcompat.app.AppCompatActivity implements com.google.android.material.navigation.NavigationBarView.OnItemSelectedListener {
|
||||
public hanson.xyz.vpnhotspotmod.databinding.ActivityMainBinding binding;
|
||||
private android.view.MenuItem updateItem;
|
||||
private com.google.android.material.badge.BadgeDrawable updateBadge;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.util.AppUpdate lastUpdate;
|
||||
|
||||
public MainActivity() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.databinding.ActivityMainBinding getBinding() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setBinding(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ActivityMainBinding p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void onCreate(@org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
}
|
||||
|
||||
private final void onAppUpdateAvailable(hanson.xyz.vpnhotspotmod.util.AppUpdate update) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean onNavigationItemSelected(@org.jetbrains.annotations.NotNull
|
||||
android.view.MenuItem item) {
|
||||
return false;
|
||||
}
|
||||
|
||||
private final int displayFragment(androidx.fragment.app.Fragment fragment) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
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\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\u0005\u00a2\u0006\u0002\u0010\u0003J\u0018\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000bH\u0016R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/MyBroadcastReceiver;", "Landroid/content/BroadcastReceiver;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$StartTetheringCallback;", "()V", "handler", "Landroid/os/Handler;", "onReceive", "", "context", "Landroid/content/Context;", "intent", "Landroid/content/Intent;", "mobile_freedomDebug"})
|
||||
public final class MyBroadcastReceiver extends android.content.BroadcastReceiver implements hanson.xyz.vpnhotspotmod.net.TetheringManager.StartTetheringCallback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.os.Handler handler = null;
|
||||
|
||||
public MyBroadcastReceiver() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onReceive(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context, @org.jetbrains.annotations.NotNull
|
||||
android.content.Intent intent) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onException(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Exception e) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringFailed(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Integer error) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringStarted() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,95 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u0002\n\u0002\b\u0004\b&\u0018\u0000 \u00172\u00020\u0001:\u0002\u0017\u0018B\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0001\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u0012\u0010\u0011\u001a\u00020\u00062\b\b\u0002\u0010\u0012\u001a\u00020\u0006H\u0002J\u0010\u0010\u0013\u001a\u00020\u00062\b\b\u0002\u0010\u0012\u001a\u00020\u0006J\u0006\u0010\u0014\u001a\u00020\u0015J\f\u0010\u0016\u001a\u00020\u0015*\u00020\fH$R\u000e\u0010\u0002\u001a\u00020\u0001X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u000b\u001a\u0004\u0018\u00010\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001e\u0010\u000e\u001a\u00020\u00062\u0006\u0010\r\u001a\u00020\u0006@BX\u0086\u000e\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/RoutingManager;", "", "caller", "downstream", "", "forceWifi", "", "(Ljava/lang/Object;Ljava/lang/String;Z)V", "getDownstream", "()Ljava/lang/String;", "isWifi", "routing", "Lhanson/xyz/vpnhotspotmod/net/Routing;", "<set-?>", "started", "getStarted", "()Z", "initRoutingLocked", "fromMonitor", "start", "stop", "", "configure", "Companion", "LocalOnly", "mobile_freedomDebug"})
|
||||
public abstract class RoutingManager {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.Object caller = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String downstream = null;
|
||||
private final boolean forceWifi = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_MASQUERADE_MODE = "service.masqueradeMode";
|
||||
|
||||
/**
|
||||
* Thread safety: needs protection by companion object!
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.RoutingManager> active = null;
|
||||
private boolean started = false;
|
||||
|
||||
/**
|
||||
* Thread safety: needs protection by companion object!
|
||||
*/
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.net.Routing routing;
|
||||
private boolean isWifi;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.RoutingManager.Companion Companion = null;
|
||||
|
||||
public RoutingManager(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Object caller, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String downstream, boolean forceWifi) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getDownstream() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final boolean getStarted() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean start(boolean fromMonitor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
private final boolean initRoutingLocked(boolean fromMonitor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
protected abstract void configure(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.Routing p0);
|
||||
|
||||
public final void stop() {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u000f\u001a\u00020\u00102\b\b\u0002\u0010\u0011\u001a\u00020\u0012R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00070\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R$\u0010\n\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8F@FX\u0086\u000e\u00a2\u0006\f\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000e\u00a8\u0006\u0013"}, d2 = {"Lhanson/xyz/vpnhotspotmod/RoutingManager$Companion;", "", "()V", "KEY_MASQUERADE_MODE", "", "active", "", "Lhanson/xyz/vpnhotspotmod/RoutingManager;", "value", "Lhanson/xyz/vpnhotspotmod/net/Routing$MasqueradeMode;", "masqueradeMode", "getMasqueradeMode", "()Lhanson/xyz/vpnhotspotmod/net/Routing$MasqueradeMode;", "setMasqueradeMode", "(Lhanson/xyz/vpnhotspotmod/net/Routing$MasqueradeMode;)V", "clean", "", "reinit", "", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode getMasqueradeMode() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setMasqueradeMode(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode value) {
|
||||
}
|
||||
|
||||
public final void clean(boolean reinit) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Both repeater and local-only hotspot are Wi-Fi based.
|
||||
*/
|
||||
@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\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\f\u0010\u0007\u001a\u00020\b*\u00020\tH\u0014\u00a8\u0006\n"}, d2 = {"Lhanson/xyz/vpnhotspotmod/RoutingManager$LocalOnly;", "Lhanson/xyz/vpnhotspotmod/RoutingManager;", "caller", "", "downstream", "", "(Ljava/lang/Object;Ljava/lang/String;)V", "configure", "", "Lhanson/xyz/vpnhotspotmod/net/Routing;", "mobile_freedomDebug"})
|
||||
public static final class LocalOnly extends hanson.xyz.vpnhotspotmod.RoutingManager {
|
||||
|
||||
public LocalOnly(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Object caller, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String downstream) {
|
||||
super(null, null, false);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void configure(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.Routing $this$configure) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
package hanson.xyz.vpnhotspotmod;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010$\n\u0000\n\u0002\u0010 \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\u0006\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0013H\u0002J2\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\n2\u0012\u0010\u0017\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00070\u000b2\u000e\b\u0002\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00040\rJ\u000e\u0010\u0019\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\nJ\u0006\u0010\u001a\u001a\u00020\u0015R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082T\u00a2\u0006\u0002\n\u0000R&\u0010\b\u001a\u001a\u0012\u0004\u0012\u00020\n\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00070\u000b0\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000R \u0010\f\u001a\u0014\u0012\u0004\u0012\u00020\n\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00040\r0\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\u000fX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/ServiceNotification;", "", "()V", "CHANNEL_ACTIVE", "", "CHANNEL_INACTIVE", "NOTIFICATION_ID", "", "deviceCountsMap", "Ljava/util/WeakHashMap;", "Landroid/app/Service;", "", "inactiveMap", "", "manager", "Landroid/app/NotificationManager;", "buildNotification", "Landroid/app/Notification;", "context", "Landroid/content/Context;", "startForeground", "", "service", "deviceCounts", "inactive", "stopForeground", "updateNotificationChannels", "mobile_freedomDebug"})
|
||||
public final class ServiceNotification {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String CHANNEL_ACTIVE = "tethering";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String CHANNEL_INACTIVE = "tethering-inactive";
|
||||
private static final int NOTIFICATION_ID = 1;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.WeakHashMap<android.app.Service, java.util.Map<java.lang.String, java.lang.Integer>> deviceCountsMap = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.WeakHashMap<android.app.Service, java.util.List<java.lang.String>> inactiveMap = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final android.app.NotificationManager manager = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.ServiceNotification INSTANCE = null;
|
||||
|
||||
private ServiceNotification() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final android.app.Notification buildNotification(android.content.Context context) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void startForeground(@org.jetbrains.annotations.NotNull
|
||||
android.app.Service service, @org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, java.lang.Integer> deviceCounts, @org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> inactive) {
|
||||
}
|
||||
|
||||
public final void stopForeground(@org.jetbrains.annotations.NotNull
|
||||
android.app.Service service) {
|
||||
}
|
||||
|
||||
public final void updateNotificationChannels() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
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\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u001c\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u00062\b\u0010\u0007\u001a\u0004\u0018\u00010\bH\u0016J\u0010\u0010\t\u001a\u00020\u00042\u0006\u0010\n\u001a\u00020\u000bH\u0016J\f\u0010\f\u001a\u00020\r*\u00020\u000bH\u0002\u00a8\u0006\u000e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/SettingsPreferenceFragment;", "Landroidx/preference/PreferenceFragmentCompat;", "()V", "onCreatePreferences", "", "savedInstanceState", "Landroid/os/Bundle;", "rootKey", "", "onDisplayPreferenceDialog", "preference", "Landroidx/preference/Preference;", "remove", "", "mobile_freedomDebug"})
|
||||
public final class SettingsPreferenceFragment extends androidx.preference.PreferenceFragmentCompat {
|
||||
|
||||
public SettingsPreferenceFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final boolean remove(androidx.preference.Preference $this$remove) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onCreatePreferences(@org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState, @org.jetbrains.annotations.Nullable
|
||||
java.lang.String rootKey) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onDisplayPreferenceDialog(@org.jetbrains.annotations.NotNull
|
||||
androidx.preference.Preference preference) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,250 @@
|
||||
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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,119 @@
|
||||
package hanson.xyz.vpnhotspotmod.client;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\r\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\n\b\u0016\u0018\u0000 42\u00020\u0001:\u00014B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0013\u00100\u001a\u00020\b2\b\u00101\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u00102\u001a\u00020\u0011H\u0016J\u000b\u00103\u001a\u00070*\u00a2\u0006\u0002\b+R\u0011\u0010\u0007\u001a\u00020\b8F\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0017\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\r0\f\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\u00020\u00118VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0012\u0010\u0013R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u001d\u0010\u0016\u001a\u000e\u0012\u0004\u0012\u00020\u0018\u0012\u0004\u0012\u00020\u00190\u0017\u00a2\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u001bR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001dR\u0014\u0010\u001e\u001a\u00020\u001f8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b \u0010!R\u001b\u0010\"\u001a\u00020\u00058FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b$\u0010%\u001a\u0004\b#\u0010\u0015R\u0011\u0010&\u001a\u00020\r8F\u00a2\u0006\u0006\u001a\u0004\b\'\u0010(R\u0019\u0010)\u001a\r\u0012\t\u0012\u00070*\u00a2\u0006\u0002\b+0\fX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0017\u0010,\u001a\b\u0012\u0004\u0012\u00020\u001f0\f\u00a2\u0006\b\n\u0000\u001a\u0004\b-\u0010\u000fR\u0017\u0010.\u001a\b\u0012\u0004\u0012\u00020\b0\f\u00a2\u0006\b\n\u0000\u001a\u0004\b/\u0010\u000f\u00a8\u00065"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/Client;", "", "mac", "Landroid/net/MacAddress;", "iface", "", "(Landroid/net/MacAddress;Ljava/lang/String;)V", "blocked", "", "getBlocked", "()Z", "description", "Landroidx/lifecycle/LiveData;", "", "getDescription", "()Landroidx/lifecycle/LiveData;", "icon", "", "getIcon", "()I", "getIface", "()Ljava/lang/String;", "ip", "Ljava/util/TreeMap;", "Ljava/net/InetAddress;", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "getIp", "()Ljava/util/TreeMap;", "getMac", "()Landroid/net/MacAddress;", "macIface", "Landroid/text/SpannableStringBuilder;", "getMacIface", "()Landroid/text/SpannableStringBuilder;", "macString", "getMacString", "macString$delegate", "Lkotlin/Lazy;", "nickname", "getNickname", "()Ljava/lang/CharSequence;", "record", "Lhanson/xyz/vpnhotspotmod/room/ClientRecord;", "Lkotlin/jvm/JvmSuppressWildcards;", "title", "getTitle", "titleSelectable", "getTitleSelectable", "equals", "other", "hashCode", "obtainRecord", "DiffCallback", "mobile_freedomDebug"})
|
||||
public class Client {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.net.MacAddress mac = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String iface = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.TreeMap<java.net.InetAddress, hanson.xyz.vpnhotspotmod.net.IpNeighbour.State> ip = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy macString$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.LiveData<hanson.xyz.vpnhotspotmod.room.ClientRecord> record = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.LiveData<android.text.SpannableStringBuilder> title = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.LiveData<java.lang.Boolean> titleSelectable = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.LiveData<java.lang.CharSequence> description = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.client.Client.DiffCallback DiffCallback = null;
|
||||
|
||||
public Client(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String iface) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getMac() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getIface() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.TreeMap<java.net.InetAddress, hanson.xyz.vpnhotspotmod.net.IpNeighbour.State> getIp() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getMacString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final android.text.SpannableStringBuilder getMacIface() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence getNickname() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final boolean getBlocked() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.lifecycle.LiveData<android.text.SpannableStringBuilder> getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.lifecycle.LiveData<java.lang.Boolean> getTitleSelectable() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.lifecycle.LiveData<java.lang.CharSequence> getDescription() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.room.ClientRecord obtainRecord() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0086\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0003J\u0018\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00022\u0006\u0010\u0007\u001a\u00020\u0002H\u0016J\u0018\u0010\b\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00022\u0006\u0010\u0007\u001a\u00020\u0002H\u0016\u00a8\u0006\t"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/Client$DiffCallback;", "Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "Lhanson/xyz/vpnhotspotmod/client/Client;", "()V", "areContentsTheSame", "", "oldItem", "newItem", "areItemsTheSame", "mobile_freedomDebug"})
|
||||
public static final class DiffCallback extends androidx.recyclerview.widget.DiffUtil.ItemCallback<hanson.xyz.vpnhotspotmod.client.Client> {
|
||||
|
||||
private DiffCallback() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean areItemsTheSame(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.client.Client oldItem, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.client.Client newItem) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean areContentsTheSame(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.client.Client oldItem, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.client.Client newItem) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,99 @@
|
||||
package hanson.xyz.vpnhotspotmod.client;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0082\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u00032\u00020\u00042\u00020\u0005B\u0005\u00a2\u0006\u0002\u0010\u0006J\u0016\u0010 \u001a\u00020!2\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\"0\tH\u0017J\u0016\u0010#\u001a\u00020!2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011H\u0016J\u001c\u0010$\u001a\u00020!2\b\u0010%\u001a\u0004\u0018\u00010&2\b\u0010\'\u001a\u0004\u0018\u00010(H\u0016J\u0012\u0010)\u001a\u00020!2\b\u0010%\u001a\u0004\u0018\u00010&H\u0016J\u0010\u0010*\u001a\u00020!2\u0006\u0010+\u001a\u00020,H\u0016J\u0010\u0010-\u001a\u00020!2\u0006\u0010+\u001a\u00020,H\u0016J\b\u0010.\u001a\u00020!H\u0002J\b\u0010/\u001a\u00020!H\u0002R\u001d\u0010\u0007\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\n0\t0\b\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\r\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00140\u0011X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0015\u001a\u00020\u0016X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0017\u001a\b\u0018\u00010\u0018R\u00020\u0019X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u001c0\u001bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R \u0010\u001d\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u001c\u0012\u0004\u0012\u00020\u001f0\u001e0\tX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u00060"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientViewModel;", "Landroidx/lifecycle/ViewModel;", "Landroid/content/ServiceConnection;", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "Landroidx/lifecycle/DefaultLifecycleObserver;", "Lhanson/xyz/vpnhotspotmod/net/wifi/WifiApManager$SoftApCallbackCompat;", "()V", "clients", "Landroidx/lifecycle/MutableLiveData;", "", "Lhanson/xyz/vpnhotspotmod/client/Client;", "getClients", "()Landroidx/lifecycle/MutableLiveData;", "fullMode", "getFullMode", "()Landroidx/lifecycle/DefaultLifecycleObserver;", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "p2p", "Landroid/net/wifi/p2p/WifiP2pDevice;", "receiver", "Landroid/content/BroadcastReceiver;", "repeater", "Lhanson/xyz/vpnhotspotmod/RepeaterService$Binder;", "Lhanson/xyz/vpnhotspotmod/RepeaterService;", "tetheredInterfaces", "", "", "wifiAp", "Lkotlin/Pair;", "Landroid/net/MacAddress;", "onConnectedClientsChanged", "", "Landroid/os/Parcelable;", "onIpNeighbourAvailable", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "onStart", "owner", "Landroidx/lifecycle/LifecycleOwner;", "onStop", "populateClients", "refreshP2p", "mobile_freedomDebug"})
|
||||
public final class ClientViewModel extends androidx.lifecycle.ViewModel implements android.content.ServiceConnection, hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback, androidx.lifecycle.DefaultLifecycleObserver, hanson.xyz.vpnhotspotmod.net.wifi.WifiApManager.SoftApCallbackCompat {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Set<java.lang.String> tetheredInterfaces;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.content.BroadcastReceiver receiver = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.RepeaterService.Binder repeater;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Collection<? extends android.net.wifi.p2p.WifiP2pDevice> p2p;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<kotlin.Pair<java.lang.String, android.net.MacAddress>> wifiAp;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.MutableLiveData<java.util.List<hanson.xyz.vpnhotspotmod.client.Client>> clients = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.lifecycle.DefaultLifecycleObserver fullMode = null;
|
||||
|
||||
public ClientViewModel() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.lifecycle.MutableLiveData<java.util.List<hanson.xyz.vpnhotspotmod.client.Client>> getClients() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.lifecycle.DefaultLifecycleObserver getFullMode() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final void populateClients() {
|
||||
}
|
||||
|
||||
private final void refreshP2p() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStart(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStop(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 31)
|
||||
public void onConnectedClientsChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<? extends android.os.Parcelable> clients) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onBlockedClientConnecting(@org.jetbrains.annotations.NotNull
|
||||
android.os.Parcelable client, int blockedReason) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onCapabilityChanged(@org.jetbrains.annotations.NotNull
|
||||
android.os.Parcelable capability) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onInfoChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<? extends android.os.Parcelable> info) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onNumClientsChanged(int numClients) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStateChanged(int state, int failureReason) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,339 @@
|
||||
package hanson.xyz.vpnhotspotmod.client;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\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\t\u0018\u00002\u00020\u0001:\u0007\u0018\u0019\u001a\u001b\u001c\u001d\u001eB\u0005\u00a2\u0006\u0002\u0010\u0002J$\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0016J\b\u0010\u0015\u001a\u00020\u0016H\u0016J\b\u0010\u0017\u001a\u00020\u0016H\u0016R\u0012\u0010\u0003\u001a\u00060\u0004R\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082.\u00a2\u0006\u0002\n\u0000R&\u0010\u0007\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\n\u0012\u0004\u0012\u00020\u000b0\t\u0012\u0004\u0012\u00020\f0\bX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment;", "Landroidx/fragment/app/Fragment;", "()V", "adapter", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$ClientAdapter;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/FragmentClientsBinding;", "rates", "", "Lkotlin/Pair;", "", "Landroid/net/MacAddress;", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$TrafficRate;", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onStart", "", "onStop", "ClientAdapter", "ClientViewHolder", "NicknameArg", "NicknameDialogFragment", "StatsArg", "StatsDialogFragment", "TrafficRate", "mobile_freedomDebug"})
|
||||
public final class ClientsFragment extends androidx.fragment.app.Fragment {
|
||||
private hanson.xyz.vpnhotspotmod.databinding.FragmentClientsBinding binding;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.client.ClientsFragment.ClientAdapter adapter = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Map<kotlin.Pair<java.lang.String, android.net.MacAddress>, hanson.xyz.vpnhotspotmod.client.ClientsFragment.TrafficRate> rates;
|
||||
|
||||
public ClientsFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public android.view.View onCreateView(@org.jetbrains.annotations.NotNull
|
||||
android.view.LayoutInflater inflater, @org.jetbrains.annotations.Nullable
|
||||
android.view.ViewGroup container, @org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStart() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStop() {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010!\n\u0002\b\u0002\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0082\u0004\u0018\u00002\u0012\u0012\u0004\u0012\u00020\u0002\u0012\b\u0012\u00060\u0003R\u00020\u00040\u0001B\u0005\u00a2\u0006\u0002\u0010\u0005J\u001c\u0010\r\u001a\u00020\u000e2\n\u0010\u000f\u001a\u00060\u0003R\u00020\u00042\u0006\u0010\u0010\u001a\u00020\bH\u0016J\u001c\u0010\u0011\u001a\u00060\u0003R\u00020\u00042\u0006\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\bH\u0016J\u0018\u0010\u0015\u001a\u00020\u000e2\u000e\u0010\u0016\u001a\n\u0012\u0004\u0012\u00020\u0002\u0018\u00010\u0017H\u0016J\"\u0010\u0018\u001a\u00020\u000e2\f\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\u001b0\u001a2\f\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u001b0\u001dR \u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\f\u00a8\u0006\u001e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$ClientAdapter;", "Landroidx/recyclerview/widget/ListAdapter;", "Lhanson/xyz/vpnhotspotmod/client/Client;", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$ClientViewHolder;", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment;", "(Lhanson/xyz/vpnhotspotmod/client/ClientsFragment;)V", "size", "Lkotlinx/coroutines/CompletableDeferred;", "", "getSize", "()Lkotlinx/coroutines/CompletableDeferred;", "setSize", "(Lkotlinx/coroutines/CompletableDeferred;)V", "onBindViewHolder", "", "holder", "position", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "submitList", "list", "", "updateTraffic", "newRecords", "", "Lhanson/xyz/vpnhotspotmod/room/TrafficRecord;", "oldRecords", "Landroidx/collection/LongSparseArray;", "mobile_freedomDebug"})
|
||||
final class ClientAdapter extends androidx.recyclerview.widget.ListAdapter<hanson.xyz.vpnhotspotmod.client.Client, hanson.xyz.vpnhotspotmod.client.ClientsFragment.ClientViewHolder> {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private kotlinx.coroutines.CompletableDeferred<java.lang.Integer> size;
|
||||
|
||||
public ClientAdapter() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final kotlinx.coroutines.CompletableDeferred<java.lang.Integer> getSize() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setSize(@org.jetbrains.annotations.NotNull
|
||||
kotlinx.coroutines.CompletableDeferred<java.lang.Integer> p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void submitList(@org.jetbrains.annotations.Nullable
|
||||
java.util.List<hanson.xyz.vpnhotspotmod.client.Client> list) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public hanson.xyz.vpnhotspotmod.client.ClientsFragment.ClientViewHolder onCreateViewHolder(@org.jetbrains.annotations.NotNull
|
||||
android.view.ViewGroup parent, int viewType) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onBindViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.client.ClientsFragment.ClientViewHolder holder, int position) {
|
||||
}
|
||||
|
||||
public final void updateTraffic(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.room.TrafficRecord> newRecords, @org.jetbrains.annotations.NotNull
|
||||
androidx.collection.LongSparseArray<hanson.xyz.vpnhotspotmod.room.TrafficRecord> oldRecords) {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0082\u0004\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003B\u0017\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\u0002\u0010\bJ\u0010\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u000eH\u0016J\u0012\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0016R\u0011\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u00a8\u0006\u0013"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$ClientViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "Landroidx/appcompat/widget/PopupMenu$OnMenuItemClickListener;", "parent", "Landroid/view/ViewGroup;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemClientBinding;", "(Lhanson/xyz/vpnhotspotmod/client/ClientsFragment;Landroid/view/ViewGroup;Lhanson/xyz/vpnhotspotmod/databinding/ListitemClientBinding;)V", "getBinding", "()Lhanson/xyz/vpnhotspotmod/databinding/ListitemClientBinding;", "onClick", "", "v", "Landroid/view/View;", "onMenuItemClick", "", "item", "Landroid/view/MenuItem;", "mobile_freedomDebug"})
|
||||
final class ClientViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener, androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.databinding.ListitemClientBinding binding = null;
|
||||
|
||||
public ClientViewHolder(@org.jetbrains.annotations.NotNull
|
||||
android.view.ViewGroup parent, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemClientBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.databinding.ListitemClientBinding getBinding() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.NotNull
|
||||
android.view.View v) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean onMenuItemClick(@org.jetbrains.annotations.Nullable
|
||||
android.view.MenuItem item) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0010\r\n\u0002\b\t\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\f\u001a\u00020\u0005H\u00c6\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005H\u00c6\u0001J\t\u0010\u000e\u001a\u00020\u000fH\u00d6\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u00d6\u0003J\t\u0010\u0014\u001a\u00020\u000fH\u00d6\u0001J\t\u0010\u0015\u001a\u00020\u0016H\u00d6\u0001J\u0019\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u001a2\u0006\u0010\u001b\u001a\u00020\u000fH\u00d6\u0001R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u00a8\u0006\u001c"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$NicknameArg;", "Landroid/os/Parcelable;", "mac", "Landroid/net/MacAddress;", "nickname", "", "(Landroid/net/MacAddress;Ljava/lang/CharSequence;)V", "getMac", "()Landroid/net/MacAddress;", "getNickname", "()Ljava/lang/CharSequence;", "component1", "component2", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
|
||||
@kotlinx.parcelize.Parcelize
|
||||
public static final class NicknameArg implements android.os.Parcelable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.net.MacAddress mac = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.CharSequence nickname = null;
|
||||
|
||||
public NicknameArg(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac, @org.jetbrains.annotations.NotNull
|
||||
java.lang.CharSequence nickname) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getMac() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence getNickname() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence component2() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.client.ClientsFragment.NicknameArg copy(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac, @org.jetbrains.annotations.NotNull
|
||||
java.lang.CharSequence nickname) {
|
||||
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) {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u001a\u0010\u0005\u001a\u00020\u00062\b\u0010\u0007\u001a\u0004\u0018\u00010\b2\u0006\u0010\t\u001a\u00020\nH\u0016J\u0012\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0016J\u0014\u0010\u000f\u001a\u00020\u0006*\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0012H\u0014\u00a8\u0006\u0013"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$NicknameDialogFragment;", "Lhanson/xyz/vpnhotspotmod/AlertDialogFragment;", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$NicknameArg;", "Lhanson/xyz/vpnhotspotmod/Empty;", "()V", "onClick", "", "dialog", "Landroid/content/DialogInterface;", "which", "", "onCreateDialog", "Landroidx/appcompat/app/AlertDialog;", "savedInstanceState", "Landroid/os/Bundle;", "prepare", "Landroidx/appcompat/app/AlertDialog$Builder;", "listener", "Landroid/content/DialogInterface$OnClickListener;", "mobile_freedomDebug"})
|
||||
public static final class NicknameDialogFragment extends hanson.xyz.vpnhotspotmod.AlertDialogFragment<hanson.xyz.vpnhotspotmod.client.ClientsFragment.NicknameArg, hanson.xyz.vpnhotspotmod.Empty> {
|
||||
|
||||
public NicknameDialogFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void prepare(@org.jetbrains.annotations.NotNull
|
||||
androidx.appcompat.app.AlertDialog.Builder $this$prepare, @org.jetbrains.annotations.NotNull
|
||||
android.content.DialogInterface.OnClickListener listener) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public androidx.appcompat.app.AlertDialog onCreateDialog(@org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.Nullable
|
||||
android.content.DialogInterface dialog, int which) {
|
||||
}
|
||||
}
|
||||
|
||||
@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\r\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\f\u001a\u00020\u0005H\u00c6\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005H\u00c6\u0001J\t\u0010\u000e\u001a\u00020\u000fH\u00d6\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013H\u00d6\u0003J\t\u0010\u0014\u001a\u00020\u000fH\u00d6\u0001J\t\u0010\u0015\u001a\u00020\u0016H\u00d6\u0001J\u0019\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u001a2\u0006\u0010\u001b\u001a\u00020\u000fH\u00d6\u0001R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u00a8\u0006\u001c"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$StatsArg;", "Landroid/os/Parcelable;", "title", "", "stats", "Lhanson/xyz/vpnhotspotmod/room/ClientStats;", "(Ljava/lang/CharSequence;Lhanson/xyz/vpnhotspotmod/room/ClientStats;)V", "getStats", "()Lhanson/xyz/vpnhotspotmod/room/ClientStats;", "getTitle", "()Ljava/lang/CharSequence;", "component1", "component2", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
|
||||
@kotlinx.parcelize.Parcelize
|
||||
public static final class StatsArg implements android.os.Parcelable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.CharSequence title = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.room.ClientStats stats = null;
|
||||
|
||||
public StatsArg(@org.jetbrains.annotations.NotNull
|
||||
java.lang.CharSequence title, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.room.ClientStats stats) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.room.ClientStats getStats() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.room.ClientStats component2() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.client.ClientsFragment.StatsArg copy(@org.jetbrains.annotations.NotNull
|
||||
java.lang.CharSequence title, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.room.ClientStats stats) {
|
||||
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) {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0014\u0010\u0005\u001a\u00020\u0006*\u00020\u00072\u0006\u0010\b\u001a\u00020\tH\u0014\u00a8\u0006\n"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$StatsDialogFragment;", "Lhanson/xyz/vpnhotspotmod/AlertDialogFragment;", "Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$StatsArg;", "Lhanson/xyz/vpnhotspotmod/Empty;", "()V", "prepare", "", "Landroidx/appcompat/app/AlertDialog$Builder;", "listener", "Landroid/content/DialogInterface$OnClickListener;", "mobile_freedomDebug"})
|
||||
public static final class StatsDialogFragment extends hanson.xyz.vpnhotspotmod.AlertDialogFragment<hanson.xyz.vpnhotspotmod.client.ClientsFragment.StatsArg, hanson.xyz.vpnhotspotmod.Empty> {
|
||||
|
||||
public StatsDialogFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void prepare(@org.jetbrains.annotations.NotNull
|
||||
androidx.appcompat.app.AlertDialog.Builder $this$prepare, @org.jetbrains.annotations.NotNull
|
||||
android.content.DialogInterface.OnClickListener listener) {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\t\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0019\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0005J\u0006\u0010\f\u001a\u00020\rJ\t\u0010\u000e\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\u000f\u001a\u00020\u0003H\u00c6\u0003J\u001d\u0010\u0010\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003H\u00c6\u0001J\u0013\u0010\u0011\u001a\u00020\u00122\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u00d6\u0003J\t\u0010\u0015\u001a\u00020\u0016H\u00d6\u0001J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u001a\u0010\u0004\u001a\u00020\u0003X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\tR\u001a\u0010\u0002\u001a\u00020\u0003X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u0007\"\u0004\b\u000b\u0010\t\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/ClientsFragment$TrafficRate;", "Landroidx/databinding/BaseObservable;", "send", "", "receive", "(JJ)V", "getReceive", "()J", "setReceive", "(J)V", "getSend", "setSend", "clear", "", "component1", "component2", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "mobile_freedomDebug"})
|
||||
public static final class TrafficRate extends androidx.databinding.BaseObservable {
|
||||
private long send;
|
||||
private long receive;
|
||||
|
||||
public TrafficRate(long send, long receive) {
|
||||
super();
|
||||
}
|
||||
|
||||
public final long getSend() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public final void setSend(long p0) {
|
||||
}
|
||||
|
||||
public final long getReceive() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public final void setReceive(long p0) {
|
||||
}
|
||||
|
||||
public final void clear() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public TrafficRate() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final long component1() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
public final long component2() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.client.ClientsFragment.TrafficRate copy(long send, long receive) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,90 @@
|
||||
package hanson.xyz.vpnhotspotmod.client;
|
||||
|
||||
/**
|
||||
* This class generates a default nickname for new clients.
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000Z\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u00c6\u0002\u0018\u00002\u00020\u0001:\u0001\'B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0017\u0010\u0017\u001a\u0004\u0018\u00010\u00182\u0006\u0010\u0019\u001a\u00020\u0010H\u0007\u00a2\u0006\u0002\u0010\u001aJ*\u0010\u001b\u001a\u0004\u0018\u00010\u001c2\u0006\u0010\u0019\u001a\u00020\u00102\u0006\u0010\u001d\u001a\u00020\u00042\u0006\u0010\u001e\u001a\u00020\u001f2\u0006\u0010 \u001a\u00020\u001fH\u0002J\u001a\u0010!\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u00102\b\b\u0002\u0010\"\u001a\u00020#H\u0007J!\u0010$\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u00102\u0006\u0010%\u001a\u00020\u0004H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010&R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R#\u0010\u0005\u001a\n \u0007*\u0004\u0018\u00010\u00060\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR\u000e\u0010\f\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000fX\u0082\u0004\u00a2\u0006\u0002\n\u0000R \u0010\u0012\u001a\n \u0007*\u0004\u0018\u00010\u00130\u0013*\u00020\u00148BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0015\u0010\u0016\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006("}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/MacLookup;", "", "()V", "buildId", "", "buildIdPattern", "Ljava/util/regex/Pattern;", "kotlin.jvm.PlatformType", "getBuildIdPattern", "()Ljava/util/regex/Pattern;", "buildIdPattern$delegate", "Lkotlin/Lazy;", "countryCodeRegex", "Lkotlin/text/Regex;", "macLookupBusy", "", "Landroid/net/MacAddress;", "Lkotlinx/coroutines/Job;", "findErrorStream", "Ljava/io/InputStream;", "Ljava/net/HttpURLConnection;", "getFindErrorStream", "(Ljava/net/HttpURLConnection;)Ljava/io/InputStream;", "abort", "", "mac", "(Landroid/net/MacAddress;)Lkotlin/Unit;", "extractCountry", "Lkotlin/text/MatchResult;", "response", "vendor", "Lorg/json/JSONObject;", "obj", "perform", "explicit", "", "readResponse", "reportId", "(Landroid/net/MacAddress;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "UnexpectedError", "mobile_freedomDebug"})
|
||||
public final class MacLookup {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.Map<android.net.MacAddress, kotlinx.coroutines.Job> macLookupBusy = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.text.Regex countryCodeRegex = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy buildIdPattern$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.lang.String buildId = "JWtYl8QevtUxVpijtLWPq";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.client.MacLookup INSTANCE = null;
|
||||
|
||||
private MacLookup() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final java.util.regex.Pattern getBuildIdPattern() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.io.InputStream getFindErrorStream(java.net.HttpURLConnection $this$findErrorStream) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@androidx.annotation.MainThread
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final kotlin.Unit abort(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.Object readResponse(android.net.MacAddress mac, java.lang.String reportId, kotlin.coroutines.Continuation<? super java.lang.String> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@androidx.annotation.MainThread
|
||||
public final void perform(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac, boolean explicit) {
|
||||
}
|
||||
|
||||
private final kotlin.text.MatchResult extractCountry(android.net.MacAddress mac, java.lang.String response, org.json.JSONObject vendor, org.json.JSONObject obj) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0010\u0010\r\u001a\u00020\u00052\u0006\u0010\u000e\u001a\u00020\u000fH\u0002J\b\u0010\u0010\u001a\u00020\u0005H\u0016R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\u00058VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\f\u0010\b\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/client/MacLookup$UnexpectedError;", "Lorg/json/JSONException;", "mac", "Landroid/net/MacAddress;", "error", "", "(Landroid/net/MacAddress;Ljava/lang/String;)V", "getError", "()Ljava/lang/String;", "getMac", "()Landroid/net/MacAddress;", "message", "getMessage", "formatMessage", "context", "Landroid/content/Context;", "getLocalizedMessage", "mobile_freedomDebug"})
|
||||
public static final class UnexpectedError extends org.json.JSONException {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.net.MacAddress mac = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String error = null;
|
||||
|
||||
public UnexpectedError(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String error) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getMac() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getError() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.String formatMessage(android.content.Context context) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getMessage() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getLocalizedMessage() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,120 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000d\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0003\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u0000 ,2\u00020\u00012\u00020\u0002:\u0001,B#\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\f\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u00a2\u0006\u0002\u0010\nJ\b\u0010\u001e\u001a\u00020\tH\u0016J\u000e\u0010\u001f\u001a\u00020\t2\u0006\u0010\u0003\u001a\u00020\u0004J\u0018\u0010 \u001a\u00020\t2\u0006\u0010!\u001a\u00020\"2\u0006\u0010#\u001a\u00020\u0017H\u0016J\u0010\u0010$\u001a\u00020\t2\u0006\u0010!\u001a\u00020\"H\u0016J\u0018\u0010%\u001a\u00020\t2\u0006\u0010&\u001a\u00020\'2\u0006\u0010\u0003\u001a\u00020\u0004H\u0007J\u001e\u0010(\u001a\u00020\t2\u0016\u0010&\u001a\u0012\u0012\b\u0012\u00060*j\u0002`+\u0012\u0004\u0012\u00020\t0)R\u0013\u0010\u000b\u001a\u0004\u0018\u00010\f8F\u00a2\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u001c\u0010\u000f\u001a\u0004\u0018\u00010\u0010X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0011\u0010\u0012\"\u0004\b\u0013\u0010\u0014R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0015\u001a\u00020\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0016\u001a\u0004\u0018\u00010\u0017X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0018\u001a\u00020\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0019\u001a\u00020\u001aX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0017\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\t0\b\u00a2\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u001cR\u000e\u0010\u001d\u001a\u00020\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006-"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/BluetoothTethering;", "Landroid/bluetooth/BluetoothProfile$ServiceListener;", "Ljava/lang/AutoCloseable;", "context", "Landroid/content/Context;", "adapter", "Landroid/bluetooth/BluetoothAdapter;", "stateListener", "Lkotlin/Function0;", "", "(Landroid/content/Context;Landroid/bluetooth/BluetoothAdapter;Lkotlin/jvm/functions/Function0;)V", "active", "", "getActive", "()Ljava/lang/Boolean;", "activeFailureCause", "", "getActiveFailureCause", "()Ljava/lang/Throwable;", "setActiveFailureCause", "(Ljava/lang/Throwable;)V", "connected", "pan", "Landroid/bluetooth/BluetoothProfile;", "proxyCreated", "receiver", "Landroid/content/BroadcastReceiver;", "getStateListener", "()Lkotlin/jvm/functions/Function0;", "stoppedByUser", "close", "ensureInit", "onServiceConnected", "profile", "", "proxy", "onServiceDisconnected", "start", "callback", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$StartTetheringCallback;", "stop", "Lkotlin/Function1;", "Ljava/lang/Exception;", "Lkotlin/Exception;", "Companion", "mobile_freedomDebug"})
|
||||
public final class BluetoothTethering implements android.bluetooth.BluetoothProfile.ServiceListener, java.lang.AutoCloseable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.bluetooth.BluetoothAdapter adapter = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.jvm.functions.Function0<kotlin.Unit> stateListener = null;
|
||||
|
||||
/**
|
||||
* PAN Profile
|
||||
*/
|
||||
private static final int PAN = 5;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy<?> clazz$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.Lazy<?> isTetheringOn$delegate = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static hanson.xyz.vpnhotspotmod.net.TetheringManager.StartTetheringCallback pendingCallback;
|
||||
private boolean proxyCreated = false;
|
||||
private boolean connected = false;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private android.bluetooth.BluetoothProfile pan;
|
||||
private boolean stoppedByUser = false;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.Throwable activeFailureCause;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.content.BroadcastReceiver receiver = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.manage.BluetoothTethering.Companion Companion = null;
|
||||
|
||||
public BluetoothTethering(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context, @org.jetbrains.annotations.NotNull
|
||||
android.bluetooth.BluetoothAdapter adapter, @org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function0<kotlin.Unit> stateListener) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final kotlin.jvm.functions.Function0<kotlin.Unit> getStateListener() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Throwable getActiveFailureCause() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setActiveFailureCause(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Throwable p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Boolean getActive() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void ensureInit(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(int profile) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(int profile, @org.jetbrains.annotations.NotNull
|
||||
android.bluetooth.BluetoothProfile proxy) {
|
||||
}
|
||||
|
||||
/**
|
||||
* https://android.googlesource.com/platform/packages/apps/Settings/+/b1af85d/src/com/android/settings/TetherSettings.java#384
|
||||
*/
|
||||
@android.annotation.SuppressLint(value = {"MissingPermission"})
|
||||
public final void start(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.TetheringManager.StartTetheringCallback callback, @org.jetbrains.annotations.NotNull
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
public final void stop(@org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function1<? super java.lang.Exception, kotlin.Unit> callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void close() {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u001c\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u001aH\u0016J\u0012\u0010\u001b\u001a\u0004\u0018\u00010\u001a2\u0006\u0010\u001c\u001a\u00020\u0001H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R+\u0010\u0005\u001a\u0012\u0012\u0002\b\u0003 \u0007*\b\u0012\u0002\b\u0003\u0018\u00010\u00060\u00068BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR#\u0010\f\u001a\n \u0007*\u0004\u0018\u00010\r0\r8BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u000f\u0010\u000b\u001a\u0004\b\f\u0010\u000eR\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0011X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0018\u0010\f\u001a\u00020\u0012*\u00020\u00138BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b\f\u0010\u0014\u00a8\u0006\u001d"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/BluetoothTethering$Companion;", "Landroid/content/BroadcastReceiver;", "()V", "PAN", "", "clazz", "Ljava/lang/Class;", "kotlin.jvm.PlatformType", "getClazz", "()Ljava/lang/Class;", "clazz$delegate", "Lkotlin/Lazy;", "isTetheringOn", "Ljava/lang/reflect/Method;", "()Ljava/lang/reflect/Method;", "isTetheringOn$delegate", "pendingCallback", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$StartTetheringCallback;", "", "Landroid/bluetooth/BluetoothProfile;", "(Landroid/bluetooth/BluetoothProfile;)Z", "onReceive", "", "context", "Landroid/content/Context;", "intent", "Landroid/content/Intent;", "registerBluetoothStateListener", "receiver", "mobile_freedomDebug"})
|
||||
public static final class Companion extends android.content.BroadcastReceiver {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final java.lang.Class<?> getClazz() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.reflect.Method isTetheringOn() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final boolean isTetheringOn(android.bluetooth.BluetoothProfile $this$isTetheringOn) {
|
||||
return false;
|
||||
}
|
||||
|
||||
private final android.content.Intent registerBluetoothStateListener(android.content.BroadcastReceiver receiver) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* https://android.googlesource.com/platform/packages/apps/Settings/+/b1af85d/src/com/android/settings/TetherSettings.java#215
|
||||
*/
|
||||
@java.lang.Override
|
||||
public void onReceive(@org.jetbrains.annotations.Nullable
|
||||
android.content.Context context, @org.jetbrains.annotations.Nullable
|
||||
android.content.Intent intent) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@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\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\r\n\u0002\b\u0005\b&\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002R\u0012\u0010\u0003\u001a\u00020\u0004X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0012\u0010\u0007\u001a\u00020\bX\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\f\u0010\u0006R\u0012\u0010\r\u001a\u00020\u000eX\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010R\u0012\u0010\u0011\u001a\u00020\u000eX\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0012\u0010\u0010\u00a8\u0006\u0013"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/Data;", "Landroidx/databinding/BaseObservable;", "()V", "active", "", "getActive", "()Z", "icon", "", "getIcon", "()I", "selectable", "getSelectable", "text", "", "getText", "()Ljava/lang/CharSequence;", "title", "getTitle", "mobile_freedomDebug"})
|
||||
public abstract class Data extends androidx.databinding.BaseObservable {
|
||||
|
||||
public Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
public abstract int getIcon();
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public abstract java.lang.CharSequence getTitle();
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public abstract java.lang.CharSequence getText();
|
||||
|
||||
public abstract boolean getActive();
|
||||
|
||||
public boolean getSelectable() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,112 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\r\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0005\u0018\u00002\u00020\u0001:\u0002\u001b\u001cB\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0010\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\u0014H\u0016J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0018H\u0096\u0002J\b\u0010\u0019\u001a\u00020\u000eH\u0016J\u0010\u0010\u001a\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u0001H\u0016R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\t\u001a\u00060\nR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\r\u001a\u00020\u000e8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010\u00a8\u0006\u001d"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/InterfaceManager;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "iface", "", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;Ljava/lang/String;)V", "addresses", "", "data", "Lhanson/xyz/vpnhotspotmod/manage/InterfaceManager$Data;", "getIface", "()Ljava/lang/String;", "type", "", "getType", "()I", "bindTo", "", "viewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "equals", "", "other", "", "hashCode", "isSameItemAs", "Data", "ViewHolder", "mobile_freedomDebug"})
|
||||
public final class InterfaceManager extends hanson.xyz.vpnhotspotmod.manage.Manager {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String iface = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.CharSequence addresses = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.InterfaceManager.Data data = null;
|
||||
|
||||
public InterfaceManager(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String iface) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getIface() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void bindTo(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean isSameItemAs(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@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\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\r\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0082\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\f8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\u00108VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012\u00a8\u0006\u0013"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/InterfaceManager$Data;", "Lhanson/xyz/vpnhotspotmod/manage/Data;", "(Lhanson/xyz/vpnhotspotmod/manage/InterfaceManager;)V", "active", "", "getActive", "()Z", "icon", "", "getIcon", "()I", "text", "", "getText", "()Ljava/lang/CharSequence;", "title", "", "getTitle", "()Ljava/lang/String;", "mobile_freedomDebug"})
|
||||
final class Data extends hanson.xyz.vpnhotspotmod.manage.Data {
|
||||
|
||||
public Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.CharSequence getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean getActive() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u001a\u0010\b\u001a\u00020\tX\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\r\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/InterfaceManager$ViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;", "(Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;)V", "getBinding", "()Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;", "iface", "", "getIface", "()Ljava/lang/String;", "setIface", "(Ljava/lang/String;)V", "onClick", "", "view", "Landroid/view/View;", "mobile_freedomDebug"})
|
||||
public static final class ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding = null;
|
||||
public java.lang.String iface;
|
||||
|
||||
public ViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding getBinding() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getIface() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setIface(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.NotNull
|
||||
android.view.View view) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0010\u000b\n\u0000\b&\u0018\u00002\u00020\u00012\u00020\u0002B\u0005\u00a2\u0006\u0002\u0010\u0003J\u0016\u0010\u0007\u001a\u00020\b2\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005H\u0016J\b\u0010\t\u001a\u00020\bH\u0016J\b\u0010\n\u001a\u00020\bH\u0016J\b\u0010\u000b\u001a\u00020\bH&J \u0010\f\u001a\u00020\b*\u00020\r2\u0012\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\u00110\u000fH\u0004R\u0014\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/IpNeighbourMonitoringTileService;", "Lhanson/xyz/vpnhotspotmod/util/KillableTileService;", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "()V", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "onIpNeighbourAvailable", "", "onStartListening", "onStopListening", "updateTile", "subtitleDevices", "Landroid/service/quicksettings/Tile;", "filter", "Lkotlin/Function1;", "", "", "mobile_freedomDebug"})
|
||||
public abstract class IpNeighbourMonitoringTileService extends hanson.xyz.vpnhotspotmod.util.KillableTileService implements hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours;
|
||||
|
||||
public IpNeighbourMonitoringTileService() {
|
||||
super();
|
||||
}
|
||||
|
||||
public abstract void updateTile();
|
||||
|
||||
@java.lang.Override
|
||||
public void onStartListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStopListening() {
|
||||
}
|
||||
|
||||
protected final void subtitleDevices(@org.jetbrains.annotations.NotNull
|
||||
android.service.quicksettings.Tile $this$subtitleDevices, @org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function1<? super java.lang.String, java.lang.Boolean> filter) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,140 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000T\n\u0002\u0018\u0002\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\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u0000 !2\u00020\u00012\u00020\u0002:\u0003!\"#B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u0016H\u0016J\u001c\u0010\u0017\u001a\u00020\u00142\b\u0010\u0018\u001a\u0004\u0018\u00010\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bH\u0016J\u0012\u0010\u001c\u001a\u00020\u00142\b\u0010\u0018\u001a\u0004\u0018\u00010\u0019H\u0016J\u000e\u0010\u001d\u001a\u00020\u00142\u0006\u0010\u001e\u001a\u00020\u001fJ\u0006\u0010 \u001a\u00020\u0014R \u0010\u0006\u001a\b\u0018\u00010\u0007R\u00020\bX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\fR\u0012\u0010\r\u001a\u00060\u000eR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000f\u001a\u00020\u00108VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012\u00a8\u0006$"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "Landroid/content/ServiceConnection;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "binder", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService;", "getBinder$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;", "setBinder$mobile_freedomDebug", "(Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;)V", "data", "Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager$Data;", "type", "", "getType", "()I", "bindTo", "", "viewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "start", "context", "Landroid/content/Context;", "update", "Companion", "Data", "ViewHolder", "mobile_freedomDebug"})
|
||||
public final class LocalOnlyHotspotManager extends hanson.xyz.vpnhotspotmod.manage.Manager implements android.content.ServiceConnection {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String permission = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager.Data data = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Binder binder;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager.Companion Companion = null;
|
||||
|
||||
public LocalOnlyHotspotManager(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
super();
|
||||
}
|
||||
|
||||
public final void start(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Binder getBinder$mobile_freedomDebug() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setBinder$mobile_freedomDebug(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Binder p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void bindTo(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder) {
|
||||
}
|
||||
|
||||
public final void update() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
@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\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager$Companion;", "", "()V", "permission", "", "getPermission", "()Ljava/lang/String;", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getPermission() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\r\n\u0002\b\u0005\b\u0082\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR \u0010\u000b\u001a\u000e\u0012\u0004\u0012\u00020\r\u0012\u0004\u0012\u00020\u000e0\f8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0011\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0012\u0010\u0006R\u0014\u0010\u0013\u001a\u00020\u00148VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0015\u0010\u0016R\u0014\u0010\u0017\u001a\u00020\u00148VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0018\u0010\u0016\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager$Data;", "Lhanson/xyz/vpnhotspotmod/manage/Data;", "(Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;)V", "active", "", "getActive", "()Z", "icon", "", "getIcon", "()I", "lookup", "", "", "Ljava/net/NetworkInterface;", "getLookup", "()Ljava/util/Map;", "selectable", "getSelectable", "text", "", "getText", "()Ljava/lang/CharSequence;", "title", "getTitle", "mobile_freedomDebug"})
|
||||
final class Data extends hanson.xyz.vpnhotspotmod.manage.Data {
|
||||
|
||||
public Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final java.util.Map<java.lang.String, java.net.NetworkInterface> getLookup() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.CharSequence getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.CharSequence getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean getActive() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean getSelectable() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u001a\u0010\b\u001a\u00020\tX\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\r\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager$ViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;", "(Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;)V", "getBinding", "()Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;", "manager", "Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "getManager", "()Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "setManager", "(Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;)V", "onClick", "", "view", "Landroid/view/View;", "mobile_freedomDebug"})
|
||||
public static final class ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding = null;
|
||||
public hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager manager;
|
||||
|
||||
public ViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding getBinding() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager getManager() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setManager(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.NotNull
|
||||
android.view.View view) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,44 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\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\u0005\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\f\u001a\u00020\rH\u0016J\u001c\u0010\u000e\u001a\u00020\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0016J\u0012\u0010\u0013\u001a\u00020\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0016J\b\u0010\u0014\u001a\u00020\rH\u0016J\b\u0010\u0015\u001a\u00020\rH\u0016J\b\u0010\u0016\u001a\u00020\rH\u0016R\u0014\u0010\u0003\u001a\b\u0018\u00010\u0004R\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u0006\u001a\u00020\u00078BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\t\u00a8\u0006\u0017"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotTileService;", "Lhanson/xyz/vpnhotspotmod/manage/IpNeighbourMonitoringTileService;", "()V", "binder", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService$Binder;", "Lhanson/xyz/vpnhotspotmod/LocalOnlyHotspotService;", "tile", "Landroid/graphics/drawable/Icon;", "getTile", "()Landroid/graphics/drawable/Icon;", "tile$delegate", "Lkotlin/Lazy;", "onClick", "", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "onStartListening", "onStopListening", "updateTile", "mobile_freedomDebug"})
|
||||
public final class LocalOnlyHotspotTileService extends hanson.xyz.vpnhotspotmod.manage.IpNeighbourMonitoringTileService {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy tile$delegate = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.LocalOnlyHotspotService.Binder binder;
|
||||
|
||||
public LocalOnlyHotspotTileService() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final android.graphics.drawable.Icon getTile() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStartListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStopListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void updateTile() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,56 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@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\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u00c6\u0002\u0018\u00002\u00020\u0001:\u0002\u0010\u0011B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u0014\u0010\b\u001a\u00020\t8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000b\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/ManageBar;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "()V", "SETTINGS_1", "", "SETTINGS_2", "SETTINGS_PACKAGE", "TAG", "type", "", "getType", "()I", "start", "", "context", "Landroid/content/Context;", "Data", "ViewHolder", "mobile_freedomDebug"})
|
||||
public final class ManageBar extends hanson.xyz.vpnhotspotmod.manage.Manager {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String TAG = "ManageBar";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String SETTINGS_PACKAGE = "com.android.settings";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String SETTINGS_1 = "com.android.settings.Settings$TetherSettingsActivity";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String SETTINGS_2 = "com.android.settings.TetherSettings";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.manage.ManageBar INSTANCE = null;
|
||||
|
||||
private ManageBar() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final void start(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u00048F\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/ManageBar$Data;", "Landroidx/databinding/BaseObservable;", "()V", "offloadEnabled", "", "getOffloadEnabled", "()Z", "mobile_freedomDebug"})
|
||||
public static final class Data extends androidx.databinding.BaseObservable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.manage.ManageBar.Data INSTANCE = null;
|
||||
|
||||
private Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final boolean getOffloadEnabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0012\u0010\u0006\u001a\u00020\u00072\b\u0010\b\u001a\u0004\u0018\u00010\tH\u0016\u00a8\u0006\n"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/ManageBar$ViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemManageBinding;", "(Lhanson/xyz/vpnhotspotmod/databinding/ListitemManageBinding;)V", "onClick", "", "v", "Landroid/view/View;", "mobile_freedomDebug"})
|
||||
public static final class ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener {
|
||||
|
||||
public ViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemManageBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.Nullable
|
||||
android.view.View v) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,60 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\b&\u0018\u0000 \u000e2\u00020\u0001:\u0001\u000eB\u0005\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nH\u0016J\u0010\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u0000H\u0016R\u0012\u0010\u0003\u001a\u00020\u0004X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u000f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/Manager;", "", "()V", "type", "", "getType", "()I", "bindTo", "", "viewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "isSameItemAs", "", "other", "DiffCallback", "mobile_freedomDebug"})
|
||||
public abstract class Manager {
|
||||
public static final int VIEW_TYPE_INTERFACE = 0;
|
||||
public static final int VIEW_TYPE_MANAGE = 1;
|
||||
public static final int VIEW_TYPE_WIFI = 2;
|
||||
public static final int VIEW_TYPE_USB = 3;
|
||||
public static final int VIEW_TYPE_BLUETOOTH = 4;
|
||||
public static final int VIEW_TYPE_ETHERNET = 8;
|
||||
public static final int VIEW_TYPE_LOCAL_ONLY_HOTSPOT = 6;
|
||||
public static final int VIEW_TYPE_REPEATER = 7;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.manage.Manager.DiffCallback DiffCallback = null;
|
||||
|
||||
public Manager() {
|
||||
super();
|
||||
}
|
||||
|
||||
public abstract int getType();
|
||||
|
||||
public void bindTo(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder) {
|
||||
}
|
||||
|
||||
public boolean isSameItemAs(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\b\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0003J\u0018\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00022\u0006\u0010\u0010\u001a\u00020\u0002H\u0017J\u0018\u0010\u0011\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u00022\u0006\u0010\u0010\u001a\u00020\u0002H\u0016J\u001e\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u00172\u0006\u0010\u0018\u001a\u00020\u0005R\u000e\u0010\u0004\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\u0005X\u0086T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/Manager$DiffCallback;", "Landroidx/recyclerview/widget/DiffUtil$ItemCallback;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "()V", "VIEW_TYPE_BLUETOOTH", "", "VIEW_TYPE_ETHERNET", "VIEW_TYPE_INTERFACE", "VIEW_TYPE_LOCAL_ONLY_HOTSPOT", "VIEW_TYPE_MANAGE", "VIEW_TYPE_REPEATER", "VIEW_TYPE_USB", "VIEW_TYPE_WIFI", "areContentsTheSame", "", "oldItem", "newItem", "areItemsTheSame", "createViewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "inflater", "Landroid/view/LayoutInflater;", "parent", "Landroid/view/ViewGroup;", "type", "mobile_freedomDebug"})
|
||||
public static final class DiffCallback extends androidx.recyclerview.widget.DiffUtil.ItemCallback<hanson.xyz.vpnhotspotmod.manage.Manager> {
|
||||
|
||||
private DiffCallback() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean areItemsTheSame(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager oldItem, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager newItem) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@android.annotation.SuppressLint(value = {"DiffUtilEquals"})
|
||||
public boolean areContentsTheSame(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager oldItem, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.Manager newItem) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.recyclerview.widget.RecyclerView.ViewHolder createViewHolder(@org.jetbrains.annotations.NotNull
|
||||
android.view.LayoutInflater inflater, @org.jetbrains.annotations.NotNull
|
||||
android.view.ViewGroup parent, int type) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,227 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000l\n\u0002\u0018\u0002\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\u0002\b\u0005\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n\u0018\u00002\u00020\u00012\u00020\u0002:\u0005/0123B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u001d\u001a\u00020\u001e2\u0006\u0010\u001f\u001a\u00020 H\u0016J\u0006\u0010!\u001a\u00020\u001eJ\u001f\u0010\"\u001a\u0010\u0012\u0004\u0012\u00020$\u0012\u0004\u0012\u00020\u000e\u0018\u00010#H\u0083@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010%J\u001c\u0010&\u001a\u00020\u001e2\b\u0010\'\u001a\u0004\u0018\u00010(2\b\u0010)\u001a\u0004\u0018\u00010*H\u0016J\u0012\u0010+\u001a\u00020\u001e2\b\u0010\'\u001a\u0004\u0018\u00010(H\u0016J\u0019\u0010,\u001a\u00020\u001e2\u0006\u0010-\u001a\u00020$H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010.R \u0010\u0006\u001a\b\u0018\u00010\u0007R\u00020\bX\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\fR\u000e\u0010\r\u001a\u00020\u000eX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u000f\u001a\u00060\u0010R\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u0011\u001a\u00020\u00128BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0015\u0010\u0016\u001a\u0004\b\u0013\u0010\u0014R\u0010\u0010\u0017\u001a\u0004\u0018\u00010\u0018X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0019\u001a\u00020\u001a8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001b\u0010\u001c\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u00064"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "Landroid/content/ServiceConnection;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "binder", "Lhanson/xyz/vpnhotspotmod/RepeaterService$Binder;", "Lhanson/xyz/vpnhotspotmod/RepeaterService;", "getBinder$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/RepeaterService$Binder;", "setBinder$mobile_freedomDebug", "(Lhanson/xyz/vpnhotspotmod/RepeaterService$Binder;)V", "configuring", "", "data", "Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$Data;", "holder", "Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$ConfigHolder;", "getHolder", "()Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$ConfigHolder;", "holder$delegate", "Lkotlin/Lazy;", "p2pInterface", "", "type", "", "getType", "()I", "bindTo", "", "viewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "configure", "getConfiguration", "Lkotlin/Pair;", "Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "updateConfiguration", "config", "(Lhanson/xyz/vpnhotspotmod/net/wifi/SoftApConfigurationCompat;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "ConfigHolder", "Data", "ViewHolder", "WpsDialogFragment", "WpsRet", "mobile_freedomDebug"})
|
||||
public final class RepeaterManager extends hanson.xyz.vpnhotspotmod.manage.Manager implements android.content.ServiceConnection {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent = null;
|
||||
private boolean configuring = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.RepeaterManager.Data data = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.RepeaterService.Binder binder;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.String p2pInterface;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy holder$delegate = null;
|
||||
|
||||
public RepeaterManager(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
super();
|
||||
}
|
||||
|
||||
public final void configure() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.RepeaterService.Binder getBinder$mobile_freedomDebug() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setBinder$mobile_freedomDebug(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.RepeaterService.Binder p0) {
|
||||
}
|
||||
|
||||
private final hanson.xyz.vpnhotspotmod.manage.RepeaterManager.ConfigHolder getHolder() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void bindTo(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
@androidx.annotation.MainThread
|
||||
private final java.lang.Object getConfiguration(kotlin.coroutines.Continuation<? super kotlin.Pair<hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat, java.lang.Boolean>> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.Object updateConfiguration(hanson.xyz.vpnhotspotmod.net.wifi.SoftApConfigurationCompat config, kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002R\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b\u00a8\u0006\t"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$ConfigHolder;", "Landroidx/lifecycle/ViewModel;", "()V", "config", "Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration;", "getConfig", "()Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration;", "setConfig", "(Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration;)V", "mobile_freedomDebug"})
|
||||
public static final class ConfigHolder extends androidx.lifecycle.ViewModel {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration config;
|
||||
|
||||
public ConfigHolder() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration getConfig() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setConfig(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration p0) {
|
||||
}
|
||||
}
|
||||
|
||||
@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\r\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0012\u0010\u000f\u001a\u00020\u00102\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\u0012J\u0006\u0010\u0013\u001a\u00020\u0010J\u0006\u0010\u0014\u001a\u00020\u0010J\u0006\u0010\u0015\u001a\u00020\u0010R\u0011\u0010\u0003\u001a\u00020\u00048G\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\b8G\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0011\u0010\u000b\u001a\u00020\b8G\u00a2\u0006\u0006\u001a\u0004\b\f\u0010\nR\u0011\u0010\r\u001a\u00020\u00048G\u00a2\u0006\u0006\u001a\u0004\b\u000e\u0010\u0006\u00a8\u0006\u0016"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$Data;", "Landroidx/databinding/BaseObservable;", "(Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;)V", "addresses", "", "getAddresses", "()Ljava/lang/CharSequence;", "serviceStarted", "", "getServiceStarted", "()Z", "switchEnabled", "getSwitchEnabled", "title", "getTitle", "onGroupChanged", "", "group", "Landroid/net/wifi/p2p/WifiP2pGroup;", "onStatusChanged", "toggle", "wps", "mobile_freedomDebug"})
|
||||
public final class Data extends androidx.databinding.BaseObservable {
|
||||
|
||||
public Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
@androidx.databinding.Bindable
|
||||
public final boolean getSwitchEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@androidx.databinding.Bindable
|
||||
public final boolean getServiceStarted() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@androidx.databinding.Bindable
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@androidx.databinding.Bindable
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.CharSequence getAddresses() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void onStatusChanged() {
|
||||
}
|
||||
|
||||
public final void onGroupChanged(@org.jetbrains.annotations.Nullable
|
||||
android.net.wifi.p2p.WifiP2pGroup group) {
|
||||
}
|
||||
|
||||
public final void toggle() {
|
||||
}
|
||||
|
||||
public final void wps() {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$ViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemRepeaterBinding;", "(Lhanson/xyz/vpnhotspotmod/databinding/ListitemRepeaterBinding;)V", "getBinding", "()Lhanson/xyz/vpnhotspotmod/databinding/ListitemRepeaterBinding;", "mobile_freedomDebug"})
|
||||
public static final class ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.databinding.ListitemRepeaterBinding binding = null;
|
||||
|
||||
public ViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemRepeaterBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.databinding.ListitemRepeaterBinding getBinding() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0012\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000bH\u0016J\u0014\u0010\f\u001a\u00020\r*\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\u0010H\u0014R\u0014\u0010\u0005\u001a\u00020\u00038TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$WpsDialogFragment;", "Lhanson/xyz/vpnhotspotmod/AlertDialogFragment;", "Lhanson/xyz/vpnhotspotmod/Empty;", "Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$WpsRet;", "()V", "ret", "getRet", "()Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$WpsRet;", "onCreateDialog", "Landroidx/appcompat/app/AlertDialog;", "savedInstanceState", "Landroid/os/Bundle;", "prepare", "", "Landroidx/appcompat/app/AlertDialog$Builder;", "listener", "Landroid/content/DialogInterface$OnClickListener;", "mobile_freedomDebug"})
|
||||
public static final class WpsDialogFragment extends hanson.xyz.vpnhotspotmod.AlertDialogFragment<hanson.xyz.vpnhotspotmod.Empty, hanson.xyz.vpnhotspotmod.manage.RepeaterManager.WpsRet> {
|
||||
|
||||
public WpsDialogFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void prepare(@org.jetbrains.annotations.NotNull
|
||||
androidx.appcompat.app.AlertDialog.Builder $this$prepare, @org.jetbrains.annotations.NotNull
|
||||
android.content.DialogInterface.OnClickListener listener) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected hanson.xyz.vpnhotspotmod.manage.RepeaterManager.WpsRet getRet() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public androidx.appcompat.app.AlertDialog onCreateDialog(@org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u000f\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003H\u00c6\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003H\u00c6\u0001J\t\u0010\t\u001a\u00020\nH\u00d6\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eH\u00d6\u0003J\t\u0010\u000f\u001a\u00020\nH\u00d6\u0001J\t\u0010\u0010\u001a\u00020\u0003H\u00d6\u0001J\u0019\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\nH\u00d6\u0001R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006\u00a8\u0006\u0016"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager$WpsRet;", "Landroid/os/Parcelable;", "pin", "", "(Ljava/lang/String;)V", "getPin", "()Ljava/lang/String;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "mobile_freedomDebug"})
|
||||
@kotlinx.parcelize.Parcelize
|
||||
public static final class WpsRet implements android.os.Parcelable {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private final java.lang.String pin = null;
|
||||
|
||||
public WpsRet(@org.jetbrains.annotations.Nullable
|
||||
java.lang.String pin) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.String getPin() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.String component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.manage.RepeaterManager.WpsRet copy(@org.jetbrains.annotations.Nullable
|
||||
java.lang.String pin) {
|
||||
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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@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\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\f\u001a\u00020\rH\u0016J\u001c\u0010\u000e\u001a\u00020\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012H\u0016J\u0012\u0010\u0013\u001a\u00020\r2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0016J\b\u0010\u0014\u001a\u00020\rH\u0016J\b\u0010\u0015\u001a\u00020\rH\u0016J\u0014\u0010\u0016\u001a\u00020\r2\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\u0018H\u0002R\u0014\u0010\u0003\u001a\b\u0018\u00010\u0004R\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u0006\u001a\u00020\u00078BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\t\u00a8\u0006\u0019"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/RepeaterTileService;", "Lhanson/xyz/vpnhotspotmod/util/KillableTileService;", "()V", "binder", "Lhanson/xyz/vpnhotspotmod/RepeaterService$Binder;", "Lhanson/xyz/vpnhotspotmod/RepeaterService;", "tile", "Landroid/graphics/drawable/Icon;", "getTile", "()Landroid/graphics/drawable/Icon;", "tile$delegate", "Lkotlin/Lazy;", "onClick", "", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "onStartListening", "onStopListening", "updateTile", "group", "Landroid/net/wifi/p2p/WifiP2pGroup;", "mobile_freedomDebug"})
|
||||
public final class RepeaterTileService extends hanson.xyz.vpnhotspotmod.util.KillableTileService {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy tile$delegate = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.RepeaterService.Binder binder;
|
||||
|
||||
public RepeaterTileService() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final android.graphics.drawable.Icon getTile() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStartListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStopListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
private final void updateTile(android.net.wifi.p2p.WifiP2pGroup group) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,362 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0080\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\r\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010 \n\u0000\n\u0002\u0010$\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u00012\u00020\u0002:\u0006345678B\u000f\b\u0004\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0010\u0010\u001e\u001a\u00020\u001f2\u0006\u0010 \u001a\u00020!H\u0016J\b\u0010\"\u001a\u00020\u001fH\u0014J\u0014\u0010#\u001a\u00020\u001f2\n\u0010$\u001a\u00060%j\u0002`&H\u0016J\u0017\u0010\'\u001a\u00020\u001f2\b\u0010(\u001a\u0004\u0018\u00010)H\u0016\u00a2\u0006\u0002\u0010*J\b\u0010+\u001a\u00020\u001fH\u0016J\b\u0010,\u001a\u00020\u001fH$J\b\u0010-\u001a\u00020\u001fH$J(\u0010.\u001a\u00020\u001f2\f\u0010/\u001a\b\u0012\u0004\u0012\u00020\u0007002\u0012\u00101\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020)02R\"\u0010\b\u001a\u0004\u0018\u00010\u00072\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007@BX\u0084\u000e\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0015\u0010\u000b\u001a\u00060\fR\u00020\u0000\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u0004\u0018\u00010\u00108VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0011R\u0014\u0010\u0003\u001a\u00020\u0004X\u0084\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0012\u0010\u0014\u001a\u00020\u0015X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0016\u0010\u0017R\u0014\u0010\u0018\u001a\u00020\u00198TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001a\u0010\u001bR\u0012\u0010\u001c\u001a\u00020\u0019X\u00a6\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001d\u0010\u001b\u0082\u0001\u00049:;<\u00a8\u0006="}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$StartTetheringCallback;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "<set-?>", "", "baseError", "getBaseError", "()Ljava/lang/String;", "data", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Data;", "getData", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Data;", "isStarted", "", "()Ljava/lang/Boolean;", "getParent", "()Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "text", "", "getText", "()Ljava/lang/CharSequence;", "title", "getTitle", "bindTo", "", "viewHolder", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "onClickNull", "onException", "e", "Ljava/lang/Exception;", "Lkotlin/Exception;", "onTetheringFailed", "error", "", "(Ljava/lang/Integer;)V", "onTetheringStarted", "start", "stop", "updateErrorMessage", "errored", "", "lastErrors", "", "Bluetooth", "Data", "Ethernet", "Usb", "ViewHolder", "Wifi", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Usb;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Wifi;", "mobile_freedomDebug"})
|
||||
public abstract class TetherManager extends hanson.xyz.vpnhotspotmod.manage.Manager implements hanson.xyz.vpnhotspotmod.net.TetheringManager.StartTetheringCallback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetherManager.Data data = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.String baseError;
|
||||
|
||||
private TetherManager(hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected final hanson.xyz.vpnhotspotmod.manage.TetheringFragment getParent() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.manage.TetherManager.Data getData() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public abstract java.lang.CharSequence getTitle();
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public abstract hanson.xyz.vpnhotspotmod.net.TetherType getTetherType();
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public java.lang.Boolean isStarted() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected java.lang.CharSequence getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected final java.lang.String getBaseError() {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected abstract void start();
|
||||
|
||||
protected abstract void stop();
|
||||
|
||||
protected void onClickNull() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringStarted() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringFailed(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Integer error) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onException(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Exception e) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void bindTo(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder) {
|
||||
}
|
||||
|
||||
public final void updateErrorMessage(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> errored, @org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, java.lang.Integer> lastErrors) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u00012\u00020\u0002B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u000e\u0010\u001b\u001a\u00020\u001c2\u0006\u0010\u001d\u001a\u00020\u001eJ\b\u0010\u001f\u001a\u00020\u001cH\u0014J\u0010\u0010 \u001a\u00020\u001c2\u0006\u0010!\u001a\u00020\"H\u0016J\u0010\u0010#\u001a\u00020\u001c2\u0006\u0010!\u001a\u00020\"H\u0016J\b\u0010$\u001a\u00020\u001cH\u0014J\b\u0010%\u001a\u00020\u001cH\u0014R\u0016\u0010\b\u001a\u0004\u0018\u00010\t8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\nR\u0014\u0010\u000b\u001a\u00020\f8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u000e\u0010\u000f\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0011\u001a\u00020\u00128TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0013\u0010\u0014R\u0014\u0010\u0015\u001a\u00020\u00128VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0016\u0010\u0014R\u0014\u0010\u0017\u001a\u00020\u00188VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0019\u0010\u001a\u00a8\u0006&"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "Landroidx/lifecycle/DefaultLifecycleObserver;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "adapter", "Landroid/bluetooth/BluetoothAdapter;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;Landroid/bluetooth/BluetoothAdapter;)V", "isStarted", "", "()Ljava/lang/Boolean;", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "tethering", "Lhanson/xyz/vpnhotspotmod/manage/BluetoothTethering;", "text", "", "getText", "()Ljava/lang/String;", "title", "getTitle", "type", "", "getType", "()I", "ensureInit", "", "context", "Landroid/content/Context;", "onClickNull", "onDestroy", "owner", "Landroidx/lifecycle/LifecycleOwner;", "onResume", "start", "stop", "mobile_freedomDebug"})
|
||||
public static final class Bluetooth extends hanson.xyz.vpnhotspotmod.manage.TetherManager implements androidx.lifecycle.DefaultLifecycleObserver {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.BluetoothTethering tethering = null;
|
||||
|
||||
public Bluetooth(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent, @org.jetbrains.annotations.NotNull
|
||||
android.bluetooth.BluetoothAdapter adapter) {
|
||||
}
|
||||
|
||||
public final void ensureInit(@org.jetbrains.annotations.NotNull
|
||||
android.content.Context context) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onResume(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onDestroy(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public java.lang.Boolean isStarted() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected java.lang.String getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void onClickNull() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A convenient class to delegate stuff to BaseObservable.
|
||||
*/
|
||||
@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\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\r\n\u0002\b\u0005\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u00048VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\f8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\f8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0010\u0010\u000e\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Data;", "Lhanson/xyz/vpnhotspotmod/manage/Data;", "(Lhanson/xyz/vpnhotspotmod/manage/TetherManager;)V", "active", "", "getActive", "()Z", "icon", "", "getIcon", "()I", "text", "", "getText", "()Ljava/lang/CharSequence;", "title", "getTitle", "mobile_freedomDebug"})
|
||||
public final class Data extends hanson.xyz.vpnhotspotmod.manage.Data {
|
||||
|
||||
public Data() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.CharSequence getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.CharSequence getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean getActive() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\b\u0010\u0011\u001a\u00020\u0012H\u0014J\b\u0010\u0013\u001a\u00020\u0012H\u0014R\u0014\u0010\u0005\u001a\u00020\u00068VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\t\u001a\u00020\n8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\r\u001a\u00020\u000e8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "title", "", "getTitle", "()Ljava/lang/String;", "type", "", "getType", "()I", "start", "", "stop", "mobile_freedomDebug"})
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public static final class Ethernet extends hanson.xyz.vpnhotspotmod.manage.TetherManager {
|
||||
|
||||
public Ethernet(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\b\u0010\u0011\u001a\u00020\u0012H\u0014J\b\u0010\u0013\u001a\u00020\u0012H\u0014R\u0014\u0010\u0005\u001a\u00020\u00068VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0014\u0010\t\u001a\u00020\n8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\r\u001a\u00020\u000e8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Usb;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "title", "", "getTitle", "()Ljava/lang/String;", "type", "", "getType", "()I", "start", "", "stop", "mobile_freedomDebug"})
|
||||
public static final class Usb extends hanson.xyz.vpnhotspotmod.manage.TetherManager {
|
||||
|
||||
public Usb(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u00012\u00020\u0002B\r\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\u0002\u0010\u0005J\u0012\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R(\u0010\b\u001a\u0004\u0018\u00010\u00072\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007@FX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\f\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$ViewHolder;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Landroid/view/View$OnClickListener;", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;", "(Lhanson/xyz/vpnhotspotmod/databinding/ListitemInterfaceBinding;)V", "value", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "manager", "getManager", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "setManager", "(Lhanson/xyz/vpnhotspotmod/manage/TetherManager;)V", "onClick", "", "v", "Landroid/view/View;", "mobile_freedomDebug"})
|
||||
public static final class ViewHolder extends androidx.recyclerview.widget.RecyclerView.ViewHolder implements android.view.View.OnClickListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.manage.TetherManager manager;
|
||||
|
||||
public ViewHolder(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.databinding.ListitemInterfaceBinding binding) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.manage.TetherManager getManager() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setManager(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.manage.TetherManager value) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick(@org.jetbrains.annotations.Nullable
|
||||
android.view.View v) {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003B\r\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0012\u0010\u001e\u001a\u0004\u0018\u00010\u00142\u0006\u0010\u001f\u001a\u00020 H\u0003J\u0010\u0010!\u001a\u00020\"2\u0006\u0010\u0007\u001a\u00020\bH\u0016J\u0016\u0010#\u001a\u00020\"2\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\b0\rH\u0016J\u0010\u0010$\u001a\u00020\"2\u0006\u0010\u000e\u001a\u00020\nH\u0016J\u0010\u0010%\u001a\u00020\"2\u0006\u0010&\u001a\u00020\'H\u0016J\u0018\u0010(\u001a\u00020\"2\u0006\u0010)\u001a\u00020\n2\u0006\u0010\t\u001a\u00020\nH\u0016J\u0010\u0010*\u001a\u00020\"2\u0006\u0010&\u001a\u00020\'H\u0016J\b\u0010+\u001a\u00020\"H\u0014J\b\u0010,\u001a\u00020\"H\u0014R\u0010\u0010\u0007\u001a\u0004\u0018\u00010\bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0012\u0010\t\u001a\u0004\u0018\u00010\nX\u0082\u000e\u00a2\u0006\u0004\n\u0002\u0010\u000bR\u0014\u0010\f\u001a\b\u0012\u0004\u0012\u00020\b0\rX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u000e\u001a\u0004\u0018\u00010\nX\u0082\u000e\u00a2\u0006\u0004\n\u0002\u0010\u000bR\u0014\u0010\u000f\u001a\u00020\u00108VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0011\u0010\u0012R\u0014\u0010\u0013\u001a\u00020\u00148TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0015\u0010\u0016R\u0014\u0010\u0017\u001a\u00020\u00188VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0019\u0010\u001aR\u0014\u0010\u001b\u001a\u00020\n8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001c\u0010\u001d\u00a8\u0006-"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Wifi;", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "Landroidx/lifecycle/DefaultLifecycleObserver;", "Lhanson/xyz/vpnhotspotmod/net/wifi/WifiApManager$SoftApCallbackCompat;", "parent", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "capability", "Landroid/os/Parcelable;", "failureReason", "", "Ljava/lang/Integer;", "info", "", "numClients", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "text", "Landroid/text/SpannableStringBuilder;", "getText", "()Landroid/text/SpannableStringBuilder;", "title", "", "getTitle", "()Ljava/lang/String;", "type", "getType", "()I", "formatCapability", "locale", "Ljava/util/Locale;", "onCapabilityChanged", "", "onInfoChanged", "onNumClientsChanged", "onStart", "owner", "Landroidx/lifecycle/LifecycleOwner;", "onStateChanged", "state", "onStop", "start", "stop", "mobile_freedomDebug"})
|
||||
public static final class Wifi extends hanson.xyz.vpnhotspotmod.manage.TetherManager implements androidx.lifecycle.DefaultLifecycleObserver, hanson.xyz.vpnhotspotmod.net.wifi.WifiApManager.SoftApCallbackCompat {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.Integer failureReason;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.Integer numClients;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<? extends android.os.Parcelable> info;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private android.os.Parcelable capability;
|
||||
|
||||
public Wifi(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.manage.TetheringFragment parent) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStart(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStop(@org.jetbrains.annotations.NotNull
|
||||
androidx.lifecycle.LifecycleOwner owner) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStateChanged(int state, int failureReason) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onNumClientsChanged(int numClients) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onInfoChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<? extends android.os.Parcelable> info) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onCapabilityChanged(@org.jetbrains.annotations.NotNull
|
||||
android.os.Parcelable capability) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@android.annotation.TargetApi(value = 30)
|
||||
private final android.text.SpannableStringBuilder formatCapability(java.util.Locale locale) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected android.text.SpannableStringBuilder getText() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onBlockedClientConnecting(@org.jetbrains.annotations.NotNull
|
||||
android.os.Parcelable client, int blockedReason) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onConnectedClientsChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<? extends android.os.Parcelable> clients) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,265 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u009a\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\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\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0002\u0018\u00002\u00020\u00012\u00020\u00022\u00020\u0003:\u0001CB\u0005\u00a2\u0006\u0002\u0010\u0004J$\u0010,\u001a\u00020-2\u0006\u0010.\u001a\u00020/2\b\u00100\u001a\u0004\u0018\u0001012\b\u00102\u001a\u0004\u0018\u000103H\u0016J\b\u00104\u001a\u000205H\u0016J\u0012\u00106\u001a\u00020\b2\b\u00107\u001a\u0004\u0018\u000108H\u0016J\b\u00109\u001a\u000205H\u0016J\u001c\u0010:\u001a\u0002052\b\u0010;\u001a\u0004\u0018\u00010<2\b\u0010=\u001a\u0004\u0018\u00010>H\u0016J\u0012\u0010?\u001a\u0002052\b\u0010;\u001a\u0004\u0018\u00010<H\u0016J\u0018\u0010@\u001a\u0002052\u000e\b\u0002\u0010A\u001a\b\u0012\u0004\u0012\u00020\u001b0BH\u0002R\u0012\u0010\u0005\u001a\u00060\u0006R\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R \u0010\t\u001a\b\u0018\u00010\nR\u00020\u000bX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\u000e\u0010\u0010\u001a\u00020\u0011X\u0082.\u00a2\u0006\u0002\n\u0000R \u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00140\u0013X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0015\u0010\u0016\"\u0004\b\u0017\u0010\u0018R&\u0010\u0019\u001a\u000e\u0012\u0004\u0012\u00020\u001b\u0012\u0004\u0012\u00020\u001c0\u001aX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u001d\u0010\u001e\"\u0004\b\u001f\u0010 R\u000e\u0010!\u001a\u00020\"X\u0082\u0004\u00a2\u0006\u0002\n\u0000R$\u0010#\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$8\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b&\u0010\'R\u001f\u0010(\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$\u00a2\u0006\b\n\u0000\u001a\u0004\b)\u0010\'R$\u0010*\u001a\u0010\u0012\f\u0012\n %*\u0004\u0018\u00010\u001b0\u001b0$8\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b+\u0010\'\u00a8\u0006D"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;", "Landroidx/fragment/app/Fragment;", "Landroid/content/ServiceConnection;", "Landroidx/appcompat/widget/Toolbar$OnMenuItemClickListener;", "()V", "adapter", "Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment$ManagerAdapter;", "apConfigurationRunning", "", "binder", "Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "Lhanson/xyz/vpnhotspotmod/TetheringService;", "getBinder", "()Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "setBinder", "(Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;)V", "binding", "Lhanson/xyz/vpnhotspotmod/databinding/FragmentTetheringBinding;", "enabledTypes", "", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getEnabledTypes", "()Ljava/util/Set;", "setEnabledTypes", "(Ljava/util/Set;)V", "ifaceLookup", "", "", "Ljava/net/NetworkInterface;", "getIfaceLookup", "()Ljava/util/Map;", "setIfaceLookup", "(Ljava/util/Map;)V", "receiver", "Landroid/content/BroadcastReceiver;", "requestBluetooth", "Landroidx/activity/result/ActivityResultLauncher;", "kotlin.jvm.PlatformType", "getRequestBluetooth", "()Landroidx/activity/result/ActivityResultLauncher;", "startLocalOnlyHotspot", "getStartLocalOnlyHotspot", "startRepeater", "getStartRepeater", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onDestroyView", "", "onMenuItemClick", "item", "Landroid/view/MenuItem;", "onResume", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "updateMonitorList", "canMonitor", "", "ManagerAdapter", "mobile_freedomDebug"})
|
||||
public final class TetheringFragment extends androidx.fragment.app.Fragment implements android.content.ServiceConnection, androidx.appcompat.widget.Toolbar.OnMenuItemClickListener {
|
||||
@androidx.annotation.RequiresApi(value = 29)
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.activity.result.ActivityResultLauncher<java.lang.String> startRepeater = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.activity.result.ActivityResultLauncher<java.lang.String> startLocalOnlyHotspot = null;
|
||||
@androidx.annotation.RequiresApi(value = 31)
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final androidx.activity.result.ActivityResultLauncher<java.lang.String> requestBluetooth = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Map<java.lang.String, java.net.NetworkInterface> ifaceLookup;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Set<? extends hanson.xyz.vpnhotspotmod.net.TetherType> enabledTypes;
|
||||
private hanson.xyz.vpnhotspotmod.databinding.FragmentTetheringBinding binding;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.TetheringService.Binder binder;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetheringFragment.ManagerAdapter adapter = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.content.BroadcastReceiver receiver = null;
|
||||
private boolean apConfigurationRunning = false;
|
||||
|
||||
public TetheringFragment() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getStartRepeater() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getStartLocalOnlyHotspot() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final androidx.activity.result.ActivityResultLauncher<java.lang.String> getRequestBluetooth() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Map<java.lang.String, java.net.NetworkInterface> getIfaceLookup() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setIfaceLookup(@org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, java.net.NetworkInterface> p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Set<hanson.xyz.vpnhotspotmod.net.TetherType> getEnabledTypes() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setEnabledTypes(@org.jetbrains.annotations.NotNull
|
||||
java.util.Set<? extends hanson.xyz.vpnhotspotmod.net.TetherType> p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.TetheringService.Binder getBinder() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setBinder(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.TetheringService.Binder p0) {
|
||||
}
|
||||
|
||||
private final void updateMonitorList(java.util.List<java.lang.String> canMonitor) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean onMenuItemClick(@org.jetbrains.annotations.Nullable
|
||||
android.view.MenuItem item) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public android.view.View onCreateView(@org.jetbrains.annotations.NotNull
|
||||
android.view.LayoutInflater inflater, @org.jetbrains.annotations.Nullable
|
||||
android.view.ViewGroup container, @org.jetbrains.annotations.Nullable
|
||||
android.os.Bundle savedInstanceState) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onDestroyView() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onResume() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000n\n\u0002\u0018\u0002\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\u0005\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010%\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0007\b\u0086\u0004\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u00012\u00020\u0004B\u0005\u00a2\u0006\u0002\u0010\u0005J\u0010\u00103\u001a\u00020\u001d2\u0006\u00104\u001a\u00020\u001dH\u0016J\u0011\u00105\u001a\u000206H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u00107J\u0018\u00108\u001a\u0002062\u0006\u00109\u001a\u00020\u00032\u0006\u00104\u001a\u00020\u001dH\u0016J\u0018\u0010:\u001a\u00020\u00032\u0006\u0010;\u001a\u00020<2\u0006\u0010=\u001a\u00020\u001dH\u0016J\u0018\u0010>\u001a\u0002062\u0006\u0010?\u001a\u00020\b2\u0006\u0010@\u001a\u00020\u001dH\u0016J\u0006\u0010A\u001a\u000206J\u0006\u0010B\u001a\u000206R \u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\t\u0010\n\"\u0004\b\u000b\u0010\fR\u001d\u0010\r\u001a\u0004\u0018\u00010\u000e8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u000f\u0010\u0010R \u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\n\"\u0004\b\u0015\u0010\fR\u001b\u0010\u0016\u001a\u00020\u00178CX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b\u001a\u0010\u0012\u001a\u0004\b\u0018\u0010\u0019R\u001d\u0010\u001b\u001a\u000e\u0012\u0004\u0012\u00020\b\u0012\u0004\u0012\u00020\u001d0\u001c\u00a2\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001fR\u001a\u0010 \u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00020\u00070!X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001b\u0010\"\u001a\u00020#8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b&\u0010\u0012\u001a\u0004\b$\u0010%R \u0010\'\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b(\u0010\n\"\u0004\b)\u0010\fR\u001b\u0010*\u001a\u00020+8@X\u0080\u0084\u0002\u00a2\u0006\f\n\u0004\b.\u0010\u0012\u001a\u0004\b,\u0010-R!\u0010/\u001a\b\u0012\u0004\u0012\u0002000\u00078BX\u0082\u0084\u0002\u00a2\u0006\f\n\u0004\b2\u0010\u0012\u001a\u0004\b1\u0010\n\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006C"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment$ManagerAdapter;", "Landroidx/recyclerview/widget/ListAdapter;", "Lhanson/xyz/vpnhotspotmod/manage/Manager;", "Landroidx/recyclerview/widget/RecyclerView$ViewHolder;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$TetheringEventCallback;", "(Lhanson/xyz/vpnhotspotmod/manage/TetheringFragment;)V", "activeIfaces", "", "", "getActiveIfaces", "()Ljava/util/List;", "setActiveIfaces", "(Ljava/util/List;)V", "bluetoothManager", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "getBluetoothManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Bluetooth;", "bluetoothManager$delegate", "Lkotlin/Lazy;", "erroredIfaces", "getErroredIfaces", "setErroredIfaces", "ethernetManager", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "getEthernetManager", "()Lhanson/xyz/vpnhotspotmod/manage/TetherManager$Ethernet;", "ethernetManager$delegate", "lastErrors", "", "", "getLastErrors", "()Ljava/util/Map;", "listDeferred", "Lkotlinx/coroutines/CompletableDeferred;", "localOnlyHotspotManager", "Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "getLocalOnlyHotspotManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/LocalOnlyHotspotManager;", "localOnlyHotspotManager$delegate", "localOnlyIfaces", "getLocalOnlyIfaces", "setLocalOnlyIfaces", "repeaterManager", "Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;", "getRepeaterManager$mobile_freedomDebug", "()Lhanson/xyz/vpnhotspotmod/manage/RepeaterManager;", "repeaterManager$delegate", "tetherManagers", "Lhanson/xyz/vpnhotspotmod/manage/TetherManager;", "getTetherManagers", "tetherManagers$delegate", "getItemViewType", "position", "notifyTetherTypeChanged", "", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "onBindViewHolder", "holder", "onCreateViewHolder", "parent", "Landroid/view/ViewGroup;", "viewType", "onError", "ifName", "error", "update", "updateEnabledTypes", "mobile_freedomDebug"})
|
||||
public final class ManagerAdapter extends androidx.recyclerview.widget.ListAdapter<hanson.xyz.vpnhotspotmod.manage.Manager, androidx.recyclerview.widget.RecyclerView.ViewHolder> implements hanson.xyz.vpnhotspotmod.net.TetheringManager.TetheringEventCallback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy repeaterManager$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy localOnlyHotspotManager$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy bluetoothManager$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy tetherManagers$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy ethernetManager$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<java.lang.String> activeIfaces;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<java.lang.String> localOnlyIfaces;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<java.lang.String> erroredIfaces;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private kotlinx.coroutines.CompletableDeferred<java.util.List<hanson.xyz.vpnhotspotmod.manage.Manager>> listDeferred;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.Map<java.lang.String, java.lang.Integer> lastErrors = null;
|
||||
|
||||
public ManagerAdapter() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.manage.RepeaterManager getRepeaterManager$mobile_freedomDebug() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.manage.LocalOnlyHotspotManager getLocalOnlyHotspotManager$mobile_freedomDebug() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.manage.TetherManager.Bluetooth getBluetoothManager$mobile_freedomDebug() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.util.List<hanson.xyz.vpnhotspotmod.manage.TetherManager> getTetherManagers() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
private final hanson.xyz.vpnhotspotmod.manage.TetherManager.Ethernet getEthernetManager() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.List<java.lang.String> getActiveIfaces() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setActiveIfaces(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.List<java.lang.String> getLocalOnlyIfaces() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setLocalOnlyIfaces(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.List<java.lang.String> getErroredIfaces() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setErroredIfaces(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> p0) {
|
||||
}
|
||||
|
||||
public final void updateEnabledTypes() {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Map<java.lang.String, java.lang.Integer> getLastErrors() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onError(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String ifName, int error) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Object notifyTetherTypeChanged(@org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void update() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getItemViewType(int position) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(@org.jetbrains.annotations.NotNull
|
||||
android.view.ViewGroup parent, int viewType) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onBindViewHolder(@org.jetbrains.annotations.NotNull
|
||||
androidx.recyclerview.widget.RecyclerView.ViewHolder holder, int position) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClientsChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<?> clients) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onOffloadStatusChanged(int status) {
|
||||
}
|
||||
|
||||
@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 onTetheredInterfacesChanged(@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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,225 @@
|
||||
package hanson.xyz.vpnhotspotmod.manage;
|
||||
|
||||
@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\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u00012\u00020\u0002:\u0004;<=>B\u0007\b\u0004\u00a2\u0006\u0002\u0010\u0003J\b\u0010&\u001a\u00020\'H\u0016J\u0014\u0010(\u001a\u00020\'2\n\u0010)\u001a\u00060*j\u0002`+H\u0016J\u001c\u0010,\u001a\u00020\'2\b\u0010-\u001a\u0004\u0018\u00010.2\b\u0010/\u001a\u0004\u0018\u000100H\u0016J\u0012\u00101\u001a\u00020\'2\b\u0010-\u001a\u0004\u0018\u00010.H\u0016J\b\u00102\u001a\u00020\'H\u0016J\b\u00103\u001a\u00020\'H\u0016J\u0017\u00104\u001a\u00020\'2\b\u00105\u001a\u0004\u0018\u00010\fH\u0016\u00a2\u0006\u0002\u00106J\b\u00107\u001a\u00020\'H\u0016J\b\u00108\u001a\u00020\'H$J\b\u00109\u001a\u00020\'H$J\b\u0010:\u001a\u00020\'H\u0016R \u0010\u0004\u001a\b\u0018\u00010\u0005R\u00020\u0006X\u0084\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\u00020\f8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u001c\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u00108DX\u0084\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0012\u0010\u0013R\u0012\u0010\u0014\u001a\u00020\fX\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0015\u0010\u000eR\u000e\u0010\u0016\u001a\u00020\u0017X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u0018\u001a\u00020\u0019X\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\u001a\u0010\u001bR\u0016\u0010\u001c\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0010X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001b\u0010\u001d\u001a\u00020\u001e8DX\u0084\u0084\u0002\u00a2\u0006\f\n\u0004\b!\u0010\"\u001a\u0004\b\u001f\u0010 R\u001b\u0010#\u001a\u00020\u001e8DX\u0084\u0084\u0002\u00a2\u0006\f\n\u0004\b%\u0010\"\u001a\u0004\b$\u0010 \u0082\u0001\u0004?@AB\u00a8\u0006C"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService;", "Lhanson/xyz/vpnhotspotmod/manage/IpNeighbourMonitoringTileService;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$StartTetheringCallback;", "()V", "binder", "Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "Lhanson/xyz/vpnhotspotmod/TetheringService;", "getBinder", "()Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;", "setBinder", "(Lhanson/xyz/vpnhotspotmod/TetheringService$Binder;)V", "icon", "", "getIcon", "()I", "interested", "", "", "getInterested", "()Ljava/util/List;", "labelString", "getLabelString", "receiver", "Landroid/content/BroadcastReceiver;", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "tethered", "tileOff", "Landroid/graphics/drawable/Icon;", "getTileOff", "()Landroid/graphics/drawable/Icon;", "tileOff$delegate", "Lkotlin/Lazy;", "tileOn", "getTileOn", "tileOn$delegate", "onClick", "", "onException", "e", "Ljava/lang/Exception;", "Lkotlin/Exception;", "onServiceConnected", "name", "Landroid/content/ComponentName;", "service", "Landroid/os/IBinder;", "onServiceDisconnected", "onStartListening", "onStopListening", "onTetheringFailed", "error", "(Ljava/lang/Integer;)V", "onTetheringStarted", "start", "stop", "updateTile", "Bluetooth", "Ethernet", "Usb", "Wifi", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Bluetooth;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Ethernet;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Usb;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Wifi;", "mobile_freedomDebug"})
|
||||
public abstract class TetheringTileService extends hanson.xyz.vpnhotspotmod.manage.IpNeighbourMonitoringTileService implements hanson.xyz.vpnhotspotmod.net.TetheringManager.StartTetheringCallback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy tileOff$delegate = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.Lazy tileOn$delegate = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.util.List<java.lang.String> tethered;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.TetheringService.Binder binder;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.content.BroadcastReceiver receiver = null;
|
||||
|
||||
private TetheringTileService() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected final android.graphics.drawable.Icon getTileOff() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected final android.graphics.drawable.Icon getTileOn() {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected abstract int getLabelString();
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected abstract hanson.xyz.vpnhotspotmod.net.TetherType getTetherType();
|
||||
|
||||
protected int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected final java.util.List<java.lang.String> getInterested() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected final hanson.xyz.vpnhotspotmod.TetheringService.Binder getBinder() {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected final void setBinder(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.TetheringService.Binder p0) {
|
||||
}
|
||||
|
||||
protected abstract void start();
|
||||
|
||||
protected abstract void stop();
|
||||
|
||||
@java.lang.Override
|
||||
public void onStartListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStopListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceConnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name, @org.jetbrains.annotations.Nullable
|
||||
android.os.IBinder service) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onServiceDisconnected(@org.jetbrains.annotations.Nullable
|
||||
android.content.ComponentName name) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void updateTile() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringStarted() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheringFailed(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Integer error) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onException(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Exception e) {
|
||||
}
|
||||
|
||||
@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\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0006\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\r\u001a\u00020\u000eH\u0016J\b\u0010\u000f\u001a\u00020\u000eH\u0016J\b\u0010\u0010\u001a\u00020\u000eH\u0016J\b\u0010\u0011\u001a\u00020\u000eH\u0014J\b\u0010\u0012\u001a\u00020\u000eH\u0014J\b\u0010\u0013\u001a\u00020\u000eH\u0016R\u0014\u0010\u0003\u001a\u00020\u00048TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u0010\u0010\u000b\u001a\u0004\u0018\u00010\fX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Bluetooth;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService;", "()V", "labelString", "", "getLabelString", "()I", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "tethering", "Lhanson/xyz/vpnhotspotmod/manage/BluetoothTethering;", "onClick", "", "onStartListening", "onStopListening", "start", "stop", "updateTile", "mobile_freedomDebug"})
|
||||
public static final class Bluetooth extends hanson.xyz.vpnhotspotmod.manage.TetheringTileService {
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.manage.BluetoothTethering tethering;
|
||||
|
||||
public Bluetooth() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected int getLabelString() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStartListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onStopListening() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void updateTile() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onClick() {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u000b\u001a\u00020\fH\u0014J\b\u0010\r\u001a\u00020\fH\u0014R\u0014\u0010\u0003\u001a\u00020\u00048TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\n\u00a8\u0006\u000e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Ethernet;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService;", "()V", "labelString", "", "getLabelString", "()I", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "start", "", "stop", "mobile_freedomDebug"})
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public static final class Ethernet extends hanson.xyz.vpnhotspotmod.manage.TetheringTileService {
|
||||
|
||||
public Ethernet() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected int getLabelString() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u000b\u001a\u00020\fH\u0014J\b\u0010\r\u001a\u00020\fH\u0014R\u0014\u0010\u0003\u001a\u00020\u00048TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\n\u00a8\u0006\u000e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Usb;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService;", "()V", "labelString", "", "getLabelString", "()I", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "start", "", "stop", "mobile_freedomDebug"})
|
||||
public static final class Usb extends hanson.xyz.vpnhotspotmod.manage.TetheringTileService {
|
||||
|
||||
public Usb() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected int getLabelString() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\r\u001a\u00020\u000eH\u0014J\b\u0010\u000f\u001a\u00020\u000eH\u0014R\u0014\u0010\u0003\u001a\u00020\u00048TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u00048TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\u0006R\u0014\u0010\t\u001a\u00020\n8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\u000b\u0010\f\u00a8\u0006\u0010"}, d2 = {"Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService$Wifi;", "Lhanson/xyz/vpnhotspotmod/manage/TetheringTileService;", "()V", "icon", "", "getIcon", "()I", "labelString", "getLabelString", "tetherType", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "getTetherType", "()Lhanson/xyz/vpnhotspotmod/net/TetherType;", "start", "", "stop", "mobile_freedomDebug"})
|
||||
public static final class Wifi extends hanson.xyz.vpnhotspotmod.manage.TetheringTileService {
|
||||
|
||||
public Wifi() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected int getLabelString() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected hanson.xyz.vpnhotspotmod.net.TetherType getTetherType() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void start() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void stop() {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
/**
|
||||
* Assuming RULE_PRIORITY_VPN_OUTPUT_TO_LOCAL = 11000.
|
||||
* Normally this is used to forward packets from remote to local, but it works anyways.
|
||||
* It just needs to be before RULE_PRIORITY_SECURE_VPN = 12000.
|
||||
* It would be great if we can gain better understanding into why this is only needed on some of the devices but not
|
||||
* others.
|
||||
*
|
||||
* Source: https://android.googlesource.com/platform/system/netd/+/b9baf26/server/RouteController.cpp#57
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0006J\u001c\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0004H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u00068F\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\b\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/DhcpWorkaround;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "()V", "KEY_ENABLED", "", "shouldEnable", "", "getShouldEnable", "()Z", "enable", "Lkotlinx/coroutines/Job;", "enabled", "onSharedPreferenceChanged", "", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "mobile_freedomDebug"})
|
||||
public final class DhcpWorkaround implements android.content.SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String KEY_ENABLED = "service.dhcpWorkaround";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.DhcpWorkaround INSTANCE = null;
|
||||
|
||||
private DhcpWorkaround() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final boolean getShouldEnable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final kotlinx.coroutines.Job enable(boolean enabled) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
|
||||
android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
|
||||
java.lang.String key) {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u00c6\u0002\u0018\u00002\u0012\u0012\u0004\u0012\u00020\u00020\u0001j\b\u0012\u0004\u0012\u00020\u0002`\u0003B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0004J\u001c\u0010\u0005\u001a\u00020\u00062\b\u0010\u0007\u001a\u0004\u0018\u00010\u00022\b\u0010\b\u001a\u0004\u0018\u00010\u0002H\u0016\u00a8\u0006\t"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/InetAddressComparator;", "Ljava/util/Comparator;", "Ljava/net/InetAddress;", "Lkotlin/Comparator;", "()V", "compare", "", "o1", "o2", "mobile_freedomDebug"})
|
||||
public final class InetAddressComparator implements java.util.Comparator<java.net.InetAddress> {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.InetAddressComparator INSTANCE = null;
|
||||
|
||||
private InetAddressComparator() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int compare(@org.jetbrains.annotations.Nullable
|
||||
java.net.InetAddress o1, @org.jetbrains.annotations.Nullable
|
||||
java.net.InetAddress o2) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,59 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\f\u001a\u00020\u0005H\u00c6\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005H\u00c6\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010\u0011\u001a\u00020\u0012H\u00d6\u0001J\b\u0010\u0013\u001a\u00020\u0005H\u0016R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpDev;", "", "ip", "Ljava/net/InetAddress;", "dev", "", "(Ljava/net/InetAddress;Ljava/lang/String;)V", "getDev", "()Ljava/lang/String;", "getIp", "()Ljava/net/InetAddress;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "mobile_freedomDebug"})
|
||||
public final class IpDev {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.net.InetAddress ip = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String dev = null;
|
||||
|
||||
public IpDev(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String dev) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.net.InetAddress getIp() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getDev() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.net.InetAddress component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String component2() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.IpDev copy(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String dev) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,160 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\b\u0086\b\u0018\u0000 \u001e2\u00020\u0001:\u0002\u001e\u001fB%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t\u00a2\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\u0014\u001a\u00020\u0005H\u00c6\u0003J\t\u0010\u0015\u001a\u00020\u0007H\u00c6\u0003J\t\u0010\u0016\u001a\u00020\tH\u00c6\u0003J1\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\tH\u00c6\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010\u001b\u001a\u00020\u001cH\u00d6\u0001J\t\u0010\u001d\u001a\u00020\u0005H\u00d6\u0001R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\t\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012\u00a8\u0006 "}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "", "ip", "Ljava/net/InetAddress;", "dev", "", "lladdr", "Landroid/net/MacAddress;", "state", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "(Ljava/net/InetAddress;Ljava/lang/String;Landroid/net/MacAddress;Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;)V", "getDev", "()Ljava/lang/String;", "getIp", "()Ljava/net/InetAddress;", "getLladdr", "()Landroid/net/MacAddress;", "getState", "()Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "Companion", "State", "mobile_freedomDebug"})
|
||||
public final class IpNeighbour {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.net.InetAddress ip = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String dev = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.net.MacAddress lladdr = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state = null;
|
||||
|
||||
/**
|
||||
* Parser based on:
|
||||
* https://android.googlesource.com/platform/external/iproute2/+/ad0a6a2/ip/ipneigh.c#194
|
||||
* https://people.cs.clemson.edu/~westall/853/notes/arpstate.pdf
|
||||
* Assumptions: IP addr (key) always present and RTM_GETNEIGH is never used
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.text.Regex parser = null;
|
||||
|
||||
/**
|
||||
* Fallback format will be used if if_indextoname returns null, which some stupid devices do.
|
||||
*
|
||||
* Source: https://android.googlesource.com/platform/external/iproute2/+/4b9e917/lib/ll_map.c#152
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.text.Regex devFallback = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.regex.Pattern spaces = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.regex.Pattern mac = null;
|
||||
private static final int ARP_IP_ADDRESS = 0;
|
||||
private static final int ARP_HW_ADDRESS = 3;
|
||||
private static final int ARP_DEVICE = 5;
|
||||
private static final long ARP_CACHE_EXPIRE = 1000000000L;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.util.List<? extends java.util.List<java.lang.String>> arpCache;
|
||||
private static long arpCacheTime = -1000000000L;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.IpNeighbour.Companion Companion = null;
|
||||
|
||||
public IpNeighbour(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String dev, @org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress lladdr, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.net.InetAddress getIp() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getDev() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getLladdr() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State getState() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.net.InetAddress component1() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String component2() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress component3() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State component4() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.IpNeighbour copy(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String dev, @org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress lladdr, @org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\"\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u001d\u0010\u0013\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\nH\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0014J\'\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00160\n2\u0006\u0010\u0017\u001a\u00020\u000b2\u0006\u0010\u0018\u001a\u00020\u0019H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001aJ\u0016\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u000b0\u001c2\u0006\u0010\u001d\u001a\u00020\u000bH\u0002J\u001e\u0010\u001e\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\n*\b\u0012\u0004\u0012\u00020\u000b0\u001fH\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\nX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0011\u001a\u00020\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0012\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006 "}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$Companion;", "", "()V", "ARP_CACHE_EXPIRE", "", "ARP_DEVICE", "", "ARP_HW_ADDRESS", "ARP_IP_ADDRESS", "arpCache", "", "", "arpCacheTime", "devFallback", "Lkotlin/text/Regex;", "mac", "Ljava/util/regex/Pattern;", "parser", "spaces", "arp", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "parse", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "line", "fullMode", "", "(Ljava/lang/String;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "substituteDev", "", "dev", "makeArp", "Lkotlin/sequences/Sequence;", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final java.util.Set<java.lang.String> substituteDev(java.lang.String dev) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Object parse(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String line, boolean fullMode, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super java.util.List<hanson.xyz.vpnhotspotmod.net.IpNeighbour>> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.util.List<java.util.List<java.lang.String>> makeArp(kotlin.sequences.Sequence<java.lang.String> $this$makeArp) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.Object arp(kotlin.coroutines.Continuation<? super java.util.List<? extends java.util.List<java.lang.String>>> $completion) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "", "(Ljava/lang/String;I)V", "INCOMPLETE", "VALID", "FAILED", "DELETING", "mobile_freedomDebug"})
|
||||
public static enum State {
|
||||
/*public static final*/ INCOMPLETE /* = new INCOMPLETE() */,
|
||||
/*public static final*/ VALID /* = new VALID() */,
|
||||
/*public static final*/ FAILED /* = new FAILED() */,
|
||||
/*public static final*/ DELETING /* = new DELETING() */;
|
||||
|
||||
State() {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.IpNeighbour.State> getEntries() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 2, xi = 48, d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u001a\u000e\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003\u00a8\u0006\u0004"}, d2 = {"IpDev", "Lhanson/xyz/vpnhotspotmod/net/IpDev;", "neighbour", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "mobile_freedomDebug"})
|
||||
public final class IpNeighbourKt {
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.IpDev IpDev(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.IpNeighbour neighbour) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,70 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
/**
|
||||
* This used to be a compat support class for [MacAddress].
|
||||
* Now it is just a convenient class for backwards compatibility.
|
||||
*/
|
||||
@kotlin.jvm.JvmInline
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\b\u0087@\u0018\u0000 \u00192\u00020\u0001:\u0001\u0019B\u0012\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00f8\u0001\u0000\u00a2\u0006\u0004\b\u0004\u0010\u0005J\u001a\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003\u00a2\u0006\u0004\b\u000b\u0010\fJ\u0010\u0010\r\u001a\u00020\u000eH\u00d6\u0001\u00a2\u0006\u0004\b\u000f\u0010\u0010J\r\u0010\u0011\u001a\u00020\u0012\u00a2\u0006\u0004\b\u0013\u0010\u0014J\u0010\u0010\u0015\u001a\u00020\u0016H\u00d6\u0001\u00a2\u0006\u0004\b\u0017\u0010\u0018R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\u0088\u0001\u0002\u00f8\u0001\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\u001a"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/MacAddressCompat;", "", "addr", "", "constructor-impl", "(J)J", "getAddr", "()J", "equals", "", "other", "equals-impl", "(JLjava/lang/Object;)Z", "hashCode", "", "hashCode-impl", "(J)I", "toPlatform", "Landroid/net/MacAddress;", "toPlatform-impl", "(J)Landroid/net/MacAddress;", "toString", "", "toString-impl", "(J)Ljava/lang/String;", "Companion", "mobile_freedomDebug"})
|
||||
public final class MacAddressCompat {
|
||||
private final long addr = 0L;
|
||||
|
||||
/**
|
||||
* The MacAddress zero MAC address.
|
||||
*
|
||||
* Not publicly exposed or treated specially since the OUI 00:00:00 is registered.
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final android.net.MacAddress ALL_ZEROS_ADDRESS = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final android.net.MacAddress ANY_ADDRESS = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.MacAddressCompat.Companion Companion = null;
|
||||
|
||||
public final long getAddr() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(java.lang.Object other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public java.lang.String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\t\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\n\u0010\t\u001a\u00020\n*\u00020\u0004R\u0011\u0010\u0003\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006\u00a8\u0006\u000b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/MacAddressCompat$Companion;", "", "()V", "ALL_ZEROS_ADDRESS", "Landroid/net/MacAddress;", "getALL_ZEROS_ADDRESS", "()Landroid/net/MacAddress;", "ANY_ADDRESS", "getANY_ADDRESS", "toLong", "", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* The MacAddress zero MAC address.
|
||||
*
|
||||
* Not publicly exposed or treated specially since the OUI 00:00:00 is registered.
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getALL_ZEROS_ADDRESS() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final android.net.MacAddress getANY_ADDRESS() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final long toLong(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress $this$toLong) {
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,308 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
/**
|
||||
* A transaction wrapper that helps set up routing environment.
|
||||
*
|
||||
* Once revert is called, this object no longer serves any purpose.
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\u000b\u0018\u0000 32\u00020\u0001:\u00072345678B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0006\u0010\u001d\u001a\u00020\u001eJ\u0006\u0010\u001f\u001a\u00020\u001eJ\u0006\u0010 \u001a\u00020\u001eJ\u0006\u0010!\u001a\u00020\u001eJ\u000e\u0010\"\u001a\u00020\u001e2\u0006\u0010#\u001a\u00020\u0014J\u0016\u0010$\u001a\u00020\u001e2\f\u0010%\u001a\b\u0012\u0004\u0012\u00020\'0&H\u0016J\u0006\u0010(\u001a\u00020\u001eJ\u0006\u0010)\u001a\u00020\u001eJ\b\u0010*\u001a\u00020\u001eH\u0002J*\u0010+\u001a\u00020\u001e*\u00060\u0018R\u00020\u00192\u0006\u0010,\u001a\u00020\u00052\u0006\u0010-\u001a\u00020.2\b\b\u0002\u0010/\u001a\u00020\u0005H\u0002J*\u00100\u001a\u00020\u001e*\u00060\u0018R\u00020\u00192\u0006\u00101\u001a\u00020.2\u0006\u0010-\u001a\u00020.2\b\b\u0002\u0010/\u001a\u00020\u0005H\u0002R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001e\u0010\u0007\u001a\u0012\u0012\u0004\u0012\u00020\t\u0012\b\u0012\u00060\nR\u00020\u00000\bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000b\u001a\b\u0018\u00010\fR\u00020\u0000X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\r\u001a\u00060\u000eR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u000f\u001a\n \u0011*\u0004\u0018\u00010\u00100\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0012\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0013\u001a\u00020\u0014X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0015\u001a\u00020\u0016X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u0017\u001a\u00060\u0018R\u00020\u0019X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u001a\u001a\u00060\u000eR\u00020\u0000X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u00050\u001cX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u00069"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing;", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "caller", "", "downstream", "", "(Ljava/lang/Object;Ljava/lang/String;)V", "clients", "", "Ljava/net/InetAddress;", "Lhanson/xyz/vpnhotspotmod/net/Routing$Client;", "currentDns", "Lhanson/xyz/vpnhotspotmod/net/Routing$DnsRoute;", "fallbackUpstream", "Lhanson/xyz/vpnhotspotmod/net/Routing$Upstream;", "hostAddress", "Ljava/net/InterfaceAddress;", "kotlin.jvm.PlatformType", "hostSubnet", "masqueradeMode", "Lhanson/xyz/vpnhotspotmod/net/Routing$MasqueradeMode;", "stopped", "", "transaction", "Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "Lhanson/xyz/vpnhotspotmod/util/RootSession;", "upstream", "upstreams", "Ljava/util/HashSet;", "commit", "", "disableIpv6", "forward", "ipForward", "masquerade", "mode", "onIpNeighbourAvailable", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "revert", "stop", "updateDnsRoute", "ipRule", "action", "priority", "", "rule", "ipRuleLookup", "ifindex", "Client", "Companion", "DnsRoute", "InterfaceGoneException", "InterfaceNotFoundException", "MasqueradeMode", "Upstream", "mobile_freedomDebug"})
|
||||
public final class Routing implements hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.Object caller = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String downstream = null;
|
||||
|
||||
/**
|
||||
* Since Android 5.0, RULE_PRIORITY_TETHERING = 18000.
|
||||
* This also works for Wi-Fi direct where there's no rule at 18000.
|
||||
*
|
||||
* We override system tethering rules by adding our own rules at higher priority.
|
||||
*
|
||||
* Source: https://android.googlesource.com/platform/system/netd/+/b9baf26/server/RouteController.cpp#65
|
||||
*/
|
||||
private static final int RULE_PRIORITY_DNS = 17700;
|
||||
private static final int RULE_PRIORITY_UPSTREAM = 17800;
|
||||
private static final int RULE_PRIORITY_UPSTREAM_FALLBACK = 17900;
|
||||
private static final int RULE_PRIORITY_UPSTREAM_DISABLE_SYSTEM = 17980;
|
||||
private static final int RULE_PRIORITY_TETHERING = 18000;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String ROOT_DIR = "/system/bin/";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String IP = "/system/bin/ip";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String IPTABLES = "iptables -w";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String IP6TABLES = "ip6tables -w";
|
||||
private final java.net.InterfaceAddress hostAddress = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String hostSubnet = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction transaction = null;
|
||||
@kotlin.jvm.Volatile
|
||||
private volatile boolean stopped = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode masqueradeMode = hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode.None;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.HashSet<java.lang.String> upstreams = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.net.Routing.Upstream fallbackUpstream = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.net.Routing.Upstream upstream = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.Map<java.net.InetAddress, hanson.xyz.vpnhotspotmod.net.Routing.Client> clients = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private hanson.xyz.vpnhotspotmod.net.Routing.DnsRoute currentDns;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.Routing.Companion Companion = null;
|
||||
|
||||
public Routing(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Object caller, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String downstream) {
|
||||
super();
|
||||
}
|
||||
|
||||
private final void ipRule(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$ipRule, java.lang.String action, int priority, java.lang.String rule) {
|
||||
}
|
||||
|
||||
private final void ipRuleLookup(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$ipRuleLookup, int ifindex, int priority, java.lang.String rule) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours) {
|
||||
}
|
||||
|
||||
/**
|
||||
* This command is available since API 23 and also handles IPv6 forwarding.
|
||||
* https://android.googlesource.com/platform/system/netd/+/android-6.0.0_r1/server/CommandListener.cpp#527
|
||||
*
|
||||
* `requester` set by system service is assumed to be `tethering`.
|
||||
* https://android.googlesource.com/platform/frameworks/base/+/bd249a19bba38a29e617aa849b2f42c3c281eff5/services/core/java/com/android/server/NetworkManagementService.java#1241
|
||||
*
|
||||
* The fallback approach is consistent with legacy system's IP forwarding approach,
|
||||
* but may be broken when system tethering shutdown before local-only interfaces.
|
||||
*/
|
||||
public final void ipForward() {
|
||||
}
|
||||
|
||||
public final void disableIpv6() {
|
||||
}
|
||||
|
||||
public final void forward() {
|
||||
}
|
||||
|
||||
public final void masquerade(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode mode) {
|
||||
}
|
||||
|
||||
private final void updateDnsRoute() {
|
||||
}
|
||||
|
||||
public final void stop() {
|
||||
}
|
||||
|
||||
public final void commit() {
|
||||
}
|
||||
|
||||
public final void revert() {
|
||||
}
|
||||
|
||||
@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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\b\u0082\u0004\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\b\u0010\n\u001a\u00020\u000bH\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u0007\u001a\u00060\bR\u00020\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$Client;", "Ljava/lang/AutoCloseable;", "ip", "Ljava/net/Inet4Address;", "mac", "Landroid/net/MacAddress;", "(Lhanson/xyz/vpnhotspotmod/net/Routing;Ljava/net/Inet4Address;Landroid/net/MacAddress;)V", "transaction", "Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "Lhanson/xyz/vpnhotspotmod/util/RootSession;", "close", "", "mobile_freedomDebug"})
|
||||
final class Client implements java.lang.AutoCloseable {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.net.Inet4Address ip = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction transaction = null;
|
||||
|
||||
public Client(@org.jetbrains.annotations.NotNull
|
||||
java.net.Inet4Address ip, @org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac) {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void close() {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\n\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u000e\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011J\u0011\u0010\u0012\u001a\u00020\u000fH\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0013J\u0018\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u00172\b\b\u0002\u0010\u0018\u001a\u00020\u0015J\u0018\u0010\u0019\u001a\u00020\u000f*\u00060\u001aR\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u0004H\u0002J \u0010\u001d\u001a\u00020\u000f*\u00060\u001aR\u00020\u001b2\u0006\u0010\u001e\u001a\u00020\u00042\u0006\u0010\u001f\u001a\u00020\u0004H\u0002J\"\u0010 \u001a\u00020\u000f*\u00060\u001aR\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u00042\b\b\u0002\u0010!\u001a\u00020\u0004H\u0002J\"\u0010\"\u001a\u00020\u000f*\u00060\u001aR\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u00042\b\b\u0002\u0010!\u001a\u00020\u0004H\u0002J,\u0010#\u001a\u00020\u000f*\u00060\u001aR\u00020\u001b2\u0006\u0010$\u001a\u00020\u00042\u0006\u0010\u001e\u001a\u00020\u00042\n\b\u0002\u0010\u001f\u001a\u0004\u0018\u00010\u0004H\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\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\tX\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\tX\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\tX\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\tX\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\tX\u0082T\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006%"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$Companion;", "", "()V", "IP", "", "IP6TABLES", "IPTABLES", "ROOT_DIR", "RULE_PRIORITY_DNS", "", "RULE_PRIORITY_TETHERING", "RULE_PRIORITY_UPSTREAM", "RULE_PRIORITY_UPSTREAM_DISABLE_SYSTEM", "RULE_PRIORITY_UPSTREAM_FALLBACK", "appendCleanCommands", "", "commands", "Ljava/io/BufferedWriter;", "clean", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "shouldSuppressIpError", "", "e", "Lhanson/xyz/vpnhotspotmod/root/RoutingCommands$UnexpectedOutputException;", "isAdd", "ip6tablesInsert", "Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "Lhanson/xyz/vpnhotspotmod/util/RootSession;", "content", "iptables", "command", "revert", "iptablesAdd", "table", "iptablesInsert", "ndc", "name", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final void appendCleanCommands(@org.jetbrains.annotations.NotNull
|
||||
java.io.BufferedWriter commands) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Object clean(@org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final void iptables(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$iptables, java.lang.String command, java.lang.String revert) {
|
||||
}
|
||||
|
||||
private final void iptablesAdd(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$iptablesAdd, java.lang.String content, java.lang.String table) {
|
||||
}
|
||||
|
||||
private final void iptablesInsert(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$iptablesInsert, java.lang.String content, java.lang.String table) {
|
||||
}
|
||||
|
||||
private final void ip6tablesInsert(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$ip6tablesInsert, java.lang.String content) {
|
||||
}
|
||||
|
||||
private final void ndc(hanson.xyz.vpnhotspotmod.util.RootSession.Transaction $this$ndc, java.lang.String name, java.lang.String command, java.lang.String revert) {
|
||||
}
|
||||
|
||||
public final boolean shouldSuppressIpError(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.root.RoutingCommands.UnexpectedOutputException e, boolean isAdd) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0082\u0004\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0015\u0010\u000b\u001a\u00060\fR\u00020\r\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f\u00a8\u0006\u0010"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$DnsRoute;", "", "ifindex", "", "dns", "", "(Lhanson/xyz/vpnhotspotmod/net/Routing;ILjava/lang/String;)V", "getDns", "()Ljava/lang/String;", "getIfindex", "()I", "transaction", "Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "Lhanson/xyz/vpnhotspotmod/util/RootSession;", "getTransaction", "()Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "mobile_freedomDebug"})
|
||||
final class DnsRoute {
|
||||
private final int ifindex = 0;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String dns = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction transaction = null;
|
||||
|
||||
public DnsRoute(int ifindex, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String dns) {
|
||||
super();
|
||||
}
|
||||
|
||||
public final int getIfindex() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getDns() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction getTransaction() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@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\u0010\u000e\n\u0002\b\u0002\b\u0002\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004\u00a8\u0006\u0005"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$InterfaceGoneException;", "Ljava/io/IOException;", "upstream", "", "(Ljava/lang/String;)V", "mobile_freedomDebug"})
|
||||
static final class InterfaceGoneException extends java.io.IOException {
|
||||
|
||||
public InterfaceGoneException(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String upstream) {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\n\u00a8\u0006\u000b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$InterfaceNotFoundException;", "Ljava/net/SocketException;", "cause", "", "(Ljava/lang/Throwable;)V", "getCause", "()Ljava/lang/Throwable;", "message", "", "getMessage", "()Ljava/lang/String;", "mobile_freedomDebug"})
|
||||
public static final class InterfaceNotFoundException extends java.net.SocketException {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.Throwable cause = null;
|
||||
|
||||
public InterfaceNotFoundException(@org.jetbrains.annotations.NotNull
|
||||
java.lang.Throwable cause) {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.Throwable getCause() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String getMessage() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005\u00a8\u0006\u0006"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$MasqueradeMode;", "", "(Ljava/lang/String;I)V", "None", "Simple", "Netd", "mobile_freedomDebug"})
|
||||
public static enum MasqueradeMode {
|
||||
/*public static final*/ None /* = new None() */,
|
||||
/*public static final*/ Simple /* = new Simple() */,
|
||||
/*public static final*/ Netd /* = new Netd() */;
|
||||
|
||||
MasqueradeMode() {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.Routing.MasqueradeMode> getEntries() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000D\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0092\u0004\u0018\u00002\u00020\u0001:\u0001\u001cB\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u0012\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bH\u0016R.\u0010\u0005\u001a\u0016\u0012\u0012\u0012\u0010\u0012\u0004\u0012\u00020\b\u0012\u0006\u0012\u0004\u0018\u00010\t0\u00070\u0006X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR.\u0010\u0010\u001a\u0016\u0012\u0004\u0012\u00020\t\u0012\f\u0012\n0\u0012R\u00060\u0000R\u00020\u00130\u0011X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\u0015\"\u0004\b\u0016\u0010\u0017\u00a8\u0006\u001d"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$Upstream;", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "priority", "", "(Lhanson/xyz/vpnhotspotmod/net/Routing;I)V", "dns", "", "Lkotlin/Pair;", "Ljava/net/InetAddress;", "", "getDns", "()Ljava/util/List;", "setDns", "(Ljava/util/List;)V", "getPriority", "()I", "subrouting", "", "Lhanson/xyz/vpnhotspotmod/net/Routing$Upstream$Subrouting;", "Lhanson/xyz/vpnhotspotmod/net/Routing;", "getSubrouting", "()Ljava/util/Map;", "setSubrouting", "(Ljava/util/Map;)V", "onAvailable", "", "properties", "Landroid/net/LinkProperties;", "Subrouting", "mobile_freedomDebug"})
|
||||
class Upstream implements hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback {
|
||||
private final int priority = 0;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.net.Routing.Upstream.Subrouting> subrouting;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private java.util.List<? extends kotlin.Pair<? extends java.net.InetAddress, java.lang.String>> dns;
|
||||
|
||||
public Upstream(int priority) {
|
||||
super();
|
||||
}
|
||||
|
||||
public final int getPriority() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.net.Routing.Upstream.Subrouting> getSubrouting() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setSubrouting(@org.jetbrains.annotations.NotNull
|
||||
java.util.Map<java.lang.String, hanson.xyz.vpnhotspotmod.net.Routing.Upstream.Subrouting> p0) {
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.List<kotlin.Pair<java.net.InetAddress, java.lang.String>> getDns() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setDns(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<? extends kotlin.Pair<? extends java.net.InetAddress, java.lang.String>> p0) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onAvailable(@org.jetbrains.annotations.Nullable
|
||||
android.net.LinkProperties properties) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0004\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0015\u0010\n\u001a\u00060\u000bR\u00020\f\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/Routing$Upstream$Subrouting;", "", "priority", "", "upstream", "", "(Lhanson/xyz/vpnhotspotmod/net/Routing$Upstream;ILjava/lang/String;)V", "ifindex", "getIfindex", "()I", "transaction", "Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "Lhanson/xyz/vpnhotspotmod/util/RootSession;", "getTransaction", "()Lhanson/xyz/vpnhotspotmod/util/RootSession$Transaction;", "getUpstream", "()Ljava/lang/String;", "mobile_freedomDebug"})
|
||||
public final class Subrouting {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String upstream = null;
|
||||
private final int ifindex = 0;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction transaction = null;
|
||||
|
||||
public Subrouting(int priority, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String upstream) {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.lang.String getUpstream() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getIfindex() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.util.RootSession.Transaction getTransaction() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
/**
|
||||
* It's hard to change tethering rules with Tethering hardware acceleration enabled for now.
|
||||
*
|
||||
* See also:
|
||||
* android.provider.Settings.Global.TETHER_OFFLOAD_DISABLED
|
||||
* https://android.googlesource.com/platform/frameworks/base/+/android-8.1.0_r1/services/core/java/com/android/server/connectivity/tethering/OffloadHardwareInterface.java#45
|
||||
* https://android.googlesource.com/platform/hardware/qcom/data/ipacfg-mgr/+/master/msm8998/ipacm/src/IPACM_OffloadManager.cpp
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0019\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u0006H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u00068F\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\b\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\r"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/TetherOffloadManager;", "", "()V", "TETHER_OFFLOAD_DISABLED", "", "enabled", "", "getEnabled", "()Z", "setEnabled", "", "value", "(ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "mobile_freedomDebug"})
|
||||
public final class TetherOffloadManager {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.TetherOffloadManager INSTANCE = null;
|
||||
|
||||
private TetherOffloadManager() {
|
||||
super();
|
||||
}
|
||||
|
||||
public final boolean getEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Object setEnabled(boolean value, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,136 @@
|
||||
package hanson.xyz.vpnhotspotmod.net;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\r\b\u0086\u0081\u0002\u0018\u0000 \u00142\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0014B\u0011\b\u0002\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\u000e\u0010\n\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\u0000R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\b8F\u00a2\u0006\u0006\u001a\u0004\b\u0007\u0010\tj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000fj\u0002\b\u0010j\u0002\b\u0011j\u0002\b\u0012j\u0002\b\u0013\u00a8\u0006\u0015"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/TetherType;", "", "icon", "", "(Ljava/lang/String;II)V", "getIcon", "()I", "isWifi", "", "()Z", "isA", "other", "NONE", "WIFI_P2P", "USB", "WIFI", "BLUETOOTH", "NCM", "ETHERNET", "WIGIG", "Companion", "mobile_freedomDebug"})
|
||||
public enum TetherType {
|
||||
/*public static final*/ NONE /* = new NONE(0) */,
|
||||
/*public static final*/ WIFI_P2P /* = new WIFI_P2P(0) */,
|
||||
/*public static final*/ USB /* = new USB(0) */,
|
||||
/*public static final*/ WIFI /* = new WIFI(0) */,
|
||||
/*public static final*/ BLUETOOTH /* = new BLUETOOTH(0) */,
|
||||
/*public static final*/ NCM /* = new NCM(0) */,
|
||||
/*public static final*/ ETHERNET /* = new ETHERNET(0) */,
|
||||
/*public static final*/ WIGIG /* = new WIGIG(0) */;
|
||||
private final int icon = 0;
|
||||
private static java.util.List<java.util.regex.Pattern> usbRegexs;
|
||||
private static java.util.List<java.util.regex.Pattern> wifiRegexs;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.util.List<java.util.regex.Pattern> wigigRegexs;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.util.List<java.util.regex.Pattern> wifiP2pRegexs;
|
||||
private static java.util.List<java.util.regex.Pattern> bluetoothRegexs;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static java.util.List<java.util.regex.Pattern> ncmRegexs;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static final java.util.regex.Pattern ethernetRegex = null;
|
||||
private static boolean requiresUpdate = false;
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final hanson.xyz.vpnhotspotmod.util.Event0 listener = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.TetherType.Companion Companion = null;
|
||||
|
||||
TetherType(@androidx.annotation.DrawableRes
|
||||
int icon) {
|
||||
}
|
||||
|
||||
public final int getIcon() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final boolean isWifi() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean isA(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.TetherType other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.TetherType> getEntries() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000P\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u001c\u0010\u0012\u001a\u00020\u00132\b\u0010\u0014\u001a\u0004\u0018\u00010\u00152\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u0015J\u0011\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u0015H\u0082\u0010J\u0012\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bH\u0017J\b\u0010\u001c\u001a\u00020\u0019H\u0003J2\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004*\u000e\u0012\u0004\u0012\u00020\u0015\u0012\u0004\u0012\u00020\u001f0\u001e2\u0006\u0010 \u001a\u00020\u00152\n\b\u0002\u0010!\u001a\u0004\u0018\u00010\u0015H\u0002R\u0014\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082.\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\u00020\b8\u0006X\u0087\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0014\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\rX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000e\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082.\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082.\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\""}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/TetherType$Companion;", "Lhanson/xyz/vpnhotspotmod/net/TetheringManager$TetheringEventCallback;", "()V", "bluetoothRegexs", "", "Ljava/util/regex/Pattern;", "ethernetRegex", "listener", "Lhanson/xyz/vpnhotspotmod/util/Event0;", "getListener", "()Lhanson/xyz/vpnhotspotmod/util/Event0;", "ncmRegexs", "requiresUpdate", "", "usbRegexs", "wifiP2pRegexs", "wifiRegexs", "wigigRegexs", "ofInterface", "Lhanson/xyz/vpnhotspotmod/net/TetherType;", "iface", "", "p2pDev", "ofInterfaceImpl", "onTetherableInterfaceRegexpsChanged", "", "reg", "", "updateRegexs", "getRegexs", "Lkotlin/Pair;", "Landroid/content/res/Resources;", "name", "alternativePackage", "mobile_freedomDebug"})
|
||||
public static final class Companion implements hanson.xyz.vpnhotspotmod.net.TetheringManager.TetheringEventCallback {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.util.Event0 getListener() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.util.List<java.util.regex.Pattern> getRegexs(kotlin.Pair<java.lang.String, ? extends android.content.res.Resources> $this$getRegexs, java.lang.String name, java.lang.String alternativePackage) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
private final void updateRegexs() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@androidx.annotation.RequiresApi(value = 30)
|
||||
public void onTetherableInterfaceRegexpsChanged(@org.jetbrains.annotations.Nullable
|
||||
java.lang.Object reg) {
|
||||
}
|
||||
|
||||
/**
|
||||
* The result could change for the same interface since API 30+.
|
||||
* It will be triggered by [TetheringManager.TetheringEventCallback.onTetherableInterfaceRegexpsChanged].
|
||||
*
|
||||
* Based on: https://android.googlesource.com/platform/frameworks/base/+/5d36f01/packages/Tethering/src/com/android/networkstack/tethering/Tethering.java#479
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.TetherType ofInterface(@org.jetbrains.annotations.Nullable
|
||||
java.lang.String iface, @org.jetbrains.annotations.Nullable
|
||||
java.lang.String p2pDev) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final hanson.xyz.vpnhotspotmod.net.TetherType ofInterfaceImpl(java.lang.String iface) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@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
|
||||
public void onOffloadStatusChanged(int status) {
|
||||
}
|
||||
|
||||
@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 onTetherableInterfacesChanged(@org.jetbrains.annotations.NotNull
|
||||
java.util.List<java.lang.String> interfaces) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onTetheredInterfacesChanged(@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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0016J\u0010\u0010\u0011\u001a\u00020\u00102\u0006\u0010\u0012\u001a\u00020\u0013H\u0014R\"\u0010\u0005\u001a\u0004\u0018\u00010\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0004@RX\u0094\u000e\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u000e\u0010\b\u001a\u00020\tX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\n\u001a\n \f*\u0004\u0018\u00010\u000b0\u000bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000eX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/DefaultNetworkMonitor;", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "()V", "<set-?>", "Landroid/net/LinkProperties;", "currentLinkProperties", "getCurrentLinkProperties", "()Landroid/net/LinkProperties;", "networkCallback", "Landroid/net/ConnectivityManager$NetworkCallback;", "networkRequest", "Landroid/net/NetworkRequest;", "kotlin.jvm.PlatformType", "registered", "", "destroyLocked", "", "registerCallbackLocked", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "mobile_freedomDebug"})
|
||||
public final class DefaultNetworkMonitor extends hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor {
|
||||
private static boolean registered = false;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static android.net.LinkProperties currentLinkProperties;
|
||||
|
||||
/**
|
||||
* Unfortunately registerDefaultNetworkCallback is going to return VPN interface since Android P DP1:
|
||||
* https://android.googlesource.com/platform/frameworks/base/+/dda156ab0c5d66ad82bdcf76cda07cbc0a9c8a2e
|
||||
*/
|
||||
private static final android.net.NetworkRequest networkRequest = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final android.net.ConnectivityManager.NetworkCallback networkCallback = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.DefaultNetworkMonitor INSTANCE = null;
|
||||
|
||||
private DefaultNetworkMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected android.net.LinkProperties getCurrentLinkProperties() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void registerCallbackLocked(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void destroyLocked() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b&\u0018\u0000 \u00032\u00020\u0001:\u0001\u0003B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0004"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/FallbackUpstreamMonitor;", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "()V", "Companion", "mobile_freedomDebug"})
|
||||
public abstract class FallbackUpstreamMonitor extends hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String KEY = "service.upstream.fallback";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor monitor;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.FallbackUpstreamMonitor.Companion Companion = null;
|
||||
|
||||
private FallbackUpstreamMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\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\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u0007\u001a\u00020\u0006H\u0002J\u001c\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0004H\u0016J\u000e\u0010\r\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fJ\u000e\u0010\u0010\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/FallbackUpstreamMonitor$Companion;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "()V", "KEY", "", "monitor", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "generateMonitor", "onSharedPreferenceChanged", "", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "registerCallback", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "unregisterCallback", "mobile_freedomDebug"})
|
||||
public static final class Companion implements android.content.SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor generateMonitor() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void registerCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
public final void unregisterCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
|
||||
android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
|
||||
java.lang.String key) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0010\r\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004J\b\u0010\u001a\u001a\u00020\u001bH\u0016J\u0010\u0010\u001c\u001a\u00020\u001b2\u0006\u0010\u001d\u001a\u00020\u001eH\u0014R\u001c\u0010\u0005\u001a\u0010\u0012\u0004\u0012\u00020\u0007\u0012\u0006\u0012\u0004\u0018\u00010\b0\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\t\u001a\u0004\u0018\u00010\b8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000bR\u0010\u0010\f\u001a\u0004\u0018\u00010\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000R)\u0010\r\u001a\u001d\u0012\u0013\u0012\u00110\u000f\u00a2\u0006\f\b\u0010\u0012\b\b\u0011\u0012\u0004\b\b(\u0012\u0012\u0004\u0012\u00020\u00130\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0014\u001a\u00020\u0015X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0016\u001a\u00020\u0013X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0017\u001a\n \u0019*\u0004\u0018\u00010\u00180\u0018X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001f"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/InterfaceMonitor;", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "ifaceRegex", "", "(Ljava/lang/String;)V", "available", "Ljava/util/HashMap;", "Landroid/net/Network;", "Landroid/net/LinkProperties;", "currentLinkProperties", "getCurrentLinkProperties", "()Landroid/net/LinkProperties;", "currentNetwork", "iface", "Lkotlin/Function1;", "", "Lkotlin/ParameterName;", "name", "input", "", "networkCallback", "Landroid/net/ConnectivityManager$NetworkCallback;", "registered", "request", "Landroid/net/NetworkRequest;", "kotlin.jvm.PlatformType", "destroyLocked", "", "registerCallbackLocked", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "mobile_freedomDebug"})
|
||||
public final class InterfaceMonitor extends hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.lang.String ifaceRegex = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.jvm.functions.Function1<java.lang.CharSequence, java.lang.Boolean> iface = null;
|
||||
private final android.net.NetworkRequest request = null;
|
||||
private boolean registered = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.HashMap<android.net.Network, android.net.LinkProperties> available = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private android.net.Network currentNetwork;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final android.net.ConnectivityManager.NetworkCallback networkCallback = null;
|
||||
|
||||
public InterfaceMonitor(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String ifaceRegex) {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected android.net.LinkProperties getCurrentLinkProperties() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void registerCallbackLocked(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void destroyLocked() {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,119 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b&\u0018\u0000 (2\u00020\u0001:\u0003()*B\u0005\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\r\u001a\u00020\u000eJ\u0013\u0010\u000f\u001a\u0004\u0018\u00010\u000eH\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010J\u0006\u0010\u0011\u001a\u00020\fJ\u001f\u0010\u0012\u001a\u00020\u000e2\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00150\u0014H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0016J\u0019\u0010\u0017\u001a\u00020\u000e2\u0006\u0010\u0018\u001a\u00020\u0019H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001aJ\b\u0010\u001b\u001a\u00020\u000eH\u0004J\u0011\u0010\u001c\u001a\u00020\u000eH\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010J\u0019\u0010\u001d\u001a\u00020\u000e2\u0006\u0010\u001e\u001a\u00020\bH\u00a4@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001fJ\u001f\u0010 \u001a\u00020\u000e2\f\u0010!\u001a\b\u0012\u0004\u0012\u00020\b0\"H\u00a4@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010#J\u001d\u0010$\u001a\u0004\u0018\u00010%2\b\u0010&\u001a\u0004\u0018\u00010%H\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\'R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0005\u001a\u0004\u0018\u00010\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0012\u0010\u0007\u001a\u00020\bX\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\nR\u000e\u0010\u000b\u001a\u00020\fX\u0082.\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006+"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor;", "", "()V", "destroyed", "", "monitor", "Ljava/lang/Process;", "monitoredObject", "", "getMonitoredObject", "()Ljava/lang/String;", "worker", "Lkotlinx/coroutines/Job;", "destroy", "", "flush", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "flushAsync", "handleChannel", "channel", "Lkotlinx/coroutines/channels/ReceiveChannel;", "Lhanson/xyz/vpnhotspotmod/root/ProcessData;", "(Lkotlinx/coroutines/channels/ReceiveChannel;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "handleProcess", "builder", "Ljava/lang/ProcessBuilder;", "(Ljava/lang/ProcessBuilder;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "init", "poll", "processLine", "line", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "processLines", "lines", "Lkotlin/sequences/Sequence;", "(Lkotlin/sequences/Sequence;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "work", "Lbe/mygod/librootkotlinx/RootServer;", "server", "(Lbe/mygod/librootkotlinx/RootServer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Companion", "FlushFailure", "Mode", "mobile_freedomDebug"})
|
||||
public abstract class IpMonitor {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String KEY = "service.ipMonitor";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final kotlin.text.Regex errorMatcher = null;
|
||||
@kotlin.jvm.Volatile
|
||||
private volatile boolean destroyed = false;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private java.lang.Process monitor;
|
||||
private kotlinx.coroutines.Job worker;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.IpMonitor.Companion Companion = null;
|
||||
|
||||
public IpMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected abstract java.lang.String getMonitoredObject();
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected abstract java.lang.Object processLine(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String line, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion);
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected abstract java.lang.Object processLines(@org.jetbrains.annotations.NotNull
|
||||
kotlin.sequences.Sequence<java.lang.String> lines, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion);
|
||||
|
||||
@kotlin.Suppress(names = {"BlockingMethodInNonBlockingContext"})
|
||||
private final java.lang.Object handleProcess(java.lang.ProcessBuilder builder, kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.Object handleChannel(kotlinx.coroutines.channels.ReceiveChannel<? extends hanson.xyz.vpnhotspotmod.root.ProcessData> channel, kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
protected final void init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Possibly blocking. Should run in IO dispatcher or use [flushAsync].
|
||||
*/
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final java.lang.Object flush(@org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final kotlinx.coroutines.Job flushAsync() {
|
||||
return null;
|
||||
}
|
||||
|
||||
private final java.lang.Object work(be.mygod.librootkotlinx.RootServer server, kotlin.coroutines.Continuation<? super be.mygod.librootkotlinx.RootServer> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@kotlin.Suppress(names = {"BlockingMethodInNonBlockingContext"})
|
||||
private final java.lang.Object poll(kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void destroy() {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\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\u0000R$\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u00068F@FX\u0086\u000e\u00a2\u0006\f\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000bR\u000e\u0010\f\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$Companion;", "", "()V", "KEY", "", "value", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$Mode;", "currentMode", "getCurrentMode", "()Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$Mode;", "setCurrentMode", "(Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$Mode;)V", "errorMatcher", "Lkotlin/text/Regex;", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.net.monitor.IpMonitor.Mode getCurrentMode() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setCurrentMode(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.IpMonitor.Mode value) {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0002\u0018\u00002\u00060\u0001j\u0002`\u0002B\u0005\u00a2\u0006\u0002\u0010\u0003\u00a8\u0006\u0004"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$FlushFailure;", "Ljava/lang/RuntimeException;", "Lkotlin/RuntimeException;", "()V", "mobile_freedomDebug"})
|
||||
static final class FlushFailure extends java.lang.RuntimeException {
|
||||
|
||||
public FlushFailure() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0011\b\u0002\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\t\u00a8\u0006\n"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor$Mode;", "", "isMonitor", "", "(Ljava/lang/String;IZ)V", "()Z", "Monitor", "MonitorRoot", "Poll", "PollRoot", "mobile_freedomDebug"})
|
||||
public static enum Mode {
|
||||
@java.lang.Deprecated
|
||||
/*public static final*/ Monitor /* = new Monitor(false) */,
|
||||
/*public static final*/ MonitorRoot /* = new MonitorRoot(false) */,
|
||||
@java.lang.Deprecated
|
||||
/*public static final*/ Poll /* = new Poll(false) */,
|
||||
/*public static final*/ PollRoot /* = new PollRoot(false) */;
|
||||
private final boolean isMonitor = false;
|
||||
|
||||
Mode(boolean isMonitor) {
|
||||
}
|
||||
|
||||
public final boolean isMonitor() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.monitor.IpMonitor.Mode> getEntries() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,89 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000 \u00162\u00020\u0001:\u0002\u0015\u0016B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0019\u0010\r\u001a\u00020\u000e2\u0006\u0010\u000f\u001a\u00020\tH\u0094@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010J\u001f\u0010\u0011\u001a\u00020\u000e2\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\t0\u0013H\u0094@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0014R \u0010\u0003\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00070\u00050\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\b\u001a\u00020\t8TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000bR\u001a\u0010\f\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00070\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\u0017"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor;", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpMonitor;", "()V", "aggregator", "Lkotlinx/coroutines/channels/SendChannel;", "Lkotlinx/collections/immutable/PersistentMap;", "Lhanson/xyz/vpnhotspotmod/net/IpDev;", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "monitoredObject", "", "getMonitoredObject", "()Ljava/lang/String;", "neighbours", "processLine", "", "line", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "processLines", "lines", "Lkotlin/sequences/Sequence;", "(Lkotlin/sequences/Sequence;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Callback", "Companion", "mobile_freedomDebug"})
|
||||
public final class IpNeighbourMonitor extends hanson.xyz.vpnhotspotmod.net.monitor.IpMonitor {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.Map<hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback, java.lang.Boolean> callbacks = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor instance;
|
||||
private static boolean fullMode = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlinx.coroutines.channels.SendChannel<kotlinx.collections.immutable.PersistentMap<hanson.xyz.vpnhotspotmod.net.IpDev, hanson.xyz.vpnhotspotmod.net.IpNeighbour>> aggregator = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private kotlinx.collections.immutable.PersistentMap<hanson.xyz.vpnhotspotmod.net.IpDev, hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Companion Companion = null;
|
||||
|
||||
private IpNeighbourMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.NotNull
|
||||
protected java.lang.String getMonitoredObject() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected java.lang.Object processLine(@org.jetbrains.annotations.NotNull
|
||||
java.lang.String line, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected java.lang.Object processLines(@org.jetbrains.annotations.NotNull
|
||||
kotlin.sequences.Sequence<java.lang.String> lines, @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\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0016\u0010\u0002\u001a\u00020\u00032\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005H&\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "", "onIpNeighbourAvailable", "", "neighbours", "", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "mobile_freedomDebug"})
|
||||
public static abstract interface Callback {
|
||||
|
||||
public abstract void onIpNeighbourAvailable(@org.jetbrains.annotations.NotNull
|
||||
java.util.Collection<hanson.xyz.vpnhotspotmod.net.IpNeighbour> neighbours);
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u001f\u0010\u0012\u001a\u0004\u0018\u00010\u00132\u0006\u0010\u0014\u001a\u00020\u00052\b\b\u0002\u0010\u0015\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0016J\u000e\u0010\u0017\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u0005R\u001a\u0010\u0003\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0007\u001a\u00020\u0006X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000bR\u001c\u0010\f\u001a\u0004\u0018\u00010\rX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000e\u0010\u000f\"\u0004\b\u0010\u0010\u0011\u00a8\u0006\u0018"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Companion;", "", "()V", "callbacks", "", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;", "", "fullMode", "getFullMode", "()Z", "setFullMode", "(Z)V", "instance", "Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor;", "getInstance", "()Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor;", "setInstance", "(Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor;)V", "registerCallback", "", "callback", "full", "(Lhanson/xyz/vpnhotspotmod/net/monitor/IpNeighbourMonitor$Callback;Z)Lkotlin/Unit;", "unregisterCallback", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor getInstance() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void setInstance(@org.jetbrains.annotations.Nullable
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor p0) {
|
||||
}
|
||||
|
||||
public final boolean getFullMode() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final void setFullMode(boolean p0) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param full Whether the invalid entries should also be parsed.
|
||||
* In this case it is more likely to trigger root request on API 29+.
|
||||
* However, even in light mode, caller should still filter out invalid entries in
|
||||
* [Callback.onIpNeighbourAvailable] in case the full mode was requested by other callers.
|
||||
*/
|
||||
@org.jetbrains.annotations.Nullable
|
||||
public final kotlin.Unit registerCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback callback, boolean full) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void unregisterCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.IpNeighbourMonitor.Callback callback) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,79 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000 \u00102\u00020\u0001:\u0001\u0010B\'\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007\u00a2\u0006\u0002\u0010\tJ\b\u0010\u000e\u001a\u00020\bH\u0016J\u000e\u0010\u000f\u001a\u00020\b2\u0006\u0010\n\u001a\u00020\u000bR\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\f\u001a\u0004\u0018\u00010\rX\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/TetherTimeoutMonitor;", "Ljava/lang/AutoCloseable;", "timeout", "", "context", "Lkotlin/coroutines/CoroutineContext;", "onTimeout", "Lkotlin/Function0;", "", "(JLkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function0;)V", "noClient", "", "timeoutJob", "Lkotlinx/coroutines/Job;", "close", "onClientsChanged", "Companion", "mobile_freedomDebug"})
|
||||
public final class TetherTimeoutMonitor implements java.lang.AutoCloseable {
|
||||
private final long timeout = 0L;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.coroutines.CoroutineContext context = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final kotlin.jvm.functions.Function0<kotlin.Unit> onTimeout = null;
|
||||
|
||||
/**
|
||||
* Whether soft AP will shut down after a timeout period when no devices are connected.
|
||||
*
|
||||
* Type: int (0 for false, 1 for true)
|
||||
*/
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String SOFT_AP_TIMEOUT_ENABLED = "soft_ap_timeout_enabled";
|
||||
|
||||
/**
|
||||
* Minimum limit to use for timeout delay if the value from overlay setting is too small.
|
||||
*/
|
||||
private static final int MIN_SOFT_AP_TIMEOUT_DELAY_MS = 600000;
|
||||
private boolean noClient = true;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private kotlinx.coroutines.Job timeoutJob;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.TetherTimeoutMonitor.Companion Companion = null;
|
||||
|
||||
public TetherTimeoutMonitor(long timeout, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.CoroutineContext context, @org.jetbrains.annotations.NotNull
|
||||
kotlin.jvm.functions.Function0<kotlin.Unit> onTimeout) {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void close() {
|
||||
}
|
||||
|
||||
public final void onClientsChanged(boolean noClient) {
|
||||
}
|
||||
|
||||
/**
|
||||
* config_wifi_framework_soft_ap_timeout_delay was introduced in Android 9.
|
||||
*
|
||||
* Source: https://android.googlesource.com/platform/frameworks/opt/net/wifi/+/87ed136/service/java/com/android/server/wifi/SoftApManager.java
|
||||
*/
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0019\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00020\rH\u0087@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0014R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0007\u001a\u00020\u00048F\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0011\u0010\n\u001a\u00020\u00048G\u00a2\u0006\u0006\u001a\u0004\b\u000b\u0010\tR\u001a\u0010\f\u001a\u00020\r8FX\u0087\u0004\u00a2\u0006\f\u0012\u0004\b\u000e\u0010\u0002\u001a\u0004\b\u000f\u0010\u0010\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\u0015"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/TetherTimeoutMonitor$Companion;", "", "()V", "MIN_SOFT_AP_TIMEOUT_DELAY_MS", "", "SOFT_AP_TIMEOUT_ENABLED", "", "defaultTimeout", "getDefaultTimeout", "()I", "defaultTimeoutBridged", "getDefaultTimeoutBridged", "enabled", "", "getEnabled$annotations", "getEnabled", "()Z", "setEnabled", "", "value", "(ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "mobile_freedomDebug"})
|
||||
public static final class Companion {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Deprecated
|
||||
public static void getEnabled$annotations() {
|
||||
}
|
||||
|
||||
@java.lang.Deprecated
|
||||
public final boolean getEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
@java.lang.Deprecated
|
||||
public final java.lang.Object setEnabled(boolean value, @org.jetbrains.annotations.NotNull
|
||||
kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getDefaultTimeout() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@androidx.annotation.RequiresApi(value = 31)
|
||||
public final int getDefaultTimeoutBridged() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,62 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000Z\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u0006\u0010\u0013\u001a\u00020\u0014J\u0010\u0010\u0015\u001a\u00020\u00142\u0006\u0010\u0016\u001a\u00020\rH\u0002J\u000e\u0010\u0017\u001a\u00020\u00182\u0006\u0010\u0019\u001a\u00020\u001aJ\u001e\u0010\u001b\u001a\u00020\u00142\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u001aJ\u0006\u0010\u001f\u001a\u00020\u0014J\b\u0010 \u001a\u00020\u0014H\u0002J\u0016\u0010!\u001a\u00020\u00142\u0006\u0010\u001c\u001a\u00020\u001d2\u0006\u0010\u001e\u001a\u00020\u0004J\b\u0010\"\u001a\u00020\u0014H\u0002J\u0010\u0010#\u001a\u00020\u00142\b\b\u0002\u0010$\u001a\u00020\u0018R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R)\u0010\u0005\u001a\u001a\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u0007\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\t0\u0006\u00a2\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u000e\u0010\f\u001a\u00020\rX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00020\u0010\u0012\u0004\u0012\u00020\b0\u000fX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0011\u001a\u0004\u0018\u00010\u0012X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006%"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/TrafficRecorder;", "", "()V", "ANYWHERE", "", "foregroundListeners", "Lhanson/xyz/vpnhotspotmod/util/Event2;", "", "Lhanson/xyz/vpnhotspotmod/room/TrafficRecord;", "Landroidx/collection/LongSparseArray;", "getForegroundListeners", "()Lhanson/xyz/vpnhotspotmod/util/Event2;", "lastUpdate", "", "records", "", "Lhanson/xyz/vpnhotspotmod/net/IpDev;", "updateJob", "Lkotlinx/coroutines/Job;", "clean", "", "doUpdate", "timestamp", "isWorking", "", "mac", "Landroid/net/MacAddress;", "register", "ip", "Ljava/net/InetAddress;", "downstream", "rescheduleUpdate", "scheduleUpdateLocked", "unregister", "unscheduleUpdateLocked", "update", "timeout", "mobile_freedomDebug"})
|
||||
public final class TrafficRecorder {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.lang.String ANYWHERE = "0.0.0.0/0";
|
||||
private static long lastUpdate = 0L;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.Map<hanson.xyz.vpnhotspotmod.net.IpDev, hanson.xyz.vpnhotspotmod.room.TrafficRecord> records = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final hanson.xyz.vpnhotspotmod.util.Event2<java.util.Collection<hanson.xyz.vpnhotspotmod.room.TrafficRecord>, androidx.collection.LongSparseArray<hanson.xyz.vpnhotspotmod.room.TrafficRecord>> foregroundListeners = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static kotlinx.coroutines.Job updateJob;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.TrafficRecorder INSTANCE = null;
|
||||
|
||||
private TrafficRecorder() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final hanson.xyz.vpnhotspotmod.util.Event2<java.util.Collection<hanson.xyz.vpnhotspotmod.room.TrafficRecord>, androidx.collection.LongSparseArray<hanson.xyz.vpnhotspotmod.room.TrafficRecord>> getForegroundListeners() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void register(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String downstream, @org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac) {
|
||||
}
|
||||
|
||||
public final void unregister(@org.jetbrains.annotations.NotNull
|
||||
java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
|
||||
java.lang.String downstream) {
|
||||
}
|
||||
|
||||
private final void unscheduleUpdateLocked() {
|
||||
}
|
||||
|
||||
private final void scheduleUpdateLocked() {
|
||||
}
|
||||
|
||||
public final void rescheduleUpdate() {
|
||||
}
|
||||
|
||||
private final void doUpdate(long timestamp) {
|
||||
}
|
||||
|
||||
public final void update(boolean timeout) {
|
||||
}
|
||||
|
||||
public final void clean() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Possibly inefficient. Don't call this too often.
|
||||
*/
|
||||
public final boolean isWorking(@org.jetbrains.annotations.NotNull
|
||||
android.net.MacAddress mac) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,78 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0007\b&\u0018\u0000 \u00132\u00020\u0001:\u0002\u0012\u0013B\u0005\u00a2\u0006\u0002\u0010\u0002J\b\u0010\f\u001a\u00020\rH&J\u000e\u0010\u000e\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005J\u0010\u0010\u0010\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005H$J\u000e\u0010\u0011\u001a\u00020\r2\u0006\u0010\u000f\u001a\u00020\u0005R\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0014\u0010\b\u001a\u0004\u0018\u00010\tX\u00a4\u0004\u00a2\u0006\u0006\u001a\u0004\b\n\u0010\u000b\u00a8\u0006\u0014"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "", "()V", "callbacks", "", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "getCallbacks", "()Ljava/util/Set;", "currentLinkProperties", "Landroid/net/LinkProperties;", "getCurrentLinkProperties", "()Landroid/net/LinkProperties;", "destroyLocked", "", "registerCallback", "callback", "registerCallbackLocked", "unregisterCallback", "Callback", "Companion", "mobile_freedomDebug"})
|
||||
public abstract class UpstreamMonitor {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final java.lang.String KEY = "service.upstream";
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor monitor;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private final java.util.Set<hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback> callbacks = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Companion Companion = null;
|
||||
|
||||
public UpstreamMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public final java.util.Set<hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback> getCallbacks() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected abstract android.net.LinkProperties getCurrentLinkProperties();
|
||||
|
||||
protected abstract void registerCallbackLocked(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback);
|
||||
|
||||
public abstract void destroyLocked();
|
||||
|
||||
public final void registerCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
public final void unregisterCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0014\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u0005H&\u00a8\u0006\u0006"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "", "onAvailable", "", "properties", "Landroid/net/LinkProperties;", "mobile_freedomDebug"})
|
||||
public static abstract interface Callback {
|
||||
|
||||
/**
|
||||
* Called if some possibly stacked interface is available
|
||||
*/
|
||||
public abstract void onAvailable(@org.jetbrains.annotations.Nullable
|
||||
android.net.LinkProperties properties);
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 3, xi = 48)
|
||||
public static final class DefaultImpls {
|
||||
}
|
||||
}
|
||||
|
||||
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\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\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u0007\u001a\u00020\u0006H\u0002J\u001c\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\u0004H\u0016J\u000e\u0010\r\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fJ\u000e\u0010\u0010\u001a\u00020\t2\u0006\u0010\u000e\u001a\u00020\u000fR\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0011"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Companion;", "Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;", "()V", "KEY", "", "monitor", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "generateMonitor", "onSharedPreferenceChanged", "", "sharedPreferences", "Landroid/content/SharedPreferences;", "key", "registerCallback", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "unregisterCallback", "mobile_freedomDebug"})
|
||||
public static final class Companion implements android.content.SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
|
||||
private Companion() {
|
||||
super();
|
||||
}
|
||||
|
||||
private final hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor generateMonitor() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final void registerCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
public final void unregisterCallback(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void onSharedPreferenceChanged(@org.jetbrains.annotations.Nullable
|
||||
android.content.SharedPreferences sharedPreferences, @org.jetbrains.annotations.Nullable
|
||||
java.lang.String key) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
package hanson.xyz.vpnhotspotmod.net.monitor;
|
||||
|
||||
@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\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\b\u0010\u0012\u001a\u00020\u0013H\u0016J\u0010\u0010\u0014\u001a\u00020\u00132\u0006\u0010\u0015\u001a\u00020\u0016H\u0014R\u001c\u0010\u0003\u001a\u0010\u0012\u0004\u0012\u00020\u0005\u0012\u0006\u0012\u0004\u0018\u00010\u00060\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u0007\u001a\u0004\u0018\u00010\u00068TX\u0094\u0004\u00a2\u0006\u0006\u001a\u0004\b\b\u0010\tR\u0010\u0010\n\u001a\u0004\u0018\u00010\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\fX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000eX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0016\u0010\u000f\u001a\n \u0011*\u0004\u0018\u00010\u00100\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0017"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/monitor/VpnMonitor;", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor;", "()V", "available", "Ljava/util/HashMap;", "Landroid/net/Network;", "Landroid/net/LinkProperties;", "currentLinkProperties", "getCurrentLinkProperties", "()Landroid/net/LinkProperties;", "currentNetwork", "networkCallback", "Landroid/net/ConnectivityManager$NetworkCallback;", "registered", "", "request", "Landroid/net/NetworkRequest;", "kotlin.jvm.PlatformType", "destroyLocked", "", "registerCallbackLocked", "callback", "Lhanson/xyz/vpnhotspotmod/net/monitor/UpstreamMonitor$Callback;", "mobile_freedomDebug"})
|
||||
public final class VpnMonitor extends hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor {
|
||||
private static final android.net.NetworkRequest request = null;
|
||||
private static boolean registered = false;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final java.util.HashMap<android.net.Network, android.net.LinkProperties> available = null;
|
||||
@org.jetbrains.annotations.Nullable
|
||||
private static android.net.Network currentNetwork;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
private static final android.net.ConnectivityManager.NetworkCallback networkCallback = null;
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static final hanson.xyz.vpnhotspotmod.net.monitor.VpnMonitor INSTANCE = null;
|
||||
|
||||
private VpnMonitor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@org.jetbrains.annotations.Nullable
|
||||
protected android.net.LinkProperties getCurrentLinkProperties() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected void registerCallbackLocked(@org.jetbrains.annotations.NotNull
|
||||
hanson.xyz.vpnhotspotmod.net.monitor.UpstreamMonitor.Callback callback) {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void destroyLocked() {
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user