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.java411 Type elmtType = ((GenericArrayType)keyType).getGenericComponentType(); in serializeArrayEntry() local
412 if (elmtType == int.class || elmtType == float.class || elmtType == byte.class || in serializeArrayEntry()
413 elmtType == long.class || elmtType == double.class || elmtType == boolean.class) { in serializeArrayEntry()
415 } else if (elmtType == Rational.class) { in serializeArrayEntry()
421 } else if (elmtType == Size.class) { in serializeArrayEntry()
427 } else if (elmtType == Rect.class) { in serializeArrayEntry()
433 } else if (elmtType == Face.class) { in serializeArrayEntry()
439 } else if (elmtType == StreamConfigurationMap.class) { in serializeArrayEntry()
446 } else if (elmtType instanceof ParameterizedType && in serializeArrayEntry()
447 ((ParameterizedType)elmtType).getRawType() == Range.class) { in serializeArrayEntry()
[all …]
/cts/tests/camera/utils/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.java505 Type elmtType = ((GenericArrayType) keyType).getGenericComponentType(); in storeArrayEntry() local
507 if (elmtType == int.class) { in storeArrayEntry()
510 } else if (elmtType == float.class) { in storeArrayEntry()
513 } else if (elmtType == long.class) { in storeArrayEntry()
516 } else if (elmtType == double.class) { in storeArrayEntry()
519 } else if (elmtType == boolean.class) { in storeArrayEntry()
522 } else if (elmtType == byte.class) { in storeArrayEntry()
530 } else if (elmtType == Rational.class) { in storeArrayEntry()
537 } else if (elmtType == Size.class) { in storeArrayEntry()
544 } else if (elmtType == Rect.class) { in storeArrayEntry()
[all …]