Searched refs:needCancel (Results 1 - 9 of 9) sorted by relevance
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | stop_work.cpp | 46 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 D | cancelable_callback.h | 67 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 D | work_scheduler_ffi.h | 54 FFI_EXPORT int32_t CJ_StopWork(RetWorkInfo work, bool needCancel);
|
H A D | work_scheduler_ffi.cpp | 40 int32_t CJ_StopWork(RetWorkInfo work, bool needCancel) in CJ_StopWork() argument
|
/foundation/resourceschedule/work_scheduler/services/native/include/ |
H A D | work_scheduler_service.h | 295 bool StopWorkInner(std::shared_ptr<WorkStatus> workStatus, int32_t uid, const bool needCancel, bool isTimeOut);
|
H A D | work_policy_manager.h | 79 * @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 D | work_policy_manager.cpp | 206 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 D | work_scheduler_service.cpp | 697 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 D | pending_want_manager.cpp | 83 bool needCancel = (static_cast<uint32_t>(wantSenderInfo.flags) & in GetWantSenderLocked() local 104 if (!needCancel) { in GetWantSenderLocked()
|
Completed in 7 milliseconds