Home
last modified time | relevance | path

Searched refs:nameObj (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp146 jstring nameObj; in allocateHeader_native() local
153 nameObj = (jstring)env->GetObjectField(headerObj, s_keyPrefixField); in allocateHeader_native()
155 nameLength = env->GetStringUTFLength(nameObj); in allocateHeader_native()
174 jstring nameObj; in writeHeader_native() local
180 nameObj = (jstring)env->GetObjectField(headerObj, s_keyPrefixField); in writeHeader_native()
181 header.nameLength = env->GetStringUTFLength(nameObj); in writeHeader_native()
194 buf = env->GetStringUTFChars(nameObj, NULL); in writeHeader_native()
196 env->ReleaseStringUTFChars(nameObj, buf); in writeHeader_native()
Dandroid_view_InputDevice.cpp38 ScopedLocalRef<jstring> nameObj(env, env->NewStringUTF(deviceInfo.getDisplayName().string())); in android_view_InputDevice_create() local
39 if (!nameObj.get()) { in android_view_InputDevice_create()
60 deviceInfo.getControllerNumber(), nameObj.get(), in android_view_InputDevice_create()
Dandroid_view_InputChannel.cpp122 jclass clazz, jstring nameObj) { in android_view_InputChannel_nativeOpenInputChannelPair() argument
123 const char* nameChars = env->GetStringUTFChars(nameObj, NULL); in android_view_InputChannel_nativeOpenInputChannelPair()
125 env->ReleaseStringUTFChars(nameObj, nameChars); in android_view_InputChannel_nativeOpenInputChannelPair()
Dandroid_database_CursorWindow.cpp61 static jint nativeCreate(JNIEnv* env, jclass clazz, jstring nameObj, jint cursorWindowSize) { in nativeCreate() argument
63 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in nativeCreate()
65 env->ReleaseStringUTFChars(nameObj, nameStr); in nativeCreate()
Dandroid_view_SurfaceControl.cpp309 static jobject nativeCreateDisplay(JNIEnv* env, jclass clazz, jstring nameObj, in nativeCreateDisplay() argument
311 ScopedUtfChars name(env, nameObj); in nativeCreateDisplay()
/frameworks/base/services/jni/
Dcom_android_server_input_InputApplicationHandle.cpp64 jstring nameObj = jstring(env->GetObjectField(obj, in updateInfo() local
66 if (nameObj) { in updateInfo()
67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo()
69 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
70 env->DeleteLocalRef(nameObj); in updateInfo()
Dcom_android_server_input_InputWindowHandle.cpp100 jstring nameObj = jstring(env->GetObjectField(obj, in updateInfo() local
102 if (nameObj) { in updateInfo()
103 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo()
105 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
106 env->DeleteLocalRef(nameObj); in updateInfo()