Lines Matching refs:Runtime

72   return Runtime::Current()->GetHeap()->GetTargetHeapUtilization();  in VMRuntime_getTargetHeapUtilization()
76 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
97 Runtime::Current()->SetHiddenApiExemptions(exemptions_vec); in VMRuntime_setHiddenApiExemptions()
101 Runtime::Current()->SetHiddenApiEventLogSampleRate(rate); in VMRuntime_setHiddenApiAccessLogSamplingRate()
116 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray()
143 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray()
170 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
178 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
182 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit()
186 return Runtime::Current()->IsNativeDebuggable(); in VMRuntime_isNativeDebuggable()
190 return Runtime::Current()->IsJavaDebuggable(); in VMRuntime_isJavaDebuggable()
196 const std::vector<std::string>& properties = Runtime::Current()->GetProperties(); in VMRuntime_properties()
227 std::string boot_class_path = android::base::Join(Runtime::Current()->GetBootClassPath(), ':'); in VMRuntime_bootClassPath()
232 return env->NewStringUTF(DefaultToDot(Runtime::Current()->GetClassPathString())); in VMRuntime_classPath()
236 return env->NewStringUTF(Runtime::GetVersion()); in VMRuntime_vmVersion()
244 InstructionSet isa = Runtime::Current()->GetInstructionSet(); in VMRuntime_vmInstructionSet()
266 Runtime::Current()->SetTargetSdkVersion(uint_target_sdk_version); in VMRuntime_setTargetSdkVersionNative()
286 Runtime::Current()->SetDisabledCompatChanges(disabled_compat_changes_set); in VMRuntime_setDisabledCompatChangesNative()
304 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeAllocation()
313 Runtime::Current()->GetHeap()->RegisterNativeFree(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeFree()
317 return Runtime::Current()->GetHeap()->GetNotifyNativeInterval(); in VMRuntime_getNotifyNativeInterval()
321 Runtime::Current()->GetHeap()->NotifyNativeAllocations(env); in VMRuntime_notifyNativeAllocationsInternal()
325 return Runtime::Current()->GetFinalizerTimeoutMs(); in VMRuntime_getFinalizerTimeoutMs()
329 Runtime::Current()->RegisterSensitiveThread(); in VMRuntime_registerSensitiveThread()
333 Runtime* runtime = Runtime::Current(); in VMRuntime_updateProcessState()
338 Runtime::Current()->NotifyStartupCompleted(); in VMRuntime_notifyStartupCompleted()
342 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()
346 Runtime::Current()->GetHeap()->ConcurrentGC(ThreadForEnv(env), gc::kGcCauseBackground, true); in VMRuntime_concurrentGC()
350 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()
354 Runtime::Current()->GetHeap()->RequestConcurrentGC(ThreadForEnv(env), in VMRuntime_requestConcurrentGC()
360 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()
364 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()
368 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
417 ClassLinker* linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesResolveType()
441 ObjPtr<mirror::Class> klass = Runtime::Current()->GetClassLinker()->LookupResolvedType( in PreloadDexCachesResolveField()
467 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesResolveMethod()
505 ClassLinker* linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesStatsTotal()
523 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesStatsFilled()
583 Runtime* runtime = Runtime::Current(); in VMRuntime_preloadDexCaches()
660 Runtime::Current()->RegisterAppInfo(code_paths_vec, profile_file_str); in VMRuntime_registerAppInfo()
684 return Runtime::Current()->GetPrunedDalvikCache() ? JNI_TRUE : JNI_FALSE; in VMRuntime_didPruneDalvikCache()
707 Runtime::Current()->SetDedupeHiddenApiWarnings(dedupe); in VMRuntime_setDedupeHiddenApiWarnings()
714 Runtime::Current()->SetProcessPackageName(package_name.c_str()); in VMRuntime_setProcessPackageName()
719 Runtime::Current()->SetProcessDataDirectory(data_dir.c_str()); in VMRuntime_setProcessDataDirectory()
724 jit::Jit* jit = Runtime::Current()->GetJit(); in VMRuntime_bootCompleted()
755 Runtime::Current()->GetClassLinker()->VisitClasses(&visitor); in VMRuntime_resetJitCounters()