Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java377 Type elmtType = ((GenericArrayType)keyType).getGenericComponentType(); in serializeArrayEntry() local
378 if (elmtType == int.class || elmtType == float.class || elmtType == byte.class || in serializeArrayEntry()
379 elmtType == long.class || elmtType == double.class || elmtType == boolean.class) { in serializeArrayEntry()
381 } else if (elmtType == Rational.class) { in serializeArrayEntry()
387 } else if (elmtType == Size.class) { in serializeArrayEntry()
393 } else if (elmtType == Rect.class) { in serializeArrayEntry()
399 } else if (elmtType == Face.class) { in serializeArrayEntry()
405 } else if (elmtType == StreamConfigurationMap.class) { in serializeArrayEntry()
412 } else if (elmtType instanceof ParameterizedType && in serializeArrayEntry()
413 ((ParameterizedType)elmtType).getRawType() == Range.class) { in serializeArrayEntry()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java536 Type elmtType = ((GenericArrayType) keyType).getGenericComponentType(); in serializeArrayEntry() local
537 if (elmtType == int.class || elmtType == float.class || elmtType == byte.class || in serializeArrayEntry()
538 elmtType == long.class || elmtType == double.class in serializeArrayEntry()
539 || elmtType == boolean.class) { in serializeArrayEntry()
541 } else if (elmtType == Rational.class) { in serializeArrayEntry()
547 } else if (elmtType == Size.class) { in serializeArrayEntry()
553 } else if (elmtType == Rect.class) { in serializeArrayEntry()
559 } else if (elmtType == Face.class) { in serializeArrayEntry()
565 } else if (elmtType == StreamConfigurationMap.class) { in serializeArrayEntry()
572 } else if (elmtType instanceof ParameterizedType && in serializeArrayEntry()
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java307 Type elmtType = ((GenericArrayType) keyType).getGenericComponentType(); in storeArrayEntry() local
309 if (elmtType == int.class) { in storeArrayEntry()
312 } else if (elmtType == float.class) { in storeArrayEntry()
315 } else if (elmtType == long.class) { in storeArrayEntry()
318 } else if (elmtType == double.class) { in storeArrayEntry()
321 } else if (elmtType == boolean.class) { in storeArrayEntry()
324 } else if (elmtType == byte.class) { in storeArrayEntry()
332 } else if (elmtType == Rational.class) { in storeArrayEntry()
339 } else if (elmtType == Size.class) { in storeArrayEntry()
346 } else if (elmtType == Rect.class) { in storeArrayEntry()
[all …]