/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 145 .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>()
|
D | NetworkCapabilitiesTest.java | 202 .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/ |
D | NetworkRequestTest.java | 143 .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()
|
D | NetworkAgentTest.kt | 390 it.setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifier)) in makeTestNetworkRequest() 414 setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifier)) in createNetworkAgent() 885 .setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier(specifierWeaker)) in testSetLingerDuration()
|
D | ConnectivityManagerTest.java | 541 .setNetworkSpecifier(redactedSnapshotCapSpecifier))); in testGetAllNetworkStateSnapshots() 2038 .setNetworkSpecifier(CompatUtil.makeTestNetworkSpecifier(
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkRequest.java | 427 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()
|
D | NetworkCapabilities.java | 980 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/ |
D | NetworkAgentWrapper.java | 247 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/ |
D | TestNetworkUtils.java | 75 .setNetworkSpecifier(ifname) in setupAndGetTestNetwork()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 250 .setNetworkSpecifier(new EthernetNetworkSpecifier("eth234")); in testGetMultipathPreference() 262 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in testGetMultipathPreference()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmNetworkRequestCallback.java | 102 .setNetworkSpecifier(telephonyManager.getNetworkSpecifier()); in createNetworkRequest()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 355 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/ |
D | MmsNetworkManager.java | 187 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in MmsNetworkManager()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 1338 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/ |
D | TestNetworkService.java | 252 nc.setNetworkSpecifier(new TestNetworkSpecifier(iface)); in registerTestNetworkAgent()
|
D | ConnectivityService.java | 2059 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/ |
D | WifiAwareDataPathStateManager.java | 142 .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/ |
D | CtsNetUtils.java | 148 .setNetworkSpecifier(ifname) in setupAndGetTestNetwork()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 410 method @Deprecated public android.net.NetworkRequest.Builder setNetworkSpecifier(String); 411 …method public android.net.NetworkRequest.Builder setNetworkSpecifier(android.net.NetworkSpecifier);
|
D | system-current.txt | 304 …method @NonNull public android.net.NetworkCapabilities.Builder setNetworkSpecifier(@Nullable andro…
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4101 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/ |
D | WifiInjector.java | 103 .setNetworkSpecifier(new MatchAllNetworkSpecifier()); in makeBaseNetworkCapatibilitiesFilterBuilder()
|
D | WifiShellCommand.java | 1269 .setNetworkSpecifier(specifierBuilder.build()) in buildNetworkRequest()
|
D | ClientModeImpl.java | 3914 builder.setNetworkSpecifier(null); 3985 builder.setNetworkSpecifier(createNetworkAgentSpecifier(currentWifiConfiguration, 3990 builder.setNetworkSpecifier(createNetworkAgentSpecifier(currentWifiConfiguration,
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1790 capabilities.setNetworkSpecifier(new TelephonyNetworkSpecifier(subId));
|