Home
last modified time | relevance | path

Searched refs:subSamples (Results 1 – 25 of 32) sorted by relevance

12

/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp396 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, in decrypt() argument
404 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
405 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
406 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
427 subSamples, sourceBuffer, offset, destBuffer, in decrypt()
450 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
453 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
472 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
482 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt()
483 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt()
[all …]
Ddrm_hal_test.cpp305 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local
314 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P()
332 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local
341 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P()
358 const vector<SubSample> subSamples = {{.numBytesOfClearData = kSegmentSize, in TEST_P() local
367 … &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::ERROR_DRM_FRAME_TOO_LARGE); in TEST_P()
382 const vector<SubSample> subSamples = {{.numBytesOfClearData = 256, in TEST_P() local
390 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in TEST_P()
476 const vector<SubSample> subSamples = { in TEST_P() local
502 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp837 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in decrypt() argument
850 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
851 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
852 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
873 pattern, subSamples, sourceBuffer, offset, destBuffer, in decrypt()
896 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, contentKey); in decrypt()
899 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, contentKey); in decrypt()
918 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
928 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt()
929 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt()
[all …]
Ddrm_hal_vendor_test.cpp1132 const hidl_vec<SubSample>& subSamples, const Pattern& pattern, in decrypt() argument
1140 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
1141 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
1142 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
1162 subSamples, sourceBuffer, offset, destBuffer, in decrypt()
1185 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
1188 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
1207 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
1218 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt()
1219 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt()
[all …]
/hardware/interfaces/cas/aidl/default/
DDescramblerImpl.cpp83 const vector<SubSample>& subSamples, in descramble() argument
118 for (size_t i = 0; i < subSamples.size(); i++) { in descramble()
119 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in descramble()
120 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in descramble()
173 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
/hardware/interfaces/cas/1.1/default/
DDescramblerImpl.cpp86 const hidl_vec<SubSample>& subSamples, in descramble() argument
121 for (size_t i = 0; i < subSamples.size(); i++) { in descramble()
123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble()
175 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
/hardware/interfaces/cas/1.2/default/
DDescramblerImpl.cpp86 const hidl_vec<SubSample>& subSamples, in descramble() argument
121 for (size_t i = 0; i < subSamples.size(); i++) { in descramble()
123 (uint64_t)subSamples[i].numBytesOfClearData + subSamples[i].numBytesOfEncryptedData; in descramble()
175 subSamples.size(), (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
/hardware/interfaces/cas/1.0/default/
DDescramblerImpl.cpp92 const hidl_vec<SubSample>& subSamples, in descramble() argument
130 for (size_t i = 0; i < subSamples.size(); i++) { in descramble()
131 totalBytesInSubSamples += (uint64_t)subSamples[i].numBytesOfClearData + in descramble()
132 subSamples[i].numBytesOfEncryptedData; in descramble()
185 subSamples.size(), in descramble()
186 (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
DDescramblerImpl.h47 const hidl_vec<SubSample>& subSamples,
/hardware/interfaces/drm/aidl/vts/
Ddrm_hal_common.cpp483 uint8_t* iv, const vector<SubSample>& subSamples, in decrypt() argument
494 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
495 totalSize += subSamples[i].numBytesOfClearData; in decrypt()
496 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt()
522 args.subSamples = subSamples; in decrypt()
545 aes_ctr_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
548 aes_cbc_decrypt(&reference[0], base, localIv, subSamples, key); in decrypt()
568 const vector<SubSample>& subSamples, const vector<uint8_t>& key) { in aes_ctr_decrypt() argument
577 for (size_t i = 0; i < subSamples.size(); i++) { in aes_ctr_decrypt()
578 const SubSample& subSample = subSamples[i]; in aes_ctr_decrypt()
[all …]
Ddrm_hal_test.cpp297 const vector<SubSample> subSamples = { in TEST_P() local
307 subSamples, noPattern, key.clearContentKey, Status::OK); in TEST_P()
325 const vector<SubSample> subSamples = { in TEST_P() local
334 subSamples, noPattern, key.clearContentKey, Status::OK); in TEST_P()
351 const vector<SubSample> subSamples = { in TEST_P() local
359 decrypt(Mode::UNENCRYPTED, key.isSecure, toStdArray(key.keyId), &iv[0], subSamples, in TEST_P()
375 const vector<SubSample> subSamples = { in TEST_P() local
383 decrypt(Mode::AES_CTR, key.isSecure, toStdArray(key.keyId), &iv[0], subSamples, in TEST_P()
508 const vector<SubSample> subSamples = { in TEST_P() local
532 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp66 const Pattern& pattern, const hidl_vec<SubSample>& subSamples, in decrypt() argument
104 std::make_unique<android::CryptoPlugin::SubSample[]>(subSamples.size()); in decrypt()
107 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
108 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in decrypt()
110 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt()
184 subSamples.size(), destPtr, &detailMessage); in decrypt()
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h185 uint32_t decrypt(Mode mode, uint8_t* iv, const hidl_vec<SubSample>& subSamples,
188 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
190 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
192 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
Ddrm_hal_vendor_test.h195 const hidl_vec<SubSample>& subSamples, const Pattern& pattern,
198 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
200 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h116 const hidl_vec<SubSample>& subSamples, const Pattern& pattern,
119 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
121 const hidl_vec<SubSample>& subSamples, const vector<uint8_t>& key);
149 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
/hardware/interfaces/cas/aidl/vts/functional/
DVtsHalCasAidlTargetTest.cpp279 const SubSample* subSamples; member
394 vector<SubSample> subSample(params.subSamples, params.subSamples + params.numSubSamples); in descrambleTestOobInput()
737 {.subSamples = kSubSamples, in TEST_P()
749 {.subSamples = kSubSamples, in TEST_P()
761 {.subSamples = kSubSamples, in TEST_P()
773 {.subSamples = kSubSamples, in TEST_P()
785 {.subSamples = kSubSamples, in TEST_P()
799 {.subSamples = invalidSubSamples1, in TEST_P()
813 {.subSamples = invalidSubSamples2, in TEST_P()
/hardware/interfaces/drm/aidl/vts/include/
Ddrm_hal_common.h121 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples,
126 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples,
129 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples,
162 const std::vector<::aidl::android::hardware::drm::SubSample>& subSamples);
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/current/android/hardware/drm/
DDecryptArgs.aidl42 android.hardware.drm.SubSample[] subSamples;
/hardware/interfaces/drm/aidl/aidl_api/android.hardware.drm/1/android/hardware/drm/
DDecryptArgs.aidl42 android.hardware.drm.SubSample[] subSamples;
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/1/android/hardware/cas/
DIDescrambler.aidl38 …ramblingControl scramblingControl, in android.hardware.cas.SubSample[] subSamples, in android.hard… in descramble() argument
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/
DIDescrambler.aidl38 …ramblingControl scramblingControl, in android.hardware.cas.SubSample[] subSamples, in android.hard… in descramble() argument
/hardware/interfaces/drm/aidl/android/hardware/drm/
DDecryptArgs.aidl69 SubSample[] subSamples;
/hardware/interfaces/cas/aidl/android/hardware/cas/
DIDescrambler.aidl45 int descramble(in ScramblingControl scramblingControl, in SubSample[] subSamples, in descramble() argument
/hardware/interfaces/cas/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp236 const SubSample* subSamples; member
372 const_cast<SubSample*>(params.subSamples), params.numSubSamples, false /*own*/); in descrambleTestOobInput()
750 {.subSamples = kSubSamples, in TEST_P()
762 {.subSamples = kSubSamples, in TEST_P()
774 {.subSamples = kSubSamples, in TEST_P()
786 {.subSamples = kSubSamples, in TEST_P()
798 {.subSamples = kSubSamples, in TEST_P()
812 {.subSamples = invalidSubSamples1, in TEST_P()
826 {.subSamples = invalidSubSamples2, in TEST_P()
/hardware/interfaces/cas/native/1.0/
DIDescrambler.hal32 * @param subSamples an array of SubSample structures describing the number of
43 descramble(ScramblingControl scramblingControl, vec<SubSample> subSamples,

12