Home
last modified time | relevance | path

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

123

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkProviderTest.kt146 .setNetworkSpecifier(specifier) in <lambda>()
164 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.java228 .setNetworkSpecifier(CompatUtil.makeEthernetNetworkSpecifier("eth42")); in testDescribeImmutableDifferences()
748 () -> nc1.build().setNetworkSpecifier(specifier)); in testSetNetworkSpecifierOnMultiTransportNc()
751 () -> nc1.setNetworkSpecifier(specifier)); in testSetNetworkSpecifierOnMultiTransportNc()
755 nc2.addTransportType(TRANSPORT_CELLULAR).setNetworkSpecifier(specifier); in testSetNetworkSpecifierOnMultiTransportNc()
771 .setNetworkSpecifier(specifier) in testSetNetworkSpecifierWithCellularAndSatelliteMultiTransportNc()
786 () -> nc1.build().setNetworkSpecifier(specifier)); in testSetNetworkSpecifierWithWifiAndSatelliteMultiTransportNc()
789 () -> nc1.setNetworkSpecifier(specifier)); in testSetNetworkSpecifierWithWifiAndSatelliteMultiTransportNc()
799 .setNetworkSpecifier(specifier) in testSetNetworkSpecifierOnTestWithCellularAndSatelliteMultiTransportNc()
812 .setNetworkSpecifier(specifier) in testSetNetworkSpecifierOnTestMultiTransportNc()
916 .setNetworkSpecifier(specifier) in testTelephonyNetworkSpecifier()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java522 public Builder setNetworkSpecifier(String networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
525 return setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in setNetworkSpecifier()
533 return setNetworkSpecifier((NetworkSpecifier) null); in setNetworkSpecifier()
535 return setNetworkSpecifier(new TestNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
537 return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
552 public Builder setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkRequest.Builder
556 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
DNetworkCapabilities.java1439 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in addTransportType()
1453 setNetworkSpecifier(mNetworkSpecifier); // used for exception checking in removeTransportType()
1815 public @NonNull NetworkCapabilities setNetworkSpecifier( in setNetworkSpecifier() method in NetworkCapabilities
3197 public Builder setNetworkSpecifier(@Nullable final NetworkSpecifier specifier) { in setNetworkSpecifier() method in NetworkCapabilities.Builder
3198 mCaps.setNetworkSpecifier(specifier); in setNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMultiInternetWifiNetworkFactoryTest.java109 .setNetworkSpecifier(specifier2G) in setUp()
113 .setNetworkSpecifier(specifier5G) in setUp()
142 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
150 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
160 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testIsWifiMultiInternetRequest()
203 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testMultiInternetHandleNetworkRequestFromSettingsWithBssid()
DWifiShellCommandTest.java918 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
933 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
949 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
965 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
981 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
997 .setNetworkSpecifier(new WifiNetworkSpecifier.Builder() in testAddNetworkRequest()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java169 .setNetworkSpecifier(specifier) in testSpecifier()
235 new NetworkCapabilities(capCellularMmsInternet).setNetworkSpecifier(specifier1); in testCanBeSatisfiedBy()
240 .setNetworkSpecifier(specifier1); in testCanBeSatisfiedBy()
244 .setNetworkSpecifier(new MatchAllNetworkSpecifier()); in testCanBeSatisfiedBy()
248 .setNetworkSpecifier(specifier2); in testCanBeSatisfiedBy()
254 .setNetworkSpecifier(specifier1) in testCanBeSatisfiedBy()
297 .setNetworkSpecifier(specifier1) in testInvariantInCanBeSatisfiedBy()
328 .setNetworkSpecifier(specifier1).build(); in testInvariantInCanBeSatisfiedBy()
485 .setNetworkSpecifier(makeTestWifiSpecifier()).build(); in testBypassingVcn()
550 .setNetworkSpecifier(makeTestWifiSpecifier()) in testBuildRequestFromExistingRequestWithBuilder()
DRateLimitTest.java150 .setNetworkSpecifier(mNetworkSpecifier).build(); in setUp()
157 .setNetworkSpecifier(mNetworkSpecifier) in setUp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DCarrierPrivilegeAuthenticatorTest.java203 .setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testConstructor()
245 .setNetworkSpecifier(specifier) in testMultiSimConfigChanged()
282 .setNetworkSpecifier(specifier) in testOnCarrierPrivilegesChanged()
311 ncBuilder.setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testDefaultSubscription()
317 ncBuilder.setNetworkSpecifier(null); in testDefaultSubscription()
320 ncBuilder.setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testDefaultSubscription()
DMultipathPolicyTrackerTest.java266 .setNetworkSpecifier(new EthernetNetworkSpecifier("eth234")); in prepareGetMultipathPreferenceTest()
278 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in prepareGetMultipathPreferenceTest()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java65 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE))
179 .setNetworkSpecifier(invalidSpecifierType) in testUpdateConfigurationRejectsWithInvalidSpecifierType()
197 .setNetworkSpecifier( in testUpdateConfigurationRejectsWithInvalidSpecifierName()
303 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE)); in testUpdateConfigurationAddsSpecifierWhenNotSet()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt122 setNetworkSpecifier(specifier1) in <lambda>()
241 setNetworkSpecifier(specifier1) in <lambda>()
245 setNetworkSpecifier(specifier2) in <lambda>()
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/
DTapTestNetworkTracker.java141 .setNetworkSpecifier(new TestNetworkSpecifier(getInterfaceName())) in newNetworkRequest()
149 .setNetworkSpecifier(new TestNetworkSpecifier(getInterfaceName())); in newNetworkCapabilities()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DIwlanNetworkStatusTrackerTest.java221 builder.setNetworkSpecifier(new TelephonyNetworkSpecifier(subId)); in prepareNetworkCapabilitiesForTest()
276 .setNetworkSpecifier(tns) in testDefaultNetworkCallback()
362 .setNetworkSpecifier(tns) in testUnregisterIwlanNetworksChanged()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java75 .setNetworkSpecifier(ifname) in setupAndGetTestNetwork()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DConfigurationUpdater.java88 .setNetworkSpecifier(new EthernetNetworkSpecifier(iface)); in getCapabilities()
DMainActivity.java252 .setNetworkSpecifier(specifier) in checkNetworkConnectionAvailable()
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/
DCBS.java110 builder.setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in onCreateView()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketBridge.kt122 .setNetworkSpecifier(TestNetworkSpecifier(testIface.interfaceName)) in createTestNetwork()
DTestNetworkTracker.kt129 .setNetworkSpecifier(CompatUtil.makeTestNetworkSpecifier(iface.interfaceName))
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java327 public void setNetworkSpecifier(NetworkSpecifier networkSpecifier) { in setNetworkSpecifier() method in NetworkAgentWrapper
328 mNetworkCapabilities.setNetworkSpecifier(networkSpecifier); in setNetworkSpecifier()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequestCallback.java105 .setNetworkSpecifier(telephonyManager.getNetworkSpecifier()); in createNetworkRequest()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java220 nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface)); in validateOrSetNetworkSpecifier()
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java300 .setNetworkSpecifier(new TelephonyNetworkSpecifier.Builder() in MmsNetworkManager()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanNetworkServiceTest.java172 builder.setNetworkSpecifier(new TelephonyNetworkSpecifier(subId)); in prepareCellularNetworkCapabilitiesForTest()

123