Searched refs:samgrClient (Results 1 – 8 of 8) sorted by relevance
425 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in IsAppBackground() local426 if (samgrClient == nullptr) { in IsAppBackground()431 iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in IsAppBackground()455 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in RegisterAppStateObserver() local456 if (samgrClient == nullptr) { in RegisterAppStateObserver()461 iAppMgr_ = iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in RegisterAppStateObserver()
1680 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in IsProcessRunning() local1681 if (samgrClient == nullptr) { in IsProcessRunning()1686 iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in IsProcessRunning()
62 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in RegisterApplicationStateObserver() local63 if (samgrClient == nullptr) { in RegisterApplicationStateObserver()67 iAppMgr_ = iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in RegisterApplicationStateObserver()
1142 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in RegisterApplicationStateObserver() local1143 if (samgrClient == nullptr) { in RegisterApplicationStateObserver()1147 iAppMgr_ = iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in RegisterApplicationStateObserver()
103 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in RegisterAppStateObserver() local104 if (samgrClient == nullptr) { in RegisterAppStateObserver()109 auto remoteObject = samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateObserver()
156 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in CheckForegroundApplication() local157 if (samgrClient == nullptr) { in CheckForegroundApplication()162 iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID)); in CheckForegroundApplication()
208 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… variable209 ASSERT_NE(samgrClient, nullptr);211 iface_cast<AppExecFwk::IAppMgr>(samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID));
123 …sptr<ISystemAbilityManager> samgrClient = SystemAbilityManagerClient::GetInstance().GetSystemAbili… in RegisterAppStateObserver() local124 if (samgrClient == nullptr) { in RegisterAppStateObserver()128 auto obj = samgrClient->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateObserver()