Searched refs:bgMode (Results 1 - 2 of 2) sorted by relevance
/foundation/resourceschedule/background_task_mgr/services/common/include/ |
H A D | common_utils.h | 36 static bool CheckExistMode(const std::vector<uint32_t> &bgModeIds, uint32_t bgMode) in CheckExistMode() argument 38 auto iter = std::find(bgModeIds.begin(), bgModeIds.end(), bgMode); in CheckExistMode()
|
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | bg_continuous_task_napi_module.cpp | 62 uint32_t bgMode {0};
162 if (asyncCallbackInfo->bgMode < BG_MODE_ID_BEGIN || asyncCallbackInfo->bgMode > BG_MODE_ID_END) {
in CheckBackgroundMode() 163 BGTASK_LOGE("request background mode id: %{public}u out of range", asyncCallbackInfo->bgMode);
in CheckBackgroundMode() 231 ContinuousTaskParam taskParam = ContinuousTaskParam(true, asyncCallbackInfo->bgMode, nullptr, info->name,
in UpdateBackgroundRunningExecuteCB() 248 ContinuousTaskParam taskParam = ContinuousTaskParam(true, asyncCallbackInfo->bgMode, asyncCallbackInfo->wantAgent,
in StartBackgroundRunningExecuteCB() 424 napi_get_value_uint32(env, value, &asyncCallbackInfo->bgMode);
in GetMode() 426 BGTASK_LOGI("get bgmode info: %{public}u", asyncCallbackInfo->bgMode);
in GetMode() 507 // argv[1] : bgMode : BackgroundMode
in StartBackgroundRunningCheckParamBeforeSubmit() 553 // argv[1] : bgMode in UpdateBackgroundRunning() [all...] |
Completed in 2 milliseconds