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.java58 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) { in getMarshaler() argument
62 MarshalToken<T> marshalToken = new MarshalToken<T>(typeToken, nativeType); in getMarshaler()
83 if (castedPotential.isTypeMappingSupported(typeToken, nativeType)) { in getMarshaler()
84 marshaler = castedPotential.createMarshaler(typeToken, nativeType); in getMarshaler()
93 typeToken + " and native type " + in getMarshaler()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp817 String8 typeToken = mTokenizer->nextToken(WHITESPACE); in parseType() local
818 if (typeToken == "NUMERIC") { in parseType()
820 } else if (typeToken == "PREDICTIVE") { in parseType()
822 } else if (typeToken == "ALPHA") { in parseType()
824 } else if (typeToken == "FULL") { in parseType()
826 } else if (typeToken == "SPECIAL_FUNCTION") { in parseType()
831 } else if (typeToken == "OVERLAY") { in parseType()
835 typeToken.string()); in parseType()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java334 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected, in checkKeyGetAndSet() argument
336 Key<T> key = new Key<T>(keyStr, typeToken); in checkKeyGetAndSet()
344 if (typeToken.getRawType().isArray()) { in checkKeyGetAndSet()
356 private <T> void checkKeyGetAndSet(String keyStr, TypeReference<T> typeToken, T expected) { in checkKeyGetAndSet() argument
357 checkKeyGetAndSet(keyStr, typeToken, expected, /*reuse*/false); in checkKeyGetAndSet()