Searched refs:mCtsNetUtils (Results 1 – 7 of 7) sorted by relevance
104 private static final CtsNetUtils mCtsNetUtils = new CtsNetUtils(sContext); field in IpSecManagerTunnelTest117 mCtsNetUtils.setAppopPrivileged(OP_MANAGE_IPSEC_TUNNELS, true); in setUpBeforeClass()127 sTunNetworkCallback = mCtsNetUtils.setupAndGetTestNetwork(testIface.getInterfaceName()); in setUpBeforeClass()140 mCtsNetUtils.setAppopPrivileged(OP_MANAGE_IPSEC_TUNNELS, true); in setUp()148 mCtsNetUtils.setAppopPrivileged(OP_MANAGE_IPSEC_TUNNELS, false); in tearDownAfterClass()162 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testSecurityExceptionCreateTunnelInterfaceWithoutAppop()165 mCtsNetUtils.setAppopPrivileged(OP_MANAGE_IPSEC_TUNNELS, false); in testSecurityExceptionCreateTunnelInterfaceWithoutAppop()177 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testSecurityExceptionBuildTunnelTransformWithoutAppop()180 mCtsNetUtils.setAppopPrivileged(OP_MANAGE_IPSEC_TUNNELS, false); in testSecurityExceptionBuildTunnelTransformWithoutAppop()585 testNetworkCb = mCtsNetUtils.setupAndGetTestNetwork(tunnelIface.getInterfaceName());[all …]
171 private static final CtsNetUtils mCtsNetUtils = new CtsNetUtils(sContext); field in Ikev2VpnTest198 mCtsNetUtils.setAppopPrivileged(appop, allow); in setAppop()261 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfilePsk()279 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfileUsernamePassword()297 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testBuildIkev2VpnProfileDigitalSignature()316 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in verifyProvisionVpnProfile()329 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileNoPreviousConsent()337 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfilePlatformVpnConsented()345 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileVpnServiceConsented()353 assumeTrue(mCtsNetUtils.hasIpsecTunnelsFeature()); in testProvisionVpnProfileAllPreConsented()[all …]
61 private CtsNetUtils mCtsNetUtils; field in MultinetworkApiTest70 mCtsNetUtils = new CtsNetUtils(getContext()); in setUp()225 mCtsNetUtils.storePrivateDnsSetting(); in testResNApiNXDomainPrivateDns()229 mCtsNetUtils.setPrivateDnsStrictMode(GOOGLE_PRIVATE_DNS_SERVER); in testResNApiNXDomainPrivateDns()232 mCtsNetUtils.awaitPrivateDnsSetting("NxDomain test wait private DNS setting timeout", in testResNApiNXDomainPrivateDns()237 mCtsNetUtils.restorePrivateDnsSetting(); in testResNApiNXDomainPrivateDns()
93 private CtsNetUtils mCtsNetUtils; field in DnsResolverTest109 mCtsNetUtils = new CtsNetUtils(getContext()); in setUp()110 mCtsNetUtils.storePrivateDnsSetting(); in setUp()115 mCtsNetUtils.restorePrivateDnsSetting(); in tearDown()402 mCtsNetUtils.setPrivateDnsStrictMode(GOOGLE_PRIVATE_DNS_SERVER); in doTestRawQueryNXDomainWithPrivateDns()407 mCtsNetUtils.awaitPrivateDnsSetting(msg + " wait private DNS setting timeout", in doTestRawQueryNXDomainWithPrivateDns()671 mCtsNetUtils.setPrivateDnsStrictMode(INVALID_PRIVATE_DNS_SERVER); in testPrivateDnsBypass()679 mCtsNetUtils.awaitPrivateDnsSetting(msg + " wait private DNS setting timeout", in testPrivateDnsBypass()
180 private CtsNetUtils mCtsNetUtils; field in ConnectivityManagerTest189 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()213 mCtsNetUtils.disconnectFromWifi(null); in tearDown()215 if (mCtsNetUtils.cellConnectAttempted()) { in tearDown()216 mCtsNetUtils.disconnectFromCell(); in tearDown()228 return mCtsNetUtils.connectToWifi(); in ensureWifiConnected()344 Network wifiNetwork = mCtsNetUtils.connectToWifi(); in testOpenConnection()345 Network cellNetwork = mCtsNetUtils.connectToCell(); in testOpenConnection()600 mCtsNetUtils.disconnectFromWifi(null); in testRequestNetworkCallback_onUnavailable()617 mCtsNetUtils.connectToWifi(); in testRequestNetworkCallback_onUnavailable()[all …]
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()
102 private CtsNetUtils mCtsNetUtils; field in TetheringManagerTest126 mCtsNetUtils = new CtsNetUtils(mContext); in setUp()760 mCtsNetUtils.disconnectFromWifi(null); in testTetheringUpstream()796 mCtsNetUtils.connectToWifi(); in testTetheringUpstream()