Home
last modified time | relevance | path

Searched refs:ScopedUtfChars (Results 1 – 25 of 29) sorted by relevance

12

/art/test/ti-agent/
Dscoped_utf_chars.h30 class ScopedUtfChars {
32 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() function
41 ScopedUtfChars(ScopedUtfChars&& rhs) : in ScopedUtfChars() function
48 ~ScopedUtfChars() { in ~ScopedUtfChars()
54 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) {
57 this->~ScopedUtfChars();
87 DISALLOW_COPY_AND_ASSIGN(ScopedUtfChars);
Dagent_startup.cc30 ScopedUtfChars name(env, className); in Java_art_Main_bindAgentJNI()
/art/test/647-jni-get-field-id/
Dget_field_id.cc28 ScopedUtfChars name_chars(env, name); in Java_Main_getFieldId()
32 ScopedUtfChars signature_chars(env, signature); in Java_Main_getFieldId()
/art/test/674-hiddenapi/
Dhiddenapi.cc57 ScopedUtfChars utf(env, jpath); in Java_Main_appendToBootClassLoader()
106 ScopedUtfChars utf_name(env, name); in Java_JNI_canDiscoverField()
119 ScopedUtfChars utf_name(env, name); in Java_JNI_canGetField()
149 ScopedUtfChars utf_name(env, name); in Java_JNI_canSetField()
179 ScopedUtfChars utf_name(env, name); in Java_JNI_canDiscoverMethod()
192 ScopedUtfChars utf_name(env, name); in Java_JNI_canInvokeMethodA()
223 ScopedUtfChars utf_name(env, name); in Java_JNI_canInvokeMethodV()
257 ScopedUtfChars utf_args(env, args); in Java_JNI_canDiscoverConstructor()
269 ScopedUtfChars utf_args(env, args); in Java_JNI_canInvokeConstructorA()
294 ScopedUtfChars utf_args(env, args); in Java_JNI_canInvokeConstructorV()
/art/test/929-search/
Dsearch.cc35 ScopedUtfChars utf(env, segment); in Java_Main_addToBootClassLoader()
45 ScopedUtfChars utf(env, segment); in Java_Main_addToSystemClassLoader()
/art/test/922-properties/
Dproperties.cc59 ScopedUtfChars string(env, key); in Java_art_Test922_getSystemProperty()
79 ScopedUtfChars key_string(env, key); in Java_art_Test922_setSystemProperty()
83 ScopedUtfChars value_string(env, value); in Java_art_Test922_setSystemProperty()
/art/runtime/native/
Ddalvik_system_DexFile.cc312 ScopedUtfChars sourceName(env, javaSourceName); in DexFile_openDexFileNative()
361 ScopedUtfChars class_loader_context_utf(env, class_loader_context); in DexFile_verifyInBackgroundNative()
434 ScopedUtfChars class_name(env, javaName); in DexFile_defineClassNative()
591 ScopedUtfChars filename(env, javaFilename); in DexFile_getDexFileStatus()
596 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus()
621 ScopedUtfChars filename(env, javaFilename); in DexFile_getDexFileOptimizationStatus()
626 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus()
672 ScopedUtfChars filename(env, javaFilename); in DexFile_getDexOptNeeded()
677 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded()
682 ScopedUtfChars target_compiler_filter(env, javaTargetCompilerFilter); in DexFile_getDexOptNeeded()
[all …]
Djava_lang_VMClassLoader.cc74 ScopedUtfChars name(env, javaName); in VMClassLoader_findLoadedClass()
Ddalvik_system_VMRuntime.cc667 ScopedUtfChars instruction_set(env, java_instruction_set); in VMRuntime_isBootClassPathOnDisk()
716 ScopedUtfChars package_name(env, java_package_name); in VMRuntime_setProcessPackageName()
721 ScopedUtfChars data_dir(env, java_data_dir); in VMRuntime_setProcessDataDirectory()
774 ScopedUtfChars encoded_class_loader_context(env, jencoded_class_loader_context); in VMRuntime_isValidClassLoaderContext()
Ddalvik_system_VMDebug.cc144 ScopedUtfChars traceFilename(env, javaTraceFilename); in VMDebug_startMethodTracingFilename()
260 ScopedUtfChars chars(env, javaFilename); in VMDebug_dumpHprofData()
588 ScopedUtfChars chars(env, agent); in VMDebug_nativeAttachAgent()
Djava_lang_Thread.cc143 ScopedUtfChars name(env, java_name); in Thread_setNativeName()
Ddalvik_system_ZygoteHooks.cc409 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
/art/test/595-profile-saving/
Dprofile-saving.cc55 ScopedUtfChars filename_chars(env, filename); in Java_Main_presentInProfile()
69 ScopedUtfChars filename_chars(env, filename); in Java_Main_isForBootImage()
/art/test/common/
Druntime_state.cc172 ScopedUtfChars chars(env, method_name); in Java_Main_isAotCompiled()
187 static ArtMethod* GetMethod(ScopedObjectAccess& soa, jclass cls, const ScopedUtfChars& chars) in GetMethod()
210 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledEntrypoint()
227 ScopedUtfChars chars(env, method_name); in Java_Main_hasJitCompiledCode()
324 ScopedUtfChars chars(env, method_name); in Java_Main_ensureJitCompiled()
336 ScopedUtfChars chars(env, method_name); in Java_Main_hasSingleImplementation()
348 ScopedUtfChars chars(env, method_name); in Java_Main_getHotnessCounter()
/art/libnativeloader/
Dlibrary_namespaces.cpp100 ScopedUtfChars dex_path_utf_chars(env, dex_path); in GetApkOriginFromDexPath()
149 ScopedUtfChars library_path_utf_chars(env, java_library_path); in Create()
164 ScopedUtfChars path(env, java_permitted_path); in Create()
Dnative_loader.cpp161 ScopedUtfChars library_path_utf_chars(env, library_path); in OpenNativeLibrary()
Dnative_loader_test.cpp434 EXPECT_EQ(err, nullptr) << "Error is: " << std::string(ScopedUtfChars(env(), err).c_str()); in RunTest()
575 EXPECT_EQ(err, nullptr) << "Error is: " << std::string(ScopedUtfChars(env(), err).c_str()); in TEST_P()
/art/test/1969-force-early-return-void/
Dforce_early_return_void.cc76 ScopedUtfChars chr(env, name); in Java_art_Test1969_isClassLoaded()
/art/test/1953-pop-frame/
Dpop_frame.cc77 ScopedUtfChars chr(env, name); in Java_art_Test1953_isClassLoaded()
/art/test/570-checker-osr/
Dosr.cc34 ScopedUtfChars chars(env, method_name); in ProcessMethodWithName()
/art/test/912-classes/
Dclasses_art.cc101 ScopedUtfChars name(env, class_name); in Java_art_Test912Art_isLoadedClass()
/art/openjdkjvmti/
Dti_properties.cc201 ScopedUtfChars chars(jni_env, reinterpret_cast<jstring>(prop_res.get())); in GetLibraryPath()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc186 ScopedUtfChars basename_utf(env, basename); in Java_Main_isAnonymousVdexBasename()
/art/test/904-object-allocation/
Dtracking.cc45 ScopedUtfChars utf_chars(jni_env, str.get()); in GetClassName()
/art/openjdkjvm/
DOpenjdkJvm.cc325 ScopedUtfChars filename(env, javaFilename); in JVM_NativeLoad()
408 ScopedUtfChars name(env, java_name); in JVM_SetNativeThreadName()

12