/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
H A D | InitDataParserUnittest.cpp | 40 status_t attemptParse(const Vector<uint8_t>& initData, argument 44 return parser.parse(initData, mimeType, licenseRequest); 47 void attemptParseExpectingSuccess(const Vector<uint8_t>& initData, argument 53 ASSERT_EQ(android::OK, attemptParse(initData, mimeType, &request)); 70 void attemptParseExpectingFailure(const Vector<uint8_t>& initData, argument 73 ASSERT_NE(android::OK, attemptParse(initData, mimeType, &request)); 90 Vector<uint8_t> initData; local 91 initData.appendArray(pssh, 52); 96 attemptParseExpectingSuccess(initData, kCencMimeType, expectedKeys); 115 Vector<uint8_t> initData; local 131 Vector<uint8_t> initData; local 147 Vector<uint8_t> initData; local 157 Vector<uint8_t> initData; local 175 Vector<uint8_t> initData; local 193 Vector<uint8_t> initData; local 211 Vector<uint8_t> initData; local 229 Vector<uint8_t> initData; local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | InitDataParser.cpp | 44 android::status_t InitDataParser::parse(const Vector<uint8_t>& initData, argument 52 android::status_t res = parsePssh(initData, &keyIds); 60 if (initData.size() != kKeyIdSize) { 63 keyIds.push(initData.array()); 77 android::status_t InitDataParser::parsePssh(const Vector<uint8_t>& initData, argument 82 uint32_t expectedSize = initData.size(); 84 if (memcmp(&initData[readPosition], &expectedSize, 92 if (memcmp(&initData[readPosition], psshIdentifier, 100 if (memcmp(&initData[readPosition], psshVersion1, 107 if (!isClearKeyUUID(&initData[readPositio [all...] |
H A 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,
|
H A D | Session.cpp | 38 const Vector<uint8_t>& initData, 42 return parser.parse(initData, mimeType, keyRequest); 37 getKeyRequest( const Vector<uint8_t>& initData, const String8& mimeType, Vector<uint8_t>* keyRequest) const argument
|
H A D | DrmPlugin.cpp | 70 const Vector<uint8_t>& initData, 93 return session->getKeyRequest(initData, mimeType, &request); 68 getKeyRequest( const Vector<uint8_t>& scope, const Vector<uint8_t>& initData, const String8& mimeType, KeyType keyType, const KeyedVector<String8, String8>& optionalParameters, Vector<uint8_t>& request, String8& defaultUrl, DrmPlugin::KeyRequestType *keyRequestType) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCrypto.java | 62 * @param initData Opaque initialization data specific to the crypto scheme. 64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { argument 65 native_setup(getByteArrayFromUUID(uuid), initData); 97 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) argument
|
/frameworks/base/media/jni/ |
H A 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);
|
H A D | android_media_MediaCrypto.cpp | 47 const uint8_t uuid[16], const void *initData, size_t initSize) { 50 mCrypto = MakeCrypto(uuid, initData, initSize); 85 const uint8_t uuid[16], const void *initData, size_t initSize) { 92 status_t err = crypto->createPlugin(uuid, initData, initSize); 198 jbyte *initData = NULL; local 202 initData = env->GetByteArrayElements(initDataObj, &isCopy); 206 env, thiz, (const uint8_t *)uuid, initData, initDataLength); 211 env->ReleaseByteArrayElements(initDataObj, initData, 0); 212 initData = NULL; 45 JCrypto( JNIEnv *env, jobject thiz, const uint8_t uuid[16], const void *initData, size_t initSize) argument 84 MakeCrypto( const uint8_t uuid[16], const void *initData, size_t initSize) argument
|
/frameworks/av/media/ndk/include/media/ |
H A D | NdkMediaCrypto.h | 50 AMediaCrypto* AMediaCrypto_new(const AMediaUUID uuid, const void *initData, size_t initDataSize);
|
/frameworks/av/include/media/ |
H A D | CryptoHal.h | 88 const uint8_t uuid[16], const void *initData, size_t size);
|
H A D | Drm.h | 53 Vector<uint8_t> const &initData,
|
H A D | DrmHal.h | 68 Vector<uint8_t> const &initData,
|
H A D | IDrm.h | 48 Vector<uint8_t> const &initData,
|
/frameworks/av/media/libmedia/include/media/ |
H A D | CryptoHal.h | 88 const uint8_t uuid[16], const void *initData, size_t size);
|
H A D | Drm.h | 53 Vector<uint8_t> const &initData,
|
H A D | DrmHal.h | 68 Vector<uint8_t> const &initData,
|
H A D | IDrm.h | 48 Vector<uint8_t> const &initData,
|
/frameworks/av/drm/libmediadrm/ |
H A D | IDrm.cpp | 145 Vector<uint8_t> const &initData, 154 writeVector(data, initData); 637 Vector<uint8_t> sessionId, initData; local 640 readVector(data, initData); 657 status_t result = getKeyRequest(sessionId, initData, mimeType, 144 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, DrmPlugin::KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, DrmPlugin::KeyRequestType *keyRequestType) argument
|
H A D | CryptoHal.cpp | 149 const uint8_t uuid[16], const void *initData, size_t initDataSize) { 153 toHidlVec(initData, initDataSize), 148 makeCryptoPlugin(const sp<ICryptoFactory>& factory, const uint8_t uuid[16], const void *initData, size_t initDataSize) argument
|
H A D | DrmHal.cpp | 517 Vector<uint8_t> const &initData, String8 const &mimeType, 545 toHidlVec(initData), toHidlString(mimeType), hKeyType, hOptionalParameters, 516 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, DrmPlugin::KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, DrmPlugin::KeyRequestType *keyRequestType) argument
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.h | 63 Vector<uint8_t> const &initData,
|
H A D | MockDrmCryptoPlugin.cpp | 113 Vector<uint8_t> const &initData, 120 ALOGD("MockDrmPlugin::getKeyRequest(sessionId=%s, initData=%s, mimeType=%s" 122 vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(), 132 // byte[] initData -> mock-initdata 137 mByteArrayProperties.add(String8("mock-initdata"), initData); 112 getKeyRequest(Vector<uint8_t> const &sessionId, Vector<uint8_t> const &initData, String8 const &mimeType, KeyType keyType, KeyedVector<String8, String8> const &optionalParameters, Vector<uint8_t> &request, String8 &defaultUrl, KeyRequestType *keyRequestType) argument
|
/frameworks/native/headers/media_plugin/media/drm/ |
H A D | DrmAPI.h | 165 Vector<uint8_t> const &initData,
|
/frameworks/native/include/media/drm/ |
H A D | DrmAPI.h | 165 Vector<uint8_t> const &initData,
|
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 390 initData(); 448 initData(); 504 initData(); 632 private void initData() { method in class:RadialTimePickerView 695 initData();
|