Home
last modified time | relevance | path

Searched refs:mKeySetId (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmClearkeyTest.java120 private byte[] mKeySetId; field in MediaDrmClearkeyTest
279 mKeySetId = retrieveKeys(drm, initDataType, sessionId, drmInitData, keyType, clearKeyIds); in getKeys()
474 if (mKeySetId.length > 0) { in testClearKeyPlayback()
475 drm.restoreKeys(mSessionId, mKeySetId); in testClearKeyPlayback()
543 drm.restoreKeys(mSessionId, mKeySetId); in testReleaseOfflineLicense()
547 getKeys(mDrm, initDataType, mKeySetId, mDrmInitData, MediaDrm.KEY_TYPE_RELEASE, in testReleaseOfflineLicense()
554 drm.restoreKeys(mSessionId, mKeySetId); in testReleaseOfflineLicense()
675 if (drm.getOfflineLicenseState(mKeySetId) != MediaDrm.OFFLINE_LICENSE_STATE_USABLE) { in testOfflineKeyManagement()
687 if (Arrays.equals(keySetIds.get(i), mKeySetId)) { in testOfflineKeyManagement()
696 drm.removeOfflineLicense(mKeySetId); in testOfflineKeyManagement()
[all …]
DMediaPlayerDrmTestBase.java144 protected byte[] mKeySetId; field in MediaPlayerDrmTestBase
835 if (mKeySetId == null) { in setupDrm()
846 (keyType == MediaDrm.KEY_TYPE_RELEASE) ? mKeySetId : null, in setupDrm()
862 (keyType == MediaDrm.KEY_TYPE_RELEASE) ? mKeySetId : null, in setupDrm()
866 mKeySetId = (keyType == MediaDrm.KEY_TYPE_OFFLINE) ? keySetId : null; in setupDrm()
912 if (mKeySetId == null) { in setupDrmRestore()
916 mMediaPlayer.restoreKeys(mKeySetId); in setupDrmRestore()