Home
last modified time | relevance | path

Searched refs:typeToken (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshalRegistry.java59 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) { in getMarshaler() argument
63 MarshalToken<T> marshalToken = new MarshalToken<T>(typeToken, nativeType); in getMarshaler()
84 if (castedPotential.isTypeMappingSupported(typeToken, nativeType)) { in getMarshaler()
85 marshaler = castedPotential.createMarshaler(typeToken, nativeType); in getMarshaler()
94 typeToken + " and native type " + in getMarshaler()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp840 String8 typeToken = mTokenizer->nextToken(WHITESPACE); in parseType() local
841 if (typeToken == "NUMERIC") { in parseType()
843 } else if (typeToken == "PREDICTIVE") { in parseType()
845 } else if (typeToken == "ALPHA") { in parseType()
847 } else if (typeToken == "FULL") { in parseType()
849 } else if (typeToken == "SPECIAL_FUNCTION") { in parseType()
854 } else if (typeToken == "OVERLAY") { in parseType()
858 typeToken.c_str()); in parseType()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java342 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected, in checkKeyGetAndSet() argument
344 Key<T> key = new Key<T>(keyStr, typeToken); in checkKeyGetAndSet()
352 if (typeToken.getRawType().isArray()) { in checkKeyGetAndSet()
364 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected) { in checkKeyGetAndSet() argument
365 checkKeyGetAndSet(keyStr, typeToken, expected, /*reuse*/false); in checkKeyGetAndSet()