Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt145 .setNetworkSpecifier(specifier) in <lambda>()
163 setNetworkSpecifier(specifier) in <lambda>()
221 .setNetworkSpecifier(specifier1).build() in <lambda>()
224 .setNetworkSpecifier(specifier1).build() in <lambda>()
226 .setNetworkSpecifier(specifier2).build() in <lambda>()
228 .setNetworkSpecifier(specifier2).build() in <lambda>()
262 .setNetworkSpecifier(specifier1) in <lambda>()
313 setNetworkSpecifier(specifier1) in <lambda>()
389 .setNetworkSpecifier(specifier) in <lambda>()
DNetworkCapabilitiesTest.java202 .setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier("eth42")); in testDescribeImmutableDifferences()
719 nc1.setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier("eth0")); in testSetNetworkSpecifierOnMultiTransportNc()
727 nc2.addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier( in testSetNetworkSpecifierOnMultiTransportNc()
862 .setNetworkSpecifier(specifier) in testTelephonyNetworkSpecifier()
867 .setNetworkSpecifier(specifier) in testTelephonyNetworkSpecifier()
882 nc.setNetworkSpecifier(specifier); in testWifiAwareNetworkSpecifier()
1122 .setNetworkSpecifier(specifier) in testBuilder()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java143 .setNetworkSpecifier(specifier) in testSpecifier()
195 new NetworkCapabilities(capCellularMmsInternet).setNetworkSpecifier(specifier1); in testCanBeSatisfiedBy()
200 .setNetworkSpecifier(specifier1); in testCanBeSatisfiedBy()
204 .setNetworkSpecifier(new MatchAllNetworkSpecifier()); in testCanBeSatisfiedBy()
208 .setNetworkSpecifier(specifier2); in testCanBeSatisfiedBy()
214 .setNetworkSpecifier(specifier1) in testCanBeSatisfiedBy()
257 .setNetworkSpecifier(specifier1) in testInvariantInCanBeSatisfiedBy()
288 .setNetworkSpecifier(specifier1).build(); in testInvariantInCanBeSatisfiedBy()
445 .setNetworkSpecifier(makeTestWifiSpecifier()).build(); in testBypassingVcn()
494 .setNetworkSpecifier(makeTestWifiSpecifier()) in testBuildRequestFromExistingRequestWithBuilder()
DNetworkAgentTest.kt390 it.setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifier)) in makeTestNetworkRequest()
414 setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifier)) in createNetworkAgent()
885 .setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifierWeaker)) in testSetLingerDuration()
DConnectivityManagerTest.java541 .setNetworkSpecifier(redactedSnapshotCapSpecifier))); in testGetAllNetworkStateSnapshots()
2038 .setNetworkSpecifier(CompatUtil.makeTestNetworkSpecifier(
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java427 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
430 return setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in setNetworkSpecifier()
438 return setNetworkSpecifier((NetworkSpecifier) null); in setNetworkSpecifier()
440 return setNetworkSpecifier(new TestNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
442 return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
457 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
461 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java980 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in addTransportType()
994 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in removeTransportType()
1354 public @NonNull NetworkCapabilities setNetworkSpecifier( in setNetworkSpecifier() method in NetworkCapabilities
1406 setNetworkSpecifier(nc.mNetworkSpecifier); in combineSpecifiers()
2651 public Builder setNetworkSpecifier(@Nullable final NetworkSpecifier specifier) { in setNetworkSpecifier() method in NetworkCapabilities.Builder
2652 mCaps.setNetworkSpecifier(specifier); in setNetworkSpecifier()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java247 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkAgentWrapper
248 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java75 .setNetworkSpecifier(ifname) in setupAndGetTestNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java250 .setNetworkSpecifier(new EthernetNetworkSpecifier("eth234")); in testGetMultipathPreference()
262 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in testGetMultipathPreference()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java102 .setNetworkSpecifier(telephonyManager.getNetworkSpecifier()); in createNetworkRequest()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java355 mNetworkCapabilities.setNetworkSpecifier(mock(NetworkSpecifier.class)); in testHandleAcceptNetworkRequestFromWithUnsupportedSpecifier()
374 mNetworkCapabilities.setNetworkSpecifier(specifier); in testHandleAcceptNetworkRequestWithBand()
684 mNetworkCapabilities.setNetworkSpecifier(mock(NetworkSpecifier.class)); in testHandleNetworkRequestWithUnsupportedSpecifier()
2596 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2603 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleNewNetworkRequestWithSpecifierWhichUserSelectedAfterConnectionSuccess()
2649 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier1); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()
2661 mNetworkRequest.networkCapabilities.setNetworkSpecifier(specifier2); in testHandleNewNetworkRequestWithSpecifierWhichUserRejectedAfterConnectionSuccess()
3468 mNetworkCapabilities.setNetworkSpecifier( in attachWifiNetworkSpecifierAndAppInfo()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java187 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in MmsNetworkManager()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1338 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderMismatchUtility()
1399 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderInvalidUidUtility()
1462 nr.networkCapabilities.setNetworkSpecifier(ns); in testDataPathInitiatorResponderInvalidPackageNameUtility()
1868 nc.setNetworkSpecifier(ns); in getSessionNetworkRequestMore()
1920 nc.setNetworkSpecifier(ns); in getDirectNetworkRequestMore()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java252 nc.setNetworkSpecifier(new TestNetworkSpecifier(iface)); in registerTestNetworkAgent()
DConnectivityService.java2059 newNc.setNetworkSpecifier(newNc.getNetworkSpecifier().redact()); in networkCapabilitiesRestrictedForCallerPermissions()
2261 nc.setNetworkSpecifier(nc.getNetworkSpecifier().redact()); in restrictRequestUidsForCallerAndSetRequestorInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java142 .setNetworkSpecifier(new MatchAllNetworkSpecifier()) in makeNetworkCapabilitiesFilter()
1351 builder.setNetworkSpecifier(new WifiAwareAgentNetworkSpecifier( in getNetworkCapabilities()
1651 ncBuilder.setNetworkSpecifier(new WifiAwareAgentNetworkSpecifier( in configureAgentProperties()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java148 .setNetworkSpecifier(ifname) in setupAndGetTestNetwork()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt410 method @Deprecated public android.net.NetworkRequest.Builder setNetworkSpecifier(String);
411 …method public android.net.NetworkRequest.Builder setNetworkSpecifier(android.net.NetworkSpecifier);
Dsystem-current.txt304 …method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable andro…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java4101 NetworkRequest rEmpty2 = newWifiRequestBuilder().setNetworkSpecifier((String) null).build(); in testNetworkSpecifier()
4102 NetworkRequest rEmpty3 = newWifiRequestBuilder().setNetworkSpecifier("").build(); in testNetworkSpecifier()
4103 NetworkRequest rEmpty4 = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
4105 NetworkRequest rFoo = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
4107 NetworkRequest rBar = newWifiRequestBuilder().setNetworkSpecifier( in testNetworkSpecifier()
4139 mWiFiNetworkAgent.setNetworkSpecifier(nsFoo); in testNetworkSpecifier()
4152 mWiFiNetworkAgent.setNetworkSpecifier(nsBar); in testNetworkSpecifier()
4165 mWiFiNetworkAgent.setNetworkSpecifier(new ConfidentialMatchAllNetworkSpecifier()); in testNetworkSpecifier()
4187 builder.setNetworkSpecifier(new MatchAllNetworkSpecifier()); in testInvalidNetworkSpecifier()
4193 .setNetworkSpecifier(new MatchAllNetworkSpecifier()); in testInvalidNetworkSpecifier()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java103 .setNetworkSpecifier(new MatchAllNetworkSpecifier()); in makeBaseNetworkCapatibilitiesFilterBuilder()
DWifiShellCommand.java1269 .setNetworkSpecifier(specifierBuilder.build()) in buildNetworkRequest()
DClientModeImpl.java3914 builder.setNetworkSpecifier(null);
3985 builder.setNetworkSpecifier(createNetworkAgentSpecifier(currentWifiConfiguration,
3990 builder.setNetworkSpecifier(createNetworkAgentSpecifier(currentWifiConfiguration,
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java1790 capabilities.setNetworkSpecifier(new TelephonyNetworkSpecifier(subId));

12