Home
last modified time | relevance | path

Searched refs:jname (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_SharedMemory.cpp38 jobject SharedMemory_nCreate(JNIEnv* env, jobject, jstring jname, jint size) { in SharedMemory_nCreate() argument
41 const char* name = jname ? env->GetStringUTFChars(jname, nullptr) : nullptr; in SharedMemory_nCreate()
49 env->ReleaseStringUTFChars(jname, name); in SharedMemory_nCreate()
Dandroid_os_HidlMemory.cpp85 jstring jname = stringToJava(env, cobj.name()); in toJava() local
93 jname, in toJava()
102 jstring jname = in javaToNative() local
111 std::string cname = stringFromJava(env, jname); in javaToNative()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1659 JNIEnv *env, jobject thiz, jstring jname) { in android_media_MediaDrm_getPropertyString() argument
1666 if (jname == NULL) { in android_media_MediaDrm_getPropertyString()
1672 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_getPropertyString()
1685 JNIEnv *env, jobject thiz, jstring jname) { in android_media_MediaDrm_getPropertyByteArray() argument
1692 if (jname == NULL) { in android_media_MediaDrm_getPropertyByteArray()
1698 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_getPropertyByteArray()
1711 JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) { in android_media_MediaDrm_setPropertyString() argument
1718 if (jname == NULL) { in android_media_MediaDrm_setPropertyString()
1730 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_setPropertyString()
1739 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) { in android_media_MediaDrm_setPropertyByteArray() argument
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp179 jlong proxyPtr, jstring jname) { in android_view_ThreadedRenderer_setName() argument
181 const char* name = env->GetStringUTFChars(jname, NULL); in android_view_ThreadedRenderer_setName()
183 env->ReleaseStringUTFChars(jname, name); in android_view_ThreadedRenderer_setName()