Home
last modified time | relevance | path

Searched refs:TetheringManager (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dsystem-lint-baseline.txt2 ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
4 ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
6 ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
8 ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
12 CallbackInterface: android.net.TetheringManager.StartTetheringCallback:
14 CallbackInterface: android.net.TetheringManager.TetheringEventCallback:
18 MissingGetterMatchingBuilder: android.net.TetheringManager.TetheringRequest.Builder#setShouldShowEn…
19 …droid.net.TetheringManager.TetheringRequest does not declare a `shouldShowEntitlementUi()` method …
20 MissingGetterMatchingBuilder: android.net.TetheringManager.TetheringRequest.Builder#setStaticIpv4Ad…
21 …ndroid.net.TetheringManager.TetheringRequest does not declare a `getStaticIpv4Addresses()` method …
[all …]
Dmodule-lib-lint-baseline.txt12 ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
14 ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
16 ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
18 ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
22 CallbackInterface: android.net.TetheringManager.StartTetheringCallback:
24 CallbackInterface: android.net.TetheringManager.TetheringEventCallback:
28 ManagerConstructor: android.net.TetheringManager#TetheringManager(android.content.Context, java.uti…
32 MissingGetterMatchingBuilder: android.net.TetheringManager.TetheringRequest.Builder#setShouldShowEn…
33 …droid.net.TetheringManager.TetheringRequest does not declare a `shouldShowEntitlementUi()` method …
34 MissingGetterMatchingBuilder: android.net.TetheringManager.TetheringRequest.Builder#setStaticIpv4Ad…
[all …]
Dsystem-current.txt22 public class TetheringManager {
23 …llback(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.TetheringEven…
24 …olean, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.OnTetheringEn…
25 …NonNull android.net.TetheringManager.TetheringRequest, @NonNull java.util.concurrent.Executor, @No…
28 …) public void unregisterTetheringEventCallback(@NonNull android.net.TetheringManager.TetheringEven…
63 public static interface TetheringManager.OnTetheringEntitlementResultListener {
67 public static interface TetheringManager.StartTetheringCallback {
72 public static interface TetheringManager.TetheringEventCallback {
82 public static class TetheringManager.TetheringRequest {
90 public static class TetheringManager.TetheringRequest.Builder {
[all …]
Dmodule-lib-current.txt12 public class TetheringManager {
13 …ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplie…
25 …g(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetherin…
30 public static interface TetheringManager.TetheringEventCallback {
31 …fault void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInte…
34 public static class TetheringManager.TetheringInterfaceRegexps {
/frameworks/base/api/
Dmodule-lib-lint-baseline.txt12 ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
14 ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
16 ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
18 ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
22 ManagerConstructor: android.net.TetheringManager#TetheringManager(android.content.Context, java.uti…
Dmodule-lib-current.txt22 public class TetheringManager {
23 …ctor public TetheringManager(@NonNull android.content.Context, @NonNull java.util.function.Supplie…
35 …g(int, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.StartTetherin…
40 public static interface TetheringManager.TetheringEventCallback {
41 …fault void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInte…
44 public static class TetheringManager.TetheringInterfaceRegexps {
Dsystem-lint-baseline.txt3 ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
5 ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER:
7 ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER:
9 ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER:
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java20 import static android.net.TetheringManager.TetheringRequest.checkStaticAddressConfiguration;
37 import android.net.TetheringManager;
303 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in IpServer()
463 mLastError = TetheringManager.TETHER_ERROR_DHCPSERVER_ERROR; in handleError()
527 (mInterfaceType == TetheringManager.TETHERING_NCM && clientAddr == null); in makeServingParams()
567 mLastError = TetheringManager.TETHER_ERROR_DHCPSERVER_ERROR; in stopDhcp()
615 if (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) { in configureIPv4()
625 if (mInterfaceType == TetheringManager.TETHERING_WIFI in configureIPv4()
626 || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P in configureIPv4()
627 || mInterfaceType == TetheringManager.TETHERING_ETHERNET in configureIPv4()
[all …]
/frameworks/base/core/java/android/net/
DConnectivityManager.java36 import android.net.TetheringManager.StartTetheringCallback;
37 import android.net.TetheringManager.TetheringEventCallback;
38 import android.net.TetheringManager.TetheringRequest;
361 TetheringManager.ACTION_TETHER_STATE_CHANGED;
369 public static final String EXTRA_AVAILABLE_TETHER = TetheringManager.EXTRA_AVAILABLE_TETHER;
376 public static final String EXTRA_ACTIVE_LOCAL_ONLY = TetheringManager.EXTRA_ACTIVE_LOCAL_ONLY;
384 public static final String EXTRA_ACTIVE_TETHER = TetheringManager.EXTRA_ACTIVE_TETHER;
393 public static final String EXTRA_ERRORED_TETHER = TetheringManager.EXTRA_ERRORED_TETHER;
443 public static final int TETHERING_INVALID = TetheringManager.TETHERING_INVALID;
451 public static final int TETHERING_WIFI = TetheringManager.TETHERING_WIFI;
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java26 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
27 import static android.net.TetheringManager.TETHERING_ETHERNET;
28 import static android.net.TetheringManager.TETHERING_INVALID;
29 import static android.net.TetheringManager.TETHERING_USB;
30 import static android.net.TetheringManager.TETHERING_WIFI;
31 import static android.net.TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN;
32 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
33 import static android.net.TetheringManager.TETHER_ERROR_PROVISIONING_FAILED;
DTethering.java31 import static android.net.TetheringManager.ACTION_TETHER_STATE_CHANGED;
32 import static android.net.TetheringManager.EXTRA_ACTIVE_LOCAL_ONLY;
33 import static android.net.TetheringManager.EXTRA_ACTIVE_TETHER;
34 import static android.net.TetheringManager.EXTRA_AVAILABLE_TETHER;
35 import static android.net.TetheringManager.EXTRA_ERRORED_TETHER;
36 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
37 import static android.net.TetheringManager.TETHERING_ETHERNET;
38 import static android.net.TetheringManager.TETHERING_INVALID;
39 import static android.net.TetheringManager.TETHERING_NCM;
40 import static android.net.TetheringManager.TETHERING_USB;
[all …]
DTetheringService.java24 import static android.net.TetheringManager.TETHER_ERROR_NO_ACCESS_TETHERING_PERMISSION;
25 import static android.net.TetheringManager.TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION;
26 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
27 import static android.net.TetheringManager.TETHER_ERROR_UNSUPPORTED;
DConnectedClientsTracker.java19 import static android.net.TetheringManager.TETHERING_WIFI;
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java26 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
27 import static android.net.TetheringManager.TETHERING_ETHERNET;
28 import static android.net.TetheringManager.TETHERING_INVALID;
29 import static android.net.TetheringManager.TETHERING_USB;
30 import static android.net.TetheringManager.TETHERING_WIFI;
31 import static android.net.TetheringManager.TETHERING_WIFI_P2P;
32 import static android.net.TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN;
33 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
34 import static android.net.TetheringManager.TETHER_ERROR_PROVISIONING_FAILED;
DTetheringServiceTest.java22 import static android.net.TetheringManager.TETHERING_WIFI;
23 import static android.net.TetheringManager.TETHER_ERROR_NO_ACCESS_TETHERING_PERMISSION;
24 import static android.net.TetheringManager.TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION;
25 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
DConnectedClientsTrackerTest.kt23 import android.net.TetheringManager.TETHERING_USB
24 import android.net.TetheringManager.TETHERING_WIFI
DTetheringTest.java28 import static android.net.TetheringManager.ACTION_TETHER_STATE_CHANGED;
29 import static android.net.TetheringManager.EXTRA_ACTIVE_LOCAL_ONLY;
30 import static android.net.TetheringManager.EXTRA_ACTIVE_TETHER;
31 import static android.net.TetheringManager.EXTRA_AVAILABLE_TETHER;
32 import static android.net.TetheringManager.TETHERING_ETHERNET;
33 import static android.net.TetheringManager.TETHERING_NCM;
34 import static android.net.TetheringManager.TETHERING_USB;
35 import static android.net.TetheringManager.TETHERING_WIFI;
36 import static android.net.TetheringManager.TETHER_ERROR_IFACE_CFG_ERROR;
37 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
[all …]
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java22 import static android.net.TetheringManager.TETHERING_ETHERNET;
36 import android.net.TetheringManager.StartTetheringCallback;
37 import android.net.TetheringManager.TetheringEventCallback;
38 import android.net.TetheringManager.TetheringRequest;
93 private final TetheringManager mTm = mContext.getSystemService(TetheringManager.class);
257 private final TetheringManager mTm;
267 MyTetheringEventCallback(TetheringManager tm, String iface) { in MyTetheringEventCallback()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/
DTetheringUtilsTest.java18 import static android.net.TetheringManager.TETHERING_USB;
19 import static android.net.TetheringManager.TETHERING_WIFI;
/frameworks/base/packages/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt21 import android.net.TetheringManager.TETHERING_BLUETOOTH
22 import android.net.TetheringManager.TETHERING_USB
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java21 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
22 import static android.net.TetheringManager.TETHERING_NCM;
23 import static android.net.TetheringManager.TETHERING_USB;
24 import static android.net.TetheringManager.TETHERING_WIFI;
25 import static android.net.TetheringManager.TETHERING_WIFI_P2P;
26 import static android.net.TetheringManager.TETHER_ERROR_ENABLE_FORWARDING_ERROR;
27 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR;
28 import static android.net.TetheringManager.TETHER_ERROR_TETHER_IFACE_ERROR;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java35 import android.net.TetheringManager;
241 case TetheringManager.ACTION_TETHER_STATE_CHANGED:
243 TetheringManager.EXTRA_ACTIVE_TETHER);
/frameworks/base/packages/Tethering/common/TetheringLib/
DAndroid.bp46 "src/android/net/TetheringManager.java",
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java59 public class TetheringManager { class
60 private static final String TAG = TetheringManager.class.getSimpleName();
262 public TetheringManager(@NonNull final Context context, in TetheringManager() method in TetheringManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java118 import android.net.TetheringManager;
350 registerService(Context.TETHERING_SERVICE, TetheringManager.class, in registerService()
351 new CachedServiceFetcher<TetheringManager>() { in registerService()
353 public TetheringManager createService(ContextImpl ctx) { in registerService()
354 return new TetheringManager( in registerService()

12