/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmMockTest.java | 56 MediaDrm md = new MediaDrm(mockScheme); in testMediaDrmConstructor() local 86 MediaDrm md = new MediaDrm(badScheme); in testMediaDrmConstructorFails() local 98 MediaDrm md = new MediaDrm(mockScheme); in testStringProperties() local 100 md.setPropertyString("test-string", "test-value"); in testStringProperties() 101 assertTrue(md.getPropertyString("test-string").equals("test-value")); in testStringProperties() 109 MediaDrm md = new MediaDrm(mockScheme); in testByteArrayProperties() local 112 md.setPropertyByteArray("test-array", testArray); in testByteArrayProperties() 113 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties() 121 MediaDrm md = new MediaDrm(mockScheme); in testMissingPropertyString() local 125 md.getPropertyString("missing-property"); in testMissingPropertyString() [all …]
|
D | StreamingMediaPlayerTest.java | 498 public void onTimedMetaDataAvailable(MediaPlayer mp, TimedMetaData md) { in testPlayHlsStreamWithTimedId3() 501 long timeUs = md.getTimestamp(); in testPlayHlsStreamWithTimedId3() 502 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
|
D | StreamingMediaPlayer2Test.java | 627 TimedMetaData md) { in testPlayHlsStreamWithTimedId3() 630 long timeUs = md.getTimestamp(); in testPlayHlsStreamWithTimedId3() 631 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
|
D | .goutputstream-9KZYJZ | 627 TimedMetaData md) { 630 long timeUs = md.getTimestamp(); 631 byte[] rawData = md.getMetaData();
|
D | MediaDrmClearkeyTest.java | 265 public void onEvent(MediaDrm md, byte[] sessionId, int event, in startDrm()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 28 global md, props, failed 36 md = cap["metadata"] 99 fl = md["android.lens.focalLength"] 122 global md, props, failed
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 293 private static Object getKeyValue(CameraMetadata md, Object keyObj) throws ItsException { in getKeyValue() argument 294 if (md.getClass() == CaptureResult.class || md.getClass() == TotalCaptureResult.class) { in getKeyValue() 295 return ((CaptureResult)md).get((CaptureResult.Key)keyObj); in getKeyValue() 296 } else if (md.getClass() == CaptureRequest.class) { in getKeyValue() 297 return ((CaptureRequest)md).get((CaptureRequest.Key)keyObj); in getKeyValue() 298 } else if (md.getClass() == CameraCharacteristics.class) { in getKeyValue() 299 return ((CameraCharacteristics)md).get((CameraCharacteristics.Key)keyObj); in getKeyValue() 305 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeEntry() argument 310 Object keyValue = getKeyValue(md, keyObj); in serializeEntry() 373 private static MetadataEntry serializeArrayEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeArrayEntry() argument [all …]
|
/cts/apps/CameraITS/tests/scene2/ |
D | test_num_faces.py | 52 md = cap['metadata'] 53 assert md['android.statistics.faceDetectMode'] == fd_mode 54 faces = md['android.statistics.faces']
|
D | test_faces.py | 54 md = cap['metadata'] 55 assert(md['android.statistics.faceDetectMode'] == fd_mode) 56 faces = md['android.statistics.faces']
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 447 private static Object getKeyValue(CameraMetadata md, Object keyObj) { in getKeyValue() argument 448 if (md.getClass() == CaptureResult.class || md.getClass() == TotalCaptureResult.class) { in getKeyValue() 449 return ((CaptureResult) md).get((CaptureResult.Key) keyObj); in getKeyValue() 450 } else if (md.getClass() == CaptureRequest.class) { in getKeyValue() 451 return ((CaptureRequest) md).get((CaptureRequest.Key) keyObj); in getKeyValue() 452 } else if (md.getClass() == CameraCharacteristics.class) { in getKeyValue() 453 return ((CameraCharacteristics) md).get((CameraCharacteristics.Key) keyObj); in getKeyValue() 460 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) { in serializeEntry() argument 464 Object keyValue = getKeyValue(md, keyObj); in serializeEntry() 528 CameraMetadata md) { in serializeArrayEntry() argument [all …]
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 129 MessageDigest md; in calcSignature() local 132 md = MessageDigest.getInstance("SHA-1"); in calcSignature() 137 md.update(bytes, 32, bytes.length - 32); in calcSignature() 140 int amt = md.digest(bytes, 12, 20); in calcSignature()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildDalvikSuite.java | 259 private void addCTSHostMethod(String pName, String method, MethodData md, 335 MethodData md = parseTestMethod(pName, classOnlyName, method); 336 String methodContent = md.methodBody; 341 addCTSHostMethod(pName, method, md, dependentTestClassNames); 429 String details = (md.title != null ? md.title : ""); 430 if (md.constraint != null) { 431 details = " Constraint " + md.constraint + ", " + details; 750 MethodData md = new MethodData(); 751 md.methodBody = builder.toString(); 752 md.constraint = constraint; [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestSuiteContentReport.java | 268 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getFileContentId() local 275 md.update(dataBytes, 0, nread); in getFileContentId() 277 byte[] mdbytes = md.digest(); in getFileContentId() 289 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getFolderContentId() local 292 md.update(entry.getContentId().getBytes(StandardCharsets.UTF_8)); in getFolderContentId() 294 byte[] mdbytes = md.digest(); in getFolderContentId() 306 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getId() local 307 md.update(name.getBytes(StandardCharsets.UTF_8)); in getId() 308 byte[] mdbytes = md.digest(); in getId()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | generate-client-cert-chain.sh | 57 -md sha256 \ 76 -md sha256 \
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 126 MessageDigest md = MessageDigest.getInstance("SHA-1"); in getCertHash() local 127 return IccUtils.bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1155 MessageDigest md = MessageDigest.getInstance("MD5"); in getImageMD5Checksum() local 1214 md.update(bb, 0, width * height); in getImageMD5Checksum() 1217 return convertByteArrayToHEXString(md.digest()); in getImageMD5Checksum()
|
/cts/tests/tests/media/assets/ |
D | segment000000.ts | 4823 …��������&����-���T��-_`H��AB��q�U�����?��F���3h��0���;����=t����md�o�#�qO���c������_W�…
|