Home
last modified time | relevance | path

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

/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()
/foundation/resourceschedule/work_scheduler/services/test/src/
H A Dwork_conn_manager_test.cpp164 * @tc.desc: Test WorkConnManager StopWork.
177 bool ret = workConnManager_->StopWork(workStatus, false); in HWTEST_F()
183 * @tc.desc: Test WorkConnManager StopWork.
199 bool ret = workConnManager_->StopWork(workStatus, false); in HWTEST_F()
205 * @tc.desc: Test WorkConnManager StopWork.
224 bool ret = myWorkConnManager.StopWork(workStatus, false); in HWTEST_F()
230 * @tc.desc: Test WorkConnManager StopWork.
249 bool ret = myWorkConnManager.StopWork(workStatus, true); in HWTEST_F()
H A Dworkschedulerservice_test.cpp109 int32_t StopWork(WorkInfo& workInfo) { return 0; }; in StopWork() function in OHOS::WorkScheduler::MyWorkSchedulerService
175 ret = workSchedulerService_->StopWork(workinfo); in HWTEST_F()
179 ret = workSchedulerService_->StopWork(workinfo); in HWTEST_F()
183 ret = workSchedulerService_->StopWork(workinfo); in HWTEST_F()
632 conection.StopWork(); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/
H A Dstop_work.h22 napi_value StopWork(napi_env env, napi_callback_info info);
/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.cpp145 bool WorkConnManager::StopWork(shared_ptr<WorkStatus> workStatus, bool isTimeOut) in StopWork() function in OHOS::WorkScheduler::WorkConnManager
158 conn->StopWork(); in StopWork()
H A Dwork_policy_manager.cpp205 bool WorkPolicyManager::StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, in StopWork() function in OHOS::WorkScheduler::WorkPolicyManager
212 workConnManager_->StopWork(workStatus, isTimeOut); in StopWork()
234 workConnManager_->StopWork(workStatus, isTimeOut); in StopWork()
247 workConnManager_->StopWork(it, false); in StopAndClearWorks()
H A Dwork_scheduler_service.cpp650 int32_t WorkSchedulerService::StopWork(WorkInfo& workInfo) in StopWork() function in OHOS::WorkScheduler::WorkSchedulerService
652 HitraceScoped traceScoped(HITRACE_TAG_OHOS, "WorkSchedulerService::StopWork"); in StopWork()
699 if (workPolicyManager_->StopWork(workStatus, uid, needCancel, isTimeOut)) { in StopWorkInner()
/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_scheduler_service.h74 int32_t StopWork(WorkInfo& workInfo) override;
H A Dwork_policy_manager.h83 bool StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut);
/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dworkscheduler_srv_client.h45 ErrCode StopWork(WorkInfo& workInfo);
H A Diwork_sched_service.h47 virtual int32_t StopWork(WorkInfo& workInfo) = 0;
/foundation/resourceschedule/work_scheduler/services/zidl/include/
H A Dwork_sched_service_proxy.h48 int32_t StopWork(WorkInfo& workInfo) override;
/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()
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dwork_sched_client_test.cpp52 * @tc.desc: Test StopWork
59 auto ret = WorkSchedulerSrvClient::GetInstance().StopWork(workInfo); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp48 ErrCode errCode = WorkSchedulerSrvClient::GetInstance().StopWork(workInfo); in CJ_StopWork()
/foundation/resourceschedule/work_scheduler/services/zidl/src/
H A Dwork_sched_service_stub.cpp166 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
73 WS_HILOGE("StopWork failed, write workinfo failed!"); in StopWork()

Completed in 12 milliseconds