Home
last modified time | relevance | path

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

/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp253 jclass localRef = env->FindClass("android/content/ContentValues"); in android_drm_DrmManagerClient_getConstraintsFromContent() local
255 env->GetMethodID(localRef, "put", "(Ljava/lang/String;[B)V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
257 env->GetMethodID(localRef, "put", "(Ljava/lang/String;Ljava/lang/String;)V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
258 jmethodID ContentValues_constructor = env->GetMethodID(localRef, "<init>", "()V"); in android_drm_DrmManagerClient_getConstraintsFromContent()
261 if (NULL != localRef && NULL != pConstraints) { in android_drm_DrmManagerClient_getConstraintsFromContent()
263 constraints = env->NewObject(localRef, ContentValues_constructor); in android_drm_DrmManagerClient_getConstraintsFromContent()
303 jclass localRef = env->FindClass("android/content/ContentValues"); in android_drm_DrmManagerClient_getMetadataFromContent() local
305 env->GetMethodID(localRef, "put", "(Ljava/lang/String;Ljava/lang/String;)V"); in android_drm_DrmManagerClient_getMetadataFromContent()
307 if (NULL != localRef && NULL != pMetadata) { in android_drm_DrmManagerClient_getMetadataFromContent()
310 constructorId = env->GetMethodID(localRef, "<init>", "()V"); in android_drm_DrmManagerClient_getMetadataFromContent()
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp144 jbyteArray localRef = env->NewByteArray(size); in ensureArraySize() local
145 if (NULL != localRef) { in ensureArraySize()
147 *array = (jbyteArray)env->NewGlobalRef(localRef); in ensureArraySize()
150 env->DeleteLocalRef(localRef); in ensureArraySize()