Lines Matching defs:uniqueId

167     jint uniqueId = event.getUniqueId();
171 ALOGV("JNIOnInfoListener::onInfo => %d | %d | %s", uniqueId, type, event.getMessage().string());
176 mObject, uniqueId, type, message);
211 int uniqueId = 0;
212 sp<DrmManagerClientImpl> drmManager = DrmManagerClientImpl::create(&uniqueId, false);
213 drmManager->addClient(uniqueId);
217 return uniqueId;
221 JNIEnv* env, jobject thiz, jint uniqueId, jobject weak_thiz) {
226 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, listener);
232 JNIEnv* env, jobject thiz, jint uniqueId) {
234 DrmManagerClientImpl::remove(uniqueId);
235 getDrmManagerClientImpl(env, thiz)->setOnInfoListener(uniqueId, NULL);
239 oldClient->setOnInfoListener(uniqueId, NULL);
240 oldClient->removeClient(uniqueId);
246 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath, jint usage) {
251 = getDrmManagerClientImpl(env, thiz)->getConstraints(uniqueId, &pathString, usage);
295 JNIEnv* env, jobject thiz, jint uniqueId, jstring jpath) {
299 getDrmManagerClientImpl(env, thiz)->getMetadata(uniqueId, &pathString);
335 JNIEnv* env, jobject thiz, jint uniqueId) {
340 getDrmManagerClientImpl(env, thiz)->getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray);
382 JNIEnv* env, jobject thiz, jint uniqueId, jstring engineFilePath) {
385 // ->installDrmEngine(uniqueId, Utility::getStringValue(env, engineFilePath));
390 JNIEnv* env, jobject thiz, jint uniqueId,
403 ->saveRights(uniqueId, rights, Utility::getStringValue(env, rightsPath),
413 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
417 ->canHandle(uniqueId, Utility::getStringValue(env, path),
424 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoObject) {
465 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo);
507 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) {
538 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq);
579 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
583 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path),
590 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) {
599 ->getOriginalMimeType(uniqueId,
606 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) {
610 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action);
616 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) {
619 ->removeRights(uniqueId, Utility::getStringValue(env, path));
623 JNIEnv* env, jobject thiz, jint uniqueId) {
625 return getDrmManagerClientImpl(env, thiz)->removeAllRights(uniqueId);
629 JNIEnv* env, jobject thiz, jint uniqueId, jstring mimeType) {
633 ->openConvertSession(uniqueId, Utility::getStringValue(env, mimeType));
670 JNIEnv* env, jobject thiz, jint uniqueId, jint convertId, jbyteArray inputData) {
678 = getDrmManagerClientImpl(env, thiz)->convertData(uniqueId, convertId, &buffer);
689 JNIEnv* env, jobject thiz, int uniqueId, jint convertId) {
694 = getDrmManagerClientImpl(env, thiz)->closeConvertSession(uniqueId, convertId);