/frameworks/base/tests/CoreTests/android/core/ |
D | ProxyTest.java | 22 import android.net.Proxy; 38 String proxyHost = Proxy.getHost(mContext); in setUp() 39 int proxyPort = Proxy.getPort(mContext); in setUp() 54 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, null)); in testProxyGetPreferredHttpHost_UrlBad() 55 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "")); in testProxyGetPreferredHttpHost_UrlBad() 56 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:")); in testProxyGetPreferredHttpHost_UrlBad() 57 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad")); in testProxyGetPreferredHttpHost_UrlBad() 58 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:\\")); in testProxyGetPreferredHttpHost_UrlBad() 59 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad://#")); in testProxyGetPreferredHttpHost_UrlBad() 60 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "://#")); in testProxyGetPreferredHttpHost_UrlBad() [all …]
|
/frameworks/base/core/java/android/net/ |
D | PacProxySelector.java | 29 import java.net.Proxy; 30 import java.net.Proxy.Type; 43 private final List<Proxy> mDefaultList; 52 mDefaultList = Lists.newArrayList(java.net.Proxy.NO_PROXY); in PacProxySelector() 56 public List<Proxy> select(URI uri) { in select() 63 return Lists.newArrayList(java.net.Proxy.NO_PROXY); in select() 84 private static List<Proxy> parseResponse(String response) { in parseResponse() 86 List<Proxy> ret = Lists.newArrayList(); in parseResponse() 90 ret.add(java.net.Proxy.NO_PROXY); in parseResponse() 100 ret.add(new Proxy(Type.HTTP, InetSocketAddress.createUnresolved(host, port))); in parseResponse() [all …]
|
D | Proxy.java | 44 public final class Proxy { class 100 public static final java.net.Proxy getProxy(Context ctx, String url) { in getProxy() 112 if (sConnectivityManager == null) return java.net.Proxy.NO_PROXY; in getProxy() 122 return java.net.Proxy.NO_PROXY; in getProxy() 136 java.net.Proxy proxy = getProxy(ctx, null); in getHost() 137 if (proxy == java.net.Proxy.NO_PROXY) return null; in getHost() 153 java.net.Proxy proxy = getProxy(ctx, null); in getPort() 154 if (proxy == java.net.Proxy.NO_PROXY) return -1; in getPort() 208 java.net.Proxy prefProxy = getProxy(context, url); in getPreferredHttpHost() 209 if (prefProxy.equals(java.net.Proxy.NO_PROXY)) { in getPreferredHttpHost() [all …]
|
D | ProxyProperties.java | 145 Proxy.validate(mHost == null ? "" : mHost, mPort == 0 ? "" : Integer.toString(mPort), in isValid() 153 public java.net.Proxy makeProxy() { in makeProxy() 154 java.net.Proxy proxy = java.net.Proxy.NO_PROXY; in makeProxy() 158 proxy = new java.net.Proxy(java.net.Proxy.Type.HTTP, inetSocketAddress); in makeProxy()
|
D | LinkSocket.java | 61 public LinkSocket(LinkSocketNotifier notifier, Proxy proxy) { in LinkSocket()
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountShutdownObserver.java | 52 return new IMountShutdownObserver.Stub.Proxy(obj); in asInterface() 79 private static class Proxy implements IMountShutdownObserver { class in IMountShutdownObserver.Stub 82 Proxy(IBinder remote) { in Proxy() method in IMountShutdownObserver.Stub.Proxy
|
D | IObbActionListener.java | 53 return new IObbActionListener.Stub.Proxy(obj); in asInterface() 84 private static class Proxy implements IObbActionListener { class in IObbActionListener.Stub 87 Proxy(IBinder remote) { in Proxy() method in IObbActionListener.Stub.Proxy
|
D | IMountServiceListener.java | 53 return new IMountServiceListener.Stub.Proxy(obj); in asInterface() 92 private static class Proxy implements IMountServiceListener { class in IMountServiceListener.Stub 95 Proxy(IBinder remote) { in Proxy() method in IMountServiceListener.Stub.Proxy
|
D | IMountService.java | 36 private static class Proxy implements IMountService { class in IMountService.Stub 39 Proxy(IBinder remote) { in Proxy() method in IMountService.Stub.Proxy 844 return new IMountService.Stub.Proxy(obj); in asInterface()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 82 friend class Proxy; member 148 class Proxy : public RefBase { 150 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 152 virtual ~Proxy() { } in ~Proxy() 179 class ClientProxy : public Proxy { 346 class ServerProxy : public Proxy {
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | DynamicProxy.java | 22 import java.lang.reflect.Proxy; 60 return (T) Proxy.newProxyInstance(clazz.getClassLoader(), new Class<?>[] { clazz }, invoke); in dynamicProxy()
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 30 import java.net.Proxy; 108 List<Proxy> list = Lists.newArrayList(); in run() 115 for (Proxy proxy : list) { in run() 117 if (!proxy.equals(Proxy.NO_PROXY)) { in run()
|
D | ProxyService.java | 20 import android.net.Proxy;
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 20 import android.net.Proxy; 82 String proxyHost = Proxy.getHost(mContext); in downloadXtraData() 83 int proxyPort = Proxy.getPort(mContext); in downloadXtraData()
|
/frameworks/base/core/java/android/net/http/ |
D | RequestQueue.java | 30 import android.net.Proxy; 239 new IntentFilter(Proxy.PROXY_CHANGE_ACTION)); in enablePlatformNotifications() 267 String host = Proxy.getHost(mContext); in setProxyConfig() 273 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); in setProxyConfig()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | Decorator.java | 62 return (T)java.lang.reflect.Proxy.newProxyInstance( in newInstance()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 40 import java.net.Proxy; 1119 public ComponentName setGlobalProxy(ComponentName admin, Proxy proxySpec, in setGlobalProxy() 1128 if (proxySpec.equals(Proxy.NO_PROXY)) { in setGlobalProxy() 1132 if (!proxySpec.type().equals(Proxy.Type.HTTP)) { in setGlobalProxy() 1156 android.net.Proxy.validate(hostName, Integer.toString(port), exclSpec); in setGlobalProxy()
|
/frameworks/base/ |
D | preloaded-classes | 18 android.accounts.IAccountManager$Stub$Proxy 156 android.app.IAlarmManager$Stub$Proxy 162 android.app.INotificationManager$Stub$Proxy 165 android.app.ISearchManager$Stub$Proxy 252 android.content.IContentService$Stub$Proxy 257 android.content.IIntentSender$Stub$Proxy 262 android.content.ISyncContext$Stub$Proxy 288 android.content.pm.IPackageManager$Stub$Proxy 361 android.database.IContentObserver$Stub$Proxy 539 android.hardware.display.IDisplayManager$Stub$Proxy [all …]
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | PacManager.java | 27 import android.net.Proxy; 204 URLConnection urlConnection = url.openConnection(java.net.Proxy.NO_PROXY); in get()
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 37 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, in Proxy() function in android::Proxy 49 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), mEpoch(0) in ClientProxy() 504 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer), in ServerProxy()
|
D | AudioRecord.cpp | 572 Proxy::Buffer buffer; in obtainBuffer() 635 Proxy::Buffer buffer; in releaseBuffer()
|
D | AudioTrack.cpp | 1153 Proxy::Buffer buffer; in obtainBuffer() 1229 Proxy::Buffer buffer; in releaseBuffer()
|
/frameworks/base/docs/html/training/backward-compatible-ui/ |
D | new-implementation.jd | 69 // Proxy to new ActionBar.newTab API 74 // Proxy to new ActionBar.Tab.setText API
|
/frameworks/base/core/java/android/security/ |
D | IKeystoreService.java | 33 private static class Proxy implements IKeystoreService { class in IKeystoreService.Stub 36 Proxy(IBinder remote) { in Proxy() method in IKeystoreService.Stub.Proxy 521 return new IKeystoreService.Stub.Proxy(obj); in asInterface()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 25 import android.net.Proxy; 2750 filter.addAction(Proxy.PROXY_CHANGE_ACTION); in setupProxyListener() 2778 (ProxyProperties)intent.getExtra(Proxy.EXTRA_PROXY_INFO); in handleProxyBroadcast() 2790 if (intent.getAction().equals(Proxy.PROXY_CHANGE_ACTION)) { in onReceive()
|