Home
last modified time | relevance | path

Searched refs:AbilityManagerHelper (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dability_manager_helper.cpp24 IMPLEMENT_SINGLE_INSTANCE(AbilityManagerHelper);
25 AbilityManagerHelper::AbilityManagerHelper() in AbilityManagerHelper() function in OHOS::DevStandbyMgr::AbilityManagerHelper
29 AbilityManagerHelper::~AbilityManagerHelper() in ~AbilityManagerHelper()
33 bool WEAK_FUNC AbilityManagerHelper::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemPr… in GetRunningSystemProcess()
H A Dstandby_service_impl.cpp392 if (!AbilityManagerHelper::GetInstance()->GetRunningSystemProcess(systemProcessInfos)) { in GetPidAndProcName()
/ohos5.0/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_ability_manager_helper.cpp40 int AbilityManagerHelper::ConnectAbility( in ConnectAbility()
47 bool AbilityManagerHelper::GetAbilityMgrProxy() in GetAbilityMgrProxy()
52 void AbilityManagerHelper::Clear() in Clear()
57 void AbilityManagerHelper::DisconnectServiceAbilityDelay(const sptr<StaticSubscriberConnection> &co… in DisconnectServiceAbilityDelay()
/ohos5.0/base/notification/common_event_service/services/src/
H A Dability_manager_helper.cpp32 int AbilityManagerHelper::ConnectAbility( in ConnectAbility()
56 bool AbilityManagerHelper::GetAbilityMgrProxy() in GetAbilityMgrProxy()
92 void AbilityManagerHelper::Clear() in Clear()
103 void AbilityManagerHelper::DisconnectServiceAbilityDelay(const sptr<StaticSubscriberConnection> &co… in DisconnectServiceAbilityDelay()
117 AbilityManagerHelper::GetInstance()->DisconnectAbility(connection); in DisconnectServiceAbilityDelay()
122 void AbilityManagerHelper::DisconnectAbility(const sptr<StaticSubscriberConnection> &connection) in DisconnectAbility()
H A Dability_manager_death_recipient.cpp38 DelayedSingleton<AbilityManagerHelper>::GetInstance()->Clear(); in OnRemoteDied()
H A Dstatic_subscriber_connection.cpp33 AbilityManagerHelper::GetInstance()->DisconnectServiceAbilityDelay(this); in OnAbilityConnectDone()
H A Dstatic_subscriber_manager.cpp153 …DelayedSingleton<AbilityManagerHelper>::GetInstance()->ConnectAbility(want, data, service, userId); in PublishCommonEventConnecAbility()
/ohos5.0/base/notification/common_event_service/services/include/
H A Dability_manager_helper.h30 class AbilityManagerHelper : public DelayedSingleton<AbilityManagerHelper> {
32 AbilityManagerHelper() {} in AbilityManagerHelper() function
34 virtual ~AbilityManagerHelper() {} in ~AbilityManagerHelper()
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dability_manager_helper_test.cpp540 AbilityManagerHelper abilityManagerHelper; in HWTEST_F()
554 AbilityManagerHelper abilityManagerHelper; in HWTEST_F()
568 AbilityManagerHelper abilityManagerHelper; in HWTEST_F()
586 …std::shared_ptr<AbilityManagerHelper> abilityManagerHelper = std::make_shared<AbilityManagerHelper in HWTEST_F()
601 …std::shared_ptr<AbilityManagerHelper> abilityManagerHelper = std::make_shared<AbilityManagerHelper in HWTEST_F()
617 auto abilityManagerHelper = std::make_shared<AbilityManagerHelper>(); in HWTEST_F()
635 auto abilityManagerHelper = std::make_shared<AbilityManagerHelper>(); in HWTEST_F()
652 auto abilityManagerHelper = std::make_shared<AbilityManagerHelper>(); in HWTEST_F()
669 auto abilityManagerHelper = std::make_shared<AbilityManagerHelper>(); in HWTEST_F()
688 auto abilityManagerHelper = std::make_shared<AbilityManagerHelper>(); in HWTEST_F()
[all …]
H A Dcommon_event_subscribe_unit_test.cpp934 AbilityManagerHelper abilityManagerHelper;
957 AbilityManagerHelper abilityManagerHelper;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dability_manager_helper.cpp29 bool AbilityManagerHelper::UninstallApplicationProcesses( in UninstallApplicationProcesses()
52 int32_t AbilityManagerHelper::IsRunning(const std::string &bundleName, const int bundleUid) in IsRunning()
90 int32_t AbilityManagerHelper::IsRunning(const std::string &bundleName) in IsRunning()
H A Dbase_bundle_installer.cpp1547 … if (!AbilityManagerHelper::UninstallApplicationProcesses(oldInfo.GetApplicationName(), uid)) { in ProcessBundleUninstall()
1735 … if (!AbilityManagerHelper::UninstallApplicationProcesses(oldInfo.GetApplicationName(), uid)) { in ProcessBundleUninstall()
4104 if (!AbilityManagerHelper::UninstallApplicationProcesses( in UninstallLowerVersionFeature()
4114 if (!AbilityManagerHelper::UninstallApplicationProcesses( in UninstallLowerVersionFeature()
6130 if (!AbilityManagerHelper::UninstallApplicationProcesses( in UpdateKillApplicationProcess()
6140 if (!AbilityManagerHelper::UninstallApplicationProcesses( in UpdateKillApplicationProcess()
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/
H A Dability_manager_helper.h33 class AbilityManagerHelper {
34 DECLARE_SINGLE_INSTANCE(AbilityManagerHelper);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_ability_manager_helper_test/
H A Dbms_ability_manager_helper_test.cpp38 std::shared_ptr<AbilityManagerHelper> abilityManagerHelper_ = nullptr;
65 abilityManagerHelper_ = std::make_shared<AbilityManagerHelper>(); in TearDown()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dability_manager_helper.h23 class AbilityManagerHelper {
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/
H A Drecently_unused_bundle_aging_handler.cpp75 bool isBundleRunning = AbilityManagerHelper::IsRunning(agingBundle.GetBundleName()); in ProcessBundle()
78 if (isBundleRunning != AbilityManagerHelper::NOT_RUNNING) { in ProcessBundle()
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_helper_unit_test.cpp108 AbilityManagerHelper::GetInstance()->GetRunningSystemProcess(systemProcessInfos);
H A Dstandby_service_unit_test.cpp673 AbilityManagerHelper::GetInstance()->GetRunningSystemProcess(systemProcessInfos);
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/mock/
H A Dmock_helper.cpp74 bool AbilityManagerHelper::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
H A Dbundle_sandbox_installer.cpp193 …if (!AbilityManagerHelper::UninstallApplicationProcesses(info.GetApplicationName(), info.GetUid(us… in UninstallSandboxApp()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
H A Dbundle_clone_installer.cpp291 if (!AbilityManagerHelper::UninstallApplicationProcesses(bundleName, uid_, false, appIndex)) { in ProcessCloneBundleUninstall()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager.cpp318 AbilityManagerHelper::UninstallApplicationProcesses(bundleName, bundleInfo.uid); in KillRunningApp()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp1161 int ret = AbilityManagerHelper::IsRunning("", bundleUid);
1163 bool res = AbilityManagerHelper::UninstallApplicationProcesses("", 0);
1175 AbilityManagerHelper helper;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/
H A Dbms_service_startup_test.cpp984 AbilityManagerHelper helper;