Home
last modified time | relevance | path

Searched refs:needCancel (Results 1 - 9 of 9) sorted by relevance

/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dstop_work.cpp46 bool needCancel = false; in StopWork() local
47 napi_get_value_bool(env, argv[NEED_CANCEL_INDEX], &needCancel); in StopWork()
53 if (needCancel) { in StopWork()
/foundation/arkui/ace_engine/frameworks/base/thread/
H A Dcancelable_callback.h67 void Reset(const FunctionType& callback, bool needCancel = true, bool waitUntilCompleted = false);
68 void Reset(FunctionType&& callback, bool needCancel = true, bool waitUntilCompleted = false);
109 const CancelableCallback<void(V...)>::FunctionType& callback, bool needCancel, bool waitUntilCompleted) in Reset()
111 if (needCancel) { in Reset()
119 CancelableCallback<void(V...)>::FunctionType&& callback, bool needCancel, bool waitUntilCompleted) in Reset()
121 if (needCancel) { in Reset()
108 Reset( const CancelableCallback<void(V...)>::FunctionType& callback, bool needCancel, bool waitUntilCompleted) Reset() argument
118 Reset( CancelableCallback<void(V...)>::FunctionType&& callback, bool needCancel, bool waitUntilCompleted) Reset() argument
/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.h54 FFI_EXPORT int32_t CJ_StopWork(RetWorkInfo work, bool needCancel);
H A Dwork_scheduler_ffi.cpp40 int32_t CJ_StopWork(RetWorkInfo work, bool needCancel) in CJ_StopWork() argument
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_scheduler_service.h295 bool StopWorkInner(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut);
H A Dwork_policy_manager.h79 * @param needCancel The need cancel.
83 bool StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut);
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_policy_manager.cpp206 const bool needCancel, bool isTimeOut) in StopWork()
226 if (!hasCanceled && needCancel) { in StopWork()
205 StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut) StopWork() argument
H A Dwork_scheduler_service.cpp697 const bool needCancel, bool isTimeOut) in StopWorkInner()
699 if (workPolicyManager_->StopWork(workStatus, uid, needCancel, isTimeOut)) { in StopWorkInner()
696 StopWorkInner(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut) StopWorkInner() argument
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dpending_want_manager.cpp83 bool needCancel = (static_cast<uint32_t>(wantSenderInfo.flags) & in GetWantSenderLocked() local
104 if (!needCancel) { in GetWantSenderLocked()

Completed in 7 milliseconds