/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ProxyInfoTest.java | 25 import android.net.ProxyInfo; 59 final ProxyInfo proxy = new ProxyInfo((ProxyInfo) null); in testConstructor() 62 assertEquals(proxy, new ProxyInfo(proxy)); in testConstructor() 67 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testBuildDirectProxy() 77 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT, exclList); in testBuildDirectProxy() 87 final ProxyInfo proxy1 = ProxyInfo.buildPacProxy(TEST_URI); in testBuildPacProxy() 95 final ProxyInfo proxy2 = ProxyInfo.buildPacProxy(TEST_URI, TEST_PORT); in testBuildPacProxy() 106 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testIsValid() 110 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy("", TEST_PORT); in testIsValid() 113 final ProxyInfo proxy3 = ProxyInfo.buildDirectProxy(".invalid.com", TEST_PORT); in testIsValid() [all …]
|
D | PacProxyManagerTest.java | 38 import android.net.ProxyInfo; 115 public void onPacProxyInstalled(Network network, ProxyInfo proxy) { in onPacProxyInstalled() 128 private final ProxyInfo mProxy; 130 ProxyBroadcastReceiver(ProxyInfo proxy) { in ProxyBroadcastReceiver() 136 final ProxyInfo proxy = (ProxyInfo) intent.getExtra(Proxy.EXTRA_PROXY_INFO, in onReceive() 137 ProxyInfo.buildPacProxy(Uri.EMPTY)); in onReceive() 177 final ProxyInfo proxy = ProxyInfo.buildPacProxy(pacProxyUrl); in testSetCurrentProxyScriptUrl()
|
D | ProxyTest.kt | 20 import android.net.ProxyInfo 58 private fun verifyProxySystemProperties(info: ProxyInfo) { in verifyProxySystemProperties() 71 private fun getDefaultProxy(): ProxyInfo? { in getDefaultProxy() 79 val info = ProxyInfo.buildDirectProxy( in testSetHttpProxyConfiguration_DirectProxy() 94 val pacInfo = ProxyInfo.buildPacProxy(Uri.parse("http://testpac.android.com/pac.pac")) in testSetHttpProxyConfiguration_PacProxy()
|
D | IpConfigurationTest.java | 26 import android.net.ProxyInfo; 56 private ProxyInfo mProxy; 72 mProxy = ProxyInfo.buildDirectProxy("test", 8888); in setUp()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ProxyInfo.java | 44 public class ProxyInfo implements Parcelable { class 71 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() 72 return new ProxyInfo(host, port, null); in buildDirectProxy() 84 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() 86 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy() 93 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy() 94 return new ProxyInfo(pacUri); in buildPacProxy() 102 public static ProxyInfo buildPacProxy(@NonNull Uri pacUrl, int port) { in buildPacProxy() 103 return new ProxyInfo(pacUrl, port); in buildPacProxy() 111 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo [all …]
|
D | IpConfiguration.java | 85 public ProxyInfo httpProxy; 90 ProxyInfo httpProxy) { in init() 96 null : new ProxyInfo(httpProxy); in init() 110 ProxyInfo httpProxy) { in IpConfiguration() 170 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy() 176 public void setHttpProxy(@Nullable ProxyInfo httpProxy) { in setHttpProxy() 259 private ProxyInfo mProxyInfo; 278 public @NonNull Builder setHttpProxy(@Nullable ProxyInfo proxyInfo) { in setHttpProxy()
|
D | IConnectivityManager.aidl | 41 import android.net.ProxyInfo; 129 ProxyInfo getGlobalProxy(); in getGlobalProxy() 131 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy() 133 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
|
D | ConnectivitySettingsManager.java | 679 public static ProxyInfo getGlobalProxy(@NonNull Context context) { in getGlobalProxy() 694 return ProxyInfo.buildDirectProxy( in getGlobalProxy() 697 return ProxyInfo.buildPacProxy(Uri.parse(pacFileUrl)); in getGlobalProxy() 719 public static void setGlobalProxy(@NonNull Context context, @NonNull ProxyInfo proxyInfo) { in setGlobalProxy()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ProxyTracker.java | 34 import android.net.ProxyInfo; 74 private ProxyInfo mGlobalProxy = null; 82 private volatile ProxyInfo mDefaultProxy = null; 99 public void onPacProxyInstalled(@Nullable Network network, @NonNull ProxyInfo proxy) { in onPacProxyInstalled() 124 private static ProxyInfo canonicalizeProxyInfo(@Nullable final ProxyInfo proxy) { in canonicalizeProxyInfo() 141 public static boolean proxyInfoEqual(@Nullable final ProxyInfo a, @Nullable final ProxyInfo b) { in proxyInfoEqual() 142 final ProxyInfo pa = canonicalizeProxyInfo(a); in proxyInfoEqual() 143 final ProxyInfo pb = canonicalizeProxyInfo(b); in proxyInfoEqual() 160 public ProxyInfo getDefaultProxy() { in getDefaultProxy() 175 public ProxyInfo getGlobalProxy() { in getGlobalProxy() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | GlobalHttpProxyPreferenceControllerTest.java | 28 import android.net.ProxyInfo; 54 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference() 64 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneWrite() 74 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneRead() 85 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneHidden()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | IpConfigStore.java | 24 import android.net.ProxyInfo; 133 ProxyInfo proxyProperties = config.getHttpProxy(); in writeConfig() 149 ProxyInfo proxyPacProperties = config.getHttpProxy(); in writeConfig() 401 ProxyInfo proxyInfo = ProxyInfo.buildDirectProxy(proxyHost, proxyPort, in readIpConfigurations() 407 ProxyInfo proxyPacProperties = in readIpConfigurations() 408 ProxyInfo.buildPacProxy(Uri.parse(pacFileUrl)); in readIpConfigurations()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | IpConfigStore.java | 26 import android.net.ProxyInfo; 206 ProxyInfo proxyInfo = ProxyInfo.buildDirectProxy( in readIpConfigurations() 213 ProxyInfo proxyPacProperties = in readIpConfigurations() 214 ProxyInfo.buildPacProxy(Uri.parse(pacFileUrl)); in readIpConfigurations()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | IpConfigStoreTestWriter.java | 21 import android.net.ProxyInfo; 93 ProxyInfo proxyProperties = config.httpProxy; in writeConfig() 108 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetConfigStoreTest.java | 29 import android.net.ProxyInfo; 59 private static final ProxyInfo PROXY_INFO = ProxyInfo.buildDirectProxy("test", 8888);
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | IpConfigStoreTest.java | 29 import android.net.ProxyInfo; 82 private static final ProxyInfo PROXY_INFO = 83 ProxyInfo.buildDirectProxy("10.10.10.10", 88, Arrays.asList("host1", "host2")); 178 ProxySettings proxySettings, StaticIpConfiguration staticIpConfig, ProxyInfo info) { in newIpConfiguration()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IIpClient.aidl | 19 import android.net.ProxyInfo; 79 void setHttpProxy(in ProxyInfo proxyInfo); in setHttpProxy()
|
D | IpClientManager.java | 22 import android.net.ProxyInfo; 188 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ProxySelector.java | 26 import android.net.ProxyInfo; 152 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() 235 ProxyInfo p = ProxyInfo.buildDirectProxy( in saveToDb()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | GlobalHttpProxyPreferenceControllerTest.java | 25 import android.net.ProxyInfo; 58 when(mCm.getGlobalProxy()).thenReturn(ProxyInfo.buildDirectProxy("localhost", 123)); in testIsAvailable()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 86 import android.net.ProxyInfo; 381 @Nullable ProxyInfo proxyInfo, @Nullable ArrayList<Network> underlyingNetworks, in establishVpn() 402 String disallowedApplications, @Nullable ProxyInfo proxyInfo, in startVpn() 412 @Nullable ProxyInfo proxyInfo, in startVpn() 422 @Nullable ProxyInfo proxyInfo, in startVpn() 1389 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testSetProxy() 1395 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxy() 1428 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testSetProxyDisallowedApps() 1441 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxyDisallowedApps() 1453 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testNoProxy() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AdvancedOptionsFlowInfo.java | 21 import android.net.ProxyInfo; 205 public ProxyInfo getInitialProxyInfo() { in getInitialProxyInfo()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 92 Landroid/net/ConnectivityManager;->getGlobalProxy()Landroid/net/ProxyInfo; 98 Landroid/net/ConnectivityManager;->getProxyForNetwork(Landroid/net/Network;)Landroid/net/ProxyInfo; 132 Landroid/net/ConnectivityManager;->setGlobalProxy(Landroid/net/ProxyInfo;)V 185 Landroid/net/IConnectivityManager$Stub$Proxy;->getGlobalProxy()Landroid/net/ProxyInfo; 198 …/IConnectivityManager$Stub$Proxy;->getProxyForNetwork(Landroid/net/Network;)Landroid/net/ProxyInfo; 227 Landroid/net/IConnectivityManager$Stub$Proxy;->setGlobalProxy(Landroid/net/ProxyInfo;)V 332 Landroid/net/IConnectivityManager;->getGlobalProxy()Landroid/net/ProxyInfo; 342 Landroid/net/IConnectivityManager;->getProxyForNetwork(Landroid/net/Network;)Landroid/net/ProxyInfo; 367 Landroid/net/IConnectivityManager;->setGlobalProxy(Landroid/net/ProxyInfo;)V 393 Landroid/net/IpConfiguration;->getHttpProxy()Landroid/net/ProxyInfo; [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | AdvancedOptionsFlowUtil.java | 22 import android.net.ProxyInfo; 76 mIpConfiguration.setHttpProxy(ProxyInfo.buildDirectProxy(host, port, in processProxySettings()
|
/packages/modules/Connectivity/framework/aidl-export/android/net/ |
D | ProxyInfo.aidl | 20 @JavaOnlyStableParcelable parcelable ProxyInfo;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ip/ |
D | IIpClient.aidl | 10 oneway void setHttpProxy(in android.net.ProxyInfo proxyInfo); in setHttpProxy()
|