Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_SharedMemory.cpp53 jobject SharedMemory_nCreate(JNIEnv* env, jobject, jstring jname, jint size) { in SharedMemory_nCreate() argument
56 const char* name = jname ? env->GetStringUTFChars(jname, nullptr) : nullptr; in SharedMemory_nCreate()
64 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.cpp1629 JNIEnv *env, jobject thiz, jstring jname) { in android_media_MediaDrm_getPropertyString() argument
1636 if (jname == NULL) { in android_media_MediaDrm_getPropertyString()
1642 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_getPropertyString()
1655 JNIEnv *env, jobject thiz, jstring jname) { in android_media_MediaDrm_getPropertyByteArray() argument
1662 if (jname == NULL) { in android_media_MediaDrm_getPropertyByteArray()
1668 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_getPropertyByteArray()
1681 JNIEnv *env, jobject thiz, jstring jname, jstring jvalue) { in android_media_MediaDrm_setPropertyString() argument
1688 if (jname == NULL) { in android_media_MediaDrm_setPropertyString()
1700 String8 name = JStringToString8(env, jname); in android_media_MediaDrm_setPropertyString()
1709 JNIEnv *env, jobject thiz, jstring jname, jbyteArray jvalue) { in android_media_MediaDrm_setPropertyByteArray() argument
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp167 jlong proxyPtr, jstring jname) { in android_view_ThreadedRenderer_setName() argument
169 const char* name = env->GetStringUTFChars(jname, NULL); in android_view_ThreadedRenderer_setName()
171 env->ReleaseStringUTFChars(jname, name); in android_view_ThreadedRenderer_setName()