/frameworks/base/core/java/android/net/ |
D | ProxyInfo.java | 41 public class ProxyInfo implements Parcelable { class 66 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() 67 return new ProxyInfo(host, port, null); in buildDirectProxy() 79 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() 81 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy() 88 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy() 89 return new ProxyInfo(pacUri); in buildPacProxy() 97 public static ProxyInfo buildPacProxy(@NonNull Uri pacUrl, int port) { in buildPacProxy() 98 return new ProxyInfo(pacUrl, port); in buildPacProxy() 106 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo [all …]
|
D | IpConfiguration.java | 82 public ProxyInfo httpProxy; 87 ProxyInfo httpProxy) { in init() 93 null : new ProxyInfo(httpProxy); in init() 105 ProxyInfo httpProxy) { in IpConfiguration() 141 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy() 145 public void setHttpProxy(@Nullable ProxyInfo httpProxy) { in setHttpProxy()
|
D | IConnectivityManager.aidl | 32 import android.net.ProxyInfo; 115 ProxyInfo getGlobalProxy(); in getGlobalProxy() 117 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy() 119 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
|
D | ProxyInfo.aidl | 20 @JavaOnlyStableParcelable parcelable ProxyInfo;
|
D | Ikev2VpnProfile.java | 101 @Nullable private final ProxyInfo mProxyInfo; 118 @Nullable ProxyInfo proxyInfo, in Ikev2VpnProfile() 139 mProxyInfo = new ProxyInfo(proxyInfo); in Ikev2VpnProfile() 312 public ProxyInfo getProxyInfo() { in getProxyInfo() 639 @Nullable private ProxyInfo mProxyInfo; 793 public Builder setProxy(@Nullable ProxyInfo proxy) { in setProxy()
|
D | LinkProperties.java | 69 private ProxyInfo mHttpProxy; 194 mHttpProxy = (source.mHttpProxy == null) ? null : new ProxyInfo(source.mHttpProxy); in LinkProperties() 793 public void setHttpProxy(@Nullable ProxyInfo proxy) { in setHttpProxy() 802 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy()
|
D | Proxy.java | 245 public static final void setHttpProxySystemProperty(ProxyInfo p) { in setHttpProxySystemProperty()
|
D | Network.java | 326 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
|
D | VpnService.java | 535 public Builder setHttpProxy(@NonNull ProxyInfo proxyInfo) { in setHttpProxy()
|
D | ConnectivityManager.java | 3003 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy() 3018 public ProxyInfo getGlobalProxy() { in getGlobalProxy() 3040 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork() 3058 public ProxyInfo getDefaultProxy() { in getDefaultProxy()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | ProxyTracker.java | 31 import android.net.ProxyInfo; 63 private ProxyInfo mGlobalProxy = null; 71 private volatile ProxyInfo mDefaultProxy = null; 93 private static ProxyInfo canonicalizeProxyInfo(@Nullable final ProxyInfo proxy) { in canonicalizeProxyInfo() 110 public static boolean proxyInfoEqual(@Nullable final ProxyInfo a, @Nullable final ProxyInfo b) { in proxyInfoEqual() 111 final ProxyInfo pa = canonicalizeProxyInfo(a); in proxyInfoEqual() 112 final ProxyInfo pb = canonicalizeProxyInfo(b); in proxyInfoEqual() 129 public ProxyInfo getDefaultProxy() { in getDefaultProxy() 144 public ProxyInfo getGlobalProxy() { in getGlobalProxy() 164 ProxyInfo proxyProperties; in loadGlobalProxy() [all …]
|
D | PacManager.java | 28 import android.net.ProxyInfo; 180 synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { in setCurrentProxyScriptUrl() 384 private void sendPacBroadcast(ProxyInfo proxy) { in sendPacBroadcast() 393 sendPacBroadcast(new ProxyInfo(mPacUrl, mLastPort)); in sendProxyIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 24 import android.net.ProxyInfo; 125 ProxyInfo proxyProperties = config.httpProxy; in writeConfig() 140 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig() 370 ProxyInfo proxyInfo = in readIpConfigurations() 371 new ProxyInfo(proxyHost, proxyPort, exclusionList); in readIpConfigurations() 376 ProxyInfo proxyPacProperties = new ProxyInfo(Uri.parse(pacFileUrl)); in readIpConfigurations()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | IpConfigStoreTest.java | 28 import android.net.ProxyInfo; 85 ProxyInfo proxyInfo = new ProxyInfo("10.10.10.10", 88, "host1,host2"); in staticIpMultiNetworks()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpClientManager.java | 22 import android.net.ProxyInfo; 184 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 23 import android.net.ProxyInfo; 127 public ProxyInfo proxy = null; // 15~18 288 profile.proxy = new ProxyInfo(host, port.isEmpty() ? in decode() 291 profile.proxy = new ProxyInfo(Uri.parse(pacFileUrl)); in decode()
|
D | VpnConfig.java | 31 import android.net.ProxyInfo; 110 public ProxyInfo proxyInfo;
|
/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | LinkPropertiesUtilsTest.java | 27 import android.net.ProxyInfo; 77 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in createTestObject() 159 target.setHttpProxy(ProxyInfo.buildDirectProxy("hello", 8888)); in testLinkPropertiesIdenticalEqual()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 28 import android.net.ProxyInfo; 2297 public ProxyInfo getHttpProxy() { in getHttpProxy() 2301 return new ProxyInfo(mIpConfiguration.httpProxy); in getHttpProxy() 2315 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy() 2321 ProxyInfo httpProxyCopy; in setHttpProxy() 2326 httpProxyCopy = new ProxyInfo(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy() 2330 httpProxyCopy = new ProxyInfo(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy() 2342 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 24 import android.net.ProxyInfo; 553 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseIpConfigurationFromXml() 561 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseIpConfigurationFromXml()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 24 import android.net.ProxyInfo; 190 ProxyInfo proxyInfo = null; in generateIpConfig() 223 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig() 226 proxyInfo = ProxyInfo.buildPacProxy(Uri.parse(pacProxyPath)); in generateIpConfig()
|
/frameworks/base/tests/net/java/android/net/ |
D | Ikev2VpnProfileTest.java | 70 private final ProxyInfo mProxy = new ProxyInfo(SERVER_ADDR_STRING, -1, EXCL_LIST);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 26 import android.net.ProxyInfo; 944 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseFromXml() 950 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseFromXml()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 34 import android.net.ProxyInfo; 107 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 154 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeTestObject() 1023 source.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeLinkPropertiesForParceling() 1165 assertTrue(lp.getHttpProxy().equals(ProxyInfo.buildDirectProxy("test", 8888))); in testHttpProxy()
|