/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>() {
|
/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...] |
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetherInterfaceStateMachine.java | 95 public TetherInterfaceStateMachine(String ifaceName, Looper looper, int interfaceType, 103 mInterfaceType = interfaceType; 117 public int 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...] |
/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 | 569 bpf_u_int32 interfaceType; 609 interfaceType = ntohl(*(bpf_u_int32 *)ptr); 684 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.java | 267 int interfaceType = ifaceNameToType(iface); 268 if (interfaceType == ConnectivityManager.TETHERING_INVALID) { 275 trackNewTetherableInterface(iface, interfaceType); 278 if (interfaceType == ConnectivityManager.TETHERING_BLUETOOTH) { 340 int interfaceType = ifaceNameToType(iface); 341 if (interfaceType == ConnectivityManager.TETHERING_INVALID) { 348 trackNewTetherableInterface(iface, interfaceType); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wlanapi.h | 489 WLAN_INTERFACE_TYPE interfaceType;
|
/prebuilts/tools/common/m2/repository/com/jakewharton/butterknife/7.0.1/ |
butterknife-7.0.1.jar | |
/external/guice/lib/build/ |
guava-testlib-16.0.1.jar | |
/prebuilts/tools/common/m2/repository/net/bytebuddy/byte-buddy/1.4.33/ |
byte-buddy-1.4.33.jar | |
/prebuilts/tools/common/m2/repository/nl/jqno/equalsverifier/equalsverifier/2.1.5/ |
equalsverifier-2.1.5.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.jdt.compiler.apt/1.0.600.v20130530-1010/ |
org.eclipse.jdt.compiler.apt-1.0.600.v20130530-1010.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.0/ |
compilerCommon-1.0.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.0-rc5/ |
compilerCommon-1.0-rc5.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/1.1/ |
compilerCommon-1.1.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0/ |
compilerCommon-2.0.0.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-alpha9/ |
compilerCommon-2.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-beta2/ |
compilerCommon-2.0.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/databinding/compilerCommon/2.0.0-beta5/ |
compilerCommon-2.0.0-beta5.jar | |