Home
last modified time | relevance | path

Searched refs:getLegacyType (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java418 mLegacyType = getLegacyType(mCapabilities); in NetworkInterfaceState()
430 private static int getLegacyType(int transport) { in getLegacyType() method in NetworkInterfaceState
434 private static int getLegacyType(@NonNull final NetworkCapabilities capabilities) { in getLegacyType() method in NetworkInterfaceState
437 return getLegacyType(transportTypes[0]); in getLegacyType()
451 mLegacyType = getLegacyType(mCapabilities); in setCapabilities()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkAgentConfigTest.kt77 assertEquals(ConnectivityManager.TYPE_ETHERNET, config.getLegacyType()) in testBuilder()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java298 if (snapshot.getLegacyType() == TYPE_MOBILE && ratType != NETWORK_TYPE_ALL) { in buildNetworkIdentity()
399 setType(snapshot.getLegacyType()); in setNetworkStateSnapshot()
DNetworkStateSnapshot.java130 public int getLegacyType() { in getLegacyType() method in NetworkStateSnapshot
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java447 public int getLegacyType() { in getLegacyType() method in NetworkAgentWrapper
448 return mNetworkAgentConfig.getLegacyType(); in getLegacyType()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSTest.kt116 private fun NetworkCapabilities.getLegacyType() = in getLegacyType() method
533 nac: NetworkAgentConfig = emptyAgentConfig(nc.getLegacyType()), in waitForIdle()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgentConfig.java177 public int getLegacyType() { in getLegacyType() method in NetworkAgentConfig
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java274 argThat(x -> x.getLegacyType() == expectedLegacyType), any(), any()); in createAndVerifyProvisionedInterface()
/packages/modules/Connectivity/framework-t/api/
Dmodule-lib-current.txt105 method public int getLegacyType();
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt282 method public int getLegacyType();
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java629 assertEquals(mCm.getNetworkInfo(network).getType(), snapshot.getLegacyType()); in testGetAllNetworkStateSnapshots()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java9982 final NetworkInfo niForType = mCm.getNetworkInfo(network.getLegacyType());