Searched refs:testProxyInfo (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1395 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxy() local 1398 testProxyInfo, null /* underlyingNetworks */, false /* isAlwaysMetered */); in testSetProxy() 1409 assertNetworkHasExpectedProxy(testProxyInfo, mNetwork); in testSetProxy() 1410 assertDefaultProxy(testProxyInfo); in testSetProxy() 1441 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxyDisallowedApps() local 1444 testProxyInfo, null /* underlyingNetworks */, false /* isAlwaysMetered */); in testSetProxyDisallowedApps() 1490 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testBindToNetworkWithProxy() local 1496 testProxyInfo, null /* underlyingNetworks */, false /* isAlwaysMetered */); in testBindToNetworkWithProxy() 1498 assertDefaultProxy(testProxyInfo); in testBindToNetworkWithProxy()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 11748 final ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("test", 8888); 11751 mProxyTracker.setGlobalProxy(testProxyInfo); 11752 assertEquals(testProxyInfo, mService.getProxyForNetwork(wifiNetwork)); 11757 final ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("test", 8888); 11764 testLinkProperties.setHttpProxy(testProxyInfo); 11769 assertEquals(testProxyInfo, mService.getProxyForNetwork(null)); 12046 final ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("test", 8888); 12056 testLinkProperties.setHttpProxy(testProxyInfo); 12061 assertEquals(testProxyInfo, mService.getProxyForNetwork(mMockVpn.getNetwork())); 12062 assertEquals(testProxyInfo, mService.getProxyForNetwork(null)); [all …]
|