Home
last modified time | relevance | path

Searched refs:reasonName (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/security/access_token/services/el5filekeymanager/src/
H A Del5_filekey_manager_service_ability.cpp42 std::string reasonName = startReason.GetName(); in OnStart() local
43 LOG_INFO("El5FilekeyManager onStart reason name:%{public}s", reasonName.c_str()); in OnStart()
56 if (reasonName == "usual.event.SCREEN_LOCKED") { in OnStart()
58 … } else if (reasonName == "usual.event.USER_REMOVED" || reasonName == "usual.event.USER_STOPPED") { in OnStart()
62 …LOG_INFO("el5 manager start, common event:%{public}s userId:%{public}d", reasonName.c_str(), userI… in OnStart()
63 service_->HandleUserCommonEvent(reasonName, userId); in OnStart()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_system_ability_ondemand_reason.cpp82 …DemandReason::SystemAbilityOnDemandReason(OnDemandReasonId reasonId, const std::string& reasonName, in SystemAbilityOnDemandReason() argument
86 reasonName_ = reasonName; in SystemAbilityOnDemandReason()
101 void SystemAbilityOnDemandReason::SetName(const std::string& reasonName) in SetName() argument
103 reasonName_ = reasonName; in SetName()
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dsystem_ability_ondemand_reason.cpp82 …DemandReason::SystemAbilityOnDemandReason(OnDemandReasonId reasonId, const std::string& reasonName, in SystemAbilityOnDemandReason() argument
86 reasonName_ = reasonName; in SystemAbilityOnDemandReason()
101 void SystemAbilityOnDemandReason::SetName(const std::string& reasonName) in SetName() argument
103 reasonName_ = reasonName; in SetName()
/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/
H A Dsystem_ability_ondemand_reason.h50 SystemAbilityOnDemandReason(OnDemandReasonId reasonId, const std::string& reasonName,
55 void SetName(const std::string& reasonName);
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/include/
H A Dsystem_ability_ondemand_reason.h50 SystemAbilityOnDemandReason(OnDemandReasonId reasonId, const std::string& reasonName,
55 void SetName(const std::string& reasonName);
/ohos5.0/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/
H A Dsystem_ability_ondemand_reason_test.cpp261 std::string reasonName = "testreasonname"; variable
264 SystemAbilityOnDemandReason reason(reasonId, reasonName, reasonValue, extraDataId);
266 EXPECT_EQ(reason.reasonName_, reasonName);
/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/service/
H A Dsandbox_manager_service.cpp403 std::string reasonName = startReason.GetName(); in StartByEventAction() local
404 … SANDBOXMANAGER_LOG_INFO(LABEL, "Start by common event, event = %{public}s.", reasonName.c_str()); in StartByEventAction()
405 if (reasonName == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED || in StartByEventAction()
406 reasonName == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_FULLY_REMOVED || in StartByEventAction()
407 reasonName == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED) { in StartByEventAction()
/ohos5.0/base/web/webview/sa/src/
H A Dapp_fwk_update_service.cpp142 std::string reasonName = startReason.GetName(); in Init() local
144 WVLOG_I("AppFwkUpdateService reasonName: %{public}s", reasonName.c_str()); in Init()