/external/guice/core/test/com/google/inject/internal/ |
D | ProxyFactoryTest.java | 47 SimpleInterceptor interceptor = new SimpleInterceptor(); in testSimpleCase() local 50 aspects.add(new MethodAspect(any(), any(), interceptor)); in testSimpleCase() 58 assertTrue(interceptor.invoked); in testSimpleCase() 80 SimpleInterceptor interceptor = new SimpleInterceptor(); in testInterceptOneMethod() local 82 aspects.add(new MethodAspect(only(Bar.class), annotatedWith(Intercept.class), interceptor)); in testInterceptOneMethod() 94 assertFalse(interceptor.invoked); in testInterceptOneMethod() 98 assertFalse(interceptor.invoked); in testInterceptOneMethod() 102 assertTrue(interceptor.invoked); in testInterceptOneMethod() 133 SimpleInterceptor interceptor = new SimpleInterceptor(); in testWithConstructorArguments() local 135 aspects.add(new MethodAspect(any(), any(), interceptor)); in testWithConstructorArguments() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | BasicHttpProcessor.java | 152 void addInterceptor(final HttpRequestInterceptor interceptor) { in addInterceptor() argument 153 addRequestInterceptor(interceptor); in addInterceptor() 157 void addInterceptor(final HttpRequestInterceptor interceptor, in addInterceptor() argument 159 addRequestInterceptor(interceptor, index); in addInterceptor() 205 void addInterceptor(final HttpResponseInterceptor interceptor) { in addInterceptor() argument 206 addResponseInterceptor(interceptor); in addInterceptor() 209 public final void addInterceptor(final HttpResponseInterceptor interceptor, in addInterceptor() argument 211 addResponseInterceptor(interceptor, index); in addInterceptor() 293 HttpRequestInterceptor interceptor = in process() local 295 interceptor.process(request, context); in process() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | MockMethodInterceptor.java | 95 … @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, in interceptSuperCallable() argument 99 if (interceptor == null) { in interceptSuperCallable() 102 return interceptor.doIntercept( in interceptSuperCallable() 113 … @FieldValue("mockitoInterceptor") MockMethodInterceptor interceptor, in interceptAbstract() argument 117 if (interceptor == null) { in interceptAbstract() 120 return interceptor.doIntercept( in interceptAbstract()
|
D | InlineByteBuddyMockMaker.java | 273 MockMethodInterceptor interceptor = mocks.get(mock); in getHandler() local 274 if (interceptor == null) { in getHandler() 277 return interceptor.handler; in getHandler()
|
D | MockMethodAdvice.java | 66 MockMethodInterceptor interceptor = interceptors.get(instance); in handle() local 67 if (interceptor == null) { in handle() 76 return new ReturnValueWrapper(interceptor.doIntercept(instance, in handle()
|
/external/guice/jdk8-tests/test/com/google/inject/jdk8/ |
D | DefaultMethodInterceptionTest.java | 47 private final MethodInterceptor interceptor = invocation -> { field in DefaultMethodInterceptionTest 83 interceptor); in testInterceptedDefaultMethod() 99 interceptor); in testInterceptedDefaultMethod_calledByAnotherMethod() 127 interceptor); in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod() 162 interceptor); in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod() 194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType() 211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor); in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod()
|
/external/okhttp/okhttp-logging-interceptor/ |
D | README.md | 4 An [OkHttp interceptor][1] which logs HTTP request and response data. 24 **Warning**: The logs generated by this interceptor when using the `HEADERS` or `BODY` levels has 37 <artifactId>logging-interceptor</artifactId> 44 compile 'com.squareup.okhttp:logging-interceptor:(insert latest version)'
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | InterceptorTest.java | 81 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotShortCircuitResponses() local 92 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotShortCircuitResponses() 102 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once", in networkInterceptorsCannotShortCircuitResponses() 111 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotCallProceedMultipleTimes() local 117 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotCallProceedMultipleTimes() 127 assertEquals("network interceptor " + interceptor + " must call proceed() exactly once", in networkInterceptorsCannotCallProceedMultipleTimes() 135 Interceptor interceptor = new Interceptor() { in networkInterceptorsCannotChangeServerAddress() local 145 client.networkInterceptors().add(interceptor); in networkInterceptorsCannotChangeServerAddress() 155 assertEquals("network interceptor " + interceptor + " must retain the same host and port", in networkInterceptorsCannotChangeServerAddress() 561 Interceptor interceptor = new Interceptor() { in applicationInterceptorReturnsNull() local [all …]
|
D | URLConnectionTest.java | 3205 Interceptor interceptor = new Interceptor() { 3210 client.client().interceptors().add(interceptor); 3211 client.client().networkInterceptors().add(interceptor);
|
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
D | Struts2Factory.java | 29 import com.opensymphony.xwork2.interceptor.Interceptor; 133 for (ProvidedInterceptor interceptor : interceptors) { in createInjector() 134 interceptor.validate(binder()); in createInjector() 140 for (ProvidedInterceptor interceptor : interceptors) { in createInjector() 141 interceptor.inject(); in createInjector()
|
D | GuiceObjectFactory.java | 32 import com.opensymphony.xwork2.interceptor.Interceptor; 148 for (ProvidedInterceptor interceptor : interceptors) { in createInjector() 149 interceptor.validate(binder()); in createInjector() 155 for (ProvidedInterceptor interceptor : interceptors) { in createInjector() 156 interceptor.inject(); in createInjector()
|
/external/flatbuffers/tests/MyGame/Example/ |
D | 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/testng/src/test/java/test/listeners/ |
D | ListenerTest.java | 115 MyMethodInterceptor interceptor = new MyMethodInterceptor(); in methodInterceptorShouldBeRunOnce() local 116 tng.addListener(interceptor); in methodInterceptorShouldBeRunOnce() 118 Assert.assertEquals(interceptor.getCount(), 1); in methodInterceptorShouldBeRunOnce()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Call.java | 231 Interceptor interceptor = client.interceptors().get(index); in proceed() local 232 Response interceptedResponse = interceptor.intercept(chain); in proceed() 235 throw new NullPointerException("application interceptor " + interceptor in proceed()
|
/external/v8/src/ |
D | keys.cc | 470 Handle<InterceptorInfo> interceptor, in CollectInterceptorKeysInternal() argument 473 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, in CollectInterceptorKeysInternal() 476 if (!interceptor->enumerator()->IsUndefined(isolate)) { in CollectInterceptorKeysInternal() 477 Callback enum_fun = v8::ToCData<Callback>(interceptor->enumerator()); in CollectInterceptorKeysInternal() 500 Handle<InterceptorInfo> interceptor(type == kIndexed in CollectInterceptorKeys() local 505 !interceptor->all_can_read()) { in CollectInterceptorKeys() 509 receiver, object, interceptor, accumulator); in CollectInterceptorKeys()
|
D | lookup.cc | 909 Object* interceptor = IsElement() ? access_check_info->indexed_interceptor() in GetInterceptorForFailedAccessCheck() local 911 if (interceptor) { in GetInterceptorForFailedAccessCheck() 912 return handle(InterceptorInfo::cast(interceptor), isolate_); in GetInterceptorForFailedAccessCheck()
|
D | objects.cc | 1588 LookupIterator* it, Handle<InterceptorInfo> interceptor, bool* done) { in GetPropertyWithInterceptorInternal() argument 1595 if (interceptor->getter()->IsUndefined(isolate)) { in GetPropertyWithInterceptorInternal() 1606 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, in GetPropertyWithInterceptorInternal() 1612 v8::ToCData<v8::IndexedPropertyGetterCallback>(interceptor->getter()); in GetPropertyWithInterceptorInternal() 1618 if (name->IsSymbol() && !interceptor->can_intercept_symbols()) { in GetPropertyWithInterceptorInternal() 1624 interceptor->getter()); in GetPropertyWithInterceptorInternal() 1636 LookupIterator* it, Handle<InterceptorInfo> interceptor) { in GetPropertyAttributesWithInterceptorInternal() argument 1645 !interceptor->can_intercept_symbols()) { in GetPropertyAttributesWithInterceptorInternal() 1654 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver, in GetPropertyAttributesWithInterceptorInternal() 1656 if (!interceptor->query()->IsUndefined(isolate)) { in GetPropertyAttributesWithInterceptorInternal() [all …]
|
/external/guice/core/test/com/google/inject/ |
D | MethodInterceptionTest.java | 320 CountingInterceptor interceptor = new CountingInterceptor(); in testDeDuplicateInterceptors() 321 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); in testDeDuplicateInterceptors() 322 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); in testDeDuplicateInterceptors()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 694 Interceptor interceptor = client.networkInterceptors().get(index); in proceed() local 695 Response interceptedResponse = interceptor.intercept(chain); in proceed() 699 throw new IllegalStateException("network interceptor " + interceptor in proceed() 703 throw new NullPointerException("network interceptor " + interceptor in proceed()
|
/external/compiler-rt/lib/sanitizer_common/ |
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);
|
D | sanitizer_common_interceptors.inc | 13 // This file should be included into the tool's interceptor file, 1408 // Although request is unsigned long, the rest of the interceptor uses it 3044 // Handle it as part of the interceptor. 4385 // There's no __getdelim() on FreeBSD so we supply the getdelim() interceptor 5807 // FIXME: add other *stat interceptor
|
D | sanitizer_common_syscalls.inc | 13 // This file should be included into the tool's interceptor file, 2323 // Note that this is different from the interceptor in
|
/external/v8/src/ic/ |
D | ic.cc | 3085 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); in RUNTIME_FUNCTION() local 3086 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION() 3091 interceptor->getter()); in RUNTIME_FUNCTION() 3120 InterceptorInfo* interceptor = holder->GetNamedInterceptor(); in RUNTIME_FUNCTION() local 3121 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION() 3126 interceptor->getter()); in RUNTIME_FUNCTION() 3175 InterceptorInfo* interceptor = receiver->GetNamedInterceptor(); in RUNTIME_FUNCTION() local 3176 DCHECK(!interceptor->non_masking()); in RUNTIME_FUNCTION() 3177 PropertyCallbackArguments arguments(isolate, interceptor->data(), *receiver, in RUNTIME_FUNCTION() 3182 interceptor->setter()); in RUNTIME_FUNCTION() [all …]
|
/external/okhttp/ |
D | CHANGELOG.md | 58 * Fix: Don't log gzipped data in the logging interceptor. 61 * Fix: Support 204 and 205 'No Content' replies in the logging interceptor. 69 * **New Logging Interceptor.** The `logging-interceptor` subproject offers 76 <artifactId>logging-interceptor</artifactId> 268 * Fix: When a network interceptor mutates a request, that change is now
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | FactoryProvider2Test.java | 756 final org.aopalliance.intercept.MethodInterceptor interceptor in testMethodInterceptorsOnAssistedTypes() local 768 bindInterceptor(Matchers.any(), Matchers.any(), interceptor); in testMethodInterceptorsOnAssistedTypes()
|