/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
Interceptors.java | 11 private final Map<MethodRef, Interceptor> interceptors = new HashMap<>(); 13 public Interceptors(Interceptor... interceptors) { 17 public Interceptors(Collection<Interceptor> interceptorList) { 18 for (Interceptor interceptor : interceptorList) { 19 for (MethodRef methodRef : interceptor.getMethodRefs()) { 20 this.interceptors.put(methodRef, interceptor); 30 Interceptor interceptor = findInterceptor(methodSignature.className, methodSignature.methodName); local 31 if (interceptor != null) [all...] |
InvokeDynamicSupport.java | 92 Interceptor interceptor = INTERCEPTORS.findInterceptor(className, methodName); local 93 if (interceptor != null) { 95 // reload interceptor in sandbox... 96 Class<Interceptor> theClass = 97 (Class<Interceptor>) ReflectionHelpers.loadClass( 99 interceptor.getClass().getName()).asSubclass(Interceptor.class);
|
/external/testng/src/test/java/test/listeners/ |
ListenerTest.java | 115 MyMethodInterceptor interceptor = new MyMethodInterceptor(); local 116 tng.addListener(interceptor); 118 Assert.assertEquals(interceptor.getCount(), 1);
|
/external/apache-http/src/org/apache/http/protocol/ |
BasicHttpProcessor.java | 149 * @param interceptor the interceptor to add 152 void addInterceptor(final HttpRequestInterceptor interceptor) { 153 addRequestInterceptor(interceptor); 157 void addInterceptor(final HttpRequestInterceptor interceptor, 159 addRequestInterceptor(interceptor, index); 202 * @param interceptor the interceptor to add 205 void addInterceptor(final HttpResponseInterceptor interceptor) { 206 addResponseInterceptor(interceptor); 293 HttpRequestInterceptor interceptor = local 307 HttpResponseInterceptor interceptor = local [all...] |
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
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);
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
BroadcastInterceptingContext.java | 120 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local 122 mInterceptors.add(interceptor); 124 return interceptor; 146 final BroadcastInterceptor interceptor = i.next(); local 147 if (receiver.equals(interceptor.mReceiver)) { 159 final BroadcastInterceptor interceptor = i.next(); local 160 if (interceptor.dispatchBroadcast(intent)) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
DragDropController.java | 368 final DragState.InputInterceptor interceptor = local 370 if (interceptor == null) return; 372 interceptor.tearDown();
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
MockMethodAdvice.java | 194 InvocationHandlerAdapter interceptor = interceptors.get(instance); local 195 if (interceptor == null) { 199 return new ReturnValueWrapper(interceptor.interceptEntryHook(instance, origin, arguments,
|
/external/guice/core/test/com/google/inject/internal/ |
ProxyFactoryTest.java | 47 SimpleInterceptor interceptor = new SimpleInterceptor(); local 50 aspects.add(new MethodAspect(any(), any(), interceptor)); 58 assertTrue(interceptor.invoked); 80 SimpleInterceptor interceptor = new SimpleInterceptor(); local 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(); local 135 aspects.add(new MethodAspect(any(), any(), interceptor)); 148 SimpleInterceptor interceptor = new SimpleInterceptor(); local [all...] |
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
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(); 167 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig, 169 // Ensure the interceptor class is present. 170 Class<? extends Interceptor> interceptorClass [all...] |
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(); 148 public Interceptor buildInterceptor(InterceptorConfig interceptorConfig, 150 // Ensure the interceptor class is present. 151 Class<? extends Interceptor> interceptorClass [all...] |
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
InlineByteBuddyMockMaker.java | 261 MockMethodInterceptor interceptor = mocks.get(mock); local 262 if (interceptor == null) { 265 return interceptor.handler;
|
MockMethodAdvice.java | 97 MockMethodInterceptor interceptor = interceptors.get(instance); local 98 if (interceptor == null) { 109 return new ReturnValueWrapper(interceptor.doIntercept(instance,
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Call.java | 204 Interceptor.Chain chain = new ApplicationInterceptorChain(0, originalRequest, forWebSocket); 208 class ApplicationInterceptorChain implements Interceptor.Chain { 228 // If there's another interceptor in the chain, call that. 230 Interceptor.Chain chain = new ApplicationInterceptorChain(index + 1, request, forWebSocket); 231 Interceptor interceptor = client.interceptors().get(index); local 232 Response interceptedResponse = interceptor.intercept(chain); 235 throw new NullPointerException("application interceptor " + interceptor
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
InterceptorTest.java | 68 client.interceptors().add(new Interceptor() { 81 Interceptor interceptor = new Interceptor() { local 92 client.networkInterceptors().add(interceptor); 102 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once", 111 Interceptor interceptor = new Interceptor() { local 135 Interceptor interceptor = new Interceptor() { local 561 Interceptor interceptor = new Interceptor() { local 587 Interceptor interceptor = new Interceptor() { local [all...] |
/external/v8/src/ |
lookup.cc | 476 } else if (state_ == INTERCEPTOR) { 572 DCHECK(has_property_ || state_ == INTERCEPTOR || state_ == JSPROXY); 812 STATIC_ASSERT(INTERCEPTOR == BEFORE_PROPERTY); 825 if (is_element || !name_->IsPrivate()) return INTERCEPTOR; 828 case INTERCEPTOR: 909 Object* interceptor = IsElement() ? access_check_info->indexed_interceptor() local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpEngine.java | 25 import com.squareup.okhttp.Interceptor; 652 class NetworkInterceptorChain implements Interceptor.Chain { 674 Interceptor caller = client.networkInterceptors().get(index - 1); 677 // Confirm that the interceptor uses the connection we've already prepared. 680 throw new IllegalStateException("network interceptor " + caller 684 // Confirm that this is the interceptor's first call to chain.proceed(). 686 throw new IllegalStateException("network interceptor " + caller 692 // There's another interceptor in the chain. Call that. 694 Interceptor interceptor = client.networkInterceptors().get(index) local [all...] |
/external/guice/extensions/struts2/lib/ |
struts2-core-2.2.1.jar | |
xwork-core-2.2.1.jar | |
/external/guice/extensions/persist/lib/ |
xwork-2.0.4.jar | |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProvider2Test.java | 756 final org.aopalliance.intercept.MethodInterceptor interceptor local 768 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); [all...] |
/external/v8/src/ic/ |
ic.cc | 309 case LookupIterator::INTERCEPTOR: { 3085 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local 3120 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); local 3175 InterceptorInfo* interceptor = receiver->GetNamedInterceptor(); local 3211 InterceptorInfo* interceptor = receiver->GetIndexedInterceptor(); local [all...] |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
sandbox-3.5.1.jar | |
/prebuilts/misc/common/robolectric/3.6.1/lib/ |
sandbox-3.6.1.jar | |
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
sandbox-3.4.2.jar | |