/frameworks/base/core/jni/ |
D | android_os_Trace.cpp | 54 jlong tag, jstring nameStr, jlong value) { in android_os_Trace_nativeTraceCounter() argument 55 withString(env, nameStr, [tag, value](char* str) { in android_os_Trace_nativeTraceCounter() 61 jlong tag, jstring nameStr) { in android_os_Trace_nativeTraceBegin() argument 62 withString(env, nameStr, [tag](char* str) { in android_os_Trace_nativeTraceBegin() 72 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceBegin() argument 73 withString(env, nameStr, [tag, cookie](char* str) { in android_os_Trace_nativeAsyncTraceBegin() 79 jlong tag, jstring nameStr, jint cookie) { in android_os_Trace_nativeAsyncTraceEnd() argument 80 withString(env, nameStr, [tag, cookie](char* str) { 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_util_MemoryIntArray.cpp | 37 const char* nameStr = env->GetStringUTFChars(name, NULL); in android_util_MemoryIntArray_create() local 39 int fd = ashmem_create_region(nameStr, ashmemSize); in android_util_MemoryIntArray_create() 40 env->ReleaseStringUTFChars(name, nameStr); in android_util_MemoryIntArray_create()
|
D | android_graphics_drawable_VectorDrawable.cpp | 81 static void setNodeName(JNIEnv* env, jobject, jlong nodePtr, jstring nameStr) { in setNodeName() argument 83 const char* nodeName = env->GetStringUTFChars(nameStr, NULL); in setNodeName() 85 env->ReleaseStringUTFChars(nameStr, nodeName); in setNodeName()
|
D | android_database_CursorWindow.cpp | 88 const char* nameStr = env->GetStringUTFChars(nameObj, NULL); in nativeCreate() local 89 name.setTo(nameStr); in nativeCreate() 90 env->ReleaseStringUTFChars(nameObj, nameStr); in nativeCreate()
|
D | android_database_SQLiteConnection.cpp | 263 jstring nameStr = jstring(env->GetObjectField( in nativeRegisterCustomFunction() local 269 const char* name = env->GetStringUTFChars(nameStr, NULL); in nativeRegisterCustomFunction() 273 env->ReleaseStringUTFChars(nameStr, name); in nativeRegisterCustomFunction()
|
D | android_view_SurfaceControl.cpp | 179 jstring nameStr, jint w, jint h, jint format, jint flags, jlong parentObject, in nativeCreate() argument 181 ScopedUtfChars name(env, nameStr); in nativeCreate()
|
/frameworks/base/core/tests/utiltests/jni/ |
D | android_util_MemoryIntArrayTest.cpp | 37 const char* nameStr = env->GetStringUTFChars(name, NULL); in android_util_MemoryIntArrayTest_createAshmem() local 39 int fd = ashmem_create_region(nameStr, ashmemSize); in android_util_MemoryIntArrayTest_createAshmem() 40 env->ReleaseStringUTFChars(name, nameStr); in android_util_MemoryIntArrayTest_createAshmem()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 172 jstring nameStr, valueStr; in handleStringTag() local 173 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) { in handleStringTag() 193 mEnv->DeleteLocalRef(nameStr); in handleStringTag() 199 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag() 201 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
|
D | android_media_MediaCodecList.cpp | 171 const char *nameStr = env->GetStringUTFChars(name, NULL); in android_media_MediaCodecList_findCodecByName() local 172 if (nameStr == NULL) { in android_media_MediaCodecList_findCodecByName() 180 env->ReleaseStringUTFChars(name, nameStr); in android_media_MediaCodecList_findCodecByName() 184 jint ret = mcl->findCodecByName(nameStr); in android_media_MediaCodecList_findCodecByName() 185 env->ReleaseStringUTFChars(name, nameStr); in android_media_MediaCodecList_findCodecByName()
|
D | android_media_MediaCodec.cpp | 631 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const { in getName() 640 *nameStr = env->NewStringUTF(name.c_str()); in getName()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 245 static void nativeAcquireSuspendBlocker(JNIEnv *env, jclass /* clazz */, jstring nameStr) { in nativeAcquireSuspendBlocker() argument 246 ScopedUtfChars name(env, nameStr); in nativeAcquireSuspendBlocker() 250 static void nativeReleaseSuspendBlocker(JNIEnv *env, jclass /* clazz */, jstring nameStr) { in nativeReleaseSuspendBlocker() argument 251 ScopedUtfChars name(env, nameStr); in nativeReleaseSuspendBlocker()
|
D | com_android_server_tv_TvUinputBridge.cpp | 188 jstring nameStr, jstring uniqueIdStr, in nativeOpen() argument 190 ScopedUtfChars name(env, nameStr); in nativeOpen()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 2511 String16 nameStr(name, nameLen); in getAttributeEnum() local 2518 if (e->getBag().keyAt(i) == nameStr) { in getAttributeEnum() 2534 String16 nameStr(name, nameLen); in getAttributeFlags() local 2547 String16 nameStr(start, pos-start); in getAttributeFlags() local 2552 if (e->getBag().keyAt(i) == nameStr) { in getAttributeFlags()
|
D | Resource.cpp | 786 const String16& nameStr, ResourceTable* table) { in findEntry() argument 791 return type->getConfigs().valueFor(nameStr); in findEntry()
|