Home
last modified time | relevance | path

Searched refs:localRef (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp255 jclass localRef = env->FindClass("android/content/ContentValues"); in android_drm_DrmManagerClient_getConstraintsFromContent() local
257 env->GetMethodID(localRef, "put", "(Ljava/lang/String;[B)V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
259 env->GetMethodID(localRef, "put", "(Ljava/lang/String;Ljava/lang/String;)V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
260 jmethodID ContentValues_constructor = env->GetMethodID(localRef, "<init>", "()V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
263 if (NULL != localRef && NULL != pConstraints) { in android_drm_DrmManagerClient_getConstraintsFromContent()
265 constraints = env->NewObject(localRef, ContentValues_constructor); in android_drm_DrmManagerClient_getConstraintsFromContent()
305 jclass localRef = env->FindClass("android/content/ContentValues"); in android_drm_DrmManagerClient_getMetadataFromContent() local
307 env->GetMethodID(localRef, "put", "(Ljava/lang/String;Ljava/lang/String;)V"); in android_drm_DrmManagerClient_getMetadataFromContent()
309 if (NULL != localRef && NULL != pMetadata) { in android_drm_DrmManagerClient_getMetadataFromContent()
312 constructorId = env->GetMethodID(localRef, "<init>", "()V"); in android_drm_DrmManagerClient_getMetadataFromContent()
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp151 jbyteArray localRef = env->NewByteArray(size); in ensureArraySize() local
152 if (NULL != localRef) { in ensureArraySize()
154 *array = (jbyteArray)env->NewGlobalRef(localRef); in ensureArraySize()
157 env->DeleteLocalRef(localRef); in ensureArraySize()