/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkAgentConfigTest.kt | 39 setLegacyType(ConnectivityManager.TYPE_ETHERNET) in testParcelNetworkAgentConfig() 59 setLegacyType(ConnectivityManager.TYPE_ETHERNET) in testBuilder() 77 assertEquals(ConnectivityManager.TYPE_ETHERNET, config.getLegacyType()) in testBuilder()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | ConnectivityServiceTestUtils.kt | 22 import android.net.ConnectivityManager.TYPE_ETHERNET 38 TRANSPORT_ETHERNET -> TYPE_ETHERNET in transportToLegacyType()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | LegacyTypeTrackerTest.kt | 30 import android.net.ConnectivityManager.TYPE_ETHERNET 74 private val supportedTypes = arrayOf(TYPE_WIFI, TYPE_WIFI_P2P, TYPE_ETHERNET, TYPE_MOBILE, 110 assertFalse(makeTracker().isTypeSupported(TYPE_ETHERNET)) in testSupportedTypes_NoEthernet() 117 val nonMobileTypes = arrayOf(TYPE_WIFI, TYPE_WIFI_P2P, TYPE_ETHERNET, TYPE_VPN) in testSupportedTypes_NoTelephony()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 213 assertFalse(mUtils.isNetworkTypeConnected(mockContext, ConnectivityManager.TYPE_ETHERNET)); in testIsConnectedToEthernet() 216 setCurrentNetworkMock(ConnectivityManager.TYPE_ETHERNET, true); in testIsConnectedToEthernet() 219 assertTrue(mUtils.isNetworkTypeConnected(mockContext, ConnectivityManager.TYPE_ETHERNET)); in testIsConnectedToEthernet() 222 setCurrentNetworkMock(ConnectivityManager.TYPE_ETHERNET, false); in testIsConnectedToEthernet() 225 assertFalse(mUtils.isNetworkTypeConnected(mockContext, ConnectivityManager.TYPE_ETHERNET)); in testIsConnectedToEthernet()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 254 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected() 296 if (networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_ETHERNET) { in getFirstEthernet() 426 case ConnectivityManager.TYPE_ETHERNET: in updateConnectivityStatus() 427 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
|
D | ActiveNetworkProvider.java | 57 return isConnected() && mNetworkInfo.getType() == ConnectivityManager.TYPE_ETHERNET; in isTypeEthernet()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | ConnectivityListener.java | 285 return mNetworkType == ConnectivityManager.TYPE_ETHERNET; in isEthernetConnected() 327 if (networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_ETHERNET) { in getFirstEthernet() 456 case ConnectivityManager.TYPE_ETHERNET: in updateConnectivityStatus() 457 mNetworkType = ConnectivityManager.TYPE_ETHERNET; in updateConnectivityStatus()
|
D | NetworkState.java | 156 && ConnectivityManager.TYPE_ETHERNET != activeNetworkInfo.getType(); in isConnected()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkIdentityTest.kt | 21 import android.net.ConnectivityManager.TYPE_ETHERNET in <lambda>() 148 .setType(TYPE_ETHERNET) in <lambda>()
|
D | ConnectivityManagerTest.java | 229 ConnectivityManager.TYPE_ETHERNET, TRANSPORT_ETHERNET); in testNetworkCapabilitiesForTypeEthernet()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSBasicMethodsTest.kt | 50 assertTrue(cm.isNetworkSupported(ConnectivityManager.TYPE_ETHERNET)) in testNetworkTypes()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 19 import static android.net.ConnectivityManager.TYPE_ETHERNET; 331 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet() 354 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 365 .thenReturn(new int[]{TYPE_WIFI, TYPE_ETHERNET, TYPE_MOBILE_HIPRI}); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() 374 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageUtilsTest.java | 94 verify(mNetworkStatsManager).querySummaryForUser(eq(ConnectivityManager.TYPE_ETHERNET), in hasEthernet_shouldQueryEthernetSummaryForUser()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 20 import static android.net.ConnectivityManager.TYPE_ETHERNET; 108 sLegacyTypeToTransport.put(TYPE_ETHERNET, NetworkCapabilities.TRANSPORT_ETHERNET); in sLegacyTypeToTransport.put() argument
|
D | TetheringConfiguration.java | 20 import static android.net.ConnectivityManager.TYPE_ETHERNET; 580 prependIfNotPresent(upstreamIfaceTypes, TYPE_ETHERNET); in getUpstreamIfaceTypes()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 90 ConnectivityManager.TYPE_ETHERNET, telephonyManager.getSubscriberId(), in hasEthernet()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetNetworkFactoryTest.java | 254 ConnectivityManager.TYPE_ETHERNET); in createAndVerifyProvisionedInterface() 391 ConnectivityManager.TYPE_ETHERNET); in testTransportOverrideIsCorrectlySet()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkTemplate.java | 21 import static android.net.ConnectivityManager.TYPE_ETHERNET; 852 if (ident.mType == TYPE_ETHERNET) { in matchesEthernet()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | Nat464Xlat.java | 70 ConnectivityManager.TYPE_ETHERNET,
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 682 public static final int TYPE_ETHERNET = 9; field in ConnectivityManager 783 TYPE_ETHERNET, 1296 case TYPE_ETHERNET: in getNetworkTypeName() 2326 sLegacyTypeToTransport.put(TYPE_ETHERNET, NetworkCapabilities.TRANSPORT_ETHERNET); in sLegacyTypeToTransport.put() argument
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 298 ConnectivityManager.TYPE_ETHERNET); in sTransports.put() argument
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/ |
D | CSTest.kt | 120 TRANSPORT_ETHERNET -> ConnectivityManager.TYPE_ETHERNET
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | WirelessDebuggingFragment.java | 602 && ConnectivityManager.TYPE_ETHERNET != activeNetworkInfo.getType();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | Nat464XlatTest.java | 170 ConnectivityManager.TYPE_ETHERNET,
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 66 import static android.net.ConnectivityManager.TYPE_ETHERNET; 433 mNetworkTypes.add(TYPE_ETHERNET); in addSupportedNetworkTypes() 469 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_ETHERNET)); in testIsNetworkTypeValid() 996 || (networkType == ConnectivityManager.TYPE_ETHERNET && shouldEthernetBeSupported()); in shouldBeSupported()
|