Searched defs:initData (Results 1 - 12 of 12) sorted by last modified time

/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java70 void initData() { method in class:SgTransform
86 initData();
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java60 * @param initData Opaque initialization data specific to the crypto scheme.
62 public MediaCrypto(UUID uuid, byte[] initData) throws MediaCryptoException { argument
63 native_setup(getByteArrayFromUUID(uuid), initData);
81 private native final void native_setup(byte[] uuid, byte[] initData) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp46 const uint8_t uuid[16], const void *initData, size_t initSize) {
49 mCrypto = MakeCrypto(uuid, initData, initSize);
86 const uint8_t uuid[16], const void *initData, size_t initSize) {
93 status_t err = crypto->createPlugin(uuid, initData, initSize);
190 jbyte *initData = NULL; local
194 initData = env->GetByteArrayElements(initDataObj, &isCopy);
198 env, thiz, (const uint8_t *)uuid, initData, initDataLength);
203 env->ReleaseByteArrayElements(initDataObj, initData, 0);
204 initData = NULL;
44 JCrypto( JNIEnv *env, jobject thiz, const uint8_t uuid[16], const void *initData, size_t initSize) argument
85 MakeCrypto( const uint8_t uuid[16], const void *initData, size_t initSize) argument
H A Dandroid_media_MediaDrm.cpp741 Vector<uint8_t> initData; local
743 initData = JByteArrayToVector(env, jinitData);
772 status_t err = drm->getKeyRequest(sessionId, initData, mimeType,
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java410 initData();
457 initData();
514 initData();
609 initData();
620 initData();
635 private void initData() { method in class:RadialTimePickerView
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.cpp46 const Vector<uint8_t>& initData,
59 return session->getKeyRequest(initData, initDataType, &request);
44 getKeyRequest( const Vector<uint8_t>& scope, const Vector<uint8_t>& initData, const String8& initDataType, KeyType keyType, const KeyedVector<String8, String8>& optionalParameters, Vector<uint8_t>& request, String8& defaultUrl) argument
H A DInitDataParser.cpp43 android::status_t InitDataParser::parse(const Vector<uint8_t>& initData, argument
49 android::status_t res = parsePssh(initData, &keyIds);
55 if (initData.size() != kKeyIdSize) {
58 keyIds.push(initData.array());
72 android::status_t InitDataParser::parsePssh(const Vector<uint8_t>& initData, argument
77 uint32_t expectedSize = initData.size();
79 if (memcmp(&initData[readPosition], &expectedSize,
87 if (memcmp(&initData[readPosition], psshIdentifier,
95 if (memcmp(&initData[readPosition], psshVersion1,
102 if (!isClearKeyUUID(&initData[readPositio
[all...]
H A DSession.cpp38 const Vector<uint8_t>& initData,
42 return parser.parse(initData, initDataType, keyRequest);
37 getKeyRequest( const Vector<uint8_t>& initData, const String8& initDataType, Vector<uint8_t>* keyRequest) const argument
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DInitDataParserUnittest.cpp40 status_t attemptParse(const Vector<uint8_t>& initData, argument
44 return parser.parse(initData, initDataType, licenseRequest);
47 void attemptParseExpectingSuccess(const Vector<uint8_t>& initData, argument
53 ASSERT_EQ(android::OK, attemptParse(initData, initDataType, &request));
70 void attemptParseExpectingFailure(const Vector<uint8_t>& initData, argument
73 ASSERT_NE(android::OK, attemptParse(initData, initDataType, &request));
90 Vector<uint8_t> initData; local
91 initData.appendArray(pssh, 52);
96 attemptParseExpectingSuccess(initData, kCencType, 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/mock/
H A DMockDrmCryptoPlugin.cpp111 Vector<uint8_t> const &initData,
117 ALOGD("MockDrmPlugin::getKeyRequest(sessionId=%s, initData=%s, mimeType=%s"
119 vectorToString(sessionId).string(), vectorToString(initData).string(), mimeType.string(),
129 // byte[] initData -> mock-initdata
134 mByteArrayProperties.add(String8("mock-initdata"), initData);
110 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) argument
/frameworks/av/media/libmedia/
H A DIDrm.cpp125 Vector<uint8_t> const &initData,
133 writeVector(data, initData);
547 Vector<uint8_t> sessionId, initData; local
550 readVector(data, initData);
566 status_t result = getKeyRequest(sessionId, initData,
124 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) argument
/frameworks/av/media/libmediaplayerservice/
H A DDrm.cpp310 Vector<uint8_t> const &initData,
324 return mPlugin->getKeyRequest(sessionId, initData, mimeType, keyType,
309 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) argument

Completed in 283 milliseconds