Home
last modified time | relevance | path

Searched refs:keyName (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java307 String keyName = getKeyName(keyObj); in serializeEntry() local
312 return new MetadataEntry(keyName, JSONObject.NULL); in serializeEntry()
316 Logt.w(TAG, "Inf/NaN floating point value serialized: " + keyName); in serializeEntry()
319 return new MetadataEntry(keyName, keyValue); in serializeEntry()
322 return new MetadataEntry(keyName, keyValue); in serializeEntry()
324 return new MetadataEntry(keyName, serializeRational((Rational)keyValue)); in serializeEntry()
326 return new MetadataEntry(keyName, serializeSize((Size)keyValue)); in serializeEntry()
328 return new MetadataEntry(keyName, serializeSizeF((SizeF)keyValue)); in serializeEntry()
330 return new MetadataEntry(keyName, serializeRect((Rect)keyValue)); in serializeEntry()
332 return new MetadataEntry(keyName, serializeFace((Face)keyValue)); in serializeEntry()
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java461 String keyName = getKeyName(keyObj); in serializeEntry() local
466 return new MetadataEntry(keyName, JSONObject.NULL); in serializeEntry()
470 Log.w(TAG, "Inf/NaN floating point value serialized: " + keyName); 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.java228 String keyName = getKeyName(keyObj); in storeEntry() local
229 String protoName = keyName.replace('.', '_'); in storeEntry()
289 " for keyName: " + keyName); in storeEntry()
296 String keyName = getKeyName(keyObj); in storeArrayEntry() local
297 String protoName = keyName.replace('.', '_'); in storeArrayEntry()
371 " for keyName: " + keyName); in storeArrayEntry()
391 String keyName = getKeyName(keyObj); in storeCameraChars() local
392 if (charsKeyNames.contains(keyName)) { in storeCameraChars()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1642 private static void assertKeyPrefixValid(String keyName) { in assertKeyPrefixValid() argument
1645 "or valid TLD (vendor-extended keys)", keyName); in assertKeyPrefixValid()
1664 private static <T> void assertStartsWithAndroidOrTLD(String msg, String keyName) { in assertStartsWithAndroidOrTLD() argument
1666 if (keyName.startsWith(PREFIX_ANDROID + delimiter)) { in assertStartsWithAndroidOrTLD()
1670 Matcher match = tldPattern.matcher(keyName); in assertStartsWithAndroidOrTLD()
1672 if (keyName.regionMatches(match.end(), delimiter, 0, delimiter.length())) { in assertStartsWithAndroidOrTLD()
1678 msg, PREFIX_ANDROID + delimiter, keyName)); in assertStartsWithAndroidOrTLD()