/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 | CodecUtils.java | 157 MessageDigest md = MessageDigest.getInstance("MD5"); in getImageMD5Checksum() local 216 md.update(bb, 0, width * height); in getImageMD5Checksum() 219 return convertByteArrayToHEXString(md.digest()); in getImageMD5Checksum()
|
D | StreamingMediaPlayerTest.java | 335 public void onTimedMetaDataAvailable(MediaPlayer mp, TimedMetaData md) { in testPlayHlsStreamWithTimedId3() 338 long timeUs = md.getTimestamp(); in testPlayHlsStreamWithTimedId3() 339 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
|
D | ClearKeySystemTest.java | 236 public void onEvent(MediaDrm md, byte[] sessionId, int event, in startDrm()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 26 global md, props, failed 34 md = cap["metadata"] 86 global md, props, failed
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 288 private static Object getKeyValue(CameraMetadata md, Object keyObj) throws ItsException { in getKeyValue() argument 289 if (md.getClass() == CaptureResult.class || md.getClass() == TotalCaptureResult.class) { in getKeyValue() 290 return ((CaptureResult)md).get((CaptureResult.Key)keyObj); in getKeyValue() 291 } else if (md.getClass() == CaptureRequest.class) { in getKeyValue() 292 return ((CaptureRequest)md).get((CaptureRequest.Key)keyObj); in getKeyValue() 293 } else if (md.getClass() == CameraCharacteristics.class) { in getKeyValue() 294 return ((CameraCharacteristics)md).get((CameraCharacteristics.Key)keyObj); in getKeyValue() 300 private static MetadataEntry serializeEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeEntry() argument 305 Object keyValue = getKeyValue(md, keyObj); in serializeEntry() 368 private static MetadataEntry serializeArrayEntry(Type keyType, Object keyObj, CameraMetadata md) in serializeArrayEntry() argument [all …]
|
/cts/apps/CameraITS/tests/scene2/ |
D | test_faces.py | 41 md = cap['metadata'] 42 assert(md['android.statistics.faceDetectMode'] == fd_mode) 43 faces = md['android.statistics.faces']
|
/cts/tests/camera/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 | 263 private void addCTSHostMethod(String pName, String method, MethodData md, 344 MethodData md = parseTestMethod(pName, classOnlyName, method); 345 String methodContent = md.methodBody; 350 addCTSHostMethod(pName, method, md, dependentTestClassNames); 438 String details = (md.title != null ? md.title : ""); 439 if (md.constraint != null) { 440 details = " Constraint " + md.constraint + ", " + details; 804 MethodData md = new MethodData(); 805 md.methodBody = builder.toString(); 806 md.constraint = constraint; [all …]
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 78 MessageDigest md = MessageDigest.getInstance("SHA-1"); in getCertHash() local 79 return IccUtils.bytesToHexString(md.digest(pInfo.signatures[0].toByteArray())); in getCertHash()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/assets/ |
D | generate-client-cert-chain.sh | 53 -md sha256 \ 72 -md sha256 \
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | TestPackageDef.java | 408 MessageDigest md = MessageDigest.getInstance(algorithm); in generateDigest() local 409 d = new DigestInputStream(fileStream, md); in generateDigest() 413 return toHexString(md.digest()); in generateDigest()
|
/cts/tests/tests/media/assets/ |
D | fileSequence0.ts | 4887 1i�i���u}�D�>h�~~q�Oχ&����-���T��-_`H��AB��q�U�����?��F���3h��0���;����=t����md�o�…
|
D | segment000000.ts | 4823 …��������&����-���T��-_`H��AB��q�U�����?��F���3h��0���;����=t����md�o�#�qO���c������_W�…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 11 …����������������������������������������tio||tu|������|wrolimprpfbb`lx����{md\WW\^gu~������������|… 59 …#"!&=Q_jzzrnjd_YMEC<66?JRW]eiffvsG)/4448;=@CDIOSTYNQuxfd~wdjkjm^p`tz��md^WTQNNcuj`YTVbmppokaT… 72 …��mdcbbaa`__^_```aa``beedeffhmqsu|�~~~~}|}~~xutz��wu~���y���������������md^l{yvuxwsprx��xsrvw… 73 …�������������hZQLIFB>Hm�������������nts4{�]UF5*&(,.02221236579'-_ulq{~�md���������������������… 187 …dbdddccdeipz��������}~}xwtnfbgou{ysvw|}tmjhfddfimpsvxvqmiheejiipu~���{z{qn}md{~tpsvuw|}}yrmhdcdbcd… 189 …lmpooooopqqqqqomkikmoquvwwtrooppqqrqqsposuwyxttxY�۰#%$$#$%$##%&%''"-Silsy��md]TO[mu{���{llk]bu��xo… 239 …jhfb][UJD@<=GPW^`\]dmruy���������||}������}{ywxz����Wl��k.:vZ#4N[W|ykx�md���������������������… 272 …yzwutrropqoqrswvpllnqvyyxwuqmicaa^`ccaefehinrpprqswxwsrrrrnlmjjlb`���������md�jw������������������… 273 …�������ŷ���������������}qmx�t__gfdjmpx��ie{}v|��rnmjffgikhgimpnkifgd`^����|md`ailljjhhgdghefjhghhk… 279 …FEGKOTUPP[_YWUMFC<>L[`__a_[ZX\\bu�����w`Xbnqj^TH8( "#$" "# !&')1D`md[WVQNOOSWZ]\\]YYY[]^^… [all …]
|