Home
last modified time | relevance | path

Searched refs:StopWork (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwork_conn_manager_test.cpp177 bool ret = workConnManager_->StopWork(workStatus, false);
199 bool ret = workConnManager_->StopWork(workStatus, false);
224 bool ret = myWorkConnManager.StopWork(workStatus, false);
249 bool ret = myWorkConnManager.StopWork(workStatus, true);
H A Dworkschedulerservice_test.cpp109 int32_t StopWork(WorkInfo& workInfo) { return 0; }; in StopWork() function in OHOS::WorkScheduler::MyWorkSchedulerService
176 ret = workSchedulerService_->StopWork(workinfo);
180 ret = workSchedulerService_->StopWork(workinfo);
184 ret = workSchedulerService_->StopWork(workinfo);
631 conection.StopWork();
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dstop_work.cpp28 napi_value StopWork(napi_env env, napi_callback_info info) in StopWork() function
56 errCode = WorkSchedulerSrvClient::GetInstance().StopWork(workInfo); in StopWork()
H A Dinit.cpp46 DECLARE_NAPI_FUNCTION("stopWork", StopWork), in InitApi()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/
H A Dstop_work.h22 napi_value StopWork(napi_env env, napi_callback_info info);
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dworkscheduler_srv_client.cpp90 ErrCode WorkSchedulerSrvClient::StopWork(WorkInfo& workInfo) in StopWork() function in OHOS::WorkScheduler::WorkSchedulerSrvClient
99 return iWorkSchedService_->StopWork(workInfo); in StopWork()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_scheduler_connection.h31 void StopWork();
H A Dwork_conn_manager.h46 bool StopWork(std::shared_ptr<WorkStatus> workStatus, bool isTimeOut);
H A Dwork_policy_manager.h83 …bool StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isT…
H A Dwork_scheduler_service.h74 int32_t StopWork(WorkInfo& workInfo) override;
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_connection.cpp28 void WorkSchedulerConnection::StopWork() in StopWork() function in OHOS::WorkScheduler::WorkSchedulerConnection
H A Dwork_conn_manager.cpp146 bool WorkConnManager::StopWork(shared_ptr<WorkStatus> workStatus, bool isTimeOut) in StopWork() function in OHOS::WorkScheduler::WorkConnManager
159 conn->StopWork(); in StopWork()
H A Dwork_policy_manager.cpp207 bool WorkPolicyManager::StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, in StopWork() function in OHOS::WorkScheduler::WorkPolicyManager
214 workConnManager_->StopWork(workStatus, isTimeOut); in StopWork()
236 workConnManager_->StopWork(workStatus, isTimeOut); in StopWork()
249 workConnManager_->StopWork(it, false); in StopAndClearWorks()
H A Dwork_scheduler_service.cpp719 int32_t WorkSchedulerService::StopWork(WorkInfo& workInfo) in StopWork() function in OHOS::WorkScheduler::WorkSchedulerService
768 if (workPolicyManager_->StopWork(workStatus, uid, needCancel, isTimeOut)) { in StopWorkInner()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Diwork_sched_service.h47 virtual int32_t StopWork(WorkInfo& workInfo) = 0;
H A Dworkscheduler_srv_client.h45 ErrCode StopWork(WorkInfo& workInfo);
/ohos5.0/foundation/resourceschedule/work_scheduler/services/zidl/include/
H A Dwork_sched_service_proxy.h48 int32_t StopWork(WorkInfo& workInfo) override;
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dwork_sched_client_test.cpp59 auto ret = WorkSchedulerSrvClient::GetInstance().StopWork(workInfo);
/ohos5.0/foundation/resourceschedule/work_scheduler/services/zidl/src/
H A Dwork_sched_service_stub.cpp189 return StopWork(*workInfo); in StopWorkStub()
H A Dwork_sched_service_proxy.cpp58 int32_t WorkSchedServiceProxy::StopWork(WorkInfo& workInfo) in StopWork() function in OHOS::WorkScheduler::WorkSchedServiceProxy
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp48 ErrCode errCode = WorkSchedulerSrvClient::GetInstance().StopWork(workInfo); in CJ_StopWork()