Home
last modified time | relevance | path

Searched refs:setNetworkSpecifier (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java274 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()
290 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromWithInternetCapability()
309 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()
326 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()
343 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()
361 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
367 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
384 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
390 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
407 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
[all …]
/frameworks/base/core/java/android/net/
DNetworkRequest.java311 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
317 return setNetworkSpecifier(TextUtils.isEmpty(networkSpecifier) ? null in setNetworkSpecifier()
331 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
333 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java722 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in addTransportType()
736 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in removeTransportType()
948 public @NonNull NetworkCapabilities setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkCapabilities
1001 setNetworkSpecifier(nc.mNetworkSpecifier); in combineSpecifiers()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java89 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in makeSubSpecificInternetRequest()
97 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in makeSubSpecificMmsRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java174 .setNetworkSpecifier(String.valueOf(mSubId)) in createNetworkRequest()
DPhoneSwitcher.java408 netCap.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in PhoneSwitcher()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java177 .setNetworkSpecifier(new StringNetworkSpecifier("specs")); in testDescribeImmutableDifferences()
488 nc1.setNetworkSpecifier(new StringNetworkSpecifier("specs")); in testSetNetworkSpecifierOnMultiTransportNc()
496 nc2.addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier( in testSetNetworkSpecifierOnMultiTransportNc()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java247 nc.setNetworkSpecifier(new StringNetworkSpecifier(iface));
DConnectivityService.java1579 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java1114 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in addInternetNetworkRequest()
1136 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in addMmsNetworkRequest()
1138 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in addMmsNetworkRequest()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java684 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in ConnectivityServiceTest.MockNetworkAgent
685 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
3036 NetworkRequest rEmpty2 = newWifiRequestBuilder().setNetworkSpecifier((String) null).build(); in testNetworkSpecifier()
3037 NetworkRequest rEmpty3 = newWifiRequestBuilder().setNetworkSpecifier("").build(); in testNetworkSpecifier()
3038 NetworkRequest rEmpty4 = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
3040 NetworkRequest rFoo = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
3042 NetworkRequest rBar = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
3072 mWiFiNetworkAgent.setNetworkSpecifier(nsFoo); in testNetworkSpecifier()
3084 mWiFiNetworkAgent.setNetworkSpecifier(nsBar); in testNetworkSpecifier()
3097 mWiFiNetworkAgent.setNetworkSpecifier(new ConfidentialMatchAllNetworkSpecifier()); in testNetworkSpecifier()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java235 .setNetworkSpecifier(new StringNetworkSpecifier("234")); in testGetMultipathPreference()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java139 nc.setNetworkSpecifier(new StringNetworkSpecifier(String.valueOf(subscriptionId))); in makeNetworkFilter()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java155 sNetworkCapabilitiesFilter.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in start()
1219 nc.setNetworkSpecifier( in getNetworkCapabilities()
1527 networkCapabilities.setNetworkSpecifier( in configureAgentProperties()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1199 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderMismatchUtility()
1258 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderInvalidUidUtility()
1661 nc.setNetworkSpecifier(ns); in getSessionNetworkRequestMore()
1711 nc.setNetworkSpecifier(ns); in getDirectNetworkRequestMore()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java837 mNetworkCapabilitiesFilter.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in ClientModeImpl()
4640 result.setNetworkSpecifier(null); in getCapabilities()
4681 result.setNetworkSpecifier( in getCapabilities()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1783 nc.setNetworkSpecifier(new StringNetworkSpecifier(String.valueOf(subId))); in buildNetworkCapabilities()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...