Lines Matching refs:Runtime
70 return Runtime::Current()->GetHeap()->GetTargetHeapUtilization(); in VMRuntime_getTargetHeapUtilization()
74 Runtime::Current()->GetHeap()->SetTargetHeapUtilization(target); in VMRuntime_nativeSetTargetHeapUtilization()
95 Runtime::Current()->SetHiddenApiExemptions(exemptions_vec); in VMRuntime_setHiddenApiExemptions()
99 Runtime::Current()->SetHiddenApiEventLogSampleRate(rate); in VMRuntime_setHiddenApiAccessLogSamplingRate()
114 Runtime* runtime = Runtime::Current(); in VMRuntime_newNonMovableArray()
141 Runtime* runtime = Runtime::Current(); in VMRuntime_newUnpaddedArray()
167 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { in VMRuntime_addressOf()
175 Runtime::Current()->GetHeap()->ClearGrowthLimit(); in VMRuntime_clearGrowthLimit()
179 Runtime::Current()->GetHeap()->ClampGrowthLimit(); in VMRuntime_clampGrowthLimit()
187 return Runtime::Current()->IsNativeDebuggable(); in VMRuntime_isNativeDebuggable()
191 return Runtime::Current()->IsJavaDebuggable(); in VMRuntime_isJavaDebuggable()
197 const std::vector<std::string>& properties = Runtime::Current()->GetProperties(); in VMRuntime_properties()
228 std::string boot_class_path = android::base::Join(Runtime::Current()->GetBootClassPath(), ':'); in VMRuntime_bootClassPath()
233 return env->NewStringUTF(DefaultToDot(Runtime::Current()->GetClassPathString())); in VMRuntime_classPath()
237 return env->NewStringUTF(Runtime::GetVersion()); in VMRuntime_vmVersion()
245 InstructionSet isa = Runtime::Current()->GetInstructionSet(); in VMRuntime_vmInstructionSet()
267 Runtime::Current()->SetTargetSdkVersion(uint_target_sdk_version); in VMRuntime_setTargetSdkVersionNative()
291 Runtime::Current()->GetHeap()->RegisterNativeAllocation(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeAllocation()
300 Runtime::Current()->GetHeap()->RegisterNativeFree(env, clamp_to_size_t(bytes)); in VMRuntime_registerNativeFree()
304 return Runtime::Current()->GetHeap()->GetNotifyNativeInterval(); in VMRuntime_getNotifyNativeInterval()
308 Runtime::Current()->GetHeap()->NotifyNativeAllocations(env); in VMRuntime_notifyNativeAllocationsInternal()
312 return Runtime::Current()->GetFinalizerTimeoutMs(); in VMRuntime_getFinalizerTimeoutMs()
316 Runtime::Current()->RegisterSensitiveThread(); in VMRuntime_registerSensitiveThread()
320 Runtime* runtime = Runtime::Current(); in VMRuntime_updateProcessState()
325 Runtime::Current()->NotifyStartupCompleted(); in VMRuntime_notifyStartupCompleted()
329 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()
333 Runtime::Current()->GetHeap()->ConcurrentGC(ThreadForEnv(env), gc::kGcCauseBackground, true); in VMRuntime_concurrentGC()
337 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()
341 Runtime::Current()->GetHeap()->RequestConcurrentGC(ThreadForEnv(env), in VMRuntime_requestConcurrentGC()
347 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()
351 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()
355 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
405 ClassLinker* linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesResolveType()
436 ObjPtr<mirror::Class> klass = Runtime::Current()->GetClassLinker()->LookupResolvedType( in PreloadDexCachesResolveField()
462 ClassLinker* class_linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesResolveMethod()
500 ClassLinker* linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesStatsTotal()
518 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in PreloadDexCachesStatsFilled()
578 Runtime* runtime = Runtime::Current(); in VMRuntime_preloadDexCaches()
655 Runtime::Current()->RegisterAppInfo(code_paths_vec, profile_file_str); in VMRuntime_registerAppInfo()
671 Runtime* runtime = Runtime::Current(); in VMRuntime_isBootClassPathOnDisk()
683 return Runtime::Current()->GetPrunedDalvikCache() ? JNI_TRUE : JNI_FALSE; in VMRuntime_didPruneDalvikCache()
706 Runtime::Current()->SetDedupeHiddenApiWarnings(dedupe); in VMRuntime_setDedupeHiddenApiWarnings()
713 Runtime::Current()->SetProcessPackageName(package_name.c_str()); in VMRuntime_setProcessPackageName()
718 Runtime::Current()->SetProcessDataDirectory(data_dir.c_str()); in VMRuntime_setProcessDataDirectory()
723 return Runtime::Current()->GetHeap()->HasBootImageSpace() ? JNI_TRUE : JNI_FALSE; in VMRuntime_hasBootImageSpaces()