/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
MockMethodInterceptor.java | 95 @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, 99 if (interceptor == null) { 102 return interceptor.doIntercept( 113 @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, 117 if (interceptor == null) { 120 return interceptor.doIntercept(
|
InlineByteBuddyMockMaker.java | 273 MockMethodInterceptor interceptor = mocks.get(mock); local 274 if (interceptor == null) { 277 return interceptor.handler;
|
MockMethodAdvice.java | 66 MockMethodInterceptor interceptor = interceptors.get(instance); local 67 if (interceptor == null) { 76 return new ReturnValueWrapper(interceptor.doIntercept(instance,
|
/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/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/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)) {
|
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
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...] |
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...] |
/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/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/flatbuffers/tests/MyGame/Example/ |
MonsterStorage_grpc.go | 74 dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 77 if interceptor == nil { return srv.(MonsterStorageServer).Store(ctx, in) } 86 return interceptor(ctx, in, info, handler)
|
/external/guice/extensions/persist/lib/ |
xwork-2.0.4.jar | |
/prebuilts/go/darwin-x86/misc/cgo/testsanitizers/ |
tsan8.go | 8 // sigaction function interceptor returned SIG_DFL instead of the Go runtime's
|
/prebuilts/go/linux-x86/misc/cgo/testsanitizers/ |
tsan8.go | 8 // sigaction function interceptor returned SIG_DFL instead of the Go runtime's
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Hover.java | 54 * A checkbox is used to control whether a special view, the Interceptor, will intercept 55 * events before they are sent to its child (a button). When the Interceptor 57 * over it because the interceptor itself will grab the events. 72 mInterceptor = (HoverInterceptorView) findViewById(R.id.interceptor);
|
/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
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
CommandInterceptor.java | 68 if (DEBUG) Log.v(TAG, "Skipping input, command interceptor disabled."); 227 CommandInterceptor interceptor) { 230 return interceptor; 244 return interceptor.accept(query);
|
/external/guice/extensions/struts2/lib/ |
struts2-core-2.2.1.jar | |
xwork-core-2.2.1.jar | |
/external/v8/src/ |
keys.cc | 470 Handle<InterceptorInfo> interceptor, 473 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, 476 if (!interceptor->enumerator()->IsUndefined(isolate)) { 477 Callback enum_fun = v8::ToCData<Callback>(interceptor->enumerator()); 478 const char* log_tag = type == kIndexed ? "interceptor-indexed-enum" 479 : "interceptor-named-enum"; 500 Handle<InterceptorInfo> interceptor(type == kIndexed 505 !interceptor->all_can_read()) { 509 receiver, object, interceptor, accumulator); 636 // Add the property keys from the interceptor [all...] |
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/guice/core/test/com/google/inject/ |
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/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/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...] |