/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 | 77 Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { in testForwarding() argument 79 checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); in testForwarding() local 80 Method[] methods = getMostConcreteMethods(interfaceType); in testForwarding() 102 testSuccessfulForwarding(interfaceType, method, wrapperFunction); in testForwarding() 103 testExceptionPropagation(interfaceType, method, wrapperFunction); in testForwarding() 106 testEquals(interfaceType, wrapperFunction); in testForwarding() 108 testToString(interfaceType, wrapperFunction); in testForwarding() 126 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { in testSuccessfulForwarding() argument 127 new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction); in testSuccessfulForwarding() 131 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() 55 new DummyHandler(interfaceType)); in newProxy() 65 private final TypeToken<?> interfaceType; field in DummyProxy.DummyHandler 67 DummyHandler(TypeToken<?> interfaceType) { in DummyHandler() argument 68 this.interfaceType = interfaceType; in DummyHandler() 73 Invokable<?, ?> invokable = interfaceType.method(method); in handleInvocation() 81 return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType())); in handleInvocation() 105 return "Dummy proxy for " + interfaceType; in toString() 111 return new DummyHandler(TypeToken.of(interfaceType.getRawType())); in writeReplace()
|
D | FreshValueGenerator.java | 194 final <T> T newFreshProxy(final Class<T> interfaceType) { in newFreshProxy() argument 195 T proxy = newProxy(interfaceType); in newFreshProxy() 269 private <T> T newProxy(final Class<T> interfaceType) { in newProxy() argument 270 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); in newProxy() 287 private final Class<?> interfaceType; field in FreshValueGenerator.FreshInvocationHandler 289 FreshInvocationHandler(Class<?> interfaceType) { in FreshInvocationHandler() argument 290 this.interfaceType = interfaceType; in FreshInvocationHandler() 295 return interfaceMethodCalled(interfaceType, method); in handleInvocation() 314 return paramString(interfaceType, identity); in toString() 319 Object interfaceMethodCalled(Class<?> interfaceType, Method method) { in interfaceMethodCalled() argument
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | ForwardingWrapperTester.java | 77 Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { in testForwarding() argument 79 checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType); in testForwarding() local 80 Method[] methods = getMostConcreteMethods(interfaceType); in testForwarding() 102 testSuccessfulForwarding(interfaceType, method, wrapperFunction); in testForwarding() 103 testExceptionPropagation(interfaceType, method, wrapperFunction); in testForwarding() 106 testEquals(interfaceType, wrapperFunction); in testForwarding() 108 testToString(interfaceType, wrapperFunction); in testForwarding() 126 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { in testSuccessfulForwarding() argument 127 new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction); in testSuccessfulForwarding() 131 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() 55 new DummyHandler(interfaceType)); in newProxy() 65 private final TypeToken<?> interfaceType; field in DummyProxy.DummyHandler 67 DummyHandler(TypeToken<?> interfaceType) { in DummyHandler() argument 68 this.interfaceType = interfaceType; in DummyHandler() 73 Invokable<?, ?> invokable = interfaceType.method(method); in handleInvocation() 81 return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType())); in handleInvocation() 105 return "Dummy proxy for " + interfaceType; in toString() 111 return new DummyHandler(TypeToken.of(interfaceType.getRawType())); in writeReplace()
|
D | FreshValueGenerator.java | 192 final <T> T newFreshProxy(final Class<T> interfaceType) { in newFreshProxy() argument 193 T proxy = newProxy(interfaceType); in newFreshProxy() 267 private <T> T newProxy(final Class<T> interfaceType) { in newProxy() argument 268 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); in newProxy() 285 private final Class<?> interfaceType; field in FreshValueGenerator.FreshInvocationHandler 287 FreshInvocationHandler(Class<?> interfaceType) { in FreshInvocationHandler() argument 288 this.interfaceType = interfaceType; in FreshInvocationHandler() 293 return interfaceMethodCalled(interfaceType, method); in handleInvocation() 312 return paramString(interfaceType, identity); in toString() 317 Object interfaceMethodCalled(Class<?> interfaceType, Method method) { in interfaceMethodCalled() argument
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Reflection.java | 81 public static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 83 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); in newProxy() local 86 interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); in newProxy() 87 return interfaceType.cast(object); in newProxy()
|
/external/guava/android/guava/src/com/google/common/reflect/ |
D | Reflection.java | 81 public static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 83 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType); in newProxy() local 86 interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); in newProxy() 87 return interfaceType.cast(object); in newProxy()
|
D | TypeToken.java | 341 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces() 344 (TypeToken<? super T>) resolveSupertype(interfaceType); in getGenericInterfaces() 1383 for (K interfaceType : getInterfaces(type)) { 1384 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/guava/android/guava/src/com/google/common/util/concurrent/ |
D | SimpleTimeLimiter.java | 74 Class<T> interfaceType, in newProxy() argument 78 checkNotNull(interfaceType); in newProxy() 81 checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type"); in newProxy() 83 final Set<Method> interruptibleMethods = findInterruptibleMethods(interfaceType); in newProxy() 105 return newProxy(interfaceType, handler); in newProxy() 109 private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 112 interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); in newProxy() 113 return interfaceType.cast(object); in newProxy() 247 private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) { in findInterruptibleMethods() argument 249 for (Method m : interfaceType.getMethods()) { in findInterruptibleMethods()
|
D | FakeTimeLimiter.java | 42 T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { in newProxy() argument 44 checkNotNull(interfaceType); in newProxy()
|
D | TimeLimiter.java | 80 <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit); in newProxy() argument
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SimpleTimeLimiter.java | 74 Class<T> interfaceType, in newProxy() argument 78 checkNotNull(interfaceType); in newProxy() 81 checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type"); in newProxy() 83 final Set<Method> interruptibleMethods = findInterruptibleMethods(interfaceType); in newProxy() 105 return newProxy(interfaceType, handler); in newProxy() 109 private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { in newProxy() argument 112 interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler); in newProxy() 113 return interfaceType.cast(object); in newProxy() 247 private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) { in findInterruptibleMethods() argument 249 for (Method m : interfaceType.getMethods()) { in findInterruptibleMethods()
|
D | TimeLimiter.java | 83 <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit); in newProxy() argument 124 default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) { in newProxy() argument 125 return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS); in newProxy()
|
D | FakeTimeLimiter.java | 42 T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) { in newProxy() argument 44 checkNotNull(interfaceType); in newProxy()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDataSpillTests.cpp | 1984 InterfaceType interfaceType; member 2048 if (m_params.interfaceType == InterfaceType::RAY_PAYLOAD) in initPrograms() 2081 else if (m_params.interfaceType == InterfaceType::CALLABLE_DATA) in initPrograms() 2114 else if (m_params.interfaceType == InterfaceType::HIT_ATTRIBUTES) in initPrograms() 2162 else if (m_params.interfaceType == InterfaceType::SHADER_RECORD_BUFFER_RGEN) in initPrograms() 2204 else if (m_params.interfaceType == InterfaceType::SHADER_RECORD_BUFFER_CALL) in initPrograms() 2266 …else if (m_params.interfaceType == InterfaceType::SHADER_RECORD_BUFFER_MISS || m_params.interfaceT… in initPrograms() 2309 if (m_params.interfaceType == InterfaceType::SHADER_RECORD_BUFFER_MISS) in initPrograms() 2311 else if (m_params.interfaceType == InterfaceType::SHADER_RECORD_BUFFER_HIT) in initPrograms() 2420 const auto shaderStages = getShaderStages(m_params.interfaceType); in iterate() [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 = in testForwardingObject() local 60 interfaceType, in testForwardingObject()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | ForwardingObjectTester.java | 56 Class<? super T> interfaceType = in testForwardingObject() local 60 interfaceType, 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 | 280 Class<T> interfaceType, in assertFailure() argument 284 tester.testForwarding(interfaceType, wrapperFunction); in assertFailure()
|
/external/guava/android/guava-testlib/test/com/google/common/testing/anotherpackage/ |
D | ForwardingWrapperTesterTest.java | 280 Class<T> interfaceType, in assertFailure() argument 284 tester.testForwarding(interfaceType, wrapperFunction); in assertFailure()
|