Home
last modified time | relevance | path

Searched refs:nameStr (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp77 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_enableInterface() local
78 result = ::ifc_enable(nameStr); in android_net_utils_enableInterface()
79 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_enableInterface()
87 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_disableInterface() local
88 result = ::ifc_disable(nameStr); in android_net_utils_disableInterface()
89 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_disableInterface()
98 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_resetConnections() local
101 env, clazz, nameStr, mask); in android_net_utils_resetConnections()
103 result = ::ifc_reset_connections(nameStr, mask); in android_net_utils_resetConnections()
104 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_resetConnections()
[all …]
Dandroid_hardware_UsbDevice.cpp32 const char *nameStr = env->GetStringUTFChars(name, NULL); in android_hardware_UsbDevice_get_device_id() local
33 int id = usb_device_get_unique_id_from_name(nameStr); in android_hardware_UsbDevice_get_device_id()
34 env->ReleaseStringUTFChars(name, nameStr); in android_hardware_UsbDevice_get_device_id()
Dandroid_database_SQLiteDatabase.cpp440 char const *nameStr = env->GetStringUTFChars(name, NULL); in native_addCustomFunction() local
442 LOGD_IF(DEBUG_JNI, "native_addCustomFunction %s ref: %p", nameStr, ref); in native_addCustomFunction()
443 int err = sqlite3_create_function(handle, nameStr, numArgs, SQLITE_UTF8, in native_addCustomFunction()
445 env->ReleaseStringUTFChars(name, nameStr); in native_addCustomFunction()
Dandroid_database_CursorWindow.cpp64 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in nativeCreate() local
65 name.setTo(nameStr); in nativeCreate()
66 env->ReleaseStringUTFChars(nameObj, nameStr); in nativeCreate()
/frameworks/base/services/jni/
Dcom_android_server_InputApplicationHandle.cpp67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo() local
68 mInfo->name.setTo(nameStr); in updateInfo()
69 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
Dcom_android_server_InputWindowHandle.cpp101 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo() local
102 mInfo->name.setTo(nameStr); in updateInfo()
103 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp121 jstring nameStr, valueStr; in handleStringTag() local
122 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) { in handleStringTag()
127 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
133 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag()
135 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
/frameworks/base/libs/rs/
DrsElement.cpp296 void Element::Builder::add(const Element *e, const char *nameStr, uint32_t arraySize) { in add() argument
299 mBuilderNameStrings.push(nameStr); in add()
300 mBuilderNameLengths.push(strlen(nameStr)); in add()
DrsElement.h34 void add(const Element *e, const char *nameStr, uint32_t arraySize);
/frameworks/base/tools/aapt/
DResourceTable.cpp2223 String16 nameStr(name, nameLen); in getAttributeEnum() local
2230 if (e->getBag().keyAt(i) == nameStr) { in getAttributeEnum()
2246 String16 nameStr(name, nameLen); in getAttributeFlags() local
2261 String16 nameStr(start, pos-start); in getAttributeFlags() local
2266 if (e->getBag().keyAt(i) == nameStr) { in getAttributeFlags()