Searched refs:ProxyInfo (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/net/
H A DProxyInfo.aidl20 parcelable ProxyInfo;
H A DProxyInfo.java39 public class ProxyInfo implements Parcelable { class in inherits:Parcelable
61 * Constructs a {@link ProxyInfo} object that points at a Direct proxy
64 public static ProxyInfo buildDirectProxy(String host, int port) {
65 return new ProxyInfo(host, port, null);
69 * Constructs a {@link ProxyInfo} object that points at a Direct proxy
77 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) {
79 return new ProxyInfo(host, port, TextUtils.join(",", array), array);
83 * Construct a {@link ProxyInfo} that will download and run the PAC script
86 public static ProxyInfo buildPacProxy(Uri pacUri) {
87 return new ProxyInfo(pacUr
94 public ProxyInfo(String host, int port, String exclList) { method in class:ProxyInfo
105 public ProxyInfo(Uri pacFileUrl) { method in class:ProxyInfo
119 public ProxyInfo(String pacFileUrl) { method in class:ProxyInfo
130 public ProxyInfo(Uri pacFileUrl, int localProxyPort) { method in class:ProxyInfo
140 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { method in class:ProxyInfo
152 public ProxyInfo(ProxyInfo source) { method in class:ProxyInfo
[all...]
H A DIpConfiguration.java64 public ProxyInfo httpProxy;
69 ProxyInfo httpProxy) {
75 null : new ProxyInfo(httpProxy);
85 ProxyInfo httpProxy) {
121 public ProxyInfo getHttpProxy() {
125 public void setHttpProxy(ProxyInfo httpProxy) {
H A DIConnectivityManager.aidl28 import android.net.ProxyInfo;
104 ProxyInfo getGlobalProxy();
106 void setGlobalProxy(in ProxyInfo p);
108 ProxyInfo getProxyForNetwork(in Network nework);
H A DLinkProperties.java21 import android.net.ProxyInfo;
56 private ProxyInfo mHttpProxy;
157 null : new ProxyInfo(source.getHttpProxy());
520 * Sets the recommended {@link ProxyInfo} to use on this link, or {@code null} for none.
524 * @param proxy A {@link ProxyInfo} defining the HTTP Proxy to use on this link.
527 public void setHttpProxy(ProxyInfo proxy) {
532 * Gets the recommended {@link ProxyInfo} (or {@code null}) set on this link.
534 * @return The {@link ProxyInfo} set on this link
536 public ProxyInfo getHttpProxy() {
1175 netProp.setHttpProxy((ProxyInfo)i
[all...]
H A DNetwork.java252 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this);
H A DProxy.java53 * It describes the new proxy being used (as a {@link ProxyInfo} object).
237 public static final void setHttpProxySystemProperty(ProxyInfo p) {
H A DConnectivityManager.java2316 * @param p A {@link ProxyInfo} object defining the new global
2320 public void setGlobalProxy(ProxyInfo p) {
2331 * @return {@link ProxyInfo} for the current global HTTP proxy or {@code null}
2335 public ProxyInfo getGlobalProxy() {
2349 * @return {@link ProxyInfo} for the current global HTTP proxy, or if no
2350 * global HTTP proxy is set, {@code ProxyInfo} for {@code network},
2352 * the {@code ProxyInfo} for the default active network. Returns
2357 public ProxyInfo getProxyForNetwork(Network network) {
2371 * @return the {@link ProxyInfo} for the current HTTP proxy, or {@code null} if no
2374 public ProxyInfo getDefaultProx
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java24 import android.net.ProxyInfo;
115 ProxyInfo proxyProperties = config.httpProxy;
130 ProxyInfo proxyPacProperties = config.httpProxy;
290 ProxyInfo proxyInfo =
291 new ProxyInfo(proxyHost, proxyPort, exclusionList);
296 ProxyInfo proxyPacProperties = new ProxyInfo(pacFileUrl);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java27 import android.net.ProxyInfo;
168 public synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) {
386 private void sendPacBroadcast(ProxyInfo proxy) {
395 sendPacBroadcast(new ProxyInfo(mPacUrl, mLastPort));
H A DNetworkMonitor.java33 import android.net.ProxyInfo;
656 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcAsyncChannel.java26 import android.net.ProxyInfo;
287 public void reqSetLinkPropertiesHttpProxy(ProxyInfo proxy) {
295 public void setLinkPropertiesHttpProxySync(ProxyInfo proxy) {
H A DDataConnection.java41 import android.net.ProxyInfo;
276 void setLinkPropertiesHttpProxy(ProxyInfo proxy) {
1160 ProxyInfo proxy = (ProxyInfo) msg.obj;
H A DDcTracker.java40 import android.net.ProxyInfo;
2889 ProxyInfo proxy = new ProxyInfo(apn.proxy,
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java74 import android.net.ProxyInfo;
429 private volatile ProxyInfo mDefaultProxy = null;
434 private ProxyInfo mGlobalProxy = null;
2911 handleApplyDefaultProxy((ProxyInfo)msg.obj);
3186 private ProxyInfo getDefaultProxy() {
3192 ProxyInfo ret = mGlobalProxy;
3199 public ProxyInfo getProxyForNetwork(Network network) {
3201 final ProxyInfo globalProxy = getGlobalProxy();
3209 final ProxyInfo proxyInfo = nai.linkProperties.getHttpProxy();
3211 return new ProxyInfo(proxyInf
[all...]
/frameworks/base/services/net/java/android/net/ip/
H A DIpManager.java30 import android.net.ProxyInfo;
416 private ProxyInfo mHttpProxy;
557 public void setHttpProxy(ProxyInfo proxyInfo) {
1037 mHttpProxy = (ProxyInfo) msg.obj;
1277 mHttpProxy = (ProxyInfo) msg.obj;
H A DIpReachabilityMonitor.java25 import android.net.ProxyInfo;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java71 import android.net.ProxyInfo;
679 public ProxyInfo getProxyForNetwork(Network network) {
683 public void setGlobalProxy(ProxyInfo proxyProperties) {
687 public ProxyInfo getGlobalProxy() {
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl26 import android.net.ProxyInfo;
94 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo);
H A DDevicePolicyManager.java38 import android.net.ProxyInfo;
2566 * @see ProxyInfo
2568 * @param proxyInfo The a {@link ProxyInfo} object defining the new global HTTP proxy. A
2572 public void setRecommendedGlobalProxy(@NonNull ComponentName admin, @Nullable ProxyInfo
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java23 import android.net.ProxyInfo;
1800 public ProxyInfo getHttpProxy() {
1805 public void setHttpProxy(ProxyInfo httpProxy) {
1810 public void setProxy(ProxySettings settings, ProxyInfo proxy) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigManager.java33 import android.net.ProxyInfo;
1582 * @return ProxyInfo for the network id
1584 ProxyInfo getProxyProperties(int netId) {
2840 ProxyInfo newHttpProxy = newConfig.getHttpProxy();
2841 ProxyInfo currentHttpProxy = currentConfig.getHttpProxy();
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java80 import android.net.ProxyInfo;
5084 public void setRecommendedGlobalProxy(ComponentName who, ProxyInfo proxyInfo) {
5129 ProxyInfo proxyProperties = new ProxyInfo(data[0], proxyPort, exclusionList);
/frameworks/base/core/java/android/app/
H A DActivityThread.java56 import android.net.ProxyInfo;
5262 final ProxyInfo proxyInfo = service.getProxyForNetwork(null);
/frameworks/base/
H A DAndroid.mk608 frameworks/base/core/java/android/net/ProxyInfo.aidl \

Completed in 894 milliseconds

12