HomeSort by relevance Sort by last modified time
    Searched full:interfacetype (Results 1 - 25 of 294) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/testing/
DummyProxy.java 43 * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
46 final <T> T newProxy(TypeToken<T> interfaceType) {
48 interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes());
54 new DummyHandler(interfaceType));
55 @SuppressWarnings("unchecked") // interfaceType is T
64 private final TypeToken<?> interfaceType;
66 DummyHandler(TypeToken<?> interfaceType) {
67 this.interfaceType = interfaceType;
72 Invokable<?, ?> invokable = interfaceType.method(method)
    [all...]
ForwardingWrapperTester.java 72 Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
74 checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
75 Method[] methods = getMostConcreteMethods(interfaceType);
99 testSuccessfulForwarding(interfaceType, method, wrapperFunction);
100 testExceptionPropagation(interfaceType, method, wrapperFunction);
103 testEquals(interfaceType, wrapperFunction);
105 testToString(interfaceType, wrapperFunction);
122 Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
123 new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction)
    [all...]
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
ThrowingProviderBinder.java 120 bind(Class<P> interfaceType, Type clazz) {
121 return new SecondaryBinder<P, Object>(interfaceType, clazz);
128 bind(Class<P> interfaceType, Class<T> clazz) {
129 return new SecondaryBinder<P, T>(interfaceType, clazz);
136 bind(Class<P> interfaceType, TypeLiteral<T> typeLiteral) {
137 return new SecondaryBinder<P, T>(interfaceType, typeLiteral.getType());
141 private final Class<P> interfaceType;
151 public SecondaryBinder(Class<P> interfaceType, Type valueType) {
152 this.interfaceType = checkNotNull(interfaceType, "interfaceType")
    [all...]
  /external/guava/guava/src/com/google/common/reflect/
Reflection.java 77 * Returns a proxy instance that implements {@code interfaceType} by
79 * {@code interfaceType} will be used to define the proxy class. To implement
83 * @throws IllegalArgumentException if {@code interfaceType} does not specify
87 Class<T> interfaceType, InvocationHandler handler) {
89 checkArgument(interfaceType.isInterface(), "%s is not an interface", interfaceType);
91 interfaceType.getClassLoader(),
92 new Class<?>[] { interfaceType },
94 return interfaceType.cast(object);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/
InvokeMethodDebuggee.java 19 package org.apache.harmony.jpda.tests.jdwp.InterfaceType;
27 * Used for InterfaceType.InvokeMethodTest.testInvokeMethodStatic
40 "org.apache.harmony.jpda.tests.jdwp.InterfaceType.InvokeMethodDebuggee(#1)");
43 "org.apache.harmony.jpda.tests.jdwp.InterfaceType.InvokeMethodDebuggee(#2)");
InvokeMethodTest.java 19 package org.apache.harmony.jpda.tests.jdwp.InterfaceType;
29 * JDWP unit test to exercise InterfaceType.InvokeMethod command.
39 * This testcase exercises InterfaceType.InvokeMethod command.
42 * <BR>Then sends InterfaceType.InvokeMethod command for method with null
117 logWriter.println(" Send InterfaceType.InvokeMethod " +
120 checkReplyPacket(reply, "InterfaceType::InvokeMethod command");
126 logWriter.println(" InterfaceType.InvokeMethod: returnValue.getIntValue()="
137 logWriter.println(" InterfaceType.InvokeMethod: exception.tag="
142 logWriter.println(" InterfaceType.InvokeMethod: returnValue.getIntValue()="
152 logWriter.println(" InterfaceType.InvokeMethod: exception.tag=
    [all...]
InvokeMethodTestInterface.java 19 package org.apache.harmony.jpda.tests.jdwp.InterfaceType;
25 * Used for InterfaceType.InvokeMethodTest
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SystemUI.java 44 public <T> T getComponent(Class<T> interfaceType) {
45 return (T) (mComponents != null ? mComponents.get(interfaceType) : null);
48 public <T, C extends T> void putComponent(Class<T> interfaceType, C component) {
50 mComponents.put(interfaceType, component);
  /external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java 84 public <T> T newProxy(final T target, Class<T> interfaceType,
87 checkNotNull(interfaceType);
90 checkArgument(interfaceType.isInterface(),
91 "interfaceType must be an interface type");
94 = findInterruptibleMethods(interfaceType);
115 return newProxy(interfaceType, handler);
168 private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
170 for (Method m : interfaceType.getMethods()) {
190 Class<T> interfaceType, InvocationHandler handler) {
191 Object object = Proxy.newProxyInstance(interfaceType.getClassLoader()
    [all...]
FakeTimeLimiter.java 39 public <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration,
42 checkNotNull(interfaceType);
TimeLimiter.java 48 * Returns an instance of {@code interfaceType} that delegates all method
68 * @param interfaceType the interface you wish the returned proxy to
75 * @throws IllegalArgumentException if {@code interfaceType} is a regular
78 <T> T newProxy(T target, Class<T> interfaceType,
  /external/google-breakpad/src/common/windows/
dia_util.h 52 // |InterfaceType| in the given |session|. Returns true on success, false on
55 template<typename InterfaceType>
56 bool FindTable(IDiaSession* session, InterfaceType** table) {
57 return FindTable(__uuidof(InterfaceType),
  /system/tools/aidl/
generate_java_binder.cpp 37 StubClass(const Type* type, const InterfaceType* interfaceType,
48 void make_as_interface(const InterfaceType* interfaceType,
54 StubClass::StubClass(const Type* type, const InterfaceType* interfaceType,
62 this->interfaces.push_back(interfaceType);
68 descriptor->value = "\"" + interfaceType->JavaType() + "\"";
86 make_as_interface(interfaceType, types);
122 void StubClass::make_as_interface(const InterfaceType* interfaceType
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
iface.go 25 func getitab(inter *interfacetype, typ *_type, canfail bool) *itab {
125 func typ2Itab(t *_type, inter *interfacetype, cache **itab) *itab {
149 func convT2I(t *_type, inter *interfacetype, cache **itab, elem unsafe.Pointer, x unsafe.Pointer) (i fInterface) {
264 func assertI2E(inter *interfacetype, i fInterface, r *interface{}) {
278 func assertI2E2(inter *interfacetype, i fInterface, r *interface{}) bool {
290 func convI2I(inter *interfacetype, i fInterface) (r fInterface) {
307 func assertI2I(inter *interfacetype, i fInterface, r *fInterface) {
324 func assertI2I2(inter *interfacetype, i fInterface, r *fInterface) bool {
350 func assertE2I(inter *interfacetype, e interface{}, r *fInterface) {
364 func assertE2I2(inter *interfacetype, e interface{}, r *fInterface) bool
    [all...]
type.go 54 type interfacetype struct { type
  /prebuilts/go/linux-x86/src/runtime/
iface.go 25 func getitab(inter *interfacetype, typ *_type, canfail bool) *itab {
125 func typ2Itab(t *_type, inter *interfacetype, cache **itab) *itab {
149 func convT2I(t *_type, inter *interfacetype, cache **itab, elem unsafe.Pointer, x unsafe.Pointer) (i fInterface) {
264 func assertI2E(inter *interfacetype, i fInterface, r *interface{}) {
278 func assertI2E2(inter *interfacetype, i fInterface, r *interface{}) bool {
290 func convI2I(inter *interfacetype, i fInterface) (r fInterface) {
307 func assertI2I(inter *interfacetype, i fInterface, r *fInterface) {
324 func assertI2I2(inter *interfacetype, i fInterface, r *fInterface) bool {
350 func assertE2I(inter *interfacetype, e interface{}, r *fInterface) {
364 func assertE2I2(inter *interfacetype, e interface{}, r *fInterface) bool
    [all...]
type.go 54 type interfacetype struct { type
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ForwardingObjectTester.java 56 Class<? super T> interfaceType = (Class<? super T>)
58 new ForwardingWrapperTester().testForwarding(interfaceType, new Function<Object, T>() {
  /prebuilts/go/darwin-x86/src/go/types/
ordering.go 75 func (check *Checker) interfaceFor(obj Object) *ast.InterfaceType {
88 ityp, _ := d.typ.(*ast.InterfaceType)
  /prebuilts/go/linux-x86/src/go/types/
ordering.go 75 func (check *Checker) interfaceFor(obj Object) *ast.InterfaceType {
88 ityp, _ := d.typ.(*ast.InterfaceType)
  /frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/tethering/
TetherInterfaceStateMachineTest.java 66 private void initStateMachine(int interfaceType) throws Exception {
67 mTestedSm = new TetherInterfaceStateMachine(IFACE_NAME, mLooper.getLooper(), interfaceType,
77 private void initTetheredStateMachine(int interfaceType, String upstreamIface) throws Exception {
78 initStateMachine(interfaceType);
  /art/test/971-iface-super/util-src/
generate_java.py 83 JavaConverter(f.get_specific_version(base.InterfaceType.default)).dump(self.temp_dir)
91 converters = (lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.default)),
92 lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.empty)))
  /external/pdfium/core/src/fxge/win32/
fx_win32_dwrite.cpp 19 template <typename InterfaceType>
20 inline void SafeRelease(InterfaceType** currentObject) {
26 template <typename InterfaceType>
27 inline InterfaceType* SafeAcquire(InterfaceType* newObject) {
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
AnnotationClass.java 97 private DeclaredType findInterface(TypeMirror interfaceType) {
100 if (typeUtil.isSameType(interfaceType, typeUtil.erasure(mTypeMirror))) {
107 if (typeUtil.isSameType(interfaceType, typeUtil.erasure(typeMirror))) {
115 L.e("Detected " + interfaceType + " type for " + mTypeMirror +
121 L.e("Found " + interfaceType + " type for " + mTypeMirror +
  /art/test/968-default-partial-compile-generated/util-src/
generate_smali.py 320 class InterfaceType(Enum):
333 if self == InterfaceType.default:
335 elif self == InterfaceType.abstract:
337 elif self == InterfaceType.empty:
453 return self.iface_type == InterfaceType.abstract
460 return self.iface_type == InterfaceType.empty
467 return self.iface_type == InterfaceType.default
563 for iftype in InterfaceType:
570 yield TestInterface(tuple(), InterfaceType.default)
572 for iftype in InterfaceType
    [all...]

Completed in 715 milliseconds

1 2 3 4 5 6 7 8 91011>>