Home
last modified time | relevance | path

Searched refs:StopAndClearWorks (Results 1 - 18 of 18) sorted by relevance

/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dstop_and_clear_works.cpp23 napi_value StopAndClearWorks(napi_env env, napi_callback_info info) in StopAndClearWorks() function
25 WS_HILOGD("StopAndClearWorks napi begin"); in StopAndClearWorks()
26 ErrCode errCode = WorkSchedulerSrvClient::GetInstance().StopAndClearWorks(); in StopAndClearWorks()
28 WS_HILOGD("StopAndClearWorks napi end. result: %{public}s", errCode == ERR_OK ? "true" : "false"); in StopAndClearWorks()
H A Dinit.cpp49 DECLARE_NAPI_FUNCTION("stopAndClearWorks", StopAndClearWorks), in InitApi()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/
H A Dstop_and_clear_works.h23 napi_value StopAndClearWorks(napi_env env, napi_callback_info info);
/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dworkscheduler_srv_client.h58 ErrCode StopAndClearWorks();
H A Diwork_sched_service.h60 virtual int32_t StopAndClearWorks() = 0;
/foundation/resourceschedule/work_scheduler/services/zidl/include/
H A Dwork_sched_service_proxy.h61 int32_t StopAndClearWorks() override;
/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dworkscheduler_srv_client.cpp114 ErrCode WorkSchedulerSrvClient::StopAndClearWorks() in StopAndClearWorks() function in OHOS::WorkScheduler::WorkSchedulerSrvClient
123 return iWorkSchedService_->StopAndClearWorks(); in StopAndClearWorks()
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_queue_manager.h85 bool StopAndClearWorks(std::list<std::shared_ptr<WorkStatus>> workList);
H A Dwork_scheduler_service.h87 int32_t StopAndClearWorks() override;
H A Dwork_policy_manager.h90 bool StopAndClearWorks(int32_t uid);
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dwork_sched_client_test.cpp78 * @tc.desc: Test StopAndClearWorks
84 auto ret = WorkSchedulerSrvClient::GetInstance().StopAndClearWorks(); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dworkschedulerservice_test.cpp111 int32_t StopAndClearWorks() { return 0; } in StopAndClearWorks() function in OHOS::WorkScheduler::MyWorkSchedulerService
217 * @tc.desc: Test WorkSchedulerService StopAndClearWorks.
228 ret = workSchedulerService_->StopAndClearWorks(); in HWTEST_F()
232 ret = workSchedulerService_->StopAndClearWorks(); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_queue_manager.cpp180 bool WorkQueueManager::StopAndClearWorks(list<shared_ptr<WorkStatus>> workList) in StopAndClearWorks() function in OHOS::WorkScheduler::WorkQueueManager
H A Dwork_scheduler_service.cpp710 int32_t WorkSchedulerService::StopAndClearWorks() in StopAndClearWorks() function in OHOS::WorkScheduler::WorkSchedulerService
712 HitraceScoped traceScoped(HITRACE_TAG_OHOS, "WorkSchedulerService::StopAndClearWorks"); in StopAndClearWorks()
728 bool ret = workQueueManager_->StopAndClearWorks(allWorks) in StopAndClearWorksByUid()
729 && workPolicyManager_->StopAndClearWorks(uid); in StopAndClearWorksByUid()
H A Dwork_policy_manager.cpp240 bool WorkPolicyManager::StopAndClearWorks(int32_t uid) in StopAndClearWorks() function in OHOS::WorkScheduler::WorkPolicyManager
/foundation/resourceschedule/work_scheduler/services/zidl/src/
H A Dwork_sched_service_stub.cpp181 return StopAndClearWorks(); in StopAndClearWorksStub()
H A Dwork_sched_service_proxy.cpp119 int32_t WorkSchedServiceProxy::StopAndClearWorks() in StopAndClearWorks() function in OHOS::WorkScheduler::WorkSchedServiceProxy
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstartwork_fuzzer/
H A Dworkschedulerstartwork_fuzzer.cpp400 workSchedulerService_->StopAndClearWorks(); in DoSomethingInterestingWithMyAPI()

Completed in 12 milliseconds