HomeSort by relevance Sort by last modified time
    Searched defs:interfaceType (Results 1 - 25 of 297) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/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/
typexpr.go 296 case *ast.InterfaceType:
299 check.interfaceType(typ, e, def, path)
466 func (check *Checker) interfaceType(iface *Interface, ityp *ast.InterfaceType, def *Named, path []*TypeName) {
  /prebuilts/go/linux-x86/src/go/types/
typexpr.go 296 case *ast.InterfaceType:
299 check.interfaceType(typ, e, def, path)
466 func (check *Checker) interfaceType(iface *Interface, ityp *ast.InterfaceType, def *Named, path []*TypeName) {
  /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...]
  /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...]
FreshValueGenerator.java 224 final <T> T newProxy(final Class<T> interfaceType) {
225 return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType));
230 private final Class<?> interfaceType;
232 FreshInvocationHandler(Class<?> interfaceType) {
233 this.interfaceType = interfaceType;
237 return interfaceMethodCalled(interfaceType, method);
253 return paramString(interfaceType, identity);
259 @SuppressWarnings("unused") Class<?> interfaceType,
    [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/mockito/src/test/java/org/mockito/internal/util/reflection/
FieldInitializerTest.java 32 private Interface interfaceType;
110 new FieldInitializer(this, field("interfaceType"));
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
noder.go 441 case *syntax.InterfaceType:
442 return p.interfaceType(expr)
504 func (p *noder) interfaceType(expr *syntax.InterfaceType) *Node {
  /prebuilts/go/darwin-x86/src/cmd/vet/
main.go 139 interfaceType *ast.InterfaceType
490 case *ast.InterfaceType:
491 key = interfaceType
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
noder.go 441 case *syntax.InterfaceType:
442 return p.interfaceType(expr)
504 func (p *noder) interfaceType(expr *syntax.InterfaceType) *Node {
  /prebuilts/go/linux-x86/src/cmd/vet/
main.go 139 interfaceType *ast.InterfaceType
490 case *ast.InterfaceType:
491 key = interfaceType
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/
parser.go 908 // TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
988 return p.interfaceType()
1072 // InterfaceType = "interface" "{" { MethodSpec ";" } "}" .
1073 func (p *parser) interfaceType() *InterfaceType {
1075 defer p.trace("interfaceType")()
1078 typ := new(InterfaceType)
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
parser.go 908 // TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
988 return p.interfaceType()
1072 // InterfaceType = "interface" "{" { MethodSpec ";" } "}" .
1073 func (p *parser) interfaceType() *InterfaceType {
1075 defer p.trace("interfaceType")()
1078 typ := new(InterfaceType)
    [all...]
  /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...]
  /external/guava/guava-tests/test/com/google/common/reflect/
TypeTokenTest.java 529 TypeToken<Iterable<String>> interfaceType = new TypeToken<Iterable<String>>() {};
530 makeUnmodifiable(TypeToken.of(Types.subtypeOf(interfaceType.getType())).getGenericInterfaces())
531 .has().exactly(interfaceType);
542 for (TypeToken<?> interfaceType:
544 interfaceMap.put(interfaceType.getRawType(), interfaceType.getType());
    [all...]
  /external/libpcap/
pcap-sita.c 573 bpf_u_int32 interfaceType;
614 interfaceType = ntohl(*(bpf_u_int32 *)ptr);
689 newname = translate_IOP_to_pcap_name(u, iff->name, interfaceType); /* add a translation entry and get a point to the mangled name */
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
TetherInterfaceStateMachine.java 133 String ifaceName, Looper looper, int interfaceType, SharedLog log,
142 mInterfaceType = interfaceType;
162 public int interfaceType() { return mInterfaceType; }
  /prebuilts/go/darwin-x86/src/reflect/
type.go 383 // interfaceType represents an interface type.
384 type interfaceType struct {
731 interfaceType
827 tt := (*interfaceType)(unsafe.Pointer(t))
838 tt := (*interfaceType)(unsafe.Pointer(t))
872 tt := (*interfaceType)(unsafe.Pointer(t))
1079 func (t *interfaceType) Method(i int) (m Method) {
1098 func (t *interfaceType) NumMethod() int { return len(t.methods) }
1101 func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
    [all...]
  /prebuilts/go/linux-x86/src/reflect/
type.go 383 // interfaceType represents an interface type.
384 type interfaceType struct {
731 interfaceType
827 tt := (*interfaceType)(unsafe.Pointer(t))
838 tt := (*interfaceType)(unsafe.Pointer(t))
872 tt := (*interfaceType)(unsafe.Pointer(t))
1079 func (t *interfaceType) Method(i int) (m Method) {
1098 func (t *interfaceType) NumMethod() int { return len(t.methods) }
1101 func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Tethering.java     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wlanapi.h 497 WLAN_INTERFACE_TYPE interfaceType;
  /cts/tests/libcore/javautilcollections/libs/
guava-testlib-20.0.jar 

Completed in 596 milliseconds

1 2 3 4 5 6 7 8 91011>>