/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/ |
D | InitDataParserUnittest.cpp | 40 status_t attemptParse(const Vector<uint8_t>& initData, in attemptParse() argument 44 return parser.parse(initData, mimeType, licenseRequest); in attemptParse() 47 void attemptParseExpectingSuccess(const Vector<uint8_t>& initData, in attemptParseExpectingSuccess() argument 53 ASSERT_EQ(android::OK, attemptParse(initData, mimeType, &request)); in attemptParseExpectingSuccess() 70 void attemptParseExpectingFailure(const Vector<uint8_t>& initData, in attemptParseExpectingFailure() argument 73 ASSERT_NE(android::OK, attemptParse(initData, mimeType, &request)); in attemptParseExpectingFailure() 90 Vector<uint8_t> initData; in TEST_F() local 91 initData.appendArray(pssh, 52); in TEST_F() 96 attemptParseExpectingSuccess(initData, kCencMimeType, expectedKeys); in TEST_F() 115 Vector<uint8_t> initData; in TEST_F() local [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | InitDataParser.cpp | 44 android::status_t InitDataParser::parse(const Vector<uint8_t>& initData, in parse() argument 52 android::status_t res = parsePssh(initData, &keyIds); in parse() 60 if (initData.size() != kKeyIdSize) { in parse() 63 keyIds.push(initData.array()); in parse() 77 android::status_t InitDataParser::parsePssh(const Vector<uint8_t>& initData, in parsePssh() argument 82 uint32_t expectedSize = initData.size(); in parsePssh() 84 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 92 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh() 100 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh() 107 if (!isClearKeyUUID(&initData[readPosition])) { in parsePssh() [all …]
|
D | Session.cpp | 38 const Vector<uint8_t>& initData, in getKeyRequest() argument 42 return parser.parse(initData, mimeType, keyRequest); in getKeyRequest()
|
D | DrmPlugin.cpp | 85 const Vector<uint8_t>& initData, in getKeyRequest() argument 108 return session->getKeyRequest(initData, mimeType, &request); in getKeyRequest()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | InitDataParser.cpp | 47 Status InitDataParser::parse(const std::vector<uint8_t>& initData, in parse() argument 57 Status res = parsePssh(initData, &keyIds); in parse() 65 if (initData.size() != kKeyIdSize) { in parse() 68 keyIds.push_back(initData.data()); in parse() 86 Status InitDataParser::parsePssh(const std::vector<uint8_t>& initData, in parsePssh() argument 91 uint32_t expectedSize = initData.size(); in parsePssh() 93 if (memcmp(&initData[readPosition], &expectedSize, in parsePssh() 101 if (memcmp(&initData[readPosition], psshIdentifier, in parsePssh() 109 if (memcmp(&initData[readPosition], psshVersion1, in parsePssh() 116 if (!clearkeydrm::isClearKeyUUID(&initData[readPosition])) { in parsePssh() [all …]
|
D | CryptoFactory.cpp | 41 const hidl_vec<uint8_t> &initData, in createPlugin() argument 51 CryptoPlugin *cryptoPlugin = new CryptoPlugin(initData); in createPlugin()
|
D | Session.cpp | 43 const std::vector<uint8_t>& initData, in getKeyRequest() argument 48 return parser.parse(initData, mimeType, keyType, keyRequest); in getKeyRequest()
|
D | DrmPlugin.cpp | 165 const hidl_vec<uint8_t>& initData, in getKeyRequestCommon() argument 178 if (keyType == KeyType::OFFLINE && 0 == initData.size()) { in getKeyRequestCommon() 208 session->getKeyRequest(initData, mimeType, keyType, request)); in getKeyRequestCommon() 238 const hidl_vec<uint8_t>& initData, in getKeyRequest() argument 249 scope, initData, mimeType, keyType, optionalParameters, in getKeyRequest() 260 const hidl_vec<uint8_t>& initData, in getKeyRequest_1_1() argument 271 scope, initData, mimeType, keyType, optionalParameters, in getKeyRequest_1_1() 281 const hidl_vec<uint8_t>& initData, in getKeyRequest_1_2() argument 292 scope, initData, mimeType, keyType, optionalParameters, in getKeyRequest_1_2()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCrypto.cpp | 47 const uint8_t uuid[16], const void *initData, size_t initSize) { in JCrypto() argument 50 mCrypto = MakeCrypto(uuid, initData, initSize); in JCrypto() 85 const uint8_t uuid[16], const void *initData, size_t initSize) { in MakeCrypto() argument 92 status_t err = crypto->createPlugin(uuid, initData, initSize); in MakeCrypto() 198 jbyte *initData = NULL; in android_media_MediaCrypto_native_setup() local 202 initData = env->GetByteArrayElements(initDataObj, &isCopy); in android_media_MediaCrypto_native_setup() 206 env, thiz, (const uint8_t *)uuid, initData, initDataLength); in android_media_MediaCrypto_native_setup() 211 env->ReleaseByteArrayElements(initDataObj, initData, 0); in android_media_MediaCrypto_native_setup() 212 initData = NULL; in android_media_MediaCrypto_native_setup()
|
D | android_media_MediaCrypto.h | 34 const uint8_t uuid[16], const void *initData, size_t initSize); 52 const uint8_t uuid[16], const void *initData, size_t initSize);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | InitDataParser.h | 31 android::status_t parse(const android::Vector<uint8_t>& initData, 38 android::status_t parsePssh(const android::Vector<uint8_t>& initData,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | InitDataParser.h | 36 Status parse(const std::vector<uint8_t>& initData, 44 Status parsePssh(const std::vector<uint8_t>& initData,
|
D | CryptoFactory.h | 46 const hidl_vec<uint8_t>& initData,
|
D | DrmPlugin.h | 82 const hidl_vec<uint8_t>& initData, 90 const hidl_vec<uint8_t>& initData, 98 const hidl_vec<uint8_t>& initData, 383 const hidl_vec<uint8_t>& initData,
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaCrypto.h | 56 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize) __…
|
/frameworks/base/media/java/android/media/ |
D | MediaCrypto.java | 99 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup() argument
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBufferChannel.h | 133 const C2StreamInitDataInfo::output *initData); 215 const C2StreamInitDataInfo::output *initData);
|
/frameworks/av/include/mediadrm/ |
D | CryptoHal.h | 105 const uint8_t uuid[16], const void *initData, size_t size);
|
D | IDrm.h | 54 Vector<uint8_t> const &initData,
|
/frameworks/av/media/libmedia/include/media/ |
D | CryptoHal.h | 105 const uint8_t uuid[16], const void *initData, size_t size);
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 390 initData(); in RadialTimePickerView() 450 initData(); in initialize() 506 initData(); in setCurrentHourInternal() 634 private void initData() { in initData() method in RadialTimePickerView 697 initData(); in showPicker()
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 172 const uint8_t uuid[16], const void *initData, size_t initDataSize) { in makeCryptoPlugin() argument 176 toHidlVec(initData, initDataSize), in makeCryptoPlugin()
|
D | IDrm.cpp | 160 Vector<uint8_t> const &initData, in getKeyRequest() 169 writeVector(data, initData); in getKeyRequest() 825 Vector<uint8_t> sessionId, initData; in onTransact() local 828 readVector(data, initData); in onTransact() 845 status_t result = getKeyRequest(sessionId, initData, mimeType, in onTransact()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 113 Vector<uint8_t> const &initData, in getKeyRequest() argument 122 … vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(), in getKeyRequest() 137 mByteArrayProperties.add(String8("mock-initdata"), initData); in getKeyRequest()
|
D | MockDrmCryptoPlugin.h | 63 Vector<uint8_t> const &initData,
|