/cts/tests/tests/media/src/android/media/cts/ |
D | MediaDrmClearkeyTest.java | 186 private void getKeys(MediaDrm drm, String initDataType, in getKeys() argument 190 drmRequest = drm.getKeyRequest(sessionId, drmInitData, initDataType, in getKeys() 226 mKeySetId = drm.provideKeyResponse(sessionId, jsonResponse); in getKeys() 334 private void stopDrm(MediaDrm drm) { in stopDrm() argument 335 if (drm != mDrm) { in stopDrm() 343 private @NonNull byte[] openSession(MediaDrm drm) { in openSession() argument 349 mSessionId = drm.openSession(); in openSession() 357 private void closeSession(MediaDrm drm, byte[] sessionId) { in closeSession() argument 358 drm.closeSession(sessionId); in closeSession() 376 MediaDrm drm = null; in testClearKeyPlayback() local [all …]
|
D | MediaDrmMetricsTest.java | 52 private String getClearkeyVersion(MediaDrm drm) { in getClearkeyVersion() argument 54 return drm.getPropertyString("version"); in getClearkeyVersion() 61 MediaDrm drm = new MediaDrm(CLEARKEY_SCHEME_UUID); in testGetMetricsEmpty() local 62 assertNotNull(drm); in testGetMetricsEmpty() 64 if (getClearkeyVersion(drm).equals("1.0")) { in testGetMetricsEmpty() 66 drm.close(); in testGetMetricsEmpty() 70 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsEmpty() 76 drm.close(); in testGetMetricsEmpty() 80 MediaDrm drm = new MediaDrm(CLEARKEY_SCHEME_UUID); in testGetMetricsSession() local 81 assertNotNull(drm); in testGetMetricsSession() [all …]
|
D | MediaCodecTest.java | 1781 MediaDrm drm = new MediaDrm(CLEARKEY_SCHEME_UUID); in testCryptoError() local 1782 byte[] sessionId = drm.openSession(); in testCryptoError() 1817 drm.closeSession(sessionId); in testCryptoError() 1975 MediaDrm drm = new MediaDrm(CLEARKEY_SCHEME_UUID); in testCryptoErrorLostSessionState() local 1976 drm.setPropertyString("drmErrorTest", "lostState"); in testCryptoErrorLostSessionState() 1978 byte[] sessionId = drm.openSession(); in testCryptoErrorLostSessionState() 2017 drm.closeSession(sessionId); in testCryptoErrorLostSessionState()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmInfoStatusTest.java | 17 package android.drm.cts; 21 import android.drm.DrmInfoStatus; 22 import android.drm.DrmInfoRequest; 23 import android.drm.ProcessedData;
|
D | DRMTest.java | 17 package android.drm.cts; 43 import android.drm.DrmManagerClient; 44 import android.drm.DrmConvertedStatus; 45 import android.drm.DrmEvent; 46 import android.drm.DrmInfo; 47 import android.drm.DrmInfoRequest; 48 import android.drm.DrmInfoStatus; 49 import android.drm.DrmRights; 50 import android.drm.DrmStore; 51 import android.drm.DrmUtils;
|
D | ConfigFactory.java | 17 package android.drm.cts; 21 import android.drm.cts.configs.PassthruConfig; 22 import android.drm.cts.configs.FwdLockConfig;
|
D | DrmEventTest.java | 17 package android.drm.cts; 22 import android.drm.DrmEvent; 23 import android.drm.DrmInfoEvent; 24 import android.drm.DrmErrorEvent;
|
D | DrmInfoTest.java | 17 package android.drm.cts; 25 import android.drm.DrmInfo; 26 import android.drm.DrmInfoRequest;
|
D | DrmSupportInfoTest.java | 17 package android.drm.cts; 22 import android.drm.DrmSupportInfo;
|
D | DrmInfoRequestTest.java | 17 package android.drm.cts; 24 import android.drm.DrmInfoRequest;
|
D | NativeCodeTest.java | 17 package android.drm.cts;
|
D | Config.java | 17 package android.drm.cts;
|
/cts/tests/tests/drm/ |
D | README | 2 "src/android/drm/cts/configs/" according to the specification 5 file under "src/android/drm/cts/configs/" and update 6 "src/android/drm/cts/ConfigFactory.java".
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-0811/ |
D | poc.cpp | 62 sp<IDrm> drm = interface_cast<IMediaDrmService>( in main() local 67 st = drm->createPlugin(kClearKeyUUID, (String8) "test"); in main() 68 st = drm->openSession(DrmPlugin::kSecurityLevelMax, sess); in main()
|
/cts/tests/tests/drm/src/android/drm/cts/configs/ |
D | FwdLockConfig.java | 17 package android.drm.cts.configs; 21 import android.drm.cts.Config;
|
D | PassthruConfig.java | 17 package android.drm.cts.configs; 21 import android.drm.cts.Config;
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 227 AMediaDrm* drm = AMediaDrm_createByUUID(&juuid[0]); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() local 230 media_status_t status = AMediaDrm_setPropertyByteArray(drm, propertyName, value, sizeof(value)); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 233 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 237 status = AMediaDrm_getPropertyByteArray(drm, propertyName, &array); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 240 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 245 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 250 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 255 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative() 258 AMediaDrm_release(drm); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testPropertyByteArrayNative()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MediaServerCrashTest.java | 20 import android.drm.DrmConvertedStatus; 21 import android.drm.DrmManagerClient;
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 20 import android.drm.DrmConvertedStatus; 21 import android.drm.DrmManagerClient;
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 20 import android.drm.DrmConvertedStatus; 21 import android.drm.DrmManagerClient;
|