Searched defs:nameStr (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDevice.cpp32 const char *nameStr = env->GetStringUTFChars(name, NULL); local
33 int id = usb_device_get_unique_id_from_name(nameStr);
34 env->ReleaseStringUTFChars(name, nameStr);
H A Dandroid_os_Trace.cpp50 jlong tag, jstring nameStr, jint value) {
51 ScopedUtfChars name(env, nameStr);
58 jlong tag, jstring nameStr) {
59 ScopedStringChars jchars(env, nameStr);
75 jlong tag, jstring nameStr, jint cookie) {
76 ScopedStringChars jchars(env, nameStr);
85 jlong tag, jstring nameStr, jint cookie) {
86 ScopedStringChars jchars(env, nameStr);
49 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
57 android_os_Trace_nativeTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr) argument
74 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
84 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
H A Dandroid_util_MemoryIntArray.cpp37 const char* nameStr = env->GetStringUTFChars(name, NULL); local
39 int fd = ashmem_create_region(nameStr, ashmemSize);
40 env->ReleaseStringUTFChars(name, nameStr);
H A Dandroid_database_CursorWindow.cpp66 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
67 name.setTo(nameStr);
68 env->ReleaseStringUTFChars(nameObj, nameStr);
H A Dandroid_database_SQLiteConnection.cpp252 jstring nameStr = jstring(env->GetObjectField( local
258 const char* name = env->GetStringUTFChars(nameStr, NULL);
262 env->ReleaseStringUTFChars(nameStr, name);
H A Dandroid_graphics_drawable_VectorDrawable.cpp81 static void setNodeName(JNIEnv* env, jobject, jlong nodePtr, jstring nameStr) { argument
83 const char* nodeName = env->GetStringUTFChars(nameStr, NULL);
85 env->ReleaseStringUTFChars(nameStr, nodeName);
H A Dandroid_view_SurfaceControl.cpp95 jstring nameStr, jint w, jint h, jint format, jint flags) {
96 ScopedUtfChars name(env, nameStr);
94 nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj, jstring nameStr, jint w, jint h, jint format, jint flags) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
68 mInfo->name.setTo(nameStr);
69 env->ReleaseStringUTFChars(nameObj, nameStr);
H A Dcom_android_server_power_PowerManagerService.cpp115 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass /* clazz */, jstring nameStr) { argument
116 ScopedUtfChars name(env, nameStr);
120 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass /* clazz */, jstring nameStr) { argument
121 ScopedUtfChars name(env, nameStr);
H A Dcom_android_server_input_InputWindowHandle.cpp105 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
106 mInfo->name.setTo(nameStr);
107 env->ReleaseStringUTFChars(nameObj, nameStr);
H A Dcom_android_server_tv_TvUinputBridge.cpp188 jstring nameStr, jstring uniqueIdStr,
190 ScopedUtfChars name(env, nameStr);
187 nativeOpen(JNIEnv* env, jclass clazz, jstring nameStr, jstring uniqueIdStr, jint width, jint height, jint maxPointers) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp79 const char *nameStr = env->GetStringUTFChars(name, NULL); local
80 if (nameStr == NULL) {
88 env->ReleaseStringUTFChars(name, nameStr);
92 jint ret = mcl->findCodecByName(nameStr);
93 env->ReleaseStringUTFChars(name, nameStr);
H A Dandroid_media_MediaScanner.cpp170 jstring nameStr, valueStr; local
171 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) {
191 mEnv->DeleteLocalRef(nameStr);
197 mClient, mHandleStringTagMethodID, nameStr, valueStr);
199 mEnv->DeleteLocalRef(nameStr);

Completed in 233 milliseconds