Home
last modified time | relevance | path

Searched refs:strDisplayId (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ui_ability.cpp477 …std::string strDisplayId = setting_->GetProperty(OHOS::AppExecFwk::AbilityStartSetting::WINDOW_DIS… in InitSceneDoOnForeground() local
480 bool flag = std::regex_match(strDisplayId, sm, formatRegex); in InitSceneDoOnForeground()
481 if (flag && !strDisplayId.empty()) { in InitSceneDoOnForeground()
482 displayId = strtol(strDisplayId.c_str(), nullptr, BASE_DISPLAY_ID_NUM); in InitSceneDoOnForeground()
485 TAG_LOGE(AAFwkTag::UIABILITY, "formatRegex: [%{public}s] failed", strDisplayId.c_str()); in InitSceneDoOnForeground()
H A Djs_ability.cpp685 std::string strDisplayId = in InitWindowScene() local
689 bool flag = std::regex_match(strDisplayId, sm, formatRegex); in InitWindowScene()
690 if (flag && !strDisplayId.empty()) { in InitWindowScene()
692 displayId = strtol(strDisplayId.c_str(), nullptr, base); in InitWindowScene()
695 TAG_LOGW(AAFwkTag::ABILITY, "formatRegex:[%{public}s]", strDisplayId.c_str()); in InitWindowScene()
H A Djs_ui_ability.cpp852 …std::string strDisplayId = setting_->GetProperty(OHOS::AppExecFwk::AbilityStartSetting::WINDOW_DIS… in DoOnForegroundForSceneIsNull() local
855 bool flag = std::regex_match(strDisplayId, sm, formatRegex); in DoOnForegroundForSceneIsNull()
856 if (flag && !strDisplayId.empty()) { in DoOnForegroundForSceneIsNull()
857 displayId = strtol(strDisplayId.c_str(), nullptr, BASE_DISPLAY_ID_NUM); in DoOnForegroundForSceneIsNull()
860 TAG_LOGE(AAFwkTag::UIABILITY, "formatRegex: [%{public}s] failed", strDisplayId.c_str()); in DoOnForegroundForSceneIsNull()