Home
last modified time | relevance | path

Searched refs:IsRunning (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/common/
Daction_processor_unittest.cc123 EXPECT_FALSE(action_processor_.IsRunning()); in TEST_F()
125 EXPECT_FALSE(action_processor_.IsRunning()); in TEST_F()
126 EXPECT_FALSE(action_ptr_->IsRunning()); in TEST_F()
128 EXPECT_TRUE(action_processor_.IsRunning()); in TEST_F()
129 EXPECT_TRUE(action_ptr_->IsRunning()); in TEST_F()
131 EXPECT_FALSE(action_processor_.IsRunning()); in TEST_F()
149 EXPECT_FALSE(action_processor_.IsRunning()); in TEST_F()
174 EXPECT_TRUE(action_processor_.IsRunning()); in TEST_F()
177 EXPECT_TRUE(action_processor_.IsRunning()); in TEST_F()
181 EXPECT_TRUE(action_processor_.IsRunning()); in TEST_F()
[all …]
Daction_processor.cc33 if (IsRunning()) in ~ActionProcessor()
42 bool ActionProcessor::IsRunning() const { in IsRunning() function in chromeos_update_engine::ActionProcessor
47 CHECK(!IsRunning()); in StartProcessing()
57 CHECK(IsRunning()); in StopProcessing()
Daction_unittest.cc67 EXPECT_FALSE(action->IsRunning()); in TEST()
73 EXPECT_TRUE(action_ptr->IsRunning()); in TEST()
Daction_processor.h76 bool IsRunning() const;
Daction.h114 bool IsRunning() const { in IsRunning() function
/system/core/init/
Dreboot_test.cpp130 ASSERT_TRUE(service_a->IsRunning()); in TEST_F()
132 ASSERT_TRUE(service_b->IsRunning()); in TEST_F()
143 ASSERT_TRUE(oneshot_service->IsRunning()); in TEST_F()
148 EXPECT_FALSE(service_a->IsRunning()); in TEST_F()
149 EXPECT_FALSE(service_b->IsRunning()); in TEST_F()
170 ASSERT_TRUE(service_a->IsRunning()); in TEST_F()
172 ASSERT_TRUE(service_b->IsRunning()); in TEST_F()
183 ASSERT_TRUE(oneshot_service->IsRunning()); in TEST_F()
188 EXPECT_FALSE(service_a->IsRunning()); in TEST_F()
189 EXPECT_FALSE(service_b->IsRunning()); in TEST_F()
Dreboot.cpp580 if (s->IsRunning() && services.count(s->name())) { in StopServicesAndLogViolations()
703 if (boot_anim != nullptr && surface_flinger != nullptr && surface_flinger->IsRunning()) { in DoReboot()
745 if (vold_service != nullptr && vold_service->IsRunning()) { in DoReboot()
878 if (s->IsRunning() && stop_first.count(s->name())) { in DoUserspaceReboot()
900 if (s->IsRunning() && debugging_services.count(s->name())) { in DoUserspaceReboot()
Dservice.h84 bool IsRunning() { return (flags_ & SVC_RUNNING) != 0; } in IsRunning() function
Dinit_test.cpp252 ASSERT_TRUE(service->IsRunning()); in TestStartApexServices()
270 EXPECT_EQ(expect_to_run, service->IsRunning()); in TestStopApexServices()
Dbuiltins.cpp791 if (only_if_running && !svc->IsRunning()) { in do_restart()
/system/update_engine/aosp/
Dupdate_attempter_android.cc225 if (processor_->IsRunning()) { in ApplyPayload()
390 if (processor_->IsRunning()) { in ApplyPayload()
404 if (!processor_->IsRunning()) in SuspendUpdate()
411 if (!processor_->IsRunning()) in ResumeUpdate()
418 if (!processor_->IsRunning()) in CancelUpdate()
427 if (processor_->IsRunning()) { in ResetStatus()
783 CHECK(!processor_->IsRunning()); in BuildUpdateActions()
1179 if (processor_->IsRunning()) { in setShouldSwitchSlotOnReboot()
1251 if (processor_->IsRunning()) { in resetShouldSwitchSlotOnReboot()
1282 if (processor_->IsRunning()) { in ScheduleCleanupPreviousUpdate()
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc399 ASSERT_FALSE(processor_.IsRunning()); in TEST_F()
417 EXPECT_FALSE(processor_.IsRunning()); in TEST_F()
496 EXPECT_FALSE(processor_.IsRunning()); in TEST_F()
542 ASSERT_FALSE(processor_.IsRunning()); in TEST_F()
617 ASSERT_FALSE(processor_.IsRunning()); in DoTestVABC()
681 ASSERT_FALSE(processor_.IsRunning()); in TEST_F()
Dpostinstall_runner_action_unittest.cc237 ASSERT_FALSE(processor.IsRunning()); in RunPostinstallActionWithInstallPlan()