/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NsdManagerDownstreamTetheringTest.kt | 22 import android.net.TetheringManager.TETHERING_ETHERNET 77 val request = TetheringRequest.Builder(TETHERING_ETHERNET) in testMdnsDiscoveryCanSendPacketOnLocalOnlyDownstreamTetheringInterface() 123 val request = TetheringRequest.Builder(TETHERING_ETHERNET) in testMdnsDiscoveryWorkOnTetheringInterface()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TetherEnablerTest.java | 22 import static android.net.TetheringManager.TETHERING_ETHERNET; 189 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_ETHERNET), anyBoolean(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded() 211 verify(mConnectivityManager).stopTethering(TETHERING_ETHERNET); in onSwitchToggled_stopAllTetheringInterfaces() 312 assertThat(TetherEnabler.isTethering(TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isTrue(); in isTethering_shouldReturnCorrectly() 313 assertThat(TetherEnabler.isTethering(~TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isFalse(); in isTethering_shouldReturnCorrectly()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 22 import static android.net.TetheringManager.TETHERING_ETHERNET; 115 public static final int TETHERING_ETHERNET_ON = 1 << TETHERING_ETHERNET; 293 stopTethering(TETHERING_ETHERNET); in onSwitchToggled()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | EthernetTetheringTestBase.java | 27 import static android.net.TetheringManager.TETHERING_ETHERNET; 215 sTm.stopTethering(TETHERING_ETHERNET); in stopEthernetTethering() 357 mIface = new TetheringInterface(TETHERING_ETHERNET, iface); in MyTetheringEventCallback() 364 mIface = new TetheringInterface(TETHERING_ETHERNET, iface); in MyTetheringEventCallback() 582 new TetheringRequest.Builder(TETHERING_ETHERNET) in enableEthernetTethering()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 21 import static android.net.TetheringManager.TETHERING_ETHERNET; 345 final TetheringRequest request = new TetheringRequest.Builder(TETHERING_ETHERNET) in testLocalOnlyTethering() 417 assertEquals(TETHERING_ETHERNET, client.getTetheringType()); in checkTetheredClientCallbacks() 446 return new TetheringRequest.Builder(TETHERING_ETHERNET) in requestWithStaticIpv4()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 26 import static android.net.TetheringManager.TETHERING_ETHERNET; 299 case TETHERING_ETHERNET: in downstreamTypeToEnum()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 24 import static android.net.TetheringManager.TETHERING_ETHERNET; 111 mPendingCallbacks.put(TETHERING_ETHERNET, new ArrayList<ResultReceiver>()); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/network/tether/ |
D | TetherSettings.java | 21 import static android.net.TetheringManager.TETHERING_ETHERNET; 592 startTethering(TETHERING_ETHERNET); in onPreferenceTreeClick() 594 mCm.stopTethering(TETHERING_ETHERNET); in onPreferenceTreeClick()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 26 import static android.net.TetheringManager.TETHERING_ETHERNET; 187 runDownstreamTypesTest(TETHERING_ETHERNET, DownstreamType.DS_TETHERING_ETHERNET); in testDownstreamTypes()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | EntitlementManager.java | 28 import static android.net.TetheringManager.TETHERING_ETHERNET; 562 case TETHERING_ETHERNET: in isValidDownstreamType()
|
D | Tethering.java | 37 import static android.net.TetheringManager.TETHERING_ETHERNET; 719 case TETHERING_ETHERNET: in enableTetheringInternal() 961 enableIpServing(TETHERING_ETHERNET, iface, getRequestedState(TETHERING_ETHERNET)); in onAvailable() 1038 stopTethering(TETHERING_ETHERNET); in untetherAll() 2562 if (isEthernetSupported()) types |= (1 << TETHERING_ETHERNET); in makeSupportedDownstreams()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 141 TETHERING_ETHERNET, 187 public static final int TETHERING_ETHERNET = 5; field in TetheringManager 874 return type == TETHERING_USB || type == TETHERING_ETHERNET || type == TETHERING_NCM;
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinatorTest.java | 24 import static android.net.TetheringManager.TETHERING_ETHERNET; 95 when(mEthernetIpServer.interfaceType()).thenReturn(TETHERING_ETHERNET); in setUpIpServers()
|
D | TetheringTest.java | 43 import static android.net.TetheringManager.TETHERING_ETHERNET; 2433 mTethering.startTethering(createTetheringRequestParcel(TETHERING_ETHERNET), TEST_CALLER_PKG, in testNoDuplicatedEthernetRequest() 2437 mTethering.startTethering(createTetheringRequestParcel(TETHERING_ETHERNET), TEST_CALLER_PKG, in testNoDuplicatedEthernetRequest() 2441 mTethering.stopTethering(TETHERING_ETHERNET); in testNoDuplicatedEthernetRequest() 2444 mTethering.stopTethering(TETHERING_ETHERNET); in testNoDuplicatedEthernetRequest() 2957 mTethering.startTethering(createTetheringRequestParcel(TETHERING_ETHERNET), in testNoAddressAvailable() 3514 TETHERING_WIFI_P2P, TETHERING_BLUETOOTH, TETHERING_ETHERNET }); in getAllSupportedTetheringTypes() 3585 expectedTypes.remove(TETHERING_ETHERNET); in testTetheringSupported()
|
D | EntitlementManagerTest.java | 27 import static android.net.TetheringManager.TETHERING_ETHERNET; 588 mEnMgr.startProvisioningIfNeeded(TETHERING_ETHERNET, true); in testRunTetherProvisioning()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 46 field public static final int TETHERING_ETHERNET = 5; // 0x5
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 690 || mInterfaceType == TetheringManager.TETHERING_ETHERNET in configureIPv4()
|