Searched refs:taskInfoMapKey (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | task_notification_subscriber.cpp | 83 std::string taskInfoMapKey = labelSplits[LABEL_APP_UID_POS] + LABEL_SPLITER + abilityName + in OnCanceled() local 86 if (continuousTaskMgr_->StopContinuousTaskByUser(taskInfoMapKey)) { in OnCanceled() 87 BGTASK_LOGI("remove continuous task record Key: %{public}s", taskInfoMapKey.c_str()); in OnCanceled()
|
H A D | bg_continuous_task_mgr.cpp | 688 …std::string taskInfoMapKey = std::to_string(callingUid) + SEPARATOR + taskParam->abilityName_ + SE… in UpdateBackgroundRunning() local 691 handler_->PostSyncTask([self, &taskInfoMapKey, &result, taskParam]() mutable { in UpdateBackgroundRunning() 697 result = self->UpdateBackgroundRunningInner(taskInfoMapKey, taskParam); in UpdateBackgroundRunning() 703 ErrCode BgContinuousTaskMgr::UpdateBackgroundRunningInner(const std::string &taskInfoMapKey, in UpdateBackgroundRunningInner() argument 708 auto iter = continuousTaskInfosMap_.find(taskInfoMapKey); in UpdateBackgroundRunningInner() 710 …K_LOGW("continuous task is not exist: %{public}s, use start befor update", taskInfoMapKey.c_str()); in UpdateBackgroundRunningInner() 761 std::string taskInfoMapKey = std::to_string(continuousTaskRecord->uid_) + SEPARATOR in StartBackgroundRunningInner() local 763 if (continuousTaskInfosMap_.find(taskInfoMapKey) != continuousTaskInfosMap_.end()) { in StartBackgroundRunningInner() 764 BGTASK_LOGW("continuous task is already exist: %{public}s", taskInfoMapKey.c_str()); in StartBackgroundRunningInner() 802 continuousTaskInfosMap_.emplace(taskInfoMapKey, continuousTaskRecord); in StartBackgroundRunningInner()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | bg_continuous_task_mgr.h | 90 ErrCode UpdateBackgroundRunningInner(const std::string &taskInfoMapKey,
|