/external/apache-http/src/org/apache/http/protocol/ |
H A D | BasicHttpProcessor.java | 149 * @param interceptor the interceptor to add 152 void addInterceptor(final HttpRequestInterceptor interceptor) { argument 153 addRequestInterceptor(interceptor); 157 void addInterceptor(final HttpRequestInterceptor interceptor, argument 159 addRequestInterceptor(interceptor, index); 202 * @param interceptor the interceptor to add 205 void addInterceptor(final HttpResponseInterceptor interceptor) { argument 206 addResponseInterceptor(interceptor); 209 addInterceptor(final HttpResponseInterceptor interceptor, int index) argument [all...] |
/external/guice/core/test/com/google/inject/internal/ |
H A D | ProxyFactoryTest.java | 47 SimpleInterceptor interceptor = new SimpleInterceptor(); 50 aspects.add(new MethodAspect(any(), any(), interceptor)); 58 assertTrue(interceptor.invoked); 80 SimpleInterceptor interceptor = new SimpleInterceptor(); 82 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor)); 94 assertFalse(interceptor.invoked); 98 assertFalse(interceptor.invoked); 102 assertTrue(interceptor.invoked); 133 SimpleInterceptor interceptor = new SimpleInterceptor(); 135 aspects.add(new MethodAspect(any(), any(), interceptor)); [all...] |
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
H A D | DefaultMethodInterceptionTest.java | 46 // the interceptor's a lambda too 47 private final MethodInterceptor interceptor = invocation -> { field in class:DefaultMethodInterceptionTest 83 interceptor); 99 interceptor); 127 interceptor); 162 interceptor); 194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor); 211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor);
|
/external/mockito/src/org/mockito/internal/creation/jmock/ |
H A D | ClassImposterizer.java | 51 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Collection<Class> ancillaryTypes) {
argument 52 return imposterise(interceptor, mockedType, ancillaryTypes.toArray(new Class[ancillaryTypes.size()]));
55 public <T> T imposterise(final MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes) {
argument 61 proxyInstance = createProxy(proxyClass, interceptor);
133 private Object createProxy(Class<?> proxyClass, final MethodInterceptor interceptor) {
argument 135 proxy.setCallbacks(new Callback[] {interceptor, SerializableNoOp.SERIALIZABLE_INSTANCE });
|
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
H A D | Struts2Factory.java | 29 import com.opensymphony.xwork2.interceptor.Interceptor; 132 // Validate the interceptor class. 133 for (ProvidedInterceptor interceptor : interceptors) { 134 interceptor.validate(binder()); 140 for (ProvidedInterceptor interceptor : interceptors) { 141 interceptor.inject(); 150 // Ensure the interceptor class is present.
|
H A D | GuiceObjectFactory.java | 32 import com.opensymphony.xwork2.interceptor.Interceptor; 147 // Validate the interceptor class. 148 for (ProvidedInterceptor interceptor : interceptors) { 149 interceptor.validate(binder()); 155 for (ProvidedInterceptor interceptor : interceptors) { 156 interceptor.inject(); 169 // Ensure the interceptor class is present.
|
/external/testng/src/test/java/test/listeners/ |
H A D | ListenerTest.java | 115 MyMethodInterceptor interceptor = new MyMethodInterceptor(); 116 tng.addListener(interceptor); 118 Assert.assertEquals(interceptor.getCount(), 1);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors_format.inc | 328 Report("WARNING: unexpected format specifier in scanf interceptor: " 471 " in printf interceptor: %d\n", size); \ 486 " in printf interceptor: %d\n", size); \ 525 "interceptor: %.*s\n", dir.end - dir.begin, dir.begin);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
H A D | InterceptorTest.java | 81 Interceptor interceptor = new Interceptor() { 92 client.networkInterceptors().add(interceptor); 102 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once", 111 Interceptor interceptor = new Interceptor() { 117 client.networkInterceptors().add(interceptor); 127 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once", 135 Interceptor interceptor = new Interceptor() { 145 client.networkInterceptors().add(interceptor); [all...] |
H A D | URLConnectionTest.java | 3187 Interceptor interceptor = new Interceptor() { 3192 client.client().interceptors().add(interceptor); 3193 client.client().networkInterceptors().add(interceptor);
|
/external/guice/extensions/persist/lib/ |
H A D | xwork-2.0.4.jar | ... xwork2/inject/ com/opensymphony/xwork2/inject/util/ com/opensymphony/xwork2/interceptor/ com/opensymphony/xwork2/interceptor/annotations/ com/opensymphony/xwork2/mock/ com ... |
H A D | hibernate-entitymanager.jar | META-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/hibernate/ org/hibernate/ejb/ ... |
H A D | hibernate3.jar | ... java.lang.Object implements org.hibernate.Interceptor java.io.Serializable {
public static final org. ... |
/external/guice/extensions/struts2/lib/ |
H A D | struts2-core-2.2.1.jar | ... struts2/interceptor/ org/apache/struts2/interceptor/validation/ org/apache/struts2/interceptor/debugging/ template/ template/xhtml/ template/simple/ template/css_xhtml/ template/archive ... |
H A D | xwork-core-2.2.1.jar | ... public abstract void addPreResultListener (com.opensymphony.xwork2.interceptor.PreResultListener) public abstract java.lang.String invoke ... |
/external/v8/src/ |
H A D | keys.cc | 435 Handle<InterceptorInfo> interceptor, 438 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, 441 if (!interceptor->enumerator()->IsUndefined(isolate)) { 442 Callback enum_fun = v8::ToCData<Callback>(interceptor->enumerator()); 443 const char* log_tag = type == kIndexed ? "interceptor-indexed-enum" 444 : "interceptor-named-enum"; 465 Handle<InterceptorInfo> interceptor(type == kIndexed 470 !interceptor->all_can_read()) { 474 receiver, object, interceptor, accumulator); 547 // Add the property keys from the interceptor 433 CollectInterceptorKeysInternal(Handle<JSReceiver> receiver, Handle<JSObject> object, Handle<InterceptorInfo> interceptor, KeyAccumulator* accumulator) argument [all...] |
H A D | lookup.cc | 767 Object* interceptor = IsElement() ? access_check_info->indexed_interceptor() local 769 if (interceptor) { 770 return handle(InterceptorInfo::cast(interceptor), isolate_);
|
H A D | objects.cc | 1335 LookupIterator* it, Handle<InterceptorInfo> interceptor, bool* done) { 1339 // interceptor calls. 1342 if (interceptor->getter()->IsUndefined(isolate)) { 1353 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, 1359 v8::ToCData<v8::IndexedPropertyGetterCallback>(interceptor->getter()); 1365 if (name->IsSymbol() && !interceptor->can_intercept_symbols()) { 1371 interceptor->getter()); 1383 LookupIterator* it, Handle<InterceptorInfo> interceptor) { 1386 // callbacks or interceptor calls. 1392 !interceptor 1334 GetPropertyWithInterceptorInternal( LookupIterator* it, Handle<InterceptorInfo> interceptor, bool* done) argument 1382 GetPropertyAttributesWithInterceptorInternal( LookupIterator* it, Handle<InterceptorInfo> interceptor) argument 1446 SetPropertyWithInterceptorInternal( LookupIterator* it, Handle<InterceptorInfo> interceptor, Object::ShouldThrow should_throw, Handle<Object> value) argument 1498 Handle<InterceptorInfo> interceptor = local 1537 Handle<InterceptorInfo> interceptor = local 1579 Handle<InterceptorInfo> interceptor = local [all...] |
/external/guice/core/test/com/google/inject/ |
H A D | MethodInterceptionTest.java | 176 assertEquals("expected counting interceptor to be invoked first", 1, count.get()); 320 CountingInterceptor interceptor = new CountingInterceptor(); 321 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); 322 bindInterceptor(Matchers.any(), Matchers.any(), interceptor);
|
/external/v8/src/ic/ |
H A D | ic.cc | 942 // The interceptor handler requires name but it is not passed explicitly 947 // Perform a lookup behind the interceptor. Copy the LookupIterator 1199 // Perform a lookup behind the interceptor. Copy the LookupIterator since 2859 * Attempts to load a property with an interceptor (which must be present), 2862 * Returns |Heap::no_interceptor_result_sentinel()| if interceptor doesn't 2880 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local 2881 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, 2886 interceptor->getter()); 2897 * Loads a property with an interceptor performing post interceptor 2915 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local 2963 InterceptorInfo* interceptor = receiver->GetNamedInterceptor(); local 2999 InterceptorInfo* interceptor = receiver->GetIndexedInterceptor(); local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | HttpEngine.java | 850 // Confirm that the interceptor uses the connection we've already prepared. 853 throw new IllegalStateException("network interceptor " + caller 857 // Confirm that this is the interceptor's first call to chain.proceed(). 859 throw new IllegalStateException("network interceptor " + caller 865 // There's another interceptor in the chain. Call that. 867 Interceptor interceptor = client.networkInterceptors().get(index); 868 Response interceptedResponse = interceptor.intercept(chain); 870 // Confirm that the interceptor made the required call to chain.proceed(). 872 throw new IllegalStateException("network interceptor " + interceptor [all...] |
/external/robolectric/v1/lib/main/ |
H A D | httpcore-4.0.1.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ... |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
H A D | FactoryProvider2Test.java | 756 final org.aopalliance.intercept.MethodInterceptor interceptor 768 bindInterceptor(Matchers.any(), Matchers.any(), interceptor);
|
/external/v8/test/cctest/ |
H A D | test-api-interceptors.cc | 443 // This test should hit the load IC for the interceptor case. 455 // configurations of interceptor and explicit fields works fine 532 // a stub, but interceptor produced value on its own. 583 // Test how post-interceptor lookups are done in the non-cacheable 584 // case: the interceptor should not be invoked during this lookup. 609 // global object which is between interceptor and fields' holders. 651 // Check the case when receiver and interceptor's holder 660 // Check the case when interceptor's holder is in proto chain 691 // Check the case when receiver and interceptor's holder 701 // Check the case when interceptor' 3784 auto interceptor = local 3815 auto interceptor = local 3846 auto interceptor = local [all...] |
/external/dexmaker/lib/ |
H A D | mockito-core-1.9.1-SNAPSHOT.jar | META-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ... |