Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt150 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
173 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
180 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
187 callback.request.getNetworkSpecifier() == specifier && in <lambda>()
395 cb.expectCallback<OnUnavailable>() { nr.getNetworkSpecifier() == specifier } in <lambda>()
DNetworkCapabilitiesTest.java864 assertEquals(specifier, nc1.getNetworkSpecifier()); in testTelephonyNetworkSpecifier()
879 assertNull(nc.getNetworkSpecifier()); in testWifiAwareNetworkSpecifier()
883 assertEquals(specifier, nc.getNetworkSpecifier()); in testWifiAwareNetworkSpecifier()
1139 assertEquals(specifier, nc.getNetworkSpecifier()); in testBuilder()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java136 assertNull(new NetworkRequest.Builder().build().getNetworkSpecifier()); in testSpecifier()
145 .getNetworkSpecifier(); in testSpecifier()
151 .getNetworkSpecifier()); in testSpecifier()
DConnectivityManagerTest.java487 final NetworkSpecifier specifier = cellCaps.getNetworkSpecifier(); in getSubscriberIdForCellNetwork()
536 snapshot.getNetworkCapabilities().getNetworkSpecifier(); in testGetAllNetworkStateSnapshots()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java667 public NetworkSpecifier getNetworkSpecifier() { in getNetworkSpecifier() method in NetworkRequest
668 return networkCapabilities.getNetworkSpecifier(); in getNetworkSpecifier()
DNetworkCapabilities.java1385 public @Nullable NetworkSpecifier getNetworkSpecifier() { in getNetworkSpecifier() method in NetworkCapabilities
1840 NetworkSpecifier before = this.getNetworkSpecifier(); in describeImmutableDifferences()
1841 NetworkSpecifier after = that.getNetworkSpecifier(); in describeImmutableDifferences()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java726 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
747 ((WifiNetworkSpecifier) mNetworkCapabilities.getNetworkSpecifier()) in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()
2408 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
2452 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterConnect()
2491 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierAfterConnectionSuccess()
2567 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2581 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2623 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()
2636 (WifiNetworkSpecifier) mNetworkRequest.networkCapabilities.getNetworkSpecifier(); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()
3631 .getNetworkSpecifier()).wifiConfiguration); in validateConnectParams()
DClientModeImplTest.java4377 final NetworkSpecifier spec = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilities()
4410 NetworkSpecifier networkSpecifier = networkCapabilities.getNetworkSpecifier(); in verifyNetworkCapabilitiesForSpecificRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java899 NetworkSpecifier networkSpecifierBase = request.getNetworkSpecifier(); in acceptRequest()
985 NetworkSpecifier networkSpecifierObj = networkRequest.getNetworkSpecifier(); in needNetworkFor()
1036 NetworkSpecifier networkSpecifierObj = networkRequest.getNetworkSpecifier(); in releaseNetworkFor()
1353 .map(NetworkRequest::getNetworkSpecifier) in getNetworkCapabilities()
1653 .map(NetworkRequest::getNetworkSpecifier) in configureAgentProperties()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java675 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isRequestWithWifiNetworkSpecifierValid()
694 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in acceptRequest()
761 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in needNetworkFor()
824 NetworkSpecifier ns = networkRequest.getNetworkSpecifier(); in releaseNetworkFor()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java102 .setNetworkSpecifier(telephonyManager.getNetworkSpecifier()); in createNetworkRequest()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkNotificationManager.java246 NetworkSpecifier specifier = nai.networkCapabilities.getNetworkSpecifier(); in showNotification()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt297 method @Nullable public android.net.NetworkSpecifier getNetworkSpecifier();
392 method @Nullable public android.net.NetworkSpecifier getNetworkSpecifier();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1326 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderMismatchUtility()
1387 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderInvalidUidUtility()
1450 (WifiAwareNetworkSpecifier) nr.networkCapabilities.getNetworkSpecifier(); in testDataPathInitiatorResponderInvalidPackageNameUtility()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2058 if (newNc.getNetworkSpecifier() != null) { in networkCapabilitiesRestrictedForCallerPermissions()
2059 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()
2260 if (nc.getNetworkSpecifier() != null) { in restrictRequestUidsForCallerAndSetRequestorInfo()
2261 nc.setNetworkSpecifier(nc.getNetworkSpecifier().redact()); in restrictRequestUidsForCallerAndSetRequestorInfo()
5997 NetworkSpecifier ns = nc.getNetworkSpecifier(); in ensureValidNetworkSpecifier()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java2522 && Objects.equals(specifier, nc.getNetworkSpecifier())); in expectAvailableCallbacksUnvalidatedWithSpecifier()
4145 mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).getNetworkSpecifier()); in testNetworkSpecifier()
4158 mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).getNetworkSpecifier()); in testNetworkSpecifier()
4170 mCm.getNetworkCapabilities(mWiFiNetworkAgent.getNetwork()).getNetworkSpecifier()); in testNetworkSpecifier()