Home
last modified time | relevance | path

Searched refs:getNetworkSpecifier (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMultiInternetWifiNetworkFactory.java96 if (networkRequest.getNetworkSpecifier() == null in isWifiMultiInternetRequest()
97 || !(networkRequest.getNetworkSpecifier() instanceof WifiNetworkSpecifier)) { in isWifiMultiInternetRequest()
100 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isWifiMultiInternetRequest()
160 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in acceptRequest()
175 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in needNetworkFor()
219 final int band = ((WifiNetworkSpecifier) networkRequest.getNetworkSpecifier()).getBand(); in releaseNetworkFor()
DWifiNetworkFactory.java723 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isRequestWithWifiNetworkSpecifierValid()
773 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in acceptRequest()
855 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in needNetworkFor()
953 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in releaseNetworkFor()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt151 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
174 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
181 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
188 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
395 cb.expectCallback<OnUnavailable>() { nr.getNetworkSpecifier() == specifier } in <lambda>()
DNetworkCapabilitiesTest.java774 assertEquals(specifier, nc.getNetworkSpecifier()); in testSetNetworkSpecifierWithCellularAndSatelliteMultiTransportNc()
803 assertEquals(specifier, nc.getNetworkSpecifier()); in testSetNetworkSpecifierOnTestWithCellularAndSatelliteMultiTransportNc()
815 assertEquals(specifier, nc.getNetworkSpecifier()); in testSetNetworkSpecifierOnTestMultiTransportNc()
918 assertEquals(specifier, nc1.getNetworkSpecifier()); in testTelephonyNetworkSpecifier()
1015 assertNull(nc.getNetworkSpecifier()); in testWifiAwareNetworkSpecifier()
1019 assertEquals(specifier, nc.getNetworkSpecifier()); in testWifiAwareNetworkSpecifier()
1281 assertEquals(specifier, nc.getNetworkSpecifier()); in testBuilder()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java192 specifier = nc.getNetworkSpecifier(); in onCrossSimEnabledEvent()
476 NetworkSpecifier specifier = nc.getNetworkSpecifier(); in onAvailable()
563 NetworkSpecifier specifier = nc.getNetworkSpecifier(); in onCapabilitiesChanged()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java762 public NetworkSpecifier getNetworkSpecifier() { in getNetworkSpecifier() method in NetworkRequest
763 return networkCapabilities.getNetworkSpecifier(); in getNetworkSpecifier()
DNetworkCapabilities.java1858 public @Nullable NetworkSpecifier getNetworkSpecifier() { in getNetworkSpecifier() method in NetworkCapabilities
2305 NetworkSpecifier before = this.getNetworkSpecifier(); in describeImmutableDifferences()
2306 NetworkSpecifier after = that.getNetworkSpecifier(); in describeImmutableDifferences()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java162 assertNull(new NetworkRequest.Builder().build().getNetworkSpecifier()); in testSpecifier()
171 .getNetworkSpecifier(); in testSpecifier()
177 .getNetworkSpecifier()); in testSpecifier()
DConnectivityManagerTest.java557 final NetworkSpecifier specifier = cellCaps.getNetworkSpecifier(); in getSubscriberIdForCellNetwork()
611 snapshot.getNetworkCapabilities().getNetworkSpecifier(); in testGetAllNetworkStateSnapshots()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStateSnapshot.java117 final NetworkSpecifier spec = mNetworkCapabilities.getNetworkSpecifier(); in getSubId()
DNetworkIdentity.java425 final NetworkSpecifier ns = snapshot.getNetworkCapabilities().getNetworkSpecifier(); in setNetworkStateSnapshot()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java105 .setNetworkSpecifier(telephonyManager.getNetworkSpecifier()); in createNetworkRequest()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java777 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
798 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()
1803 eq((WifiNetworkSpecifier) mNetworkRequest.getNetworkSpecifier()), in testNetworkSpecifierHandleConnectionFailure()
1838 eq((WifiNetworkSpecifier) mNetworkRequest.getNetworkSpecifier()), in testNetworkSpecifierHandleAuthFailure()
2517 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2562 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterConnect()
2602 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterConnectionSuccess()
2678 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2692 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2734 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java926 NetworkSpecifier networkSpecifierBase = request.getNetworkSpecifier(); in acceptRequest()
1011 NetworkSpecifier networkSpecifierObj = networkRequest.getNetworkSpecifier(); in needNetworkFor()
1071 NetworkSpecifier networkSpecifierObj = networkRequest.getNetworkSpecifier(); in releaseNetworkFor()
1403 .map(NetworkRequest::getNetworkSpecifier) in getNetworkCapabilities()
1692 .map(NetworkRequest::getNetworkSpecifier) in configureAgentProperties()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java218 final NetworkSpecifier spec = nc.getNetworkSpecifier(); in validateOrSetNetworkSpecifier()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanNetworkService.java379 NetworkSpecifier specifier = networkCapabilities.getNetworkSpecifier(); in getConnectedDataSub()
DIwlanDataService.java2229 NetworkSpecifier specifier = networkCapabilities.getNetworkSpecifier(); in getConnectedDataSub()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DCarrierPrivilegeAuthenticator.java331 subId = getSubIdFromTelephonySpecifier(networkCapabilities.getNetworkSpecifier()); in getSubIdFromNetworkCapabilities()
DNetworkNotificationManager.java251 NetworkSpecifier specifier = nai.networkCapabilities.getNetworkSpecifier(); in showNotification()
DKeepaliveStatsTracker.java429 final NetworkSpecifier networkSpecifier = nc.getNetworkSpecifier(); in getSubId()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java276 new EthernetNetworkSpecifier(iface), ncCaptor.getValue().getNetworkSpecifier()); in createAndVerifyProvisionedInterface()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1520 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderMismatchUtility()
1581 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderInvalidUidUtility()
1644 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderInvalidPackageNameUtility()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt315 method @Nullable public android.net.NetworkSpecifier getNetworkSpecifier();
424 method @Nullable public android.net.NetworkSpecifier getNetworkSpecifier();
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2899 if (newNc.getNetworkSpecifier() != null) {
2900 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact());
3116 if (nc.getNetworkSpecifier() != null) {
3117 nc.setNetworkSpecifier(nc.getNetworkSpecifier().redact());
7914 NetworkSpecifier ns = nc.getNetworkSpecifier();
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java2492 final NetworkSpecifier spec = state.getNetworkCapabilities().getNetworkSpecifier();

12