/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | ProviderChecker.java | 20 Class<P> interfaceType, Optional<? extends Type> valueType) { in checkInterface() argument 21 checkArgument(interfaceType.isInterface(), "%s must be an interface", interfaceType.getName()); in checkInterface() 23 interfaceType.getGenericInterfaces().length == 1, in checkInterface() 25 interfaceType); in checkInterface() local 27 boolean tpMode = interfaceType.getInterfaces()[0] == ThrowingProvider.class; in checkInterface() 30 interfaceType.getInterfaces()[0] == CheckedProvider.class, in checkInterface() 32 interfaceType); in checkInterface() local 37 (ParameterizedType) interfaceType.getGenericInterfaces()[0]; in checkInterface() 38 if (interfaceType.getTypeParameters().length == 1) { in checkInterface() 39 String returnTypeName = interfaceType.getTypeParameters()[0].getName(); in checkInterface() [all …]
|
D | ThrowingProviderBinder.java | 119 Class<P> interfaceType, Type clazz) { in bind() argument 120 return new SecondaryBinder<P, Object>(interfaceType, clazz); in bind() 125 Class<P> interfaceType, Class<T> clazz) { in bind() argument 126 return new SecondaryBinder<P, T>(interfaceType, clazz); in bind() 131 Class<P> interfaceType, TypeLiteral<T> typeLiteral) { in bind() argument 132 return new SecondaryBinder<P, T>(interfaceType, typeLiteral.getType()); in bind() 136 private final Class<P> interfaceType; field in ThrowingProviderBinder.SecondaryBinder 146 public SecondaryBinder(Class<P> interfaceType, Type valueType) { in SecondaryBinder() argument 147 this.interfaceType = checkNotNull(interfaceType, "interfaceType"); in SecondaryBinder() 150 this.exceptionTypes = getExceptionType(interfaceType); in SecondaryBinder() [all …]
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ForwardingWrapperTester.java | 72 Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { in testForwarding() argument 74 checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); in testForwarding() local 75 Method[] methods = getMostConcreteMethods(interfaceType); in testForwarding() 99 testSuccessfulForwarding(interfaceType, method, wrapperFunction); in testForwarding() 100 testExceptionPropagation(interfaceType, method, wrapperFunction); in testForwarding() 103 testEquals(interfaceType, wrapperFunction); in testForwarding() 105 testToString(interfaceType, wrapperFunction); in testForwarding() 122 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { in testSuccessfulForwarding() argument 123 new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction); in testSuccessfulForwarding() 127 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { in testExceptionPropagation() argument [all …]
|
D | DummyProxy.java | 46 final <T> T newProxy(TypeToken<T> interfaceType) { in newProxy() argument 48 interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes()); in newProxy() 54 new DummyHandler(interfaceType)); in newProxy() 64 private final TypeToken<?> interfaceType; field in DummyProxy.DummyHandler 66 DummyHandler(TypeToken<?> interfaceType) { in DummyHandler() argument 67 this.interfaceType = interfaceType; in DummyHandler() 72 Invokable<?, ?> invokable = interfaceType.method(method); in handleInvocation() 80 return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType())); in handleInvocation() 101 return "Dummy proxy for " + interfaceType; in toString() 107 return new DummyHandler(TypeToken.of(interfaceType.getRawType())); in writeReplace()
|
D | FreshValueGenerator.java | 224 final <T> T newProxy(final Class<T> interfaceType) { in newProxy() argument 225 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); in newProxy() 230 private final Class<?> interfaceType; field in FreshValueGenerator.FreshInvocationHandler 232 FreshInvocationHandler(Class<?> interfaceType) { in FreshInvocationHandler() argument 233 this.interfaceType = interfaceType; in FreshInvocationHandler() 237 return interfaceMethodCalled(interfaceType, method); in handleInvocation() 253 return paramString(interfaceType, identity); in toString() 259 @SuppressWarnings("unused") Class<?> interfaceType, in interfaceMethodCalled()
|
D | ClassSanityTester.java | 655 @Override Object interfaceMethodCalled(Class<?> interfaceType, Method method) { in newFreshValueGenerator() 656 return getDummyValue(TypeToken.of(interfaceType).method(method).getReturnType()); in newFreshValueGenerator()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SimpleTimeLimiter.java | 84 public <T> T newProxy(final T target, Class<T> interfaceType, in newProxy() argument 87 checkNotNull(interfaceType); in newProxy() 90 checkArgument(interfaceType.isInterface(), in newProxy() 94 = findInterruptibleMethods(interfaceType); in newProxy() 115 return newProxy(interfaceType, handler); in newProxy() 168 private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) { in findInterruptibleMethods() argument 170 for (Method m : interfaceType.getMethods()) { in findInterruptibleMethods() 190 Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 191 Object object = Proxy.newProxyInstance(interfaceType.getClassLoader(), in newProxy() 192 new Class<?>[] { interfaceType }, handler); in newProxy() [all …]
|
D | FakeTimeLimiter.java | 39 public <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, in newProxy() argument 42 checkNotNull(interfaceType); in newProxy()
|
D | TimeLimiter.java | 78 <T> T newProxy(T target, Class<T> interfaceType, in newProxy() argument
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Reflection.java | 87 Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 89 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); in newProxy() local 91 interfaceType.getClassLoader(), in newProxy() 92 new Class<?>[] { interfaceType }, in newProxy() 94 return interfaceType.cast(object); in newProxy()
|
D | TypeToken.java | 334 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces() 337 resolveSupertype(interfaceType); in getGenericInterfaces() 1142 for (K interfaceType : getInterfaces(type)) { 1143 aboveMe = Math.max(aboveMe, collectTypes(interfaceType, map));
|
/external/libchrome/mojo/public/js/ |
D | bindings.js | 39 function InterfacePtrController(interfaceType, ptrInfoOrHandle) { argument 42 this.interfaceType_ = interfaceType; 183 function Binding(interfaceType, impl, requestOrHandle) { argument 184 this.interfaceType_ = interfaceType; 265 function BindingSetEntry(bindingSet, interfaceType, bindingType, impl, argument 269 this.binding_ = new bindingType(interfaceType, impl, 281 function BindingSet(interfaceType) { argument 282 this.interfaceType_ = interfaceType; 360 function AssociatedInterfacePtrController(interfaceType, associatedPtrInfo) { argument 363 this.interfaceType_ = interfaceType; [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassProto.java | 143 for (String interfaceType: getClassDef().getInterfaces()) { 144 if (!interfaces.containsKey(interfaceType)) { 147 interfaceDef = classPath.getClassDef(interfaceType); 148 interfaces.put(interfaceType, interfaceDef); 150 interfaces.put(interfaceType, null); 151 unresolvedInterfaces.add(interfaceType); 155 … ClassProto interfaceProto = (ClassProto) classPath.getClass(interfaceType); 231 for (String interfaceType: getClassDef().getInterfaces()) { 232 if (!interfaces.containsKey(interfaceType)) { 233 … ClassProto interfaceProto = (ClassProto)classPath.getClass(interfaceType); [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ForwardingObjectTester.java | 56 Class<? super T> interfaceType = (Class<? super T>) in testForwardingObject() local 58 new ForwardingWrapperTester().testForwarding(interfaceType, new Function<Object, T>() { in testForwardingObject()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | GenericTypeHelper.java | 97 for (Type interfaceType : rawType.getGenericInterfaces()) { in getActualReturnType() 98 candidate = matchTypeVariable(interfaceType, variable); in getActualReturnType()
|
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/ |
D | ForwardingWrapperTesterTest.java | 219 Class<T> interfaceType, Function<T, ? extends T> wrapperFunction, in assertFailure() argument 222 tester.testForwarding(interfaceType, wrapperFunction); in assertFailure()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 529 TypeToken<Iterable<String>> interfaceType = new TypeToken<Iterable<String>>() {}; in testGetGenericInterfaces_wildcard_boundIsInterface() local 530 makeUnmodifiable(TypeToken.of(Types.subtypeOf(interfaceType.getType())).getGenericInterfaces()) in testGetGenericInterfaces_wildcard_boundIsInterface() 531 .has().exactly(interfaceType); in testGetGenericInterfaces_wildcard_boundIsInterface() 542 for (TypeToken<?> interfaceType: in testGetGenericInterfaces_withInterfaces() 544 interfaceMap.put(interfaceType.getRawType(), interfaceType.getType()); in testGetGenericInterfaces_withInterfaces() 1626 for (Class<?> interfaceType : Object[].class.getInterfaces()) { in arrayInterfaces() 1627 builder.add(TypeToken.of(interfaceType)); in arrayInterfaces()
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | FieldInitializerTest.java | 31 private Interface interfaceType; field in FieldInitializerTest
|
/external/libpcap/ |
D | pcap-sita.c | 574 bpf_u_int32 interfaceType; in process_client_data() local 620 interfaceType = ntohl(*(bpf_u_int32 *)ptr); in process_client_data() 705 …newname = translate_IOP_to_pcap_name(u, iff->name, interfaceType); /* add a translation entry and… in process_client_data()
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | VirtualMachineImpl.java | 864 InterfaceTypeImpl interfaceType(long ref) { in interfaceType() method in VirtualMachineImpl
|
/external/oj-libjdwp/make/data/jdwp/ |
D | jdwp.spec | 1309 (interfaceType clazz "The interface type ID.")
|