Home
last modified time | relevance | path

Searched refs:workSchedulerService_ (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dworkschedulerservice_test.cpp128 workSchedulerService_->OnStart();
142 workSchedulerService_->ready_ = false;
147 workSchedulerService_->ready_ = true;
179 workSchedulerService_->ready_ = true;
206 workSchedulerService_->ready_ = true;
826 workSchedulerService_->LoadSa();
830 workSchedulerService_->LoadSa();
834 workSchedulerService_->LoadSa();
837 workSchedulerService_->LoadSa();
841 workSchedulerService_->LoadSa();
[all …]
H A Dwork_policy_manager_test.cpp44 …std::shared_ptr<WorkSchedulerService> workSchedulerService_ = std::make_shared<WorkSchedulerServic… in SetUpTestCase() local
45 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstartwork_fuzzer/
H A Dworkschedulerstartwork_fuzzer.cpp203 …BatteryLevelListener batteryLevelListener(workSchedulerService_->workQueueManager_, workSchedulerS… in OnBatteryLevelListener()
272 workSchedulerService_->workQueueManager_, workSchedulerService_); in OnScreenListener()
377 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
378 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
384workSchedulerService_->workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService… in DoSomethingInterestingWithMyAPI()
386 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
387 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
389 if (workSchedulerService_->checkBundle_) { in DoSomethingInterestingWithMyAPI()
390 workSchedulerService_->checkBundle_ = false; in DoSomethingInterestingWithMyAPI()
400 workSchedulerService_->StopAndClearWorks(); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandclearworks_fuzzer/
H A Dworkschedulerstopandclearworks_fuzzer.cpp44 workSchedulerService_->StartWork(workInfo); in TirggerBatteryStatusListener()
62 workSchedulerService_->StartWork(workInfo); in TirggerStorageLevelListener()
80 workSchedulerService_->StartWork(workInfo); in TirggerChargerListener()
98 workSchedulerService_->StartWork(workInfo); in TirggerNetworkListener()
127 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
128 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
129 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
130 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
137 if (workSchedulerService_->checkBundle_) { in DoSomethingInterestingWithMyAPI()
138 workSchedulerService_->checkBundle_ = false; in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandcancelwork_fuzzer/
H A Dworkschedulerstopandcancelwork_fuzzer.cpp29 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
44 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
55 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
56 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
57 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
58 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
60 workSchedulerService_->StartWork(workInfo); in DoSomethingInterestingWithMyAPI()
61 if (workSchedulerService_->checkBundle_) { in DoSomethingInterestingWithMyAPI()
62 workSchedulerService_->checkBundle_ = false; in DoSomethingInterestingWithMyAPI()
64 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopwork_fuzzer/
H A Dworkschedulerstopwork_fuzzer.cpp29 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
44 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
55 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
56 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
57 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
58 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
60 workSchedulerService_->StartWork(workInfo); in DoSomethingInterestingWithMyAPI()
61 if (workSchedulerService_->checkBundle_) { in DoSomethingInterestingWithMyAPI()
62 workSchedulerService_->checkBundle_ = false; in DoSomethingInterestingWithMyAPI()
64 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerobtainallworks_fuzzer/
H A Dworkschedulerobtainallworks_fuzzer.cpp27 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
42 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
44 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
45 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
46 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
47 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
50 workSchedulerService_->AddWorkInner(workInfo); in DoSomethingInterestingWithMyAPI()
51 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
52 workSchedulerService_->OnStop(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulergetworkstatus_fuzzer/
H A Dworkschedulergetworkstatus_fuzzer.cpp29 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
44 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
54 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
55 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
56 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
57 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
59 workSchedulerService_->AddWorkInner(workInfo); in DoSomethingInterestingWithMyAPI()
60 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
61 workSchedulerService_->OnStop(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulergetallrunningworks_fuzzer/
H A Dworkschedulergetallrunningworks_fuzzer.cpp27 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
42 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
44 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
45 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
46 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
47 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
49 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
50 workSchedulerService_->OnStop(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerislastworktimeout_fuzzer/
H A Dworkschedulerislastworktimeout_fuzzer.cpp27 static std::shared_ptr<WorkSchedulerService> workSchedulerService_; variable
42 workSchedulerService_ = DelayedSingleton<WorkSchedulerService>::GetInstance(); in DoSomethingInterestingWithMyAPI()
44 workSchedulerService_->OnStart(); in DoSomethingInterestingWithMyAPI()
45 workSchedulerService_->InitBgTaskSubscriber(); in DoSomethingInterestingWithMyAPI()
46 if (!workSchedulerService_->ready_) { in DoSomethingInterestingWithMyAPI()
47 workSchedulerService_->ready_ = true; in DoSomethingInterestingWithMyAPI()
49 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
50 workSchedulerService_->OnStop(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/conditions/
H A Dscreen_listener_test.cpp45 …std::shared_ptr<WorkSchedulerService> workSchedulerService_ = std::make_shared<WorkSchedulerServic… in SetUpTestCase() local
46 workSchedulerService_->Start(); in SetUpTestCase()
47 workSchedulerService_->OnStart(); in SetUpTestCase()
48 workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService_); in SetUpTestCase()
49 screenListener_ = std::make_shared<ScreenListener>(workQueueManager_, workSchedulerService_); in SetUpTestCase()
H A Dnetwork_listener_test.cpp52 …std::shared_ptr<WorkSchedulerService> workSchedulerService_ = std::make_shared<WorkSchedulerServic… in SetUpTestCase() local
53 workQueueManager_ = std::make_shared<WorkQueueManager>(workSchedulerService_); in SetUpTestCase()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H A Dapp_data_clear_listener_test.cpp44 …std::shared_ptr<WorkSchedulerService> workSchedulerService_ = std::make_shared<WorkSchedulerServic… in SetUpTestCase() local
45 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()
H A Dcpu_policy_test.cpp43 …std::shared_ptr<WorkSchedulerService> workSchedulerService_ = std::make_shared<WorkSchedulerServic… in SetUpTestCase() local
44 workPolicyManager_ = std::make_shared<WorkPolicyManager>(workSchedulerService_); in SetUpTestCase()