Searched refs:nameStr (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDevice.cpp32 const char *nameStr = env->GetStringUTFChars(name, NULL); local
33 int id = usb_device_get_unique_id_from_name(nameStr);
34 env->ReleaseStringUTFChars(name, nameStr);
H A Dandroid_net_NetUtils.cpp86 const char *nameStr = env->GetStringUTFChars(ifname, NULL); local
89 env, clazz, nameStr, mask);
91 result = ::ifc_reset_connections(nameStr, mask);
92 env->ReleaseStringUTFChars(ifname, nameStr);
114 const char *nameStr = env->GetStringUTFChars(ifname, NULL); local
115 if (nameStr == NULL) return (jboolean)false;
118 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength,
121 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength,
125 ALOGD("dhcp_do_request failed : %s (%s)", nameStr, renew ? "renew" : "new");
128 env->ReleaseStringUTFChars(ifname, nameStr);
202 const char *nameStr = env->GetStringUTFChars(ifname, NULL); local
212 const char *nameStr = env->GetStringUTFChars(ifname, NULL); local
[all...]
H A Dandroid_os_Trace.cpp48 jlong tag, jstring nameStr, jint value) {
49 ScopedUtfChars name(env, nameStr);
56 jlong tag, jstring nameStr) {
58 ScopedStringChars jchars(env, nameStr);
74 jlong tag, jstring nameStr, jint cookie) {
76 ScopedStringChars jchars(env, nameStr);
85 jlong tag, jstring nameStr, jint cookie) {
87 ScopedStringChars jchars(env, nameStr);
47 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
55 android_os_Trace_nativeTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr) argument
73 android_os_Trace_nativeAsyncTraceBegin(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
84 android_os_Trace_nativeAsyncTraceEnd(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint cookie) argument
H A Dandroid_os_SELinux.cpp306 static jboolean getBooleanValue(JNIEnv *env, jobject, jstring nameStr) { argument
311 if (nameStr == NULL) {
315 ScopedUtfChars name(env, nameStr);
331 static jboolean setBooleanValue(JNIEnv *env, jobject, jstring nameStr, jboolean value) { argument
336 if (nameStr == NULL) {
340 ScopedUtfChars name(env, nameStr);
H A Dandroid_database_CursorWindow.cpp64 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
65 name.setTo(nameStr);
66 env->ReleaseStringUTFChars(nameObj, nameStr);
H A Dandroid_database_SQLiteConnection.cpp250 jstring nameStr = jstring(env->GetObjectField( local
256 const char* name = env->GetStringUTFChars(nameStr, NULL);
260 env->ReleaseStringUTFChars(nameStr, name);
H A Dandroid_view_SurfaceControl.cpp94 jstring nameStr, jint w, jint h, jint format, jint flags) {
95 ScopedUtfChars name(env, nameStr);
93 nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj, jstring nameStr, jint w, jint h, jint format, jint flags) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputApplicationHandle.cpp67 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
68 mInfo->name.setTo(nameStr);
69 env->ReleaseStringUTFChars(nameObj, nameStr);
H A Dcom_android_server_power_PowerManagerService.cpp115 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { argument
116 ScopedUtfChars name(env, nameStr);
120 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass clazz, jstring nameStr) { argument
121 ScopedUtfChars name(env, nameStr);
H A Dcom_android_server_input_InputWindowHandle.cpp105 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); local
106 mInfo->name.setTo(nameStr);
107 env->ReleaseStringUTFChars(nameObj, nameStr);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp79 const char *nameStr = env->GetStringUTFChars(name, NULL); local
80 if (nameStr == NULL) {
88 env->ReleaseStringUTFChars(name, nameStr);
92 jint ret = mcl->findCodecByName(nameStr);
93 env->ReleaseStringUTFChars(name, nameStr);
H A Dandroid_media_MediaScanner.cpp170 jstring nameStr, valueStr; local
171 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) {
191 mEnv->DeleteLocalRef(nameStr);
197 mClient, mHandleStringTagMethodID, nameStr, valueStr);
199 mEnv->DeleteLocalRef(nameStr);
H A Dandroid_media_MediaCodec.cpp541 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const {
550 *nameStr = env->NewStringUTF(name.c_str());
/frameworks/base/tools/aapt/
H A DResourceTable.cpp2413 String16 nameStr(name, nameLen);
2420 if (e->getBag().keyAt(i) == nameStr) {
2436 String16 nameStr(name, nameLen);
2449 String16 nameStr(start, pos-start);
2452 //printf("Comparing \"%s\" to \"%s\"\n", String8(nameStr).string(),
2454 if (e->getBag().keyAt(i) == nameStr) {

Completed in 1025 milliseconds