Home
last modified time | relevance | path

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

/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/1.0/default/
DDescramblerImpl.cpp93 const hidl_vec<SubSample>& subSamples, in descramble() argument
131 for (size_t i = 0; i < subSamples.size(); i++) { in descramble()
132 totalBytesInSubSamples += (uint64_t)subSamples[i].numBytesOfClearData + in descramble()
133 subSamples[i].numBytesOfEncryptedData; in descramble()
186 subSamples.size(), in descramble()
187 (DescramblerPlugin::SubSample*)subSamples.data(), in descramble()
DDescramblerImpl.h47 const hidl_vec<SubSample>& subSamples,
/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()
DDescramblerImpl.h47 const hidl_vec<SubSample>& subSamples,
/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()
DDescramblerImpl.h47 const hidl_vec<SubSample>& subSamples,
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.cpp64 const Pattern& pattern, const hidl_vec<SubSample>& subSamples, in decrypt() argument
102 std::make_unique<android::CryptoPlugin::SubSample[]>(subSamples.size()); in decrypt()
105 for (size_t i = 0; i < subSamples.size(); i++) { in decrypt()
106 uint32_t numBytesOfClearData = subSamples[i].numBytesOfClearData; in decrypt()
108 uint32_t numBytesOfEncryptedData = subSamples[i].numBytesOfEncryptedData; in decrypt()
171 subSamples.size(), destPtr, &detailMessage); in decrypt()
DCryptoPlugin.h65 const hidl_vec<SubSample>& subSamples, const SharedBuffer& source,
/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/1.0/vts/functional/
DVtsHalCasV1_0TargetTest.cpp242 const SubSample* subSamples; member
366 const_cast<SubSample*>(params.subSamples), params.numSubSamples, false /*own*/); in descrambleTestOobInput()
735 .subSamples = kSubSamples, in TEST_F()
750 .subSamples = kSubSamples, in TEST_F()
765 .subSamples = kSubSamples, in TEST_F()
780 .subSamples = kSubSamples, in TEST_F()
795 .subSamples = kSubSamples, in TEST_F()
813 .subSamples = invalidSubSamples1, in TEST_F()
831 .subSamples = invalidSubSamples2, in TEST_F()
/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,
/hardware/interfaces/drm/1.2/
DICryptoPlugin.hal48 * @param subSamples a vector of subsamples indicating the number
81 Pattern pattern, vec<SubSample> subSamples,
/hardware/interfaces/drm/1.0/
DICryptoPlugin.hal89 * @param subSamples a vector of subsamples indicating the number
111 Pattern pattern, vec<SubSample> subSamples,
/hardware/interfaces/cas/1.1/vts/functional/
DVtsHalCasV1_1TargetTest.cpp285 const SubSample* subSamples; member
402 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()
/hardware/google/av/media/sfplugin/
DCCodecBufferChannel.h66 const CryptoPlugin::SubSample *subSamples,
DCCodecBufferChannel.cpp1719 const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, in queueSecureInputBuffer() argument
1747 subSamples, numSubSamples, destination, errorDetailMsg); in queueSecureInputBuffer()
1758 hidlSubSamples.setToExternal((SubSample *)subSamples, numSubSamples, false /*own*/); in queueSecureInputBuffer()
/hardware/interfaces/cas/1.2/vts/functional/
DVtsHalCasV1_2TargetTest.cpp327 const SubSample* subSamples; member
446 hidlSubSamples.setToExternal(const_cast<SubSample*>(params.subSamples), params.numSubSamples, in descrambleTestOobInput()