Home
last modified time | relevance | path

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

12

/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc72 void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
86 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
123 void StartProcessorInRunLoop(ActionProcessor* processor, in StartProcessorInRunLoop() argument
125 processor->StartProcessing(); in StartProcessorInRunLoop()
189 ActionProcessor processor; in TestWithData() local
190 processor.set_delegate(&delegate); in TestWithData()
191 processor.EnqueueAction(std::move(feeder_action)); in TestWithData()
192 processor.EnqueueAction(std::move(download_action)); in TestWithData()
195 base::Bind(&StartProcessorInRunLoop, &processor, http_fetcher)); in TestWithData()
323 ActionProcessor processor; in TEST() local
[all …]
Dpostinstall_runner_action_unittest.cc54 void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
59 void ProcessingStopped(const ActionProcessor* processor) override { in ProcessingStopped() argument
64 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
152 [](ActionProcessor* processor) { processor->StopProcessing(); }, in CancelWhenStarted() argument
201 ActionProcessor processor; in RunPostinstallActionWithInstallPlan() local
202 processor_ = &processor; in RunPostinstallActionWithInstallPlan()
213 processor.EnqueueAction(std::move(feeder_action)); in RunPostinstallActionWithInstallPlan()
214 processor.EnqueueAction(std::move(runner_action)); in RunPostinstallActionWithInstallPlan()
215 processor.EnqueueAction(std::move(collector_action)); in RunPostinstallActionWithInstallPlan()
216 processor.set_delegate(&processor_delegate_); in RunPostinstallActionWithInstallPlan()
[all …]
Dfilesystem_verifier_action_unittest.cc63 void ProcessingDone(const ActionProcessor* processor, ErrorCode code) { in ProcessingDone() argument
66 void ProcessingStopped(const ActionProcessor* processor) { in ProcessingStopped() argument
69 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
148 [](ActionProcessor* processor, bool terminate_early) { in DoTest() argument
149 processor->StartProcessing(); in DoTest()
151 processor->StopProcessing(); in DoTest()
210 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
332 [](ActionProcessor* processor) { processor->StartProcessing(); }, in TEST_F() argument
379 [](ActionProcessor* processor) { processor->StartProcessing(); }, in TEST_F() argument
/system/update_engine/common/
Daction_unittest.cc48 ActionProcessor* processor() { return processor_; } in processor() function in chromeos_update_engine::ActionTestAction
51 ASSERT_TRUE(processor()); in CompleteAction()
52 processor()->ActionComplete(this, ErrorCode::kSuccess); in CompleteAction()
66 EXPECT_FALSE(action->processor()); in TEST()
71 EXPECT_EQ(&action_processor, action_ptr->processor()); in TEST()
Daction_processor_unittest.cc49 ActionProcessor* processor() { return processor_; } in processor() function in chromeos_update_engine::ActionProcessorTestAction
52 ASSERT_TRUE(processor()); in CompleteAction()
53 processor()->ActionComplete(this, ErrorCode::kSuccess); in CompleteAction()
61 explicit MyActionProcessorDelegate(const ActionProcessor* processor) in MyActionProcessorDelegate() argument
62 : processor_(processor), in MyActionProcessorDelegate()
68 virtual void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
70 EXPECT_EQ(processor_, processor); in ProcessingDone()
74 virtual void ProcessingStopped(const ActionProcessor* processor) { in ProcessingStopped() argument
75 EXPECT_EQ(processor_, processor); in ProcessingStopped()
79 virtual void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
[all …]
Daction_processor.h133 virtual void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
138 virtual void ProcessingStopped(const ActionProcessor* processor) {} in ProcessingStopped() argument
142 virtual void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
Daction.h105 void SetProcessor(ActionProcessor* processor) { in SetProcessor() argument
106 if (processor) in SetProcessor()
110 processor_ = processor; in SetProcessor()
Dutils.h366 explicit ScopedActionCompleter(ActionProcessor* processor, in ScopedActionCompleter() argument
368 : processor_(processor), in ScopedActionCompleter()
/system/update_engine/
Dupdate_boot_flags_action_unittest.cc37 ActionProcessor processor; in TEST_F() local
38 processor.EnqueueAction(std::move(action)); in TEST_F()
42 processor.StartProcessing(); in TEST_F()
Dupdate_attempter.h96 void ProcessingDone(const ActionProcessor* processor,
98 void ProcessingStopped(const ActionProcessor* processor) override;
99 void ActionCompleted(ActionProcessor* processor,
308 void ProcessingDoneInternal(const ActionProcessor* processor, ErrorCode code);
309 void ProcessingDoneUpdate(const ActionProcessor* processor, ErrorCode code);
310 void ProcessingDoneInstall(const ActionProcessor* processor, ErrorCode code);
Dupdate_attempter_android.h92 void ProcessingDone(const ActionProcessor* processor,
94 void ProcessingStopped(const ActionProcessor* processor) override;
95 void ActionCompleted(ActionProcessor* processor,
Domaha_request_action_unittest.cc302 void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
307 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
531 ActionProcessor processor; in TestUpdateCheck() local
532 processor.set_delegate(&delegate_); in TestUpdateCheck()
537 processor.EnqueueAction(std::move(omaha_request_action)); in TestUpdateCheck()
538 processor.EnqueueAction(std::move(collector_action)); in TestUpdateCheck()
553 [](ActionProcessor* processor) { processor->StartProcessing(); }, in TestUpdateCheck() argument
554 base::Unretained(&processor))); in TestUpdateCheck()
578 ActionProcessor processor; in TestEvent() local
579 processor.set_delegate(&delegate_); in TestEvent()
[all …]
Dupdate_attempter.cc1147 void UpdateAttempter::ProcessingDoneInternal(const ActionProcessor* processor, in ProcessingDoneInternal() argument
1204 ProcessingDoneInstall(processor, code); in ProcessingDoneInternal()
1206 ProcessingDoneUpdate(processor, code); in ProcessingDoneInternal()
1218 void UpdateAttempter::ProcessingDoneInstall(const ActionProcessor* processor, in ProcessingDoneInstall() argument
1227 void UpdateAttempter::ProcessingDoneUpdate(const ActionProcessor* processor, in ProcessingDoneUpdate() argument
1269 void UpdateAttempter::ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
1272 ProcessingDoneInternal(processor, code); in ProcessingDone()
1279 void UpdateAttempter::ProcessingStopped(const ActionProcessor* processor) { in ProcessingStopped() argument
1293 void UpdateAttempter::ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
1640 Bind([](ActionProcessor* processor) { processor->StartProcessing(); }, in ScheduleProcessingStart() argument
Domaha_response_handler_action_unittest.cc56 void ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
127 ActionProcessor processor; in DoTest() local
128 processor.set_delegate(&delegate_); in DoTest()
163 processor.EnqueueAction(std::move(feeder_action)); in DoTest()
164 processor.EnqueueAction(std::move(response_handler_action)); in DoTest()
165 processor.EnqueueAction(std::move(collector_action)); in DoTest()
166 processor.StartProcessing(); in DoTest()
167 EXPECT_TRUE(!processor.IsRunning()) in DoTest()
Dupdate_attempter_android.cc520 void UpdateAttempterAndroid::ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
563 const ActionProcessor* processor) { in ProcessingStopped() argument
567 void UpdateAttempterAndroid::ActionCompleted(ActionProcessor* processor, in ActionCompleted() argument
659 Bind([](ActionProcessor* processor) { processor->StartProcessing(); }, in ScheduleProcessingStart() argument
/system/chre/host/
DREADME.md1 A collection of CHRE-related code that runs on the host processor. Note that
3 applications processor, as opposed to the Android build perspective, where host
/system/chre/
Drun_tests.sh7 JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
Drun_pal_impl_tests.sh7 JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
Drun_sim.sh11 JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
Dload_android_sim.sh11 JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc188 void ProcessingDone(const ActionProcessor* processor, in ProcessingDone() argument
193 void ProcessingStopped(const ActionProcessor* processor) override { in ProcessingStopped() argument
260 ActionProcessor processor; in ApplyPayload() local
262 processor.set_delegate(&delegate); in ApplyPayload()
263 processor.EnqueueAction(std::move(install_plan_action)); in ApplyPayload()
264 processor.EnqueueAction(std::move(download_action)); in ApplyPayload()
265 processor.EnqueueAction(std::move(filesystem_verifier_action)); in ApplyPayload()
266 processor.StartProcessing(); in ApplyPayload()
Dfull_update_generator.cc186 for (ChunkProcessor& processor : chunk_processors) in GenerateOperations()
187 thread_pool.AddWork(&processor); in GenerateOperations()
Ddelta_diff_generator.cc159 for (auto& processor : partition_tasks) { in GenerateUpdatePayloadFile() local
160 thread_pool.AddWork(&processor); in GenerateUpdatePayloadFile()
Ddelta_diff_utils.cc409 for (auto& processor : file_delta_processors) { in DeltaReadPartition() local
410 thread_pool.AddWork(&processor); in DeltaReadPartition()
414 for (auto& processor : file_delta_processors) { in DeltaReadPartition() local
415 TEST_AND_RETURN_FALSE(processor.MergeOperation(aops)); in DeltaReadPartition()
/system/chre/platform/shared/idl/
DREADME.md2 between the reference CHRE implementation and the host (applications processor).

12