Lines Matching refs:uniqueId
167 jint uniqueId = event.getUniqueId(); in onInfo() local
171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string()); in onInfo()
176 mObject, uniqueId, type, message); in onInfo()
213 int uniqueId = 0; in android_drm_DrmManagerClient_initialize() local
214 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false); in android_drm_DrmManagerClient_initialize()
215 drmManager->addClient(uniqueId); in android_drm_DrmManagerClient_initialize()
219 return static_cast<jint>(uniqueId); in android_drm_DrmManagerClient_initialize()
223 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) { in android_drm_DrmManagerClient_setListeners() argument
228 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener); in android_drm_DrmManagerClient_setListeners()
234 JNIEnv* env, jobject thiz, jint uniqueId) { in android_drm_DrmManagerClient_release() argument
236 getDrmManagerClientImpl(env, thiz)->remove(uniqueId); in android_drm_DrmManagerClient_release()
237 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, NULL); in android_drm_DrmManagerClient_release()
241 oldClient->setOnInfoListener(uniqueId, NULL); in android_drm_DrmManagerClient_release()
242 oldClient->removeClient(uniqueId); in android_drm_DrmManagerClient_release()
248 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) { in android_drm_DrmManagerClient_getConstraintsFromContent() argument
253 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage); in android_drm_DrmManagerClient_getConstraintsFromContent()
297 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) { in android_drm_DrmManagerClient_getMetadataFromContent() argument
301 getDrmManagerClientImpl(env, thiz)->getMetadata(uniqueId, &pathString); in android_drm_DrmManagerClient_getMetadataFromContent()
337 JNIEnv* env, jobject thiz, jint uniqueId) { in android_drm_DrmManagerClient_getAllSupportInfo() argument
342 getDrmManagerClientImpl(env, thiz)->getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray); in android_drm_DrmManagerClient_getAllSupportInfo()
393 JNIEnv* env, jobject thiz, jint uniqueId, in android_drm_DrmManagerClient_saveRights() argument
406 ->saveRights(uniqueId, rights, Utility::getStringValue(env, rightsPath), in android_drm_DrmManagerClient_saveRights()
416 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { in android_drm_DrmManagerClient_canHandle() argument
420 ->canHandle(uniqueId, Utility::getStringValue(env, path), in android_drm_DrmManagerClient_canHandle()
427 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) { in android_drm_DrmManagerClient_processDrmInfo() argument
468 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo); in android_drm_DrmManagerClient_processDrmInfo()
510 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) { in android_drm_DrmManagerClient_acquireDrmInfo() argument
541 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq); in android_drm_DrmManagerClient_acquireDrmInfo()
582 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { in android_drm_DrmManagerClient_getDrmObjectType() argument
586 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path), in android_drm_DrmManagerClient_getDrmObjectType()
593 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) { in android_drm_DrmManagerClient_getOriginalMimeType() argument
602 ->getOriginalMimeType(uniqueId, in android_drm_DrmManagerClient_getOriginalMimeType()
609 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) { in android_drm_DrmManagerClient_checkRightsStatus() argument
613 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action); in android_drm_DrmManagerClient_checkRightsStatus()
619 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) { in android_drm_DrmManagerClient_removeRights() argument
622 ->removeRights(uniqueId, Utility::getStringValue(env, path))); in android_drm_DrmManagerClient_removeRights()
626 JNIEnv* env, jobject thiz, jint uniqueId) { in android_drm_DrmManagerClient_removeAllRights() argument
629 ->removeAllRights(uniqueId)); in android_drm_DrmManagerClient_removeAllRights()
633 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) { in android_drm_DrmManagerClient_openConvertSession() argument
637 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType)); in android_drm_DrmManagerClient_openConvertSession()
674 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) { in android_drm_DrmManagerClient_convertData() argument
682 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer); in android_drm_DrmManagerClient_convertData()
693 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId) { in android_drm_DrmManagerClient_closeConvertSession() argument
698 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId); in android_drm_DrmManagerClient_closeConvertSession()