/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 77 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 …]
|
D | android_hardware_UsbDevice.cpp | 32 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()
|
D | android_database_SQLiteDatabase.cpp | 440 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()
|
D | android_database_CursorWindow.cpp | 64 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/ |
D | com_android_server_InputApplicationHandle.cpp | 67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo() local 68 mInfo->name.setTo(nameStr); in updateInfo() 69 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
|
D | com_android_server_InputWindowHandle.cpp | 101 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/ |
D | android_media_MediaScanner.cpp | 121 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/ |
D | rsElement.cpp | 296 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()
|
D | rsElement.h | 34 void add(const Element *e, const char *nameStr, uint32_t arraySize);
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 2223 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()
|