Searched refs:mCtsNetUtils (Results 1 – 8 of 8) sorted by relevance
220 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 …]
196 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 …]
78 private CtsNetUtils mCtsNetUtils; field in BatteryStatsManagerTest87 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()
61 private CtsNetUtils mCtsNetUtils; field in MultinetworkApiTest70 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()
284 private CtsNetUtils mCtsNetUtils; field in ConnectivityManagerTest368 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 …]
97 private CtsNetUtils mCtsNetUtils; field in DnsResolverTest114 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()
46 private CtsNetUtils mCtsNetUtils; field in ConnectivityManagerApi23Test54 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()
95 private CtsNetUtils mCtsNetUtils; field in TetheringManagerTest120 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()427 mCtsNetUtils.ensureWifiDisconnected(null); in testTetheringUpstream()463 mCtsNetUtils.connectToWifi(); in testTetheringUpstream()