/frameworks/av/include/private/media/ |
AudioTrackShared.h | 136 friend class Proxy; 202 // Proxy for shared memory control block, to isolate callers from needing to know the details. 205 class Proxy : public RefBase { 207 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 209 virtual ~Proxy() { } 237 // Proxy seen by AudioTrack client and AudioRecord client 238 class ClientProxy : public Proxy { 274 // DEAD_OBJECT Server has died or invalidated, caller should destroy this proxy and re-create. 349 // is initialized when the server proxy created. A local zero timestamp 357 // Proxy used by AudioTrack client, which also includes AudioFlinger::PlaybackThread::OutputTrac [all...] |
/art/test/1945-proxy-method-arguments/src/ |
Main.java | 19 import java.lang.reflect.Proxy; 32 public Object invoke(Object proxy, Method method, Object[] args) { 33 // Force garbage collection to try to make `proxy` move in memory 37 System.out.println("Proxy for " + TestInterface.class + "." + method.getName()); 39 testMethod0(proxy, args); 41 testMethod1(proxy, args); 43 testMethod10(proxy, args); 45 testMethod10Even(proxy, args); 50 private void testMethod0(Object proxy, Object[] args) { 51 // Get argument 0 (method target) from the proxy method frame ($Proxy0.method0 activation) 126 TestInterface proxy = (TestInterface) Proxy.newProxyInstance( local [all...] |
/art/test/910-methods/src/art/ |
Test910.java | 20 import java.lang.reflect.Proxy; 137 // We need this machinery for a consistent proxy name. Names of proxy classes include a 143 // as many proxy classes but cycling through subsets of the test-provided interfaces 147 // (This is made under the judgment that we do not want to have proxy-specific behavior 180 return Proxy.getProxyClass(Test910.class.getClassLoader(), input); 183 // Need this for the proxy naming.
|
/external/curl/docs/cmdline-opts/ |
proxy-user.d | 1 Long: proxy-user 4 Help: Proxy user and password 6 Specify the user name and password to use for proxy authentication.
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SimpleTimeLimiter.java | 29 import java.lang.reflect.Proxy; 191 Object object = Proxy.newProxyInstance(interfaceType.getClassLoader(),
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaPersistModule.java | 32 import java.lang.reflect.Proxy; 129 // and hashcode as a proxy (!) for the proxy's equals and hashcode. 165 @SuppressWarnings("unchecked") // Proxy must produce instance of type given. 166 T proxy = local 168 Proxy.newProxyInstance( 173 bind(iface).toInstance(proxy);
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
InterfaceControlMessageTest.java | 84 // error to close the handle of a proxy without closing the proxy first. 94 IntegerAccessor.Proxy p = BindingsTestUtils.newProxyOverPipe( 111 IntegerAccessor.Proxy p = BindingsTestUtils.newProxyOverPipe(
|
BindingsTestUtils.java | 94 public static <I extends Interface, P extends Interface.Proxy> P newProxyOverPipe( 98 P proxy = manager.attachProxy(handles.first, 0); local 99 toClose.add(proxy); 101 return proxy;
|
/art/test/044-proxy/src/ |
BasicTest.java | 23 import java.lang.reflect.Proxy; 33 Object proxy = createProxy(proxyMe); local 35 if (!Proxy.isProxyClass(proxy.getClass())) 36 System.out.println("not a proxy class?"); 37 if (Proxy.getInvocationHandler(proxy) == null) 38 System.out.println("ERROR: Proxy.getInvocationHandler is null"); 41 Shapes shapes = (Shapes) proxy; 45 Quads quads = (Quads) proxy; 103 Object proxy = null; local [all...] |
WrappedThrow.java | 21 import java.lang.reflect.Proxy; 25 * Create a Proxy class that blah. 31 Object proxy; local 34 proxy = Proxy.newProxyInstance(WrappedThrow.class.getClassLoader(), 42 InterfaceW1 if1 = (InterfaceW1) proxy; 43 InterfaceW2 if2 = (InterfaceW2) proxy; 176 * Invocation handler for our proxy class. 186 * This is called when anything gets invoked in the proxy object. 188 public Object invoke(Object proxy, Method method, Object[] args [all...] |
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Interface.java | 39 * A proxy to a mojo interface. This is base class for all generated proxies. It implements the 43 public interface Proxy extends Interface { 45 * Class allowing to interact with the proxy itself. 54 * Unbinds the proxy and passes the handle. Can return null if the proxy is not bound or 55 * if the proxy is not over a message pipe. 84 * Returns the {@link Handler} object allowing to interact with the proxy itself. 90 * Base implementation of {@link Proxy}. 92 abstract class AbstractProxy implements Proxy { 96 protected static class HandlerImpl implements Proxy.Handler, ConnectionErrorHandler 426 P proxy = attachProxy(handle.getCore(), router); local 442 P proxy = attachProxy(handles.first, 0); local [all...] |
/art/test/1914-get-local-instance/src/art/ |
Test1914.java | 23 import java.lang.reflect.Proxy; 40 + (val != null ? (val instanceof Proxy ? "PROXY CLASS" : val.getClass()) : "NULL") + ")"); 176 return Proxy.newProxyInstance( 181 return "Proxy for " + Arrays.toString(k);
|
/art/test/1939-proxy-frames/src/art/ |
Test1939.java | 23 import java.lang.reflect.Proxy; 48 if (o instanceof Method && Proxy.isProxyClass(((Method)o).getDeclaringClass())) { 51 return o.toString().replaceFirst("Proxy[0-9]+", "__PROXY__"); 159 return Proxy.newProxyInstance( 164 return "Proxy for " + Arrays.toString(k);
|
/art/test/988-method-trace/src/art/ |
Test988.java | 24 import java.lang.reflect.Proxy; 52 Proxy.getProxyClass(Test988.class.getClassLoader(), new Class[] { Runnable.class })); 293 public Object invoke(Object proxy, Method m, Object[] args) throws Throwable { 331 Runnable runnable = (Runnable)Proxy.newProxyInstance( 374 Proxy.class.toString(); 375 Proxy.getProxyClass(
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/ |
ReflectionHelpers.java | 10 import java.lang.reflect.Proxy; 35 return (T) Proxy.newProxyInstance(clazz.getClassLoader(), 38 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 45 * Create a proxy for the given class which returns other deep proxies from all it's methods. 48 * either the "default" value for primitives, or another deep proxy for non-primitive types. 52 * meaningful behavior from a deep proxy. It serves mainly to prevent Null Pointer Exceptions. 53 * @param clazz the class to provide a proxy instance of. 54 * @return a new "Deep Proxy" instance of the given class. 57 return (T) Proxy.newProxyInstance(clazz.getClassLoader(), 60 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable [all...] |
/external/webrtc/talk/app/webrtc/ |
proxy.h | 53 // The proxy can be created using TestProxy::Create(Thread*, TestInterface*). 112 explicit SynchronousMethodCall(rtc::MessageHandler* proxy) 113 : e_(), proxy_(proxy) {} 316 class c##Proxy : public c##Interface { \ 319 c##Proxy(rtc::Thread* thread, C* c) : owner_thread_(thread), c_(c) {} \ 320 ~c##Proxy() { \ 321 MethodCall0<c##Proxy, void> call(this, &c##Proxy::Release_s); \ 327 return new rtc::RefCountedObject<c##Proxy>(thread, c); \
|
/external/apache-http/android/src/android/net/http/ |
RequestQueue.java | 30 import android.net.Proxy; 218 * Enables data state and proxy tracking 232 new IntentFilter(Proxy.PROXY_CHANGE_ACTION)); 234 // we need to resample the current proxy setup 253 * synchronize setting the proxy 260 String host = Proxy.getHost(mContext); 266 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); 273 * @return proxy host if set, null otherwise 389 // Chooses between the proxy and the request's host. 391 // There used to be a comment in ConnectionThread about t-mob's proxy [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 28 import java.net.Proxy; 122 private Proxy proxy; field in class:OkHttpClient 156 this.proxy = okHttpClient.proxy; 239 * Sets the HTTP proxy that will be used by connections created by this 241 * only honored when this proxy is null (which it is by default). To disable 242 * proxy use completely, call {@code setProxy(Proxy.NO_PROXY)}. 244 public OkHttpClient setProxy(Proxy proxy) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
RealConnection.java | 44 import java.net.Proxy; 98 Proxy proxy = route.getProxy(); local 109 rawSocket = proxy.type() == Proxy.Type.DIRECT || proxy.type() == Proxy.Type.HTTP 111 : new Socket(proxy); 255 * To make an HTTPS connection over an HTTP proxy, send an unencrypted 256 * CONNECT request to create the proxy connection. This may need to b [all...] |
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
OkHttpClient.java | 29 import java.net.Proxy; 125 private Proxy proxy; field in class:OkHttpClient 162 this.proxy = okHttpClient.proxy; 245 * Sets the HTTP proxy that will be used by connections created by this 247 * only honored when this proxy is null (which it is by default). To disable 248 * proxy use completely, call {@code setProxy(Proxy.NO_PROXY)}. 250 public OkHttpClient setProxy(Proxy proxy) [all...] |
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/ |
RealConnection.java | 45 import java.net.Proxy; 102 Proxy proxy = route.getProxy(); local 113 rawSocket = proxy.type() == Proxy.Type.DIRECT || proxy.type() == Proxy.Type.HTTP 115 : new Socket(proxy); 259 * To make an HTTPS connection over an HTTP proxy, send an unencrypted 260 * CONNECT request to create the proxy connection. This may need to b [all...] |
/art/runtime/ |
class_root.h | 46 class Proxy; 66 M(kJavaLangReflectProxy, "Ljava/lang/reflect/Proxy;", mirror::Proxy) \
|
/art/test/005-annotations/src/android/test/anno/ |
TestAnnotations.java | 24 import java.lang.reflect.Proxy; 86 System.out.println(" aff: " + aff + " / " + Proxy.isProxyClass(aff.getClass()));
|
/art/test/098-ddmc/src/ |
Main.java | 19 import java.lang.reflect.Proxy; 97 public Object invoke(Object proxy, Method method, Object[] args) { 102 return Proxy.newProxyInstance(Main.class.getClassLoader(),
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
CheckedProviders.java | 10 import java.lang.reflect.Proxy; 31 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 35 return invokeGet(proxy, method); 40 method, Arrays.toString(args), proxy)); 43 protected abstract T invokeGet(Object proxy, Method method) throws Throwable; 57 protected T invokeGet(Object proxy, Method method) throws Throwable { 90 protected Object invokeGet(Object proxy, Method method) throws Throwable { 105 Object proxy = local 106 Proxy.newProxyInstance( 109 P proxyP = (P) proxy; [all...] |