Home
last modified time | relevance | path

Searched refs:runtime_ (Results 1 – 25 of 28) sorted by relevance

12

/art/runtime/
Dtwo_runtimes_test.cc33 runtime_->Start(); in TEST_F()
38 runtime_->Start(); in TEST_F()
Dhidden_api_test.cc138 bool started = runtime_->Start(); in SetUp()
174 CompatFramework& compat_framework = runtime_->GetCompatFramework(); in SetChangeIdState()
234 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F()
243 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
244 runtime_->SetTargetSdkVersion( in TEST_F()
256 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
257 runtime_->SetTargetSdkVersion( in TEST_F()
276 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
277 runtime_->SetTargetSdkVersion( in TEST_F()
289 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
[all …]
Druntime_callbacks_test.cc156 bool started = runtime_->Start(); in TEST_F()
159 runtime_->WaitForThreadPoolWorkersToStart(); in TEST_F()
163 runtime_->RequestMetricsReport(/*synchronous=*/true); in TEST_F()
184 runtime_->GetMainThreadGroup(), in TEST_F()
358 bool started = runtime_->Start(); in TEST_F()
430 bool started = runtime_->Start(); in TEST_F()
440 runtime_.reset(); in TEST_F()
513 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.cc80 runtime_.reset(); in ~CommonRuntimeTestImpl()
121 runtime_.reset(Runtime::Current()); in SetUp()
122 class_linker_ = runtime_->GetClassLinker(); in SetUp()
153 runtime_->RunRootClinits(soa.Self()); in FinalizeSetup()
161 runtime_->GetHeap()->CreateThreadPool(); in FinalizeSetup()
162 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup()
164 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup()
169 if (runtime_ != nullptr) { in TearDown()
170 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown()
Druntime_test.cc69 runtime_->Start(); in TEST_F()
Dthread_pool_test.cc204 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.h187 std::unique_ptr<Runtime> runtime_; variable
Dreflection_test.cc132 bool started = runtime_->Start(); in ReflectionTestMakeInterpreted()
532 bool started = runtime_->Start(); in TEST_F()
Doat_file_assistant_test.cc1306 runtime_->Start(); in TEST_F()
1502 runtime_->Start(); in TEST_F()
1562 runtime_->Start(); in TEST_F()
1643 runtime_->Start(); in TEST_F()
/art/dex2oat/linker/
Dimage_write_read_test.cc61 runtime_.reset(); in TestWriteRead()
80 runtime_.reset(Runtime::Current()); in TestWriteRead()
85 ASSERT_TRUE(runtime_.get() != nullptr); in TestWriteRead()
86 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead()
Dimage_test.cc43 runtime_.reset(); in TEST_F()
/art/runtime/metrics/
Dreporter.cc44 runtime_{runtime},
121 const bool attached = runtime_->AttachCurrentThread(kBackgroundThreadName, in BackgroundThreadRun()
123 runtime_->GetSystemThreadGroup(), in BackgroundThreadRun()
181 runtime_->DetachCurrentThread(); in BackgroundThreadRun()
193 return runtime_->GetMetrics(); in GetMetrics()
Dreporter.h168 Runtime* runtime_; variable
Dreporter_test.cc106 bool started = runtime_->Start(); in SetUp()
/art/runtime/jni/
Djava_vm_ext.h71 return runtime_; in GetRuntime()
227 Runtime* const runtime_; variable
Djava_vm_ext.cc493 : runtime_(runtime), in JavaVMExt()
641 old_allocation_tracking_state_ = runtime_->GetHeap()->IsAllocTrackingEnabled(); in CheckGlobalRefAllocationTracking()
740 runtime_->GetThreadList()->ForEach(ThreadEnableCheckJni, &check_jni_); in SetCheckJniEnabled()
1016 runtime_->GetTargetSdkVersion(), in LoadNativeLibrary()
1084 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
/art/dex2oat/
Ddex2oat.cc328 runtime_ = runtime; in SetRuntime()
405 Runtime* runtime = runtime_; in GetRuntime()
411 static Runtime* runtime_; member in art::WatchDog
424 Runtime* WatchDog::runtime_ = nullptr; member in art::WatchDog
512 runtime_(nullptr), in Dex2Oat()
571 runtime_.release(); // NOLINT in ~Dex2Oat()
1519 ArrayRef<const DexFile* const> bcp_dex_files(runtime_->GetClassLinker()->GetBootClassPath()); in Setup()
1534 for (const std::string& bcp_location : runtime_->GetBootClassPathLocations()) { in Setup()
1570 if (runtime_->GetHeap()->GetBootImageSpaces().empty()) { in Setup()
1798 runtime_->GetHeap()->CollectGarbage(/* clear_soft_references */ true); in CompileDexFilesIndividually()
[all …]
/art/openjdkjvmti/
Dti_redefine.cc746 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in CreateNewDexCache()
763 loader.IsNull() ? driver_->runtime_->GetLinearAlloc() in CreateNewDexCache()
832 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in FindAndAllocateObsoleteMethods()
1719 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in CollectAndCreateNewInstances()
1740 driver_->runtime_->GetClassLinker()))); in CollectAndCreateNewInstances()
1792 driver_->self_, driver_->runtime_->GetHeap()->GetCurrentAllocator())); in CollectAndCreateNewInstances()
1887 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in FinishNewClassAllocations()
1912 driver_->runtime_->GetClassLinker()))); in FinishNewClassAllocations()
2052 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in AllocateNewClassObject()
2374 : self_(self), runtime_(runtime), pauser_() { in ScopedSuspendClassLoading()
[all …]
Dti_redefine.h303 art::Runtime* runtime_; variable
318 runtime_(runtime), in Redefiner()
Devents.cc1254 : runtime_(runtime) {} in HandleLocalAccessCapabilityAdded()
1268 } else if (!runtime_->GetClassLinker()->IsQuickToInterpreterBridge(code) && in HandleLocalAccessCapabilityAdded()
1269 !runtime_->IsAsyncDeoptimizeable(reinterpret_cast<uintptr_t>(code))) { in HandleLocalAccessCapabilityAdded()
1270 runtime_->GetInstrumentation()->UpdateMethodsCodeToInterpreterEntryPoint(&m); in HandleLocalAccessCapabilityAdded()
1277 art::Runtime* runtime_; in HandleLocalAccessCapabilityAdded() member in openjdkjvmti::EventHandler::HandleLocalAccessCapabilityAdded::UpdateEntryPointsClassVisitor
/art/compiler/
Dcommon_compiler_test.h131 return RuntimeBase::runtime_.get(); in GetRuntime()
Dexception_test.cc168 bool started = runtime_->Start(); in TEST_F()
/art/runtime/arch/
Dstub_test.cc48 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
51 if (!runtime_->HasCalleeSaveMethod(type)) { in SetUp()
52 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type); in SetUp()
1648 bool started = runtime_->Start(); in TEST_F()
1660 bool started = runtime_->Start(); in TEST_F()
1672 bool started = runtime_->Start(); in TEST_F()
1683 bool started = runtime_->Start(); in TEST_F()
1694 bool started = runtime_->Start(); in TEST_F()
/art/runtime/mirror/
Ddex_cache_test.cc89 EXPECT_NE(linear_alloc, runtime_->GetLinearAlloc()); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc58 bool started = runtime_->Start(); in EnsureCompiled()

12