/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 46 md = cap['metadata'] 75 check(self, 'android.sensor.frameDuration' in md, 77 check(self, md['android.sensor.frameDuration'] is not None, 79 check(self, md['android.sensor.rollingShutterSkew'] > 0, 81 check(self, md['android.sensor.frameDuration'] > 0, 84 self, md['android.sensor.rollingShutterSkew'] <= 85 md['android.sensor.frameDuration'], 89 md['android.sensor.frameDuration']) 91 check(self, 'android.sensor.rollingShutterSkew' in md, 93 check(self, md['android.sensor.rollingShutterSkew'] is not None, [all …]
|
/cts/apps/CameraITS/tests/scene2_e/ |
D | test_continuous_picture.py | 60 md = cap['metadata'] 61 exp = md['android.sensor.exposureTime'] 62 iso = md['android.sensor.sensitivity'] 63 fd = md['android.lens.focalLength'] 64 ae_state = md['android.control.aeState'] 65 af_state = md['android.control.afState'] 66 awb_state = md['android.control.awbState']
|
D | test_num_faces.py | 92 md = cap['metadata'] 93 assert md['android.statistics.faceDetectMode'] == fd_mode 94 faces = md['android.statistics.faces']
|
/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/tests/media/src/android/media/cts/ |
D | MediaDrmTest.java | 52 MediaDrm md = new MediaDrm(scheme); in testSingleScheme() local 53 assertTrue(md.getOpenSessionCount() <= md.getMaxSessionCount()); in testSingleScheme() 55 md.closeSession(null); in testSingleScheme() 57 md.close(); in testSingleScheme()
|
D | MediaDrmClearkeyTest.java | 292 public void onEvent(MediaDrm md, byte[] sid, int event, in startDrm() 294 if (md != mDrm) { in startDrm() 325 … public void onExpirationUpdate(MediaDrm md, byte[] sid, long expirationTime) { in startDrm() 326 if (md != mDrm) { in startDrm() 338 public void onSessionLostState(MediaDrm md, byte[] sid) { in startDrm() 339 if (md != mDrm) { in startDrm() 351 public void onKeyStatusChange(MediaDrm md, byte[] sessionId, in startDrm() 354 assertTrue(md == mDrm); in startDrm()
|
D | StreamingMediaPlayerTest.java | 428 public void onTimedMetaDataAvailable(MediaPlayer mp, TimedMetaData md) { in testPlayHlsStreamWithTimedId3() 431 long timeUs = md.getTimestamp(); in testPlayHlsStreamWithTimedId3() 432 byte[] rawData = md.getMetaData(); in testPlayHlsStreamWithTimedId3()
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PackageUtil.java | 175 MessageDigest md; in computeFileHash() local 177 md = MessageDigest.getInstance("SHA-256"); in computeFileHash() 187 md.update(dataBytes, 0, nread); in computeFileHash() 189 BigInteger bigInt = new BigInteger(1, md.digest()); in computeFileHash()
|
/cts/hostsidetests/hdmicec/ |
D | README.md | 18 * CEC adapter, see [External CEC Adapter instructions](cec_adapter.md) 19 * Install `cec-client` binary, see [install instructions](cec_adapter.md#software) 40 * CEC adapter, see [External CEC Adapter instructions](cec_adapter.md) 41 * Install `cec-client` binary, see [install instructions](cec_adapter.md#software)
|
/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/scene2_c/ |
D | test_num_faces.py | 92 md = cap['metadata'] 93 assert md['android.statistics.faceDetectMode'] == fd_mode 94 faces = md['android.statistics.faces']
|
/cts/apps/CameraITS/tests/scene2_d/ |
D | test_num_faces.py | 92 md = cap['metadata'] 93 assert md['android.statistics.faceDetectMode'] == fd_mode 94 faces = md['android.statistics.faces']
|
/cts/apps/CameraITS/tests/scene2_b/ |
D | test_num_faces.py | 92 md = cap['metadata'] 93 assert md['android.statistics.faceDetectMode'] == fd_mode 94 faces = md['android.statistics.faces']
|
/cts/apps/CameraITS/tests/scene2_a/ |
D | test_num_faces.py | 92 md = cap['metadata'] 93 assert md['android.statistics.faceDetectMode'] == fd_mode 94 faces = md['android.statistics.faces']
|
/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/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 | 216 MessageDigest md = MessageDigest.getInstance("SHA-256"); in getFolderContentId() local 218 md.update(entry.getContentId().getBytes(StandardCharsets.UTF_8)); in getFolderContentId() 221 id = Base64.getEncoder().encodeToString(md.digest()); in getFolderContentId()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/ |
D | generate-client-cert-chain.sh | 57 -md sha256 \ 76 -md sha256 \
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/ |
D | CarrierPrivilegeUtils.java | 131 final MessageDigest md = MessageDigest.getInstance("SHA-256"); in getCertHashForThisPackage() local 132 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/ |
D | Android.bp | 15 // A rule to collect apps for debugging purpose. See ApkVerityTestAppPrebuilt/README.md.
|