/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 | 36 import android.net.ProxyInfo; 105 public void onPacProxyInstalled(Network network, ProxyInfo proxy) { in onPacProxyInstalled() 118 private final ProxyInfo mProxy; 120 ProxyBroadcastReceiver(ProxyInfo proxy) { in ProxyBroadcastReceiver() 126 final ProxyInfo proxy = (ProxyInfo) intent.getExtra(Proxy.EXTRA_PROXY_INFO, in onReceive() 127 ProxyInfo.buildPacProxy(Uri.EMPTY)); in onReceive() 167 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; 51 private ProxyInfo mProxy; 64 mProxy = ProxyInfo.buildDirectProxy("test", 8888); in setUp()
|
D | Ikev2VpnTest.java | 45 import android.net.ProxyInfo; 155 private static final ProxyInfo TEST_PROXY_INFO = 156 ProxyInfo.buildDirectProxy("proxy.cts.android.com", 1234);
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ProxyInfo.java | 44 public class ProxyInfo implements Parcelable { class 69 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() 70 return new ProxyInfo(host, port, null); in buildDirectProxy() 82 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() 84 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy() 91 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy() 92 return new ProxyInfo(pacUri); in buildPacProxy() 100 public static ProxyInfo buildPacProxy(@NonNull Uri pacUrl, int port) { in buildPacProxy() 101 return new ProxyInfo(pacUrl, port); in buildPacProxy() 109 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo [all …]
|
D | IpConfiguration.java | 83 public ProxyInfo httpProxy; 88 ProxyInfo httpProxy) { in init() 94 null : new ProxyInfo(httpProxy); in init() 106 ProxyInfo httpProxy) { in IpConfiguration() 142 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy() 146 public void setHttpProxy(@Nullable ProxyInfo httpProxy) { in setHttpProxy()
|
D | IConnectivityManager.aidl | 39 import android.net.ProxyInfo; 122 ProxyInfo getGlobalProxy(); in getGlobalProxy() 124 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy() 126 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
|
D | ConnectivitySettingsManager.java | 666 public static ProxyInfo getGlobalProxy(@NonNull Context context) { in getGlobalProxy() 681 return ProxyInfo.buildDirectProxy( in getGlobalProxy() 684 return ProxyInfo.buildPacProxy(Uri.parse(pacFileUrl)); in getGlobalProxy() 696 public static void setGlobalProxy(@NonNull Context context, @NonNull ProxyInfo proxyInfo) { in setGlobalProxy()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ProxyTracker.java | 33 import android.net.ProxyInfo; 73 private ProxyInfo mGlobalProxy = null; 81 private volatile ProxyInfo mDefaultProxy = null; 97 public void onPacProxyInstalled(@Nullable Network network, @NonNull ProxyInfo proxy) { in onPacProxyInstalled() 119 private static ProxyInfo canonicalizeProxyInfo(@Nullable final ProxyInfo proxy) { in canonicalizeProxyInfo() 136 public static boolean proxyInfoEqual(@Nullable final ProxyInfo a, @Nullable final ProxyInfo b) { in proxyInfoEqual() 137 final ProxyInfo pa = canonicalizeProxyInfo(a); in proxyInfoEqual() 138 final ProxyInfo pb = canonicalizeProxyInfo(b); in proxyInfoEqual() 155 public ProxyInfo getDefaultProxy() { in getDefaultProxy() 170 public ProxyInfo getGlobalProxy() { in getGlobalProxy() [all …]
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 53 import android.net.ProxyInfo; 250 String disallowedApplications, @Nullable ProxyInfo proxyInfo, in startVpn() 855 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testSetProxy() 861 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxy() 894 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testSetProxyDisallowedApps() 901 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxyDisallowedApps() 913 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testNoProxy() 949 ProxyInfo initialProxy = mCM.getDefaultProxy(); in testBindToNetworkWithProxy() 950 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testBindToNetworkWithProxy() 1157 private void assertDefaultProxy(ProxyInfo expected) { in assertDefaultProxy() [all …]
|
D | MyVpnService.java | 21 import android.net.ProxyInfo; 135 ProxyInfo vpnProxy = intent.getParcelableExtra(packageName + ".httpProxy"); in start()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/ |
D | LinkPropertiesParcelableUtil.java | 21 import android.net.ProxyInfo; 44 public static ProxyInfo toStableParcelable(@Nullable ProxyInfo info) { in toStableParcelable()
|
/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/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/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/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IIpClient.aidl | 19 import android.net.ProxyInfo; 33 void setHttpProxy(in ProxyInfo proxyInfo); in setHttpProxy()
|
D | IpClientManager.java | 22 import android.net.ProxyInfo; 187 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
|
/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/framework/api/ |
D | current.txt | 77 method @Nullable public android.net.ProxyInfo getDefaultProxy(); 235 method @Nullable public android.net.ProxyInfo getHttpProxy(); 247 method public void setHttpProxy(@Nullable android.net.ProxyInfo); 420 public class ProxyInfo implements android.os.Parcelable { 421 ctor public ProxyInfo(@Nullable android.net.ProxyInfo); 422 method public static android.net.ProxyInfo buildDirectProxy(String, int); 423 …method public static android.net.ProxyInfo buildDirectProxy(String, int, java.util.List<java.lang.… 424 method public static android.net.ProxyInfo buildPacProxy(android.net.Uri); 425 … method @NonNull public static android.net.ProxyInfo buildPacProxy(@NonNull android.net.Uri, int); 433 field @NonNull public static final android.os.Parcelable.Creator<android.net.ProxyInfo> CREATOR;
|
D | module-lib-current.txt | 11 method @Nullable public android.net.ProxyInfo getGlobalProxy(); 20 …oid.Manifest.permission.NETWORK_STACK) public void setGlobalProxy(@Nullable android.net.ProxyInfo); 57 …method @Nullable public static android.net.ProxyInfo getGlobalProxy(@NonNull android.content.Conte… 77 …ublic static void setGlobalProxy(@NonNull android.content.Context, @NonNull android.net.ProxyInfo);
|
/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/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/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 25 import android.net.ProxyInfo; 671 ProxyInfo.buildDirectProxy( in parseIpConfigurationFromXml() 681 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseIpConfigurationFromXml()
|