Home
last modified time | relevance | path

Searched refs:getLinkProperties (Results 1 – 25 of 67) sorted by relevance

123

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java240 mConnectivityManager.getLinkProperties(mTestNetwork).getInterfaceName(); in testRegisterConnectivityDiagnosticsCallback()
338 mConnectivityManager.getLinkProperties(network).getInterfaceName(); in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
378 mConnectivityManager.getLinkProperties(mTestNetwork).getInterfaceName(); in testOnConnectivityReportAvailable()
430 mConnectivityManager.getLinkProperties(mTestNetwork).getInterfaceName(); in verifyOnDataStallSuspected()
463 mConnectivityManager.getLinkProperties(mTestNetwork).getInterfaceName(); in verifyOnNetworkConnectivityReported()
560 assertNotNull(result.getLinkProperties()); in maybeVerifyConnectivityReportAvailable()
561 assertEquals(interfaceName, result.getLinkProperties().getInterfaceName()); in maybeVerifyConnectivityReportAvailable()
593 assertNotNull(result.getLinkProperties()); in expectOnDataStallSuspected()
594 assertEquals(interfaceName, result.getLinkProperties().getInterfaceName()); in expectOnDataStallSuspected()
DNetworkAgentTest.kt396 val lp = mCM.getLinkProperties(n) in assertLinkPropertiesEventually()
1534 assertNull(mCM.getLinkProperties(network2)) in testUnregisterAfterReplacement()
1542 assertNotNull(mCM.getLinkProperties(network1)) in testUnregisterAfterReplacement()
1635 assertNull(mCM.getLinkProperties(agent6.network!!)) in testUnregisterAfterReplacement()
1662 val wifiLp = mCM.getLinkProperties(wifiNetwork)!! in testUnregisterAfterReplacement()
1777 assertNull(mCM.getLinkProperties(network)) in doTestNativeNetworkCreation()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DThreadIntegrationTest.java285 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in addPrefixToNetData_routeIsAddedToTunInterface()
307 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in removePrefixFromNetData_routeIsRemovedFromTunInterface()
324 LinkProperties lp = cm.getLinkProperties(getThreadNetwork(CALLBACK_TIMEOUT)); in toggleThreadNetwork_routeFromPreviousNetDataIsRemoved()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java145 mLinkProperties = mConnectivityManager.getLinkProperties(mNetwork); in WifiInfoProvider()
252 public LinkProperties getLinkProperties() { in getLinkProperties() method in WifiInfoProvider
DWifiIpAddressPreferenceController.java45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState()
DWifiGatewayPreferenceController.java45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState()
DWifiDnsPreferenceController.java45 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState()
DWifiSubnetPreferenceController.java46 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState()
DWifiIpv6AddressPreferenceController.java49 LinkProperties linkProperties = getWifiInfoProvider().getLinkProperties(); in updateState()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java338 expectedNetwork, mMockConnectManager.getLinkProperties(expectedNetwork)); in verifySetupAndTeardownWithNw()
670 doReturn(new LinkProperties()).when(mMockConnectManager).getLinkProperties(n); in verifyIsIpV4Preferred()
1153 mMockConnectManager.getLinkProperties(mMockDefaultNetwork), in testOnUnderlyingNetworkUpdatedWithNewLp()
1298 mMockConnectManager.getLinkProperties(mockNetwork), in testCatchUnexpectedExceptionInNetworkUpdate()
1325 mMockConnectManager.getLinkProperties(mockNetwork), in testThrowInNetworkUpdate()
1456 mMockConnectManager.getLinkProperties(mMockDefaultNetwork), in testSkipUpdateOnNetworkCallbackChange()
1504 mMockConnectManager.getLinkProperties(newNetwork))); in verifyIsDnsLookupRequired()
1730 mMockConnectManager.getLinkProperties(mMockDefaultNetwork), in verifyDnsLookupWithCachedIpv6Address()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiInfoProviderTest.java110 when(mMockConnectivityManager.getLinkProperties(any(Network.class))) in setUp()
136 assertThat(mWifiInfoProvider.getLinkProperties()).isNotNull(); in onStart_allFieldsInitialized()
DWifiSubnetPreferenceControllerTest.java46 when(mMockWifiInfoProvider.getLinkProperties()).thenReturn(mMockLinkProperties); in initTest()
DWifiIpAddressPreferenceControllerTest.java46 when(mMockWifiInfoProvider.getLinkProperties()).thenReturn(mMockLinkProperties); in initTest()
DWifiGatewayPreferenceControllerTest.java51 when(mMockWifiInfoProvider.getLinkProperties()).thenReturn(mMockLinkProperties); in initTest()
DWifiIpv6AddressPreferenceControllerTest.java81 when(mMockWifiInfoProvider.getLinkProperties()).thenReturn(mMockLinkProperties); in setUp()
/packages/modules/Connectivity/tests/common/java/android/net/
DConnectivityDiagnosticsManagerTest.java157 final LinkProperties linkProperties = sampleReport.getLinkProperties(); in testConnectivityReportEquals()
244 final LinkProperties linkProperties = sampleReport.getLinkProperties(); in testDataStallReportEquals()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityDiagnosticsManager.java284 public LinkProperties getLinkProperties() { in getLinkProperties() method in ConnectivityDiagnosticsManager.ConnectivityReport
515 public LinkProperties getLinkProperties() { in getLinkProperties() method in ConnectivityDiagnosticsManager.DataStallReport
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DImsPdnNetworkFetcher.java61 return getConnectivityManager().getLinkProperties(network).getLinkAddresses().stream() in getNetworkIpAddresses()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DMacAddressPreferenceController.java62 ? mConnectivityManager.getLinkProperties(activeNetwork) : null; in updateConnectivity()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java142 LinkProperties prop = cm.getLinkProperties(cm.getActiveNetwork()); in getDefaultIpAddresses()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStateSnapshot.java99 public LinkProperties getLinkProperties() { in getLinkProperties() method in NetworkStateSnapshot
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DCurrentEthernetNetworksViewModel.java106 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network); in getCurrentEthernetNetworksText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java144 when(connectivityManager.getLinkProperties(network)).thenReturn(lp); in getWifiIpAddresses_succeeds()
153 when(connectivityManager.getLinkProperties(network)).thenReturn(null); in getWifiIpAddresses_nullLinkProperties()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DWirelessDebuggingFragment.java383 LinkProperties prop = mConnectivityManager.getLinkProperties( in getWifiIpv4Address()
606 LinkProperties prop = mConnectivityManager.getLinkProperties(
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt164 val iface = cm.getLinkProperties(network)!!.interfaceName!! in <lambda>()
184 val lp = cm.getLinkProperties(this)!! in <lambda>()

123