Home
last modified time | relevance | path

Searched refs:BundleManagerHelper (Results 1 - 25 of 42) sorted by relevance

12

/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/mock/
H A Dmock_bundle_manager_helper.cpp24 BundleManagerHelper::BundleManagerHelper() in BundleManagerHelper() function in OHOS::Notification::BundleManagerHelper
27 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
30 void BundleManagerHelper::OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
33 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid()
38 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName()
43 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp()
48 bool BundleManagerHelper::CheckApiCompatibility(const sptr<NotificationBundleOption> &bundleOption) in CheckApiCompatibility()
53 bool BundleManagerHelper
[all...]
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dmock_bundle_manager_helper.cpp28 BundleManagerHelper::BundleManagerHelper() in BundleManagerHelper() function in OHOS::Notification::BundleManagerHelper
31 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
34 void BundleManagerHelper::OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
37 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid()
42 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp()
47 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName()
52 bool BundleManagerHelper::GetBundleInfoByBundleName( in GetBundleInfoByBundleName()
58 bool BundleManagerHelper
[all...]
/base/notification/distributed_notification_service/services/test/moduletest/mock/
H A Dmock_bundle_manager_helper.cpp28 BundleManagerHelper::BundleManagerHelper() in BundleManagerHelper() function in OHOS::Notification::BundleManagerHelper
31 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
34 void BundleManagerHelper::OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
37 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid()
42 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp()
47 bool BundleManagerHelper::CheckApiCompatibility(const sptr<NotificationBundleOption> &bundleOption) in CheckApiCompatibility()
52 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName()
57 bool BundleManagerHelper
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp25 BundleManagerHelper::BundleManagerHelper() in BundleManagerHelper() function in OHOS::Notification::BundleManagerHelper
28 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
31 void BundleManagerHelper::OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
34 std::string BundleManagerHelper::GetBundleNameByUid(int uid) in GetBundleNameByUid()
39 int BundleManagerHelper::GetDefaultUidByBundleName(const std::string &bundle, const int32_t userId) in GetDefaultUidByBundleName()
48 bool BundleManagerHelper::IsSystemApp(int uid) in IsSystemApp()
53 bool BundleManagerHelper::CheckApiCompatibility(const sptr<NotificationBundleOption> &bundleOption) in CheckApiCompatibility()
58 bool BundleManagerHelper
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/bundle_manager_helper_branch_test/
H A Dbundle_manager_helper_branch_test.cpp46 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
59 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
72 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
85 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
98 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
114 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
130 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
142 std::shared_ptr<BundleManagerHelper> bundleManagerHelper = std::make_shared<BundleManagerHelper>(); in HWTEST_F()
155 std::shared_ptr<BundleManagerHelper> bundleManagerHelpe in HWTEST_F()
[all...]
/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp204 BundleManagerHelper::BundleManagerHelper() : sptrBundleMgr_(nullptr), bmsDeath_(nullptr) in BundleManagerHelper() function in OHOS::EventFwk::BundleManagerHelper
207 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
210 std::string BundleManagerHelper::GetBundleName(uid_t uid) in GetBundleName()
218 bool BundleManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos, in QueryExtensionInfos()
225 bool BundleManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionInfos()
231 bool BundleManagerHelper::GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, in GetResConfigFile()
238 bool BundleManagerHelper::CheckIsSystemAppByUid(uid_t uid) in CheckIsSystemAppByUid()
243 bool BundleManagerHelper
[all...]
/base/notification/common_event_service/services/src/
H A Dbundle_manager_helper.cpp33 BundleManagerHelper::BundleManagerHelper() : sptrBundleMgr_(nullptr), bmsDeath_(nullptr) in BundleManagerHelper() function in OHOS::EventFwk::BundleManagerHelper
36 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
39 std::string BundleManagerHelper::GetBundleName(const uid_t uid) in GetBundleName()
56 bool BundleManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos, in QueryExtensionInfos()
72 bool BundleManagerHelper::QueryExtensionInfos(std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos) in QueryExtensionInfos()
99 bool BundleManagerHelper::GetResConfigFile(const AppExecFwk::ExtensionAbilityInfo &extension, in GetResConfigFile()
115 bool BundleManagerHelper::CheckIsSystemAppByUid(const uid_t uid) in CheckIsSystemAppByUid()
133 bool BundleManagerHelper
[all...]
H A Dbms_death_recipient.cpp38 DelayedSingleton<BundleManagerHelper>::GetInstance()->ClearBundleManagerHelper(); in OnRemoteDied()
H A Dstatic_subscriber_manager.cpp54 if (!DelayedSingleton<BundleManagerHelper>::GetInstance() in InitAllowList()
92 if (!DelayedSingleton<BundleManagerHelper>::GetInstance()->QueryExtensionInfos(extensions)) { in InitValidSubscribers()
182 if (!DelayedSingleton<BundleManagerHelper>::GetInstance()-> in PublishCommonEventInner()
336 if (!DelayedSingleton<BundleManagerHelper>::GetInstance()->GetResConfigFile(extension, profileInfos)) { in AddSubscriber()
376 if (!DelayedSingleton<BundleManagerHelper>::GetInstance()->QueryExtensionInfos(extensions, userId)) { in AddSubscriberWithBundleName()
530 DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(IPCSkeleton::GetCallingUid()); in SetStaticSubscriberState()
547 DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(IPCSkeleton::GetCallingUid()); in SetStaticSubscriberState()
H A Dcommon_event_manager_service.cpp201 bundleName = DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(uid); in PublishCommonEventDetailed()
254 bundleName = DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(callingUid); in SubscribeCommonEvent()
339 std::string bundleName = DelayedSingleton<BundleManagerHelper>::GetInstance()->GetBundleName(callingUid); in GetStickyCommonEvent()
/base/notification/distributed_notification_service/services/ans/src/
H A Dbundle_manager_helper.cpp28 BundleManagerHelper::BundleManagerHelper() in BundleManagerHelper() function in OHOS::Notification::BundleManagerHelper
31 RemoteDeathRecipient(std::bind(&BundleManagerHelper::OnRemoteDied, this, std::placeholders::_1)); in BundleManagerHelper()
37 BundleManagerHelper::~BundleManagerHelper() in ~BundleManagerHelper()
43 void BundleManagerHelper::OnRemoteDied(const wptr<IRemoteObject> &object) in OnRemoteDied()
49 std::string BundleManagerHelper::GetBundleNameByUid(int32_t uid) in GetBundleNameByUid()
65 bool BundleManagerHelper::IsSystemApp(int32_t uid) in IsSystemApp()
80 bool BundleManagerHelper::CheckApiCompatibility(const sptr<NotificationBundleOption> &bundleOption) in CheckApiCompatibility()
89 bool BundleManagerHelper
[all...]
H A Dpermission_filter.cpp41 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in OnPublish()
H A Dadvanced_notification_inline.cpp40 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in GetClientBundleNameByUid()
H A Dadvanced_notification_subscriber_service.cpp107 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in SubscribeSelf()
H A Dadvanced_notification_utils.cpp140 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in GenerateValidBundleOption()
327 auto bundleManager = BundleManagerHelper::GetInstance(); in SetAgentNotification()
956 int32_t uid = BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, activeUserId); in OnDistributedPublish()
967 request->SetCreatorUid(BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundle, activeUserId)); in OnDistributedPublish()
1031 int32_t uid = BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, activeUserId); in OnDistributedUpdate()
1042 request->SetCreatorUid(BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundle, activeUserId)); in OnDistributedUpdate()
1101 int32_t uid = BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, activeUserId); in OnDistributedDelete()
1151 enable = BundleManagerHelper::GetInstance()->GetDistributedNotificationEnabled( in GetDistributedEnableInApplicationInfo()
1394 std::shared_ptr<BundleManagerHelper> bundleManage in CheckApiCompatibility()
[all...]
H A Dnotification_dialog.cpp36 return IN_PROCESS_CALL(BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, userId)); in GetUidByBundleName()
H A Dnotification_local_live_view_subscriber_manager.cpp79 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in AddLocalLiveViewSubscriber()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dbundle_manager_helper_test.cpp50 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in HWTEST_F()
62 std::shared_ptr<BundleManagerHelper> bundleManager = BundleManagerHelper::GetInstance(); in HWTEST_F()
75 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
91 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
107 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
122 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
137 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
152 std::shared_ptr<BundleManagerHelper> bundleManagerHelpe in HWTEST_F()
[all...]
/base/notification/common_event_service/services/test/unittest/
H A Dbundle_manager_helper_test.cpp74 std::shared_ptr<BundleManagerHelper> bundleManagerHelper = std::make_shared<BundleManagerHelper>(); in HWTEST_F()
88 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
102 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
116 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
131 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
147 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
162 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
178 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
194 BundleManagerHelper bundleManagerHelpe in HWTEST_F()
[all...]
H A Dbundle_manager_helper_other_test.cpp74 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
91 BundleManagerHelper bundleManagerHelper; in HWTEST_F()
H A Dcommon_event_unsubscribe_unit_test.cpp72 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_publish_system_event_test.cpp61 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
/base/notification/common_event_service/services/include/
H A Dbundle_manager_helper.h33 class BundleManagerHelper : public DelayedSingleton<BundleManagerHelper> { class
37 BundleManagerHelper();
39 virtual ~BundleManagerHelper();
/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_util.cpp36 return BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, userId); in GetBundleUid()
38 return BundleManagerHelper::GetInstance()->GetDefaultUidByBundleName(bundleName, userId, appIndex); in GetBundleUid()
/base/notification/distributed_notification_service/services/ans/include/
H A Dbundle_manager_helper.h33 class BundleManagerHelper : public DelayedSingleton<BundleManagerHelper> { class
148 DECLARE_DELAYED_SINGLETON(BundleManagerHelper)

Completed in 12 milliseconds

12