| /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
| WifiConfigurationProvider.java | 110 ProxyInfo proxy = new ProxyInfo(proxyHost, proxyPort, proxyBypassHosts); local 111 wifiConf.setProxy(ProxySettings.STATIC, proxy); 113 ProxyInfo proxy = new ProxyInfo(pacUrl); local 114 wifiConf.setProxy(ProxySettings.PAC, proxy);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
| NodeFactory.java | 45 * Returns an {@link INode} proxy based on the view key of the given 53 * Returns an {@link INode} proxy based on a given {@link UiViewElementNode} that 72 NodeProxy proxy = mNodeMap.get(uiNode); local 74 if (proxy == null) { 75 // Create a new proxy if the key doesn't exist 76 proxy = new NodeProxy(uiNode, bounds, this); 77 mNodeMap.put(uiNode, proxy); 79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) { 81 proxy.setBounds(bounds); 84 return proxy; [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
| ProxyTest.java | 19 import java.net.Proxy; 29 * java.net.Proxy#Proxy(java.net.Proxy.Type, SocketAddress) 32 // test HTTP type proxy 33 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); local 34 assertEquals(Proxy.Type.HTTP, proxy.type()) 52 Proxy proxy = null; local 111 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); local 170 Proxy proxy[] = { new Proxy(Proxy.Type.HTTP, address1), local [all...] |
| /libcore/ojluni/src/main/java/java/beans/ |
| PropertyChangeSupport.java | 111 PropertyChangeListenerProxy proxy = local 114 addPropertyChangeListener(proxy.getPropertyName(), 115 proxy.getListener()); 137 PropertyChangeListenerProxy proxy = local 140 removePropertyChangeListener(proxy.getPropertyName(), 141 proxy.getListener()); 163 * PropertyChangeListenerProxy proxy = 165 * if (proxy.getPropertyName().equals("foo")) { 166 * // proxy is a PropertyChangeListener which was associated
|
| /prebuilts/tools/common/m2/repository/io/netty/netty-handler-proxy/4.1.6.Final/ |
| netty-handler-proxy-4.1.6.Final.jar | |
| /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
| InterfacesTest.java | 170 // error to close the handle of a proxy without closing the proxy first. 179 * Check that the given proxy receives the calls. If |impl| is not null, also check that the 182 private void checkProxy(NamedObject.Proxy proxy, MockNamedObjectImpl impl) { 185 proxy.getProxyHandler().setErrorHandler(errorHandler); 192 proxy.getName(callback); 200 proxy.setName(OBJECT_NAME); 209 proxy.getName(callback); 225 NamedObject.Proxy proxy local 234 NamedObject.Proxy proxy = local 242 Factory.Proxy proxy = BindingsTestUtils.newProxyOverPipe( local 255 Factory.Proxy proxy = local 269 Factory.Proxy proxy = local [all...] |
| BindingsTestUtils.java | 99 public static <I extends Interface, P extends Interface.Proxy> P newProxyOverPipe( 103 P proxy = manager.attachProxy(handles.first, 0); local 104 toClose.add(proxy); 106 return proxy;
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
| HttpURLConnectionTest.java | 25 import java.net.Proxy; 96 "HTTP/1.0 407 Proxy authentication required\n" 97 + "Proxy-authenticate: Basic realm=\"remotehost\"\n\n") 108 request.toLowerCase().indexOf("proxy-authorization:") > 0; 122 // proxy port 128 * Creates proxy selector instance. 129 * Selector will return the proxy, only if the connection 132 * Address of the returned proxy will be localhost:proxy_port. 140 public java.util.List<Proxy> select(URI uri) { 141 Proxy proxy = Proxy.NO_PROXY local 189 MockServer proxy = new MockServer("proxy"); local 229 MockServer proxy = new MockServer("proxy"); local 283 MockProxyServer proxy = new MockProxyServer("ProxyServer"); local [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
| SourceDebugExtensionDebuggee.java | 29 import java.lang.reflect.Proxy; 177 // Instantiate a proxy whose name should contain "$Proxy". 178 Class proxy = Proxy.getProxyClass(SomeInterface.class.getClassLoader(), local
|
| /external/apache-http/src/org/apache/http/impl/conn/ |
| ProxySelectorRoutePlanner.java | 37 import java.net.Proxy; 60 * By default, it will pick up the proxy settings of the JVM, either 77 /** The proxy selector to use, or <code>null</code> for system default. */ 82 * Creates a new proxy selector route planner. 85 * @param prosel the proxy selector, or 101 * Obtains the proxy selector to use. 103 * @return the proxy selector, or <code>null</code> for the system default 111 * Sets the proxy selector to use. 113 * @param prosel the proxy selector, or 151 // If the client or request explicitly specifies a proxy (or n 153 HttpHost proxy = (HttpHost) request.getParams().getParameter(ConnRoutePNames.DEFAULT_PROXY); local [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| InterceptorStackCallback.java | 21 import net.sf.cglib.proxy.MethodProxy; 38 final class InterceptorStackCallback implements net.sf.cglib.proxy.MethodInterceptor { 53 public Object intercept(Object proxy, Method method, Object[] arguments, 55 return new InterceptedMethodInvocation(proxy, methodProxy, arguments, 0).proceed(); 60 final Object proxy; field in class:InterceptorStackCallback.InterceptedMethodInvocation 65 public InterceptedMethodInvocation(Object proxy, MethodProxy methodProxy, 67 this.proxy = proxy; 76 ? methodProxy.invokeSuper(proxy, arguments) 78 new InterceptedMethodInvocation(proxy, methodProxy, arguments, index + 1)) [all...] |
| /external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
| MBeanClient.java | 47 final IProxy proxy = (IProxy) MBeanServerInvocationHandler local 52 System.out.println("Version: " + proxy.getVersion()); 53 System.out.println("Session: " + proxy.getSessionId()); 56 final byte[] data = proxy.getExecutionData(false);
|
| /external/javassist/src/main/javassist/util/proxy/ |
| RuntimeSupport.java | 16 package javassist.util.proxy; 46 * @see javassist.util.proxy.ProxyFactory 194 * Converts a proxy object to an object that is writable to an 196 * in a proxy class. 200 public static SerializedProxy makeSerializedProxy(Object proxy) 203 Class clazz = proxy.getClass(); 206 if (proxy instanceof ProxyObject) 207 methodHandler = ((ProxyObject)proxy).getHandler();
|
| /external/javassist/src/test/test/javassist/proxy/ |
| ProxySimpleTest.java | 1 package test.javassist.proxy; 12 import javassist.util.proxy.ProxyFactory; 53 assertEquals("javassist.util.proxy.SerializedProxy",
|
| /external/libmicrohttpd/src/examples/ |
| mhd2spdy_http.c | 20 * @brief HTTP part of the proxy. libmicrohttpd is used for the server side. 56 "Proxy-Connection", 87 struct Proxy *proxy = (struct Proxy *)cls; local 92 PRINT_INFO2("http_cb_response for %s", proxy->url); 94 if(proxy->spdy_error) 97 if(0 == proxy->http_body_size && (proxy->done || !proxy->spdy_active) 171 struct Proxy *proxy; local 380 struct Proxy *proxy; local [all...] |
| /external/libmojo/ui/gfx/geometry/mojo/ |
| geometry_struct_traits_unittest.cc | 24 mojom::GeometryTraitsTestServicePtr proxy; local 25 traits_test_bindings_.AddBinding(this, mojo::MakeRequest(&proxy)); 26 return proxy; 84 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 86 proxy->EchoPoint(input, &output); 95 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 97 proxy->EchoPointF(input, &output); 106 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 108 proxy->EchoSize(input, &output); 117 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy() local 130 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 145 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 160 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 175 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 188 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local 199 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); local [all...] |
| /external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
| SubclassByteBuddyMockMakerTest.java | 60 ClassWithAnnotation proxy = mockMaker.createMock(mockSettings, dummyHandler()); local 62 assertThat(proxy.getClass().isAnnotationPresent(SampleAnnotation.class)).isTrue(); 63 assertThat(proxy.getClass().getAnnotation(SampleAnnotation.class).value()).isEqualTo("foo"); 65 assertThat(proxy.getClass().getMethod("sampleMethod").isAnnotationPresent(SampleAnnotation.class)).isTrue(); 66 assertThat(proxy.getClass().getMethod("sampleMethod").getAnnotation(SampleAnnotation.class).value()).isEqualTo("bar"); 75 ClassWithAnnotation proxy = mockMaker.createMock(mockSettings, dummyHandler()); local 77 assertThat(proxy.getClass().isAnnotationPresent(SampleAnnotation.class)).isFalse(); 78 assertThat(proxy.getClass().getMethod("sampleMethod").isAnnotationPresent(SampleAnnotation.class)).isFalse();
|
| /external/skia/include/utils/ |
| SkPaintFilterCanvas.h | 16 A utility proxy base class for implementing draw/paint filters. 47 SkISize getBaseLayerSize() const override { return proxy()->getBaseLayerSize(); } 48 GrContext* getGrContext() override { return proxy()->getGrContext(); } 50 return proxy()->internal_private_accessTopLayerRenderTargetContext(); 115 SkCanvas* proxy() const { SkASSERT(fList.count() == 1); return fList[0]; } function in class:SkPaintFilterCanvas
|
| /external/skia/src/gpu/ |
| GrBackendTextureImageGenerator.cpp | 107 // Ref the release proc to be held by the proxy we make below 137 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy( local 179 (!willNeedMipMaps || GrMipMapped::kYes == proxy->mipMapped())) { 181 return proxy; 193 SkBackingFit::kExact, info.width(), info.height(), proxy->config(), 194 std::move(colorSpace), 1, mipMapped, proxy->origin(), nullptr, SkBudgeted::kYes)); 201 if (!rtContext->copy(proxy.get(), subset, SkIPoint::Make(0, 0))) {
|
| GrTextureAdjuster.cpp | 55 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); local 57 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); 73 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); local 87 return proxy; 90 if (!gpu->isACopyNeededForTextureParams(proxy.get(), params, ©Params, scaleAdjust)) { 91 return proxy; 113 sk_sp<GrTextureProxy> proxy( 115 if (!proxy) { 120 if (proxy.get() != this->originalProxy()) { 126 proxy.get(), filterOrNullForBicubic, &domain) [all...] |
| /external/skia/tests/ |
| GrMipMappedTest.cpp | 50 sk_sp<GrTextureProxy> proxy; local 63 proxy = device->accessRenderTargetContext()->asTextureProxyRef(); 70 proxy = as_IB(image)->asTextureProxyRef(); 72 REPORTER_ASSERT(reporter, proxy); 73 if (!proxy) { 78 REPORTER_ASSERT(reporter, proxy->priv().isInstantiated()); 80 GrTexture* texture = proxy->priv().peekTexture(); 122 GrTextureProxy* proxy = as_IB(image)->peekProxy(); local 123 REPORTER_ASSERT(reporter, proxy); 124 if (!proxy) { [all...] |
| GrSurfaceTest.cpp | 120 sk_sp<GrTextureProxy> proxy = proxyProvider->createMipMapProxy( local 122 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) == 178 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy( local 180 if (!proxy) { 184 std::move(proxy), colorSpace); 206 // Try creating the texture as a deferred proxy.
|
| PackedConfigsTextureTest.cpp | 123 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy( local 125 SkASSERT(proxy); 128 std::move(proxy));
|
| ProxyTest.cpp | 25 // Check that the surface proxy's member vars are set as expected 27 GrSurfaceProxy* proxy, 32 REPORTER_ASSERT(reporter, proxy->origin() == origin); 33 REPORTER_ASSERT(reporter, proxy->width() == width); 34 REPORTER_ASSERT(reporter, proxy->height() == height); 35 REPORTER_ASSERT(reporter, proxy->config() == config); 36 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid()); 37 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted); 127 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( local 129 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy)); 328 sk_sp<GrTextureProxy> proxy = provider->createProxy(desc, fit, SkBudgeted::kNo); local [all...] |
| ReadWriteAlphaTest.cpp | 70 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kNo, local 72 if (!proxy) { 77 std::move(proxy))); 186 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy(desc, SkBudgeted::kNo, local 188 if (!proxy) { 197 if (GrPixelConfigIsSRGB(proxy->config())) { 201 std::move(proxy), std::move(colorSpace));
|