Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java285 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()
301 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromWithInternetCapability()
320 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()
337 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()
354 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()
372 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
378 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
395 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
401 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
418 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
[all …]
/frameworks/base/core/java/android/net/
DNetworkRequest.java319 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
322 return setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in setNetworkSpecifier()
328 return setNetworkSpecifier(TextUtils.isEmpty(networkSpecifier) ? null in setNetworkSpecifier()
343 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
345 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java813 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in addTransportType()
827 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in removeTransportType()
1173 public @NonNull NetworkCapabilities setNetworkSpecifier( in setNetworkSpecifier() method in NetworkCapabilities
1225 setNetworkSpecifier(nc.mNetworkSpecifier); in combineSpecifiers()
2325 public Builder setNetworkSpecifier(@Nullable final NetworkSpecifier specifier) { in setNetworkSpecifier() method in NetworkCapabilities.Builder
2326 mCaps.setNetworkSpecifier(specifier); in setNetworkSpecifier()
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt104 .setNetworkSpecifier(specifier) in <lambda>()
122 setNetworkSpecifier(specifier) in <lambda>()
178 .setNetworkSpecifier(specifier) in <lambda>()
DNetworkCapabilitiesTest.java209 .setNetworkSpecifier(new StringNetworkSpecifier("specs")); in testDescribeImmutableDifferences()
591 nc1.setNetworkSpecifier(new StringNetworkSpecifier("specs")); in testSetNetworkSpecifierOnMultiTransportNc()
599 nc2.addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier( in testSetNetworkSpecifierOnMultiTransportNc()
707 .setNetworkSpecifier(specifier) in testTelephonyNetworkSpecifier()
712 .setNetworkSpecifier(specifier) in testTelephonyNetworkSpecifier()
727 nc.setNetworkSpecifier(specifier); in testWifiAwareNetworkSpecifier()
904 .setNetworkSpecifier(specifier) in testBuilder()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java194 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkAgentWrapper
195 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestNetworkTracker.kt71 .setNetworkSpecifier(StringNetworkSpecifier(iface.interfaceName))
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcRequestTest.java118 .setNetworkSpecifier(telephonyNetworkSpecifier) in whenNetworkRequestNotCellularWithTelephonySpecifierThenDcRequestIsNull()
DTelephonyNetworkFactoryTest.java89 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in makeSubSpecificInternetRequest()
115 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in makeSubSpecificMmsRequest()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java236 .setNetworkSpecifier(new StringNetworkSpecifier("234")); in testGetMultipathPreference()
248 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in testGetMultipathPreference()
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java252 nc.setNetworkSpecifier(new StringNetworkSpecifier(iface));
DConnectivityService.java1682 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java329 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder()
DPhoneSwitcher.java407 netCap.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in PhoneSwitcher()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactory.java148 nc.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in makeNetworkFilter()
DDataConnection.java1434 result.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in getNetworkCapabilities()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java155 sNetworkCapabilitiesFilter.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in start()
1213 nc.setNetworkSpecifier(new WifiAwareAgentNetworkSpecifier( in getNetworkCapabilities()
1516 networkCapabilities.setNetworkSpecifier(new WifiAwareAgentNetworkSpecifier( in configureAgentProperties()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkValidatorTest.java470 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in assertInValidation()
DPhoneSwitcherTest.java1245 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in addInternetNetworkRequest()
1270 netCap.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in addMmsNetworkRequest()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1203 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderMismatchUtility()
1262 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderInvalidUidUtility()
1665 nc.setNetworkSpecifier(ns); in getSessionNetworkRequestMore()
1715 nc.setNetworkSpecifier(ns); in getDirectNetworkRequestMore()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java2971 NetworkRequest rEmpty2 = newWifiRequestBuilder().setNetworkSpecifier((String) null).build(); in testNetworkSpecifier()
2972 NetworkRequest rEmpty3 = newWifiRequestBuilder().setNetworkSpecifier("").build(); in testNetworkSpecifier()
2973 NetworkRequest rEmpty4 = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
2975 NetworkRequest rFoo = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
2977 NetworkRequest rBar = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
3007 mWiFiNetworkAgent.setNetworkSpecifier(nsFoo); in testNetworkSpecifier()
3019 mWiFiNetworkAgent.setNetworkSpecifier(nsBar); in testNetworkSpecifier()
3032 mWiFiNetworkAgent.setNetworkSpecifier(new ConfidentialMatchAllNetworkSpecifier()); in testNetworkSpecifier()
3047 mWiFiNetworkAgent.setNetworkSpecifier(null); in testNetworkSpecifier()
3068 builder.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in testInvalidNetworkSpecifier()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java851 mNetworkCapabilitiesFilter.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in ClientModeImpl()
4670 result.setNetworkSpecifier(null); in getCapabilities()
4714 result.setNetworkSpecifier( in getCapabilities()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1841 nc.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in buildNetworkCapabilities()
/frameworks/base/api/
Dtest-current.txt1541 …method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable andro…
Dsystem-current.txt4594 …method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable andro…

12