Lines Matching refs:uuid

115 static bool isUuidSizeValid(Uuid uuid) {  in isUuidSizeValid()  argument
116 return (uuid.size() == kUuidSize); in isUuidSizeValid()
130 static Uuid jbyteArrayToUuid(JNIEnv* env, jbyteArray const &uuid) { in jbyteArrayToUuid() argument
133 if (uuid != NULL) { in jbyteArrayToUuid()
134 juuid = jbyteArrayToVector(env, uuid); in jbyteArrayToUuid()
174 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid) { in isCryptoSchemeSupportedNative() argument
176 if (NULL == uuid) { in isCryptoSchemeSupportedNative()
181 Uuid juuid = jbyteArrayToUuid(env, uuid); in isCryptoSchemeSupportedNative()
206 JNIEnv* env, jclass clazz, jbyteArray uuid, in testGetPropertyStringNative() argument
209 if (NULL == uuid || NULL == name || NULL == outValue) { in testGetPropertyStringNative()
215 Uuid juuid = jbyteArrayToUuid(env, uuid); in testGetPropertyStringNative()
251 JNIEnv* env, jclass /* clazz */, jbyteArray uuid) { in testPropertyByteArrayNative() argument
253 if (NULL == uuid) { in testPropertyByteArrayNative()
259 Uuid juuid = jbyteArrayToUuid(env, uuid); in testPropertyByteArrayNative()
302 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jstring videoUrl) { in testPsshNative() argument
304 if (NULL == uuid || NULL == videoUrl) { in testPsshNative()
310 Uuid juuid = jbyteArrayToUuid(env, uuid); in testPsshNative()
342 if (0 == memcmp(entry->uuid, kClearKeyUuid, sizeof(entry->uuid))) { in testPsshNative()
496 PlaybackParams& params, const AMediaDrmSessionId& sessionId, Uuid uuid) { in playContent() argument
506 crypto = AMediaCrypto_new(&uuid[0], sessionId.ptr, sessionId.length); in playContent()
687 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in testClearKeyPlaybackNative() argument
688 if (NULL == uuid || NULL == playbackParams) { in testClearKeyPlaybackNative()
694 Uuid juuid = jbyteArrayToUuid(env, uuid); in testClearKeyPlaybackNative()
827 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid) { in testQueryKeyStatusNative() argument
829 if (NULL == uuid) { in testQueryKeyStatusNative()
834 Uuid juuid = jbyteArrayToUuid(env, uuid); in testQueryKeyStatusNative()
920 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid) { in testFindSessionIdNative() argument
922 if (NULL == uuid) { in testFindSessionIdNative()
927 Uuid juuid = jbyteArrayToUuid(env, uuid); in testFindSessionIdNative()
976 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in testGetKeyRequestNative() argument
978 if (NULL == uuid || NULL == playbackParams) { in testGetKeyRequestNative()
984 Uuid juuid = jbyteArrayToUuid(env, uuid); in testGetKeyRequestNative()