Home
last modified time | relevance | path

Searched refs:NewStringUTF (Results 1 – 25 of 42) sorted by relevance

12

/art/test/927-timers/
Dtimers.cc66 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/
Dsource_file.cc47 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/
Dthreadgroups.cc73 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/
Dfields.cc50 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/
Dstack_trace.cc93 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/
Dproperties.cc46 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/
Ddalvik_system_VMDebug.cc67 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()
Ddalvik_system_DexFile.cc340 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()
Ddalvik_system_VMRuntime.cc207 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/
Dmethods.cc47 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/
Dthreads.cc105 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/
Djni_internal_test.cc385 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 …]
Djava_vm_ext_test.cc154 jobject local_ref = env->NewStringUTF("Dummy"); in TEST_F()
/art/test/ti-agent/
Dlocals_helper.cc180 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/
Dsource_transform.cc39 ScopedLocalRef<jstring> data(env, env->NewStringUTF(msg)); in Println()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc83 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/
Dlasterror.cc98 return env->NewStringUTF(msg); in Java_art_Test1957_getLastError()
/art/test/906-iterate-heap/
Diterate_heap.cc233 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/
Dhidden_api.cc235 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()
Dproxy_test.h111 soa.Env()->NewStringUTF(className), in GenerateProxyClass()
/art/test/986-native-method-bind/
Dnative_bind.cc70 ScopedLocalRef<jstring> sym_name(env, env->NewStringUTF(addr_info.dli_sname)); in doJvmtiMethodBind()
/art/test/912-classes/
Dclasses.cc58 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/
Ddescriptors.cc80 env->SetObjectArrayElement(arr.get(), i, env->NewStringUTF(classes[i])); in Java_art_Test1946_getClassloaderDescriptors()
/art/test/931-agent-thread/
Dagent_thread.cc95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); in Java_art_Test931_testAgentThread()
/art/test/904-object-allocation/
Dtracking.cc149 return env->NewStringUTF(real_events[i].c_str()); in Java_art_Test904_getTrackingEventMessages()

12