Home
last modified time | relevance | path

Searched refs:APP_MGR_SERVICE_ID (Results 1 - 25 of 35) sorted by relevance

12

/base/hiviewdfx/hiview/plugins/unified_collector/observer/
H A Duc_system_ability_listener.cpp27 if (systemAbilityId != APP_MGR_SERVICE_ID) { in OnAddSystemAbility()
37 if (systemAbilityId != APP_MGR_SERVICE_ID) { in OnRemoveSystemAbility()
H A Duc_observer_mgr.cpp50 if (auto ret = samgr->SubscribeSystemAbility(APP_MGR_SERVICE_ID, sysAbilityListener_); ret != ERR_OK) { in RegisterSysAbilityListener()
67 if (auto ret = samgr->UnSubscribeSystemAbility(APP_MGR_SERVICE_ID, sysAbilityListener_); ret != ERR_OK) { in UnregisterSysAbilityListener()
/base/customization/enterprise_device_management/common/external/src/
H A Dedm_app_manager_impl.cpp28 auto remoteObject = EdmSysManager::GetRemoteObjectOfSystemAbility(OHOS::APP_MGR_SERVICE_ID); in RegisterApplicationStateObserver()
41 auto remoteObject = EdmSysManager::GetRemoteObjectOfSystemAbility(OHOS::APP_MGR_SERVICE_ID); in UnregisterApplicationStateObserver()
/base/powermgr/power_manager/utils/appmgr/src/
H A Dapp_manager_utils.cpp25 static constexpr uint32_t APP_MGR_SERVICE_ID = 501; member
40 sptr<IRemoteObject> remoteObject = abilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppManagerInstance()
42 POWER_HILOGE(FEATURE_UTIL, "Failed to get app manager service, id=%{public}u", APP_MGR_SERVICE_ID); in GetAppManagerInstance()
/base/security/access_token/frameworks/inner_api/privacy/test/unittest/app_manager_client/
H A Dapp_manager_access_client.cpp70 auto appManagerSa = sam->GetSystemAbility(APP_MGR_SERVICE_ID); in InitProxy()
73 APP_MGR_SERVICE_ID); in InitProxy()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Ddump_jsheap_info.cpp41 OHOS::iface_cast<OHOS::AppExecFwk::IAppMgr>(systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_SERVICE_ID)); in DumpJsHeapMemory()
H A Dget_heap_info.cpp36 OHOS::sptr<OHOS::IRemoteObject> appObject = systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_SERVICE_ID); in GetAppManagerInstance()
/base/hiviewdfx/hicollie/interfaces/ndk/
H A Dhicollie.cpp37 constexpr uint32_t APP_MGR_SERVICE_ID = 501; member
57 auto appMgrService = systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in NotifyAppFault()
59 XCOLLIE_LOGE("ReportData failed to find APP_MGR_SERVICE_ID."); in NotifyAppFault()
/base/security/access_token/services/common/app_manager/src/
H A Dapp_manager_access_client.cpp114 auto appManagerSa = sam->GetSystemAbility(APP_MGR_SERVICE_ID); in InitProxy()
117 APP_MGR_SERVICE_ID); in InitProxy()
/base/request/request/services/src/
H A Dability.rs20 use samgr::definition::APP_MGR_SERVICE_ID;
99 APP_MGR_SERVICE_ID, in init()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_event_factory.cpp32 constexpr int APP_MGR_SERVICE_ID = 501; member
117 sptr<IRemoteObject> remoteObject = abilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetForegroundAppNames()
H A Dfold_event_cacher.cpp43 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppManagerService()
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_event_manager.cpp120 ret = samgrProxy->SubscribeSystemAbility(APP_MGR_SERVICE_ID, appMgrStatusChangeListener); in SubscribeSystemAbility()
122 ANSR_LOGE("subscribe system ability id: %{public}d failed", APP_MGR_SERVICE_ID); in SubscribeSystemAbility()
267 case APP_MGR_SERVICE_ID: in OnAddSystemAbility()
287 case APP_MGR_SERVICE_ID: in OnRemoveSystemAbility()
/base/request/request/services/src/cxx/
H A Dapplication_state_observer.cpp57 auto systemAbility = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateChanged()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/form_manager/
H A Dform_manager_access_client.cpp103 APP_MGR_SERVICE_ID); in InitProxy()
/base/security/access_token/services/test/mock/aafwk/
H A Dmock_service_registry.cpp70 case APP_MGR_SERVICE_ID: in GetSystemAbility()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dipc_stat_dumper.cpp131 sa = sam->CheckSystemAbility(APP_MGR_SERVICE_ID); in CheckPidIsApp()
230 std::vector<int32_t> saIds = { SAMGR_SA_ID, APP_MGR_SERVICE_ID, DEVICE_SERVICE_MANAGER_SA_ID }; in DumpIpcStat()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddisplay_change_event_listener.cpp146 if (systemAbilityId != APP_MGR_SERVICE_ID) { in OnAddSystemAbility()
147 FI_HILOGE("systemAbilityId is not APP_MGR_SERVICE_ID"); in OnAddSystemAbility()
/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_appstate_observer.cpp44 sptr<IRemoteObject> object = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppManagerInstance()
/base/location/services/location_locator/locator/source/
H A Dlocator_background_proxy.cpp381 iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in IsAppBackground()
411 iAppMgr_ = iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in RegisterAppStateObserver()
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_authenticator_session_manager.cpp67 iAppMgr_ = iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in RegisterApplicationStateObserver()
/base/account/os_account/services/accountmgr/src/ability_manager_adapter/
H A Dability_manager_adapter.cpp322 sptr<IRemoteObject> remoteObject = abilityMgr->CheckSystemAbility(APP_MGR_SERVICE_ID); in IsAllAppDied()
/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_session_manager.cpp263 auto appMgrObj = saMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppMgr()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_service.cpp109 auto remoteObject = samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateObserver()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dset_watermark_image_plugin.cpp399 auto remoteObject = sysAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppManager()

Completed in 12 milliseconds

12