/art/test/927-timers/ |
D | timers.cc | 66 return env->NewStringUTF(android::base::StringPrintf("%" PRId64, info.max_value).c_str()); in Java_art_Test927_getTimerInfo() 70 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo() 73 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo() 77 return env->NewStringUTF( in Java_art_Test927_getTimerInfo()
|
/art/test/992-source-data/ |
D | source_file.cc | 47 jstring ret = env->NewStringUTF(file); in Java_art_Test992_getSourceFileName() 60 jstring ret = env->NewStringUTF(ext); in Java_art_Test992_getSourceDebugExtension()
|
/art/test/925-threadgroups/ |
D | threadgroups.cc | 73 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test925_getThreadGroupInfo() 77 return env->NewStringUTF(android::base::StringPrintf("%d", info.max_priority).c_str()); in Java_art_Test925_getThreadGroupInfo() 81 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test925_getThreadGroupInfo()
|
/art/test/918-fields/ |
D | fields.cc | 50 return name == nullptr ? nullptr : env->NewStringUTF(name); in Java_art_Test918_getFieldName() 52 return sig == nullptr ? nullptr : env->NewStringUTF(sig); in Java_art_Test918_getFieldName() 54 return gen == nullptr ? nullptr : env->NewStringUTF(gen); in Java_art_Test918_getFieldName()
|
/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 93 return (name == nullptr) ? nullptr : env->NewStringUTF(name); in TranslateJvmtiFrameInfoArray() 95 return (sig == nullptr) ? nullptr : env->NewStringUTF(sig); in TranslateJvmtiFrameInfoArray() 97 return env->NewStringUTF(StringPrintf("%" PRId64, frames[method_index].location).c_str()); in TranslateJvmtiFrameInfoArray() 102 return env->NewStringUTF(StringPrintf("%d", line_number).c_str()); in TranslateJvmtiFrameInfoArray() 247 return env->NewStringUTF( in Java_art_Frames_getFrameLocation()
|
/art/test/922-properties/ |
D | properties.cc | 46 jstring ret = env->NewStringUTF(data); in Java_art_Test922_getSystemProperties() 70 jstring ret = (value == nullptr) ? nullptr : env->NewStringUTF(value); in Java_art_Test922_getSystemProperty()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 67 ScopedLocalRef<jstring> jfeature(env, env->NewStringUTF(features[i])); in VMDebug_getVmFeatureList() 468 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 472 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 476 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 480 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 484 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 488 return env->NewStringUTF(output.c_str()); in VMDebug_getRuntimeStatInternal() 493 return env->NewStringUTF(output.str().c_str()); in VMDebug_getRuntimeStatInternal() 498 return env->NewStringUTF(output.str().c_str()); in VMDebug_getRuntimeStatInternal() 509 ScopedLocalRef<jstring> jvalue(env, env->NewStringUTF(value.c_str())); in SetRuntimeStatValue()
|
D | dalvik_system_DexFile.cc | 340 return env->NewStringUTF(str_context.c_str()); in DexFile_getClassLoaderContext() 514 ScopedLocalRef<jstring> jdescriptor(env, env->NewStringUTF(descriptor.c_str())); in DexFile_getClassNameList() 609 return env->NewStringUTF(oat_file_assistant.GetStatusDump().c_str()); in DexFile_getDexFileStatus() 642 ScopedLocalRef<jstring> j_compilation_filter(env, env->NewStringUTF(compilation_filter.c_str())); in DexFile_getDexFileOptimizationStatus() 646 ScopedLocalRef<jstring> j_compilation_reason(env, env->NewStringUTF(compilation_reason.c_str())); in DexFile_getDexFileOptimizationStatus() 768 return env->NewStringUTF(new_filter_str.c_str()); in DexFile_getNonProfileGuidedCompilerFilter() 793 return env->NewStringUTF(new_filter_str.c_str()); in DexFile_getSafeModeCompilerFilter() 841 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths() 845 ScopedLocalRef<jstring> joatFilename(env, env->NewStringUTF(oat_filename.c_str())); in DexFile_getDexFileOutputPaths()
|
D | dalvik_system_VMRuntime.cc | 207 ScopedLocalRef<jstring> str(env, env->NewStringUTF(properties[i].c_str())); in VMRuntime_properties() 229 return env->NewStringUTF(DefaultToDot(boot_class_path)); in VMRuntime_bootClassPath() 233 return env->NewStringUTF(DefaultToDot(Runtime::Current()->GetClassPathString())); in VMRuntime_classPath() 237 return env->NewStringUTF(Runtime::GetVersion()); in VMRuntime_vmVersion() 241 return env->NewStringUTF(kIsDebugBuild ? "libartd.so" : "libart.so"); in VMRuntime_vmLibrary() 247 return env->NewStringUTF(isa_string); in VMRuntime_vmInstructionSet() 678 return env->NewStringUTF(GetInstructionSetString(kRuntimeISA)); in VMRuntime_getCurrentInstructionSet()
|
/art/test/910-methods/ |
D | methods.cc | 47 return name == nullptr ? nullptr : env->NewStringUTF(name); in Java_art_Test910_getMethodName() 49 return sig == nullptr ? nullptr : env->NewStringUTF(sig); in Java_art_Test910_getMethodName() 51 return gen == nullptr ? nullptr : env->NewStringUTF(gen); in Java_art_Test910_getMethodName()
|
/art/test/924-threads/ |
D | threads.cc | 105 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test924_getThreadInfo() 109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo() 113 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test924_getThreadInfo() 269 return env->NewStringUTF(gEvents[i].c_str()); in Java_art_Test924_getThreadEventMessages()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 385 jobject object = env_->NewStringUTF("Test String"); in GetPrimitiveArrayElementsOfWrongType() 453 jobject object = env_->NewStringUTF("Test String"); in ReleasePrimitiveArrayElementsOfWrongType() 471 jobject object = env_->NewStringUTF("Test String"); in GetReleasePrimitiveArrayCriticalOfWrongType() 531 jobject object = env_->NewStringUTF("Test String"); in GetPrimitiveArrayRegionElementsOfWrongType() 589 jobject object = env_->NewStringUTF("Test String"); in SetPrimitiveArrayRegionElementsOfWrongType() 962 jstring s = env_->NewStringUTF("poop"); in TEST_F() 967 jstring s_16 = env_->NewStringUTF("\u0444\u0444"); in TEST_F() 1020 s = env_->NewStringUTF("poop"); in TEST_F() 1339 jstring s = env_->NewStringUTF("poop"); in TEST_F() 1372 jstring s = env_->NewStringUTF("poop"); in TEST_F() [all …]
|
D | java_vm_ext_test.cc | 154 jobject local_ref = env->NewStringUTF("Dummy"); in TEST_F()
|
/art/test/ti-agent/ |
D | locals_helper.cc | 180 ScopedLocalRef<jstring> name_string(env, env->NewStringUTF(vars[i].name)); in Java_art_Locals_GetLocalVariableTable() 181 ScopedLocalRef<jstring> sig_string(env, env->NewStringUTF(vars[i].signature)); in Java_art_Locals_GetLocalVariableTable() 182 ScopedLocalRef<jstring> generic_sig_string(env, env->NewStringUTF(vars[i].generic_signature)); in Java_art_Locals_GetLocalVariableTable()
|
/art/test/983-source-transform-verify/ |
D | source_transform.cc | 39 ScopedLocalRef<jstring> data(env, env->NewStringUTF(msg)); in Println()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 83 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("JVMTI_THREAD-Test1919")); in CreateAgentThread() 167 return env->NewStringUTF(list->events[i].event.c_str()); in Java_art_Test1919_getEventNames()
|
/art/test/1957-error-ext/ |
D | lasterror.cc | 98 return env->NewStringUTF(msg); in Java_art_Test1957_getLastError()
|
/art/test/906-iterate-heap/ |
D | iterate_heap.cc | 233 return env->NewStringUTF(fsc.data.c_str()); in Java_art_Test906_iterateThroughHeapString() 321 return env->NewStringUTF(fac.data.c_str()); in Java_art_Test906_iterateThroughHeapPrimitiveArray() 408 return env->NewStringUTF(ffc.data.c_str()); in Java_art_Test906_iterateThroughHeapPrimitiveFields()
|
/art/runtime/ |
D | hidden_api.cc | 235 ScopedLocalRef<jstring> package_str(env, env->NewStringUTF(package_name.c_str())); in LogAccessToEventLog() 243 env->NewStringUTF(signature_str.str().c_str())); in LogAccessToEventLog() 288 soa.Env()->NewStringUTF(member_signature_str.str().c_str())); in NotifyHiddenApiListener()
|
D | proxy_test.h | 111 soa.Env()->NewStringUTF(className), in GenerateProxyClass()
|
/art/test/986-native-method-bind/ |
D | native_bind.cc | 70 ScopedLocalRef<jstring> sym_name(env, env->NewStringUTF(addr_info.dli_sname)); in doJvmtiMethodBind()
|
/art/test/912-classes/ |
D | classes.cc | 58 return sig == nullptr ? nullptr : env->NewStringUTF(sig); in Java_art_Test912_getClassSignature() 60 return gen == nullptr ? nullptr : env->NewStringUTF(gen); in Java_art_Test912_getClassSignature() 289 return env->NewStringUTF(gEvents[i].c_str()); in Java_art_Test912_getClassLoadMessages() 391 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF(name_str.c_str())); in RunEventThread()
|
/art/test/1946-list-descriptors/ |
D | descriptors.cc | 80 env->SetObjectArrayElement(arr.get(), i, env->NewStringUTF(classes[i])); in Java_art_Test1946_getClassloaderDescriptors()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in Java_art_Test931_testAgentThread()
|
/art/test/904-object-allocation/ |
D | tracking.cc | 149 return env->NewStringUTF(real_events[i].c_str()); in Java_art_Test904_getTrackingEventMessages()
|