Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp80 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_enableInterface() local
81 result = ::ifc_enable(nameStr); in android_net_utils_enableInterface()
82 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_enableInterface()
90 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_disableInterface() local
91 result = ::ifc_disable(nameStr); in android_net_utils_disableInterface()
92 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_disableInterface()
101 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_resetConnections() local
104 env, clazz, nameStr, mask); in android_net_utils_resetConnections()
106 result = ::ifc_reset_connections(nameStr, mask); in android_net_utils_resetConnections()
107 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_resetConnections()
[all …]
Dandroid_os_Trace.cpp32 jlong tag, jstring nameStr, jint value) { in android_os_Trace_nativeTraceCounter() argument
33 ScopedUtfChars name(env, nameStr); in android_os_Trace_nativeTraceCounter()
38 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument
39 ScopedUtfChars name(env, nameStr); in android_os_Trace_nativeTraceBegin()
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_CursorWindow.cpp63 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in nativeCreate() local
64 name.setTo(nameStr); in nativeCreate()
65 env->ReleaseStringUTFChars(nameObj, nameStr); in nativeCreate()
Dandroid_database_SQLiteConnection.cpp249 jstring nameStr = jstring(env->GetObjectField( in nativeRegisterCustomFunction() local
255 const char* name = env->GetStringUTFChars(nameStr, NULL); in nativeRegisterCustomFunction()
259 env->ReleaseStringUTFChars(nameStr, name); in nativeRegisterCustomFunction()
/frameworks/base/services/jni/
Dcom_android_server_input_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_input_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.cpp122 jstring nameStr, valueStr; in handleStringTag() local
123 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) { in handleStringTag()
146 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
152 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag()
154 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
/frameworks/rs/
DrsElement.cpp353 void Element::Builder::add(const Element *e, const char *nameStr, uint32_t arraySize) { in add() argument
356 mBuilderNameStrings.push(nameStr); in add()
357 mBuilderNameLengths.push(strlen(nameStr)); in add()
DrsElement.h63 void add(const Element *e, const char *nameStr, uint32_t arraySize);
/frameworks/base/tools/aapt/
DResourceTable.cpp2277 String16 nameStr(name, nameLen); in getAttributeEnum() local
2284 if (e->getBag().keyAt(i) == nameStr) { in getAttributeEnum()
2300 String16 nameStr(name, nameLen); in getAttributeFlags() local
2313 String16 nameStr(start, pos-start); in getAttributeFlags() local
2318 if (e->getBag().keyAt(i) == nameStr) { in getAttributeFlags()