Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java464 Object keyValue = getKeyValue(md, keyObj); in serializeEntry() local
465 if (keyValue == null) { in serializeEntry()
469 if (((Float) keyValue).isInfinite() || ((Float) keyValue).isNaN()) { 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()
486 return new MetadataEntry(keyName, serializeFace((Face) keyValue)); in serializeEntry()
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java230 Object keyValue = getKeyValue(chars, keyObj); in storeEntry() local
231 if (keyValue == null) { in storeEntry()
236 mStore.addResult(protoName, (int) keyValue); in storeEntry()
239 mStore.addResult(protoName, (float) keyValue); in storeEntry()
242 mStore.addResult(protoName, (long) keyValue); in storeEntry()
245 mStore.addResult(protoName, (double) keyValue); in storeEntry()
248 mStore.addResult(protoName, (boolean) keyValue); in storeEntry()
252 int intValue = (int) ((byte) keyValue); in storeEntry()
256 storeRational((Rational) keyValue, protoName); in storeEntry()
259 storeSize((Size) keyValue, protoName); in storeEntry()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java305 Object keyValue = getKeyValue(md, keyObj); in serializeEntry() local
306 if (keyValue == null) { in serializeEntry()
310 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { 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()
327 return new MetadataEntry(keyName, serializeFace((Face)keyValue)); in serializeEntry()
[all …]