/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | module-lib-lint-baseline.txt | 2 BroadcastBehavior: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED: 6 …ndroid.net.TetheringManager#requestLatestTetheringEntitlementResult(int, boolean, java.util.concur… 8 …id.net.TetheringManager#startTethering(android.net.TetheringManager.TetheringRequest, java.util.co… 10 …iresPermission: android.net.TetheringManager#startTethering(int, java.util.concurrent.Executor, an… 12 RequiresPermission: android.net.TetheringManager#stopAllTethering(): 14 RequiresPermission: android.net.TetheringManager#stopTethering(int): 18 SdkConstant: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
|
D | system-lint-baseline.txt | 2 BroadcastBehavior: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED: 6 …ndroid.net.TetheringManager#requestLatestTetheringEntitlementResult(int, boolean, java.util.concur… 8 …id.net.TetheringManager#startTethering(android.net.TetheringManager.TetheringRequest, java.util.co… 10 RequiresPermission: android.net.TetheringManager#stopAllTethering(): 12 RequiresPermission: android.net.TetheringManager#stopTethering(int): 16 SdkConstant: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED:
|
D | system-current.txt | 31 public class TetheringManager { 32 …llback(@NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.TetheringEven… 33 …olean, @NonNull java.util.concurrent.Executor, @NonNull android.net.TetheringManager.OnTetheringEn… 34 …NonNull android.net.TetheringManager.TetheringRequest, @NonNull java.util.concurrent.Executor, @No… 37 …) public void unregisterTetheringEventCallback(@NonNull android.net.TetheringManager.TetheringEven… 74 public static interface TetheringManager.OnTetheringEntitlementResultListener { 78 public static interface TetheringManager.StartTetheringCallback { 83 public static interface TetheringManager.TetheringEventCallback { 98 public static final class TetheringManager.TetheringRequest implements android.os.Parcelable { 107 …nNull public static final android.os.Parcelable.Creator<android.net.TetheringManager.TetheringRequ… [all …]
|
D | module-lib-current.txt | 12 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.TetheredInterfaceCallback { 35 public static interface TetheringManager.TetheredInterfaceRequest { 39 public static interface TetheringManager.TetheringEventCallback { 40 …fault void onTetherableInterfaceRegexpsChanged(@NonNull android.net.TetheringManager.TetheringInte… 43 @Deprecated public static class TetheringManager.TetheringInterfaceRegexps {
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 25 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 26 import static android.net.TetheringManager.TETHERING_ETHERNET; 27 import static android.net.TetheringManager.TETHERING_NCM; 28 import static android.net.TetheringManager.TETHERING_USB; 29 import static android.net.TetheringManager.TETHERING_WIFI; 30 import static android.net.TetheringManager.TETHERING_WIFI_P2P; 31 import static android.net.TetheringManager.TETHER_ERROR_DHCPSERVER_ERROR; 32 import static android.net.TetheringManager.TETHER_ERROR_DISABLE_FORWARDING_ERROR; 33 import static android.net.TetheringManager.TETHER_ERROR_ENABLE_FORWARDING_ERROR; 34 import static android.net.TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN; [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 25 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 26 import static android.net.TetheringManager.TETHERING_ETHERNET; 27 import static android.net.TetheringManager.TETHERING_NCM; 28 import static android.net.TetheringManager.TETHERING_USB; 29 import static android.net.TetheringManager.TETHERING_WIFI; 30 import static android.net.TetheringManager.TETHERING_WIFI_P2P; 31 import static android.net.TetheringManager.TETHER_ERROR_DHCPSERVER_ERROR; 32 import static android.net.TetheringManager.TETHER_ERROR_DISABLE_FORWARDING_ERROR; 33 import static android.net.TetheringManager.TETHER_ERROR_ENABLE_FORWARDING_ERROR; 34 import static android.net.TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN; [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/ |
D | TetheredRepositoryTest.kt | 25 import android.net.TetheringManager 47 private var tetheringEventCallback: TetheringManager.TetheringEventCallback? = null 49 private val mockTetheringManager = mock<TetheringManager> { in <lambda>() 51 tetheringEventCallback = it.arguments[1] as TetheringManager.TetheringEventCallback in <lambda>() 73 on { getSystemService(TetheringManager::class.java) } doReturn mockTetheringManager in <lambda>() 88 tetheringInterfaces = setOf(TetheringInterface(TetheringManager.TETHERING_WIFI, "")) in <lambda>() 92 assertThat(tetheredTypes).containsExactly(TetheringManager.TETHERING_WIFI) in <lambda>() 105 setOf(TetheringInterface(TetheringManager.TETHERING_USB, "")) in <lambda>() 108 assertThat(tetheredTypeDeferred.await()).isEqualTo(TetheringManager.TETHERING_USB) in <lambda>() 144 assertThat(tetheredTypes).containsExactly(TetheringManager.TETHERING_BLUETOOTH) in <lambda>()
|
D | TetherPreferenceControllerTest.kt | 20 import android.net.TetheringManager 80 setOf(TetheringManager.TETHERING_WIFI, TetheringManager.TETHERING_BLUETOOTH) in getSummaryResId_bothWifiAndBluetoothOn() 88 val summaryResId = controller.getSummaryResId(setOf(TetheringManager.TETHERING_WIFI)) in getSummaryResId_onlyWifiHotspotOn() 95 val summaryResId = controller.getSummaryResId(setOf(TetheringManager.TETHERING_BLUETOOTH)) in getSummaryResId_onlyBluetoothTetheringOn()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | HotspotRowWorkerTest.java | 26 import android.net.TetheringManager; 54 private TetheringManager mTetheringManager; 62 when(mContext.getSystemService(TetheringManager.class)).thenReturn(mTetheringManager); in setUp() 71 any(TetheringManager.TetheringEventCallback.class)); in onSubscribe_registersCallbacks() 78 ArgumentCaptor<TetheringManager.TetheringEventCallback> tetheringEventCaptor = in onUnsubscribe_unregistersCallbacks() 79 ArgumentCaptor.forClass(TetheringManager.TetheringEventCallback.class); in onUnsubscribe_unregistersCallbacks() 96 ArgumentCaptor<TetheringManager.TetheringEventCallback> tetheringEventCaptor = in onTetheringSupported_updatesQCItem() 97 ArgumentCaptor.forClass(TetheringManager.TetheringEventCallback.class); in onTetheringSupported_updatesQCItem() 102 TetheringManager.TetheringEventCallback callback = tetheringEventCaptor.getValue(); in onTetheringSupported_updatesQCItem()
|
D | HotspotTileWorkerTest.java | 25 import android.net.TetheringManager; 49 private TetheringManager mTetheringManager; 57 when(mContext.getSystemService(TetheringManager.class)).thenReturn(mTetheringManager); in setUp() 66 any(TetheringManager.TetheringEventCallback.class)); in onSubscribe_registersCallbacks() 73 ArgumentCaptor<TetheringManager.TetheringEventCallback> tetheringEventCaptor = in onUnsubscribe_unregistersCallbacks() 74 ArgumentCaptor.forClass(TetheringManager.TetheringEventCallback.class); in onUnsubscribe_unregistersCallbacks()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/wifi/ |
D | CarWifiServiceUnitTest.java | 41 import android.net.TetheringManager; 82 private TetheringManager mTetheringManager; 117 when(mContext.getSystemService(TetheringManager.class)).thenReturn(mTetheringManager); in setUp() 170 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_WIFI), any( in testPersistCarSettingOn_userUnlockBeforePowerOn_tetheringOn() 171 Executor.class), any(TetheringManager.StartTetheringCallback.class)); in testPersistCarSettingOn_userUnlockBeforePowerOn_tetheringOn() 186 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_WIFI), any( in testPersistCarSettingOn_notOnLast_noTethering() 187 Executor.class), any(TetheringManager.StartTetheringCallback.class)); in testPersistCarSettingOn_notOnLast_noTethering() 201 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_WIFI), any( in testPersistCarSettingOn_tetheringAlreadyEnabled_noTethering() 202 Executor.class), any(TetheringManager.StartTetheringCallback.class)); in testPersistCarSettingOn_tetheringAlreadyEnabled_noTethering() 217 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_WIFI), any( in testPersistCarSettingOn_powerOnBeforeUserUnlock_tetheringOn() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/tether/ |
D | TetheringManagerModel.java | 20 import android.net.TetheringManager; 34 protected TetheringManager mTetheringManager; 41 mTetheringManager = application.getSystemService(TetheringManager.class); in TetheringManagerModel() 54 public TetheringManager getTetheringManager() { in getTetheringManager() 91 protected class EventCallback implements TetheringManager.TetheringEventCallback { 98 private class StartTetheringCallback implements TetheringManager.StartTetheringCallback {
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 25 import static android.net.TetheringManager.TETHERING_USB; 26 import static android.net.TetheringManager.TETHERING_WIFI; 27 import static android.net.TetheringManager.TETHERING_WIFI_P2P; 28 import static android.net.TetheringManager.TETHER_ERROR_ENTITLEMENT_UNKNOWN; 29 import static android.net.TetheringManager.TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION; 30 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 54 import android.net.TetheringManager; 55 import android.net.TetheringManager.OnTetheringEntitlementResultListener; 56 import android.net.TetheringManager.TetheringInterfaceRegexps; 57 import android.net.TetheringManager.TetheringRequest; [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | HotspotTileWorker.java | 20 import android.net.TetheringManager; 35 private final TetheringManager mTetheringManager; 39 private final TetheringManager.TetheringEventCallback mTetheringEventCallback = 40 new TetheringManager.TetheringEventCallback() { 60 mTetheringManager = context.getSystemService(TetheringManager.class); in HotspotTileWorker()
|
D | HotspotRowWorker.java | 21 import android.net.TetheringManager; 38 private final TetheringManager mTetheringManager; 42 private final TetheringManager.TetheringEventCallback mTetheringEventCallback = 43 new TetheringManager.TetheringEventCallback() { 70 mTetheringManager = context.getSystemService(TetheringManager.class); in HotspotRowWorker()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherPreferenceController.java | 21 import android.net.TetheringManager; 39 private final TetheringManager mTetheringManager; 47 private final TetheringManager.TetheringEventCallback mTetheringCallback = 48 new TetheringManager.TetheringEventCallback() { 63 context.getSystemService(TetheringManager.class)); in WifiTetherPreferenceController() 69 CarWifiManager carWifiManager, TetheringManager tetheringManager) { in WifiTetherPreferenceController()
|
D | WifiTetherUtil.java | 21 import android.net.TetheringManager; 40 public static void startTethering(TetheringManager tetheringManager, in startTethering() 41 TetheringManager.StartTetheringCallback callback) { in startTethering() 49 public static void stopTethering(TetheringManager tetheringManager) { in stopTethering()
|
D | WifiTetheringHandler.java | 24 import android.net.TetheringManager; 43 private final TetheringManager mTetheringManager; 79 context.getSystemService(TetheringManager.class), wifiTetherAvailabilityListener, in WifiTetheringHandler() 84 TetheringManager tetheringManager, WifiTetheringAvailabilityListener in WifiTetheringHandler() 169 new TetheringManager.StartTetheringCallback() { in startTethering()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 23 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 24 import static android.net.TetheringManager.TETHERING_ETHERNET; 25 import static android.net.TetheringManager.TETHERING_INVALID; 26 import static android.net.TetheringManager.TETHERING_USB; 27 import static android.net.TetheringManager.TETHERING_WIFI; 28 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 29 import static android.net.TetheringManager.TETHER_ERROR_PROVISIONING_FAILED; 30 import static android.net.TetheringManager.TETHER_ERROR_UNKNOWN_IFACE; 44 import android.net.TetheringManager; 260 final TetheringManager tm = (TetheringManager) getSystemService(Context.TETHERING_SERVICE); in disableTethering()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Pan.kt | 24 import android.net.TetheringManager 25 import android.net.TetheringManager.TETHERING_BLUETOOTH 50 private val mTetheringManager: TetheringManager 52 object : TetheringManager.StartTetheringCallback { 65 mTetheringManager = context.getSystemService(TetheringManager::class.java)!!
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SoftApModeConfiguration.java | 19 import android.net.TetheringManager; 48 private final @Nullable TetheringManager.TetheringRequest mTetheringRequest; 52 @Nullable TetheringManager.TetheringRequest request) { in SoftApModeConfiguration() 80 public TetheringManager.TetheringRequest getTetheringRequest() { in getTetheringRequest()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SoftApState.java | 23 import android.net.TetheringManager; 47 final TetheringManager.TetheringRequest mTetheringRequest; 64 @Nullable TetheringManager.TetheringRequest tetheringRequest, in SoftApState() 78 TetheringManager.TetheringRequest.class.getClassLoader()); in SoftApState() 162 public TetheringManager.TetheringRequest getTetheringRequest() { in getTetheringRequest()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 23 import static android.net.TetheringManager.TETHERING_WIFI; 24 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 25 import static android.net.TetheringManager.TETHER_HARDWARE_OFFLOAD_FAILED; 26 import static android.net.TetheringManager.TETHER_HARDWARE_OFFLOAD_STARTED; 27 import static android.net.TetheringManager.TETHER_HARDWARE_OFFLOAD_STOPPED; 45 import android.net.TetheringManager; 46 import android.net.TetheringManager.TetheringEventCallback; 47 import android.net.TetheringManager.TetheringInterfaceRegexps; 48 import android.net.TetheringManager.TetheringRequest; 65 private TetheringManager mTm; [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/tether/ |
D | TetheringManagerModelTest.java | 19 import static android.net.TetheringManager.TETHERING_WIFI; 29 import android.net.TetheringManager; 53 TetheringManager mTetheringManager; 62 when(mApplication.getSystemService(TetheringManager.class)).thenReturn(mTetheringManager); in setUp()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherPreferenceController.kt | 20 import android.net.TetheringManager 45 private val tetheringManager = mContext.getSystemService(TetheringManager::class.java)!! 77 val hotSpotOn = TetheringManager.TETHERING_WIFI in tetheredTypes in getSummaryResId() 78 val tetherOn = tetheredTypes.any { it != TetheringManager.TETHERING_WIFI } in getSummaryResId()
|