Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaDrmClearkeyTest.java186 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 …]
DMediaDrmMetricsTest.java52 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 …]
DMediaCodecTest.java1781 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/
DDrmInfoStatusTest.java17 package android.drm.cts;
21 import android.drm.DrmInfoStatus;
22 import android.drm.DrmInfoRequest;
23 import android.drm.ProcessedData;
DDRMTest.java17 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;
DConfigFactory.java17 package android.drm.cts;
21 import android.drm.cts.configs.PassthruConfig;
22 import android.drm.cts.configs.FwdLockConfig;
DDrmEventTest.java17 package android.drm.cts;
22 import android.drm.DrmEvent;
23 import android.drm.DrmInfoEvent;
24 import android.drm.DrmErrorEvent;
DDrmInfoTest.java17 package android.drm.cts;
25 import android.drm.DrmInfo;
26 import android.drm.DrmInfoRequest;
DDrmSupportInfoTest.java17 package android.drm.cts;
22 import android.drm.DrmSupportInfo;
DDrmInfoRequestTest.java17 package android.drm.cts;
24 import android.drm.DrmInfoRequest;
DNativeCodeTest.java17 package android.drm.cts;
DConfig.java17 package android.drm.cts;
/cts/tests/tests/drm/
DREADME2 "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/
Dpoc.cpp62 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/
DFwdLockConfig.java17 package android.drm.cts.configs;
21 import android.drm.cts.Config;
DPassthruConfig.java17 package android.drm.cts.configs;
21 import android.drm.cts.Config;
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp227 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/
DMediaServerCrashTest.java20 import android.drm.DrmConvertedStatus;
21 import android.drm.DrmManagerClient;
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java20 import android.drm.DrmConvertedStatus;
21 import android.drm.DrmManagerClient;
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java20 import android.drm.DrmConvertedStatus;
21 import android.drm.DrmManagerClient;