Lines Matching refs:uniqueId
187 jint uniqueId = event.getUniqueId();
191 LOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string());
196 mObject, uniqueId, type, message);
231 int uniqueId = 0;
232 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false);
233 drmManager->addClient(uniqueId);
237 drmManager->setOnInfoListener(uniqueId, listener);
242 return uniqueId;
245 static void android_drm_DrmManagerClient_finalize(JNIEnv* env, jobject thiz, jint uniqueId) {
247 DrmManagerClientImpl::remove(uniqueId);
248 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, NULL);
252 oldClient->setOnInfoListener(uniqueId, NULL);
253 oldClient->removeClient(uniqueId);
259 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) {
264 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage);
306 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) {
310 getDrmManagerClientImpl(env, thiz)->getMetadata(uniqueId, &pathString);
343 JNIEnv* env, jobject thiz, jint uniqueId) {
348 getDrmManagerClientImpl(env, thiz)->getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray);
390 JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) {
393 // ->installDrmEngine(uniqueId, Utility::getStringValue(env, engineFilePath));
398 JNIEnv* env, jobject thiz, jint uniqueId,
411 ->saveRights(uniqueId, rights, Utility::getStringValue(env, rightsPath),
421 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
425 ->canHandle(uniqueId, Utility::getStringValue(env, path),
432 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) {
472 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo);
514 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) {
544 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq);
584 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
588 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path),
595 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) {
599 ->getOriginalMimeType(uniqueId, Utility::getStringValue(env, path));
605 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) {
609 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action);
615 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) {
618 ->removeRights(uniqueId, Utility::getStringValue(env, path));
622 JNIEnv* env, jobject thiz, jint uniqueId) {
624 return getDrmManagerClientImpl(env, thiz)->removeAllRights(uniqueId);
628 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) {
632 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType));
638 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
646 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
679 JNIEnv* env, jobject thiz, int uniqueId, jint convertId) {
684 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);