Home
last modified time | relevance | path

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

/cts/tests/camera/utils/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.java63 private static class MetadataEntry { class in ItsSerializer
64 public MetadataEntry(String k, Object v) { in MetadataEntry() method in ItsSerializer.MetadataEntry
320 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeEntry()
326 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, Object keyValue) in serializeEntry()
332 return new MetadataEntry(keyName, JSONObject.NULL); in serializeEntry()
339 return new MetadataEntry(keyName, keyValue); in serializeEntry()
342 return new MetadataEntry(keyName, keyValue); in serializeEntry()
344 return new MetadataEntry(keyName, serializeRational((Rational)keyValue)); in serializeEntry()
346 return new MetadataEntry(keyName, serializeSize((Size)keyValue)); in serializeEntry()
348 return new MetadataEntry(keyName, serializeSizeF((SizeF)keyValue)); in serializeEntry()
[all …]