Home
last modified time | relevance | path

Searched refs:MetadataEntry (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java82 private static class MetadataEntry { class in CameraMetadataGetter
83 public MetadataEntry(String k, Object v) { in MetadataEntry() method in CameraMetadataGetter.MetadataEntry
460 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) { in serializeEntry()
466 return new MetadataEntry(keyName, JSONObject.NULL); in serializeEntry()
473 return new MetadataEntry(keyName, keyValue); in serializeEntry()
476 return new MetadataEntry(keyName, keyValue); in serializeEntry()
478 return new MetadataEntry(keyName, serializeRational((Rational) keyValue)); in serializeEntry()
480 return new MetadataEntry(keyName, serializeSize((Size) keyValue)); in serializeEntry()
482 return new MetadataEntry(keyName, serializeSizeF((SizeF) keyValue)); in serializeEntry()
484 return new MetadataEntry(keyName, serializeRect((Rect) keyValue)); in serializeEntry()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java62 private static class MetadataEntry { class in ItsSerializer
63 public MetadataEntry(String k, Object v) { in MetadataEntry() method in ItsSerializer.MetadataEntry
300 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeEntry()
307 return new MetadataEntry(keyName, JSONObject.NULL); in serializeEntry()
314 return new MetadataEntry(keyName, keyValue); in serializeEntry()
317 return new MetadataEntry(keyName, keyValue); in serializeEntry()
319 return new MetadataEntry(keyName, serializeRational((Rational)keyValue)); in serializeEntry()
321 return new MetadataEntry(keyName, serializeSize((Size)keyValue)); in serializeEntry()
323 return new MetadataEntry(keyName, serializeSizeF((SizeF)keyValue)); in serializeEntry()
325 return new MetadataEntry(keyName, serializeRect((Rect)keyValue)); in serializeEntry()
[all …]