/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmMockTest.java | 62 MediaDrm md = new MediaDrm(mockScheme); in testMediaDrmConstructor() local 92 MediaDrm md = new MediaDrm(badScheme); in testMediaDrmConstructorFails() local 104 MediaDrm md = new MediaDrm(mockScheme); in testStringProperties() local 106 md.setPropertyString("test-string", "test-value"); in testStringProperties() 107 assertTrue(md.getPropertyString("test-string").equals("test-value")); in testStringProperties() 115 MediaDrm md = new MediaDrm(mockScheme); in testByteArrayProperties() local 118 md.setPropertyByteArray("test-array", testArray); in testByteArrayProperties() 119 assertTrue(Arrays.equals(md.getPropertyByteArray("test-array"), testArray)); in testByteArrayProperties() 127 MediaDrm md = new MediaDrm(mockScheme); in testMissingPropertyString() local 131 md.getPropertyString("missing-property"); in testMissingPropertyString() [all …]
|
D | StreamingMediaPlayerTest.java | 424 public void onTimedMetaDataAvailable(MediaPlayer mp, TimedMetaData md) { in testPlayHlsStreamWithTimedId3() 427 long timeUs = md.getTimestamp(); in testPlayHlsStreamWithTimedId3() 428 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
|
D | MediaDrmClearkeyTest.java | 266 public void onEvent(MediaDrm md, byte[] sessionId, int event, in startDrm() 283 public void onSessionLostState(MediaDrm md, byte[] sid) { in startDrm() 284 if (md != mDrm) { in startDrm() 296 public void onKeyStatusChange(MediaDrm md, byte[] sessionId, in startDrm() 299 assertTrue(md == mDrm); in startDrm()
|
D | .goutputstream-9KZYJZ | 627 TimedMetaData md) { 630 long timeUs = md.getTimestamp(); 631 byte[] rawData = md.getMetaData();
|
/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/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/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 28 global md, props, failed 38 md = cap["metadata"] 101 fl = md["android.lens.focalLength"] 124 global md, props, failed
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildDalvikSuite.java | 115 MethodData md = parseTestMethod(pName, classOnlyName, method); in handleTest() local 116 String methodContent = md.methodBody; in handleTest() 192 String details = (md.title != null ? md.title : ""); in handleTest() 193 if (md.constraint != null) { in handleTest() 194 details = " Constraint " + md.constraint + ", " + details; in handleTest()
|
D | BuildUtilBase.java | 182 MethodData md = new MethodData(); in parseTestMethod() local 183 md.methodBody = builder.toString(); in parseTestMethod() 184 md.constraint = constraint; in parseTestMethod() 185 md.title = title; in parseTestMethod() 186 return md; in parseTestMethod()
|
D | BuildCTSMainsSources.java | 101 MethodData md = parseTestMethod(pName, classOnlyName, method); in handleTest() local 102 String methodContent = md.methodBody; in handleTest()
|
D | BuildCTSHostSources.java | 229 MethodData md = parseTestMethod(pName, classOnlyName, method); in handleTest() local 230 String methodContent = md.methodBody; in handleTest()
|
/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/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/apps/CameraITS/tests/scene2c/ |
D | test_num_faces.py | 52 md = cap['metadata'] 53 assert md['android.statistics.faceDetectMode'] == fd_mode 54 faces = md['android.statistics.faces']
|
/cts/apps/CameraITS/tests/scene2/ |
D | test_num_faces.py | 53 md = cap['metadata'] 54 assert md['android.statistics.faceDetectMode'] == fd_mode 55 faces = md['android.statistics.faces']
|
D | test_faces.py | 57 md = cap['metadata'] 58 assert md['android.statistics.faceDetectMode'] == fd_mode 59 faces = md['android.statistics.faces']
|
/cts/apps/CameraITS/tests/scene2b/ |
D | test_num_faces.py | 52 md = cap['metadata'] 53 assert md['android.statistics.faceDetectMode'] == fd_mode 54 faces = md['android.statistics.faces']
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 109 MessageDigest md = MessageDigest.getInstance("SHA-256"); in sha256() local 110 md.update(mappedByteBuffer); in sha256() 112 byte[] digest = md.digest(); in sha256()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | FileParser.java | 132 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getFileContentId() local 137 md.update(dataBytes, 0, nread); in getFileContentId() 140 mContentId = Base64.getEncoder().encodeToString(md.digest()); in getFileContentId()
|
D | ReleaseParser.java | 212 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getFolderContentId() local 214 md.update(entry.getContentId().getBytes(StandardCharsets.UTF_8)); in getFolderContentId() 217 id = Base64.getEncoder().encodeToString(md.digest()); in getFolderContentId()
|
D | TestSuiteParser.java | 594 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getTestModuleContentId() local 603 md.update(idStr.getBytes(StandardCharsets.UTF_8)); in getTestModuleContentId() 605 id = Base64.getEncoder().encodeToString(md.digest()); in getTestModuleContentId()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | generate-client-cert-chain.sh | 57 -md sha256 \ 76 -md sha256 \
|
/cts/hostsidetests/hdmicec/ |
D | README.md | 17 * CEC adapter see [External CEC Adapter instructions](cec_adapter.md)
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 226 final MessageDigest md = MessageDigest.getInstance(SHA_256); in getCertHashForThisPackage() local 227 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1156 MessageDigest md = MessageDigest.getInstance("MD5"); in getImageMD5Checksum() local 1225 md.update(bb, 0, width * height); in getImageMD5Checksum() 1228 return convertByteArrayToHEXString(md.digest()); in getImageMD5Checksum()
|