/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | ProxyTest.java | 19 import java.net.Proxy; 33 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 34 assertEquals(Proxy.Type.HTTP, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 38 proxy = new Proxy(Proxy.Type.SOCKS, address); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 39 assertEquals(Proxy.Type.SOCKS, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 43 proxy = Proxy.NO_PROXY; in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 44 assertEquals(Proxy.Type.DIRECT, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 52 Proxy proxy = null; in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() 55 proxy = new Proxy(Proxy.Type.HTTP, null); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() 62 proxy = new Proxy(Proxy.Type.SOCKS, null); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() [all …]
|
D | ProxySelectorTest.java | 21 import java.net.Proxy; 114 assertProxyEquals(proxyList,Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectExact() 130 assertProxyEquals(proxyList,Proxy.Type.HTTP,HTTP_PROXY_HOST,HTTP_PROXY_PORT); in test_selectLjava_net_URI_SelectExact() 133 assertProxyEquals(proxyList,Proxy.Type.HTTP,HTTPS_PROXY_HOST,HTTPS_PROXY_PORT); in test_selectLjava_net_URI_SelectExact() 136 assertProxyEquals(proxyList,Proxy.Type.HTTP,FTP_PROXY_HOST,FTP_PROXY_PORT); in test_selectLjava_net_URI_SelectExact() 139 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); in test_selectLjava_net_URI_SelectExact() 155 assertProxyEquals(proxyList, Proxy.NO_PROXY); in test_selectLjava_net_URI_SelectExact_NullHost() 171 assertProxyEquals(proxyList, Proxy.Type.HTTP, HTTP_PROXY_HOST, in test_selectLjava_net_URI_SelectExact_NullHost() 175 assertProxyEquals(proxyList, Proxy.Type.HTTP, HTTPS_PROXY_HOST, in test_selectLjava_net_URI_SelectExact_NullHost() 179 assertProxyEquals(proxyList, Proxy.Type.HTTP, FTP_PROXY_HOST, in test_selectLjava_net_URI_SelectExact_NullHost() [all …]
|
D | ExcludedProxyTest.java | 25 import java.net.Proxy; 163 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_openConnectionLjava_net_Proxy() 164 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2); in test_openConnectionLjava_net_Proxy() 165 Proxy proxyList[] = { proxy1, proxy2 }; in test_openConnectionLjava_net_Proxy() 207 fileUrl.openConnection(Proxy.NO_PROXY); in test_openConnectionLjava_net_Proxy()
|
/external/chromium_org/cc/trees/ |
D | proxy.cc | 12 base::SingleThreadTaskRunner* Proxy::MainThreadTaskRunner() const { in MainThreadTaskRunner() 16 bool Proxy::HasImplThread() const { return !!impl_task_runner_.get(); } in HasImplThread() 18 base::SingleThreadTaskRunner* Proxy::ImplThreadTaskRunner() const { in ImplThreadTaskRunner() 22 bool Proxy::IsMainThread() const { in IsMainThread() 33 bool Proxy::IsImplThread() const { in IsImplThread() 46 void Proxy::SetCurrentThreadIsImplThread(bool is_impl_thread) { in SetCurrentThreadIsImplThread() 51 bool Proxy::IsMainThreadBlocked() const { in IsMainThreadBlocked() 60 void Proxy::SetMainThreadBlocked(bool is_main_thread_blocked) { in SetMainThreadBlocked() 65 Proxy::Proxy( in Proxy() function in cc::Proxy 76 Proxy::~Proxy() { in ~Proxy() [all …]
|
D | single_thread_proxy.cc | 23 scoped_ptr<Proxy> SingleThreadProxy::Create( in Create() 27 new SingleThreadProxy(layer_tree_host, client)).PassAs<Proxy>(); in Create() 32 : Proxy(NULL), in SingleThreadProxy() 39 DCHECK(Proxy::IsMainThread()); in SingleThreadProxy() 56 DCHECK(Proxy::IsMainThread()); in ~SingleThreadProxy() 63 DCHECK(Proxy::IsMainThread()); in CompositeAndReadback() 86 DCHECK(Proxy::IsMainThread()); in FinishAllRendering() 94 DCHECK(Proxy::IsMainThread()); in IsStarted() 114 DCHECK(Proxy::IsMainThread()); in CreateAndInitializeOutputSurface() 171 DCHECK(Proxy::IsMainThread()); in GetRendererCapabilities() [all …]
|
D | proxy.h | 32 class CC_EXPORT Proxy { 47 virtual ~Proxy(); 106 explicit Proxy( 120 DISALLOW_COPY_AND_ASSIGN(Proxy); 126 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) : proxy_(proxy) { in DebugScopedSetMainThreadBlocked() 135 Proxy* proxy_; 141 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} in DebugScopedSetMainThreadBlocked()
|
D | thread_proxy.cc | 72 scoped_ptr<Proxy> ThreadProxy::Create( in Create() 76 new ThreadProxy(layer_tree_host, impl_task_runner)).PassAs<Proxy>(); in Create() 82 : Proxy(impl_task_runner), in ThreadProxy() 151 Proxy::ImplThreadTaskRunner() in CompositeAndReadback() 204 DCHECK(Proxy::IsMainThread()); in FinishAllRendering() 210 Proxy::ImplThreadTaskRunner()->PostTask( in FinishAllRendering() 219 DCHECK(Proxy::IsMainThread()); in IsStarted() 225 Proxy::ImplThreadTaskRunner()->PostTask( in SetLayerTreeHostClientReady() 241 Proxy::ImplThreadTaskRunner()->PostTask( in SetVisible() 299 Proxy::ImplThreadTaskRunner()->PostTask( in DoCreateAndInitializeOutputSurface() [all …]
|
D | single_thread_proxy.h | 22 class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { 24 static scoped_ptr<Proxy> Create( 131 explicit DebugScopedSetImplThread(Proxy* proxy) : proxy_(proxy) { in DebugScopedSetImplThread() 145 Proxy* proxy_; 154 explicit DebugScopedSetMainThread(Proxy* proxy) : proxy_(proxy) { in DebugScopedSetMainThread() 168 Proxy* proxy_; 178 explicit DebugScopedSetImplThreadAndMainThreadBlocked(Proxy* proxy) in DebugScopedSetImplThreadAndMainThreadBlocked()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
D | ProxyTest.java | 23 import java.lang.reflect.Proxy; 68 Class proxy = Proxy.getProxyClass(Support_Proxy_I1.class in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 72 proxy.getSuperclass() == Proxy.class); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 73 assertTrue("Does not believe its a Proxy class ", Proxy in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 76 assertTrue("Does not believe it's a Proxy class ", Proxy in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 77 .isProxyClass(Proxy.getProxyClass(null, in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 81 Proxy.getProxyClass(null, new Class[] { Support_Proxy_I1.class, in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 93 Object p = Proxy.newProxyInstance(Support_Proxy_I1.class in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 148 Broken1 proxyObject = (Broken1) Proxy.newProxyInstance(Broken1.class in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 160 Class proxy = Proxy.getProxyClass(Support_Proxy_I1.class in test_isProxyClassLjava_lang_Class() [all …]
|
/external/chromium/webkit/glue/ |
D | webmediaplayer_impl.cc | 92 WebMediaPlayerImpl::Proxy::Proxy(MessageLoop* render_loop, in Proxy() function in webkit_glue::WebMediaPlayerImpl::Proxy 101 WebMediaPlayerImpl::Proxy::~Proxy() { in ~Proxy() 105 void WebMediaPlayerImpl::Proxy::Repaint() { in Repaint() 111 NewRunnableMethod(this, &WebMediaPlayerImpl::Proxy::RepaintTask)); in Repaint() 115 void WebMediaPlayerImpl::Proxy::SetVideoRenderer( in SetVideoRenderer() 120 WebDataSourceBuildObserverHack* WebMediaPlayerImpl::Proxy::GetBuildObserver() { in GetBuildObserver() 122 build_observer_.reset(NewCallback(this, &Proxy::AddDataSource)); in GetBuildObserver() 126 void WebMediaPlayerImpl::Proxy::Paint(SkCanvas* canvas, in Paint() 134 void WebMediaPlayerImpl::Proxy::SetSize(const gfx::Rect& rect) { in SetSize() 141 bool WebMediaPlayerImpl::Proxy::HasSingleOrigin() { in HasSingleOrigin() [all …]
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | RouteSelector.java | 27 import java.net.Proxy; 60 private Proxy lastProxy; 65 private Proxy userSpecifiedProxy; 66 private Iterator<Proxy> proxySelectorProxies; 146 if (failedRoute.getProxy().type() != Proxy.Type.DIRECT && proxySelector != null) { in connectFailed() 155 private void resetNextProxy(URI uri, Proxy proxy) { in resetNextProxy() 160 List<Proxy> proxyList = proxySelector.select(uri); in resetNextProxy() 173 private Proxy nextProxy() { in nextProxy() 184 Proxy candidate = proxySelectorProxies.next(); in nextProxy() 185 if (candidate.type() != Proxy.Type.DIRECT) { in nextProxy() [all …]
|
D | HttpAuthenticator.java | 26 import java.net.Proxy; 40 Proxy proxy, URL url, List<Challenge> challenges) throws IOException { 57 Proxy proxy, URL url, List<Challenge> challenges) throws IOException { 75 private InetAddress getConnectToInetAddress(Proxy proxy, URL url) throws IOException { 76 return (proxy != null && proxy.type() != Proxy.Type.DIRECT) 92 RawHeaders responseHeaders, RawHeaders successorRequestHeaders, Proxy proxy, URL url) in processAuthHeader()
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | proxies-function.js | 35 var f = Proxy.createFunction(handler, callTrap, constructTrap) 64 var f = Proxy.createFunction(handler, callTrap) 242 TestCall(false, Proxy.createFunction(handler, function(x, y) { 247 TestCall(true, Proxy.createFunction(handler, function(x, y) { 263 var f = Proxy.createFunction({}, callTrap) 279 var f = Proxy.createFunction({}, callTrap) 307 TestCallThrow(Proxy.createFunction({}, function() { throw "myexn" })) 368 var f = Proxy.createFunction(handler, function() {}, constructTrap) 384 TestConstruct(Object.prototype, Proxy.createFunction(handler, ReturnNew)) 385 TestConstruct(prototype, Proxy.createFunction(handler, ReturnNewWithProto)) [all …]
|
D | proxies-json.js | 50 var proxy1 = Proxy.create(handler1); 53 var proxy_fun = Proxy.createFunction(handler1, function() { return 1; }); 80 var proxy2 = Proxy.create(handler2); 101 var proxy3 = Proxy.create(handler3); 119 var proxy4 = Proxy.create(handler4); 137 var proxy5 = Proxy.create(handler5); 153 var proxy6 = Proxy.create(handler6); 173 var proxy7 = Proxy.create(handler7);
|
D | proxies.js | 34 test(Proxy.create, x, y, z) 35 test(function(h) {return Proxy.createFunction(h, function() {})}, x, y, z) 80 TestGetOwnProperty(Proxy.create({ 114 TestGetOwnPropertyThrow(Proxy.create({ 189 TestGet(Proxy.create({ 286 TestGetCall(Proxy.create({ 342 TestGetThrow(Proxy.create({ 346 TestGetThrow(Proxy.create({ 446 TestSet(Proxy.create({ 564 TestSetThrow(Proxy.create({ [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | proxies-function.js | 35 var f = Proxy.createFunction(handler, callTrap, constructTrap) 64 var f = Proxy.createFunction(handler, callTrap) 242 TestCall(false, Proxy.createFunction(handler, function(x, y) { 247 TestCall(true, Proxy.createFunction(handler, function(x, y) { 263 var f = Proxy.createFunction({}, callTrap) 279 var f = Proxy.createFunction({}, callTrap) 307 TestCallThrow(Proxy.createFunction({}, function() { throw "myexn" })) 368 var f = Proxy.createFunction(handler, function() {}, constructTrap) 384 TestConstruct(Object.prototype, Proxy.createFunction(handler, ReturnNew)) 385 TestConstruct(prototype, Proxy.createFunction(handler, ReturnNewWithProto)) [all …]
|
D | proxies.js | 34 test(Proxy.create, x, y, z) 35 test(function(h) {return Proxy.createFunction(h, function() {})}, x, y, z) 80 TestGetOwnProperty(Proxy.create({ 114 TestGetOwnPropertyThrow(Proxy.create({ 189 TestGet(Proxy.create({ 286 TestGetCall(Proxy.create({ 342 TestGetThrow(Proxy.create({ 346 TestGetThrow(Proxy.create({ 446 TestSet(Proxy.create({ 564 TestSetThrow(Proxy.create({ [all …]
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | ProxySelectorRoutePlanner.java | 37 import java.net.Proxy; 203 List<Proxy> proxies = psel.select(targetURI); in determineProxy() 205 Proxy p = chooseProxy(proxies, target, request, context); in determineProxy() 208 if (p.type() == Proxy.Type.HTTP) { in determineProxy() 261 protected Proxy chooseProxy(List<Proxy> proxies, in chooseProxy() 271 Proxy result = null; in chooseProxy() 276 Proxy p = proxies.get(i); in chooseProxy() 295 result = Proxy.NO_PROXY; in chooseProxy()
|
/external/chromium_org/net/android/javatests/src/org/chromium/net/ |
D | AndroidProxySelectorTest.java | 22 import java.net.Proxy; 42 static String toString(Proxy proxy) { in toString() 43 if (proxy == Proxy.NO_PROXY) in toString() 46 Proxy.Type type = proxy.type(); in toString() 61 static String toString(List<Proxy> proxies) { in toString() 63 for (Proxy proxy : proxies) { in toString() 73 List<Proxy> proxies = ProxySelector.getDefault().select(uri); in checkMapping()
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | Route.java | 19 import java.net.Proxy; 24 final Proxy proxy; 28 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress, in Route() 53 public Proxy getProxy() { in getProxy()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkImageFilter.h | 52 class Proxy { 54 virtual ~Proxy() {}; in ~Proxy() 79 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 107 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 171 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
/external/skia/include/core/ |
D | SkImageFilter.h | 52 class Proxy { 54 virtual ~Proxy() {}; in ~Proxy() 79 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 107 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 171 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
/external/chromium_org/third_party/skia/include/effects/ |
D | SkMorphologyImageFilter.h | 40 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 43 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, 63 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 66 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm,
|
/external/skia/include/effects/ |
D | SkMorphologyImageFilter.h | 40 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 43 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, 63 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 66 virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm,
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
D | HttpHandler.java | 21 import java.net.Proxy; 31 @Override protected URLConnection openConnection(URL url, Proxy proxy) throws IOException { in openConnection() 42 protected OkHttpClient newOkHttpClient(Proxy proxy) { in newOkHttpClient()
|