HomeSort by relevance Sort by last modified time
    Searched refs:keyStatus (Results 1 - 3 of 3) sorted by null

  /frameworks/av/drm/mediadrm/plugins/mock/
MockDrmCryptoPlugin.cpp 462 Vector<DrmPlugin::KeyStatus> keyStatusList;
463 DrmPlugin::KeyStatus keyStatus;
465 keyStatus.mKeyId.clear();
466 keyStatus.mKeyId.appendArray(keyId1, sizeof(keyId1));
467 keyStatus.mType = DrmPlugin::kKeyStatusType_Usable;
468 keyStatusList.add(keyStatus);
471 keyStatus.mKeyId.clear();
472 keyStatus.mKeyId.appendArray(keyId2, sizeof(keyId2));
473 keyStatus.mType = DrmPlugin::kKeyStatusType_Expired
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaDrmMockTest.java 22 import android.media.MediaDrm.KeyStatus;
899 List<KeyStatus> keyInformation, boolean hasNewUsableKey) {
905 KeyStatus keyStatus = keyInformation.get(0);
906 assertTrue(Arrays.equals(keyStatus.getKeyId(), "key1".getBytes()));
907 assertTrue(keyStatus.getStatusCode() == MediaDrm.KeyStatus.STATUS_USABLE)
    [all...]
  /frameworks/av/drm/libmediadrm/
Drm.cpp 162 Vector<DrmPlugin::KeyStatus> const *keyStatusList,
176 const DrmPlugin::KeyStatus *keyStatus = &keyStatusList->itemAt(i);
177 writeByteArray(obj, &keyStatus->mKeyId);
178 obj.writeInt32(keyStatus->mType);

Completed in 101 milliseconds