Home
last modified time | relevance | path

Searched refs:mCtsNetUtils (Results 1 – 8 of 8) sorted by relevance

/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DIpSecManagerTunnelTest.java220 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testSecurityExceptionCreateTunnelInterfaceWithoutAppop()
235 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testSecurityExceptionBuildTunnelTransformWithoutAppop()
992 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1000 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1013 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1019 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1032 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1038 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1051 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
1057 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature());
[all …]
H A DIkev2VpnTest.java196 mCtsNetUtils.setAppopPrivileged(appop, allow); in setAppop()
259 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfilePsk()
277 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfileUsernamePassword()
295 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfileDigitalSignature()
314 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in verifyProvisionVpnProfile()
327 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileNoPreviousConsent()
335 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfilePlatformVpnConsented()
343 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileVpnServiceConsented()
351 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileAllPreConsented()
359 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testDeleteVpnProfile()
[all …]
H A DBatteryStatsManagerTest.java78 private CtsNetUtils mCtsNetUtils; field in BatteryStatsManagerTest
87 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()
117 mCtsNetUtils.ensureWifiDisconnected(null /* wifiNetworkToCheck */); in testReportNetworkInterfaceForTransports()
137 final Network cellNetwork = mCtsNetUtils.connectToCell(); in verifyGetCellBatteryStats()
151 mCtsNetUtils.ensureWifiConnected(); in verifyGetCellBatteryStats()
161 final Network wifiNetwork = mCtsNetUtils.ensureWifiConnected(); in verifyGetWifiBatteryStats()
176 mCtsNetUtils.toggleWifi(); in verifyGetWifiBatteryStats()
190 Network wifiNetwork = mCtsNetUtils.ensureWifiConnected(); in testReportNetworkInterfaceForTransports_throwsSecurityException()
H A DMultinetworkApiTest.java61 private CtsNetUtils mCtsNetUtils; field in MultinetworkApiTest
70 mCtsNetUtils = new CtsNetUtils(getContext()); in setUp()
227 mCtsNetUtils.storePrivateDnsSetting(); in testResNApiNXDomainPrivateDns()
231 mCtsNetUtils.setPrivateDnsStrictMode(GOOGLE_PRIVATE_DNS_SERVER); in testResNApiNXDomainPrivateDns()
234 mCtsNetUtils.awaitPrivateDnsSetting("NxDomain test wait private DNS setting timeout", in testResNApiNXDomainPrivateDns()
239 mCtsNetUtils.restorePrivateDnsSetting(); in testResNApiNXDomainPrivateDns()
H A DConnectivityManagerTest.java284 private CtsNetUtils mCtsNetUtils; field in ConnectivityManagerTest
368 mCtsNetUtils.disconnectFromCell(); in tearDown()
717 mCtsNetUtils.storePrivateDnsSetting(); in testIsPrivateDnsBroken()
776 mCtsNetUtils.ensureWifiConnected(); in testRegisterNetworkCallback()
849 mCtsNetUtils.ensureWifiConnected(); in testRegisterNetworkCallback_withPendingIntent()
950 mCtsNetUtils.ensureWifiConnected(); in runIdenticalPendingIntentsRequestTest()
1026 mCtsNetUtils.connectToWifi(); in testRequestNetworkCallback_onUnavailable()
1049 mCtsNetUtils.toggleWifi(); in testToggleWifiConnectivityAction()
1151 mCtsNetUtils.ensureWifiConnected(); in setWifiMeteredStatusAndWait()
1208 mCtsNetUtils.ensureWifiConnected(); in testGetMultipathPreference()
[all …]
H A DDnsResolverTest.java97 private CtsNetUtils mCtsNetUtils; field in DnsResolverTest
114 mCtsNetUtils = new CtsNetUtils(getContext()); in setUp()
115 mCtsNetUtils.storePrivateDnsSetting(); in setUp()
121 mCtsNetUtils.restorePrivateDnsSetting(); in tearDown()
148 mCtsNetUtils.ensureWifiConnected(); in getTestableNetworks()
422 mCtsNetUtils.setPrivateDnsStrictMode(GOOGLE_PRIVATE_DNS_SERVER); in doTestRawQueryNXDomainWithPrivateDns()
427 mCtsNetUtils.awaitPrivateDnsSetting(msg + " wait private DNS setting timeout", in doTestRawQueryNXDomainWithPrivateDns()
693 mCtsNetUtils.setPrivateDnsStrictMode(INVALID_PRIVATE_DNS_SERVER); in testPrivateDnsBypass()
701 mCtsNetUtils.awaitPrivateDnsSetting(msg + " wait private DNS setting timeout", in testPrivateDnsBypass()
/aosp12/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
H A DConnectivityManagerApi23Test.java46 private CtsNetUtils mCtsNetUtils; field in ConnectivityManagerApi23Test
54 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()
67 mCtsNetUtils.toggleWifi(); in testConnectivityChanged_manifestRequestOnly_shouldNotReceiveIntent()
90 mCtsNetUtils.toggleWifi(); in testConnectivityChanged_manifestRequestOnlyPreN_shouldReceiveIntent()
108 mCtsNetUtils.toggleWifi(); in testConnectivityChanged_whenRegistered_shouldReceiveIntent()
/aosp12/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
H A DTetheringManagerTest.java95 private CtsNetUtils mCtsNetUtils; field in TetheringManagerTest
120 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()
427 mCtsNetUtils.ensureWifiDisconnected(null); in testTetheringUpstream()
463 mCtsNetUtils.connectToWifi(); in testTetheringUpstream()