You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
3.4 KiB
74 lines
3.4 KiB
// Signature format: 2.0
|
|
package android.net {
|
|
|
|
public final class TetheringConstants {
|
|
field public static final String EXTRA_ADD_TETHER_TYPE = "extraAddTetherType";
|
|
field public static final String EXTRA_PROVISION_CALLBACK = "extraProvisionCallback";
|
|
field public static final String EXTRA_REM_TETHER_TYPE = "extraRemTetherType";
|
|
field public static final String EXTRA_RUN_PROVISION = "extraRunProvision";
|
|
field public static final String EXTRA_SET_ALARM = "extraSetAlarm";
|
|
}
|
|
|
|
public class TetheringManager {
|
|
ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplier<android.os.IBinder>);
|
|
method public int getLastTetherError(@NonNull String);
|
|
method @NonNull public String[] getTetherableBluetoothRegexs();
|
|
method @NonNull public String[] getTetherableIfaces();
|
|
method @NonNull public String[] getTetherableUsbRegexs();
|
|
method @NonNull public String[] getTetherableWifiRegexs();
|
|
method @NonNull public String[] getTetheredIfaces();
|
|
method @NonNull public String[] getTetheringErroredIfaces();
|
|
method public boolean isTetheringSupported();
|
|
method public boolean isTetheringSupported(@NonNull String);
|
|
method public void requestLatestTetheringEntitlementResult(int, @NonNull android.os.ResultReceiver, boolean);
|
|
method @Deprecated public int setUsbTethering(boolean);
|
|
method @RequiresPermission(anyOf={"android.permission.TETHER_PRIVILEGED", android.Manifest.permission.WRITE_SETTINGS}) public void startTethering(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetheringCallback);
|
|
method @Deprecated public int tether(@NonNull String);
|
|
method @Deprecated public int untether(@NonNull String);
|
|
}
|
|
|
|
public static interface TetheringManager.TetheringEventCallback {
|
|
method public default void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInterfaceRegexps);
|
|
}
|
|
|
|
public static class TetheringManager.TetheringInterfaceRegexps {
|
|
method @NonNull public java.util.List<java.lang.String> getTetherableBluetoothRegexs();
|
|
method @NonNull public java.util.List<java.lang.String> getTetherableUsbRegexs();
|
|
method @NonNull public java.util.List<java.lang.String> getTetherableWifiRegexs();
|
|
}
|
|
|
|
}
|
|
|
|
package android.os {
|
|
|
|
public class StatsFrameworkInitializer {
|
|
method public static void registerServiceWrappers();
|
|
method public static void setStatsServiceManager(@NonNull android.os.StatsServiceManager);
|
|
}
|
|
|
|
public class StatsServiceManager {
|
|
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsCompanionServiceRegisterer();
|
|
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsManagerServiceRegisterer();
|
|
method @NonNull public android.os.StatsServiceManager.ServiceRegisterer getStatsdServiceRegisterer();
|
|
}
|
|
|
|
public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception {
|
|
ctor public StatsServiceManager.ServiceNotFoundException(@NonNull String);
|
|
}
|
|
|
|
public static final class StatsServiceManager.ServiceRegisterer {
|
|
method @Nullable public android.os.IBinder get();
|
|
method @Nullable public android.os.IBinder getOrThrow() throws android.os.StatsServiceManager.ServiceNotFoundException;
|
|
}
|
|
|
|
}
|
|
|
|
package android.util {
|
|
|
|
public final class Log {
|
|
method public static int logToRadioBuffer(int, @Nullable String, @Nullable String);
|
|
}
|
|
|
|
}
|
|
|