/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 86 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_resetConnections() local 89 env, clazz, nameStr, mask); in android_net_utils_resetConnections() 91 result = ::ifc_reset_connections(nameStr, mask); in android_net_utils_resetConnections() 92 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_resetConnections() 114 const char *nameStr = env->GetStringUTFChars(ifname, NULL); in android_net_utils_runDhcpCommon() local 115 if (nameStr == NULL) return (jboolean)false; in android_net_utils_runDhcpCommon() 118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength, in android_net_utils_runDhcpCommon() 121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength, in android_net_utils_runDhcpCommon() 125 ALOGD("dhcp_do_request failed : %s (%s)", nameStr, renew ? "renew" : "new"); in android_net_utils_runDhcpCommon() 128 env->ReleaseStringUTFChars(ifname, nameStr); in android_net_utils_runDhcpCommon() [all …]
|
D | android_os_Trace.cpp | 48 jlong tag, jstring nameStr, jint value) { in android_os_Trace_nativeTraceCounter() argument 49 ScopedUtfChars name(env, nameStr); in android_os_Trace_nativeTraceCounter() 56 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument 58 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeTraceBegin() 74 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument 76 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceBegin() 85 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceEnd() argument 87 ScopedStringChars jchars(env, nameStr); in android_os_Trace_nativeAsyncTraceEnd()
|
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_os_SELinux.cpp | 306 static jboolean getBooleanValue(JNIEnv *env, jobject, jstring nameStr) { in getBooleanValue() argument 311 if (nameStr == NULL) { in getBooleanValue() 315 ScopedUtfChars name(env, nameStr); in getBooleanValue() 331 static jboolean setBooleanValue(JNIEnv *env, jobject, jstring nameStr, jboolean value) { in setBooleanValue() argument 336 if (nameStr == NULL) { in setBooleanValue() 340 ScopedUtfChars name(env, nameStr); in setBooleanValue()
|
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()
|
D | android_database_SQLiteConnection.cpp | 250 jstring nameStr = jstring(env->GetObjectField( in nativeRegisterCustomFunction() local 256 const char* name = env->GetStringUTFChars(nameStr, NULL); in nativeRegisterCustomFunction() 260 env->ReleaseStringUTFChars(nameStr, name); in nativeRegisterCustomFunction()
|
D | android_view_SurfaceControl.cpp | 94 jstring nameStr, jint w, jint h, jint format, jint flags) { in nativeCreate() argument 95 ScopedUtfChars name(env, nameStr); in nativeCreate()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 115 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { in nativeAcquireSuspendBlocker() argument 116 ScopedUtfChars name(env, nameStr); in nativeAcquireSuspendBlocker() 120 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { in nativeReleaseSuspendBlocker() argument 121 ScopedUtfChars name(env, nameStr); in nativeReleaseSuspendBlocker()
|
D | com_android_server_input_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_input_InputWindowHandle.cpp | 105 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in updateInfo() local 106 mInfo->name.setTo(nameStr); in updateInfo() 107 env->ReleaseStringUTFChars(nameObj, nameStr); in updateInfo()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 79 const char *nameStr = env->GetStringUTFChars(name, NULL); in android_media_MediaCodecList_findCodecByName() local 80 if (nameStr == NULL) { in android_media_MediaCodecList_findCodecByName() 88 env->ReleaseStringUTFChars(name, nameStr); in android_media_MediaCodecList_findCodecByName() 92 jint ret = mcl->findCodecByName(nameStr); in android_media_MediaCodecList_findCodecByName() 93 env->ReleaseStringUTFChars(name, nameStr); in android_media_MediaCodecList_findCodecByName()
|
D | android_media_MediaScanner.cpp | 170 jstring nameStr, valueStr; in handleStringTag() local 171 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) { in handleStringTag() 191 mEnv->DeleteLocalRef(nameStr); in handleStringTag() 197 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag() 199 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
|
D | android_media_MediaCodec.cpp | 541 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const { in getName() 550 *nameStr = env->NewStringUTF(name.c_str()); in getName()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 2413 String16 nameStr(name, nameLen); in getAttributeEnum() local 2420 if (e->getBag().keyAt(i) == nameStr) { in getAttributeEnum() 2436 String16 nameStr(name, nameLen); in getAttributeFlags() local 2449 String16 nameStr(start, pos-start); in getAttributeFlags() local 2454 if (e->getBag().keyAt(i) == nameStr) { in getAttributeFlags()
|