Home
last modified time | relevance | path

Searched refs:TETHERING_ETHERNET (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNsdManagerDownstreamTetheringTest.kt22 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/
DTetherEnablerTest.java22 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/
DTetherEnabler.java22 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/
DEthernetTetheringTestBase.java27 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/
DEthernetTetheringTest.java21 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/
DTetheringMetrics.java26 import static android.net.TetheringManager.TETHERING_ETHERNET;
299 case TETHERING_ETHERNET: in downstreamTypeToEnum()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java24 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/
DTetherSettings.java21 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/
DTetheringMetricsTest.java26 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/
DEntitlementManager.java28 import static android.net.TetheringManager.TETHERING_ETHERNET;
562 case TETHERING_ETHERNET: in isValidDownstreamType()
DTethering.java37 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/
DTetheringManager.java141 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/
DPrivateAddressCoordinatorTest.java24 import static android.net.TetheringManager.TETHERING_ETHERNET;
95 when(mEthernetIpServer.interfaceType()).thenReturn(TETHERING_ETHERNET); in setUpIpServers()
DTetheringTest.java43 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()
DEntitlementManagerTest.java27 import static android.net.TetheringManager.TETHERING_ETHERNET;
588 mEnMgr.startProvisioningIfNeeded(TETHERING_ETHERNET, true); in testRunTetherProvisioning()
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dsystem-current.txt46 field public static final int TETHERING_ETHERNET = 5; // 0x5
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java690 || mInterfaceType == TetheringManager.TETHERING_ETHERNET in configureIPv4()