/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 22 import android.net.TetheringManager.TETHERING_USB 90 TETHERING_USB)) in makeLinkAddress() 95 val client1 = TetheredClient(TEST_MACADDR, listOf(TEST_ADDRINFO1), TETHERING_USB) in makeLinkAddress() 96 val client2 = TetheredClient(TEST_OTHER_MACADDR, listOf(TEST_ADDRINFO2), TETHERING_USB) in makeLinkAddress() 100 TETHERING_USB), client1.addAddresses(client2)) in makeLinkAddress()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragmentTest.java | 153 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in setDefaultKey_functionRndis_startTetheringInvoked() 166 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in setDefaultKey_functionNcm_invokesStartTethering() 284 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked() 298 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering() 310 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsNotPluginAndUsbTetheringIsOn_startTetheringIsNotInvoked() 325 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in usbIsPluginAndUsbTetheringIsAlreadyStarted_startTetheringIsNotInvoked()
|
D | UsbDetailsFunctionsControllerTest.java | 262 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_functionRndis_startTetheringInvoked() 276 verify(mTetheringManager).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_functionNcm_startsTethering() 327 verify(mTetheringManager, never()).startTethering(eq(TetheringManager.TETHERING_USB), in onRadioButtonClicked_clickSameButton_doNothing()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 29 import static android.net.TetheringManager.TETHERING_USB; 387 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_USB, receiver, false); in testRequestLastEntitlementCacheValue() 451 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAllNotApproved() 478 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in verifyPermissionIfAnyApproved() 509 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in testRunTetherProvisioning() 619 mEnMgr.startProvisioningIfNeeded(TETHERING_USB, true); in testsetExemptedDownstreamType() 625 verify(mEntitlementFailedListener).onUiEntitlementFailed(TETHERING_USB); in testsetExemptedDownstreamType() 626 mEnMgr.stopProvisioningIfNeeded(TETHERING_USB); in testsetExemptedDownstreamType()
|
D | ConnectedClientsTrackerTest.kt | 23 import android.net.TetheringManager.TETHERING_USB 63 TETHERING_USB)
|
D | TetheringTest.java | 44 import static android.net.TetheringManager.TETHERING_USB; 840 final TetheringRequestParcel request = createTetheringRequestParcel(TETHERING_USB); in prepareUsbTethering() 845 assertEquals(request, mTethering.getActiveTetheringRequests().get(TETHERING_USB)); in prepareUsbTethering() 1913 mTethering.stopTethering(TETHERING_USB); in runStopUSBTethering() 2152 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB), firstResult); in testMultipleStartTethering() 2159 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB), secondResult); in testMultipleStartTethering() 2167 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB, in testMultipleStartTethering() 2196 mTethering.startTethering(createTetheringRequestParcel(TETHERING_USB, in testRequestStaticIp()
|
D | PrivateAddressCoordinatorTest.java | 23 import static android.net.TetheringManager.TETHERING_USB; 89 when(mUsbIpServer.interfaceType()).thenReturn(TETHERING_USB); in setUpIpServers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TetherEnablerTest.java | 20 import static android.net.ConnectivityManager.TETHERING_USB; 184 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_USB), anyBoolean(), any(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 202 verify(mConnectivityManager).stopTethering(TETHERING_USB); in onSwitchToggled_stopAllTetheringInterfaces() 304 assertThat(TetherEnabler.isTethering(TETHERING_USB_ON, TETHERING_USB)).isTrue(); in isTethering_shouldReturnCorrectly() 305 assertThat(TetherEnabler.isTethering(~TETHERING_USB_ON, TETHERING_USB)).isFalse(); in isTethering_shouldReturnCorrectly()
|
D | UsbTetherPreferenceControllerTest.java | 108 verify(mTetherEnabler).startTethering(TetheringManager.TETHERING_USB); in setChecked_shouldStartUsbTethering() 114 verify(mTetherEnabler).stopTethering(TetheringManager.TETHERING_USB); in setUnchecked_shouldStopUsbTethering()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 20 import static android.net.ConnectivityManager.TETHERING_USB; 99 public static final int TETHERING_USB_ON = 1 << TETHERING_USB; 266 stopTethering(TETHERING_USB); in onSwitchToggled()
|
D | UsbTetherPreferenceController.java | 77 return ConnectivityManager.TETHERING_USB; in getTetherType()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragment.java | 19 import static android.net.TetheringManager.TETHERING_USB; 185 mTetheringManager.startTethering(TETHERING_USB, new HandlerExecutor(mHandler), in startTethering()
|
D | UsbDetailsFunctionsController.java | 157 TetheringManager.TETHERING_USB, new HandlerExecutor(mHandler), in onRadioButtonClicked()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 41 import static android.net.TetheringManager.TETHERING_USB; 385 stopTetheringInternal(TETHERING_USB); in onChange() 533 if (type == TETHERING_USB || type == TETHERING_NCM) return; in processInterfaceStateChange() 574 return TETHERING_USB; in ifaceNameToType() 639 case TETHERING_USB: in enableTetheringInternal() 847 stopTethering(TETHERING_USB); in untetherAll() 907 return TETHERING_USB; in getServedUsbType() 937 case TETHERING_USB: in sendTetherStateChangedBroadcast() 1101 if (type == TETHERING_USB || type == TETHERING_NCM) { in maybeStopUsbProvisioning() 1370 if (type != TETHERING_USB && type != TETHERING_NCM) continue; in disableUsbIpServing()
|
D | EntitlementManager.java | 29 import static android.net.TetheringManager.TETHERING_USB; 505 case TETHERING_USB: in isValidDownstreamType() 544 case TETHERING_USB: return "TETHERING_USB"; in typeString()
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 23 import static android.net.TetheringManager.TETHERING_USB; 240 final TetheringRequest tr2 = new TetheringRequest.Builder(TETHERING_USB) in testTetheringRequest() 247 assertEquals(TETHERING_USB, tr2.getTetheringType()); in testTetheringRequest()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/util/ |
D | TetheringUtilsTest.java | 19 import static android.net.TetheringManager.TETHERING_USB; 92 request.tetheringType = TETHERING_USB; in testIsTetheringRequestEquals()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 20 import static android.net.ConnectivityManager.TETHERING_USB; 530 startTethering(TETHERING_USB); in onPreferenceTreeClick() 532 mCm.stopTethering(TETHERING_USB); in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 26 import static android.net.TetheringManager.TETHERING_USB; 109 mPendingCallbacks.put(TETHERING_USB, new ArrayList<ResultReceiver>()); in onCreate()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | PMCMainActivity.java | 307 mConnManager.startTethering(ConnectivityManager.TETHERING_USB, true, tetherCallback); in startUSBTethering() 323 mConnManager.stopTethering(ConnectivityManager.TETHERING_USB); in stopUSBTethering()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 124 TETHERING_USB, 149 public static final int TETHERING_USB = 1; field in TetheringManager 746 return type == TETHERING_USB || type == TETHERING_ETHERNET || type == TETHERING_NCM;
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 23 import static android.net.TetheringManager.TETHERING_USB; 440 initStateMachine(TETHERING_USB); in canBeTetheredAsUsb() 604 initTetheredStateMachine(TETHERING_USB, null); in interfaceDownLeadsToUnavailable() 625 initStateMachine(TETHERING_USB); in usbShouldBeTornDownOnTetherError() 645 initTetheredStateMachine(TETHERING_USB, null); in shouldTearDownUsbOnUpstreamError()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 49 field public static final int TETHERING_USB = 1; // 0x1
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 71 field public static final int TETHERING_USB = 1; // 0x1
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 489 public static final int TETHERING_USB = 1; field in ConnectivityManager
|