/frameworks/av/drm/mediadrm/plugins/clearkey/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/ |
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 | InitDataParser.h | 31 android::status_t parse(const android::Vector<uint8_t>& initData, 38 android::status_t parsePssh(const android::Vector<uint8_t>& initData,
|
D | Session.cpp | 38 const Vector<uint8_t>& initData, in getKeyRequest() argument 42 return parser.parse(initData, mimeType, keyRequest); in getKeyRequest()
|
D | DrmPlugin.cpp | 52 const Vector<uint8_t>& initData, in getKeyRequest() argument 72 return session->getKeyRequest(initData, mimeType, &request); in getKeyRequest()
|
/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/base/media/java/android/media/ |
D | MediaCrypto.java | 64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { in MediaCrypto() argument 65 native_setup(getByteArrayFromUUID(uuid), initData); in MediaCrypto() local 97 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup() argument
|
/frameworks/av/include/ndk/ |
D | NdkMediaCrypto.h | 50 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize);
|
/frameworks/av/include/media/ |
D | CryptoHal.h | 88 const uint8_t uuid[16], const void *initData, size_t size);
|
D | IDrm.h | 48 Vector<uint8_t> const &initData,
|
D | Drm.h | 53 Vector<uint8_t> const &initData,
|
D | DrmHal.h | 63 Vector<uint8_t> const &initData,
|
/frameworks/av/media/libmedia/include/media/ |
D | CryptoHal.h | 88 const uint8_t uuid[16], const void *initData, size_t size);
|
D | IDrm.h | 48 Vector<uint8_t> const &initData,
|
D | Drm.h | 53 Vector<uint8_t> const &initData,
|
D | DrmHal.h | 63 Vector<uint8_t> const &initData,
|
/frameworks/av/drm/libmediadrm/ |
D | CryptoHal.cpp | 149 const uint8_t uuid[16], const void *initData, size_t initDataSize) { in makeCryptoPlugin() argument 153 toHidlVec(initData, initDataSize), in makeCryptoPlugin()
|
D | IDrm.cpp | 145 Vector<uint8_t> const &initData, in getKeyRequest() 154 writeVector(data, initData); in getKeyRequest() 632 Vector<uint8_t> sessionId, initData; in onTransact() local 635 readVector(data, initData); in onTransact() 652 status_t result = getKeyRequest(sessionId, initData, mimeType, in onTransact()
|
D | Drm.cpp | 406 Vector<uint8_t> const &initData, in getKeyRequest() argument 423 return mPlugin->getKeyRequest(sessionId, initData, mimeType, keyType, in getKeyRequest()
|
D | DrmHal.cpp | 483 Vector<uint8_t> const &initData, String8 const &mimeType, in getKeyRequest() argument 511 toHidlVec(initData), toHidlString(mimeType), hKeyType, hOptionalParameters, in getKeyRequest()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 390 initData(); in RadialTimePickerView() 448 initData(); in initialize() 504 initData(); in setCurrentHourInternal() 632 private void initData() { in initData() method in RadialTimePickerView 695 initData(); in showPicker()
|
/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,
|
/frameworks/native/include/media/drm/ |
D | DrmAPI.h | 165 Vector<uint8_t> const &initData,
|