Home
last modified time | relevance | path

Searched refs:sptrBundleMgr_ (Results 1 - 18 of 18) sorted by relevance

/base/notification/common_event_service/services/src/
H A Dbundle_manager_helper.cpp33 BundleManagerHelper::BundleManagerHelper() : sptrBundleMgr_(nullptr), bmsDeath_(nullptr) in BundleManagerHelper()
51 sptrBundleMgr_->GetNameForUid(uid, bundleName); in GetBundleName()
68 return sptrBundleMgr_->QueryExtensionAbilityInfos(AppExecFwk::ExtensionAbilityType::STATICSUBSCRIBER, in QueryExtensionInfos()
93 sptrBundleMgr_->QueryExtensionAbilityInfos(AppExecFwk::ExtensionAbilityType::STATICSUBSCRIBER, in QueryExtensionInfos()
128 isSystemApp = sptrBundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByUid()
145 int32_t uid = sptrBundleMgr_->GetUidByBundleName(bundleName, userId); in CheckIsSystemAppByBundleName()
150 isSystemApp = sptrBundleMgr_->CheckIsSystemAppByUid(uid); in CheckIsSystemAppByBundleName()
170 if (!sptrBundleMgr_) { in GetBundleMgrProxyInner()
189 sptrBundleMgr_ = iface_cast<IBundleMgr>(remoteObject); in GetBundleMgrProxyInner()
190 if ((!sptrBundleMgr_) || (!sptrBundleMgr in GetBundleMgrProxyInner()
[all...]
/base/print/print_fwk/services/print_service/src/
H A Dprint_bms_helper.cpp24 PrintBMSHelper::PrintBMSHelper() : sptrBundleMgr_(nullptr), printBMSDeath_(nullptr), helper_(nullptr) in PrintBMSHelper()
33 sptrBundleMgr_ = nullptr; in SetHelper()
53 helper_->QueryExtension(sptrBundleMgr_, userId, extensionInfos); in QueryExtensionInfos()
66 helper_->QueryNameForUid(sptrBundleMgr_, callerUid, bundleName); in QueryCallerBundleName()
73 if (sptrBundleMgr_ == nullptr) { in GetProxy()
84 sptrBundleMgr_ = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetProxy()
85 if (sptrBundleMgr_ == nullptr) { in GetProxy()
108 if (sptrBundleMgr_ == nullptr) { in ResetProxy()
109 PRINT_HILOGE("sptrBundleMgr_ is null"); in ResetProxy()
113 auto serviceRemote = sptrBundleMgr_ in ResetProxy()
[all...]
/base/notification/common_event_service/services/test/unittest/
H A Dbundle_manager_helper_test.cpp68 * @tc.desc: test ClearBundleManagerHelper function and sptrBundleMgr_ is nullptr.
82 * @tc.desc: test GetBundleMgrProxy function and sptrBundleMgr_ is not nullptr.
89 bundleManagerHelper.sptrBundleMgr_ = new (std::nothrow) TestIBundleMgr(); in HWTEST_F()
96 * @tc.desc: test GetBundleMgrProxy function and sptrBundleMgr_ is nullptr.
103 bundleManagerHelper.sptrBundleMgr_ = nullptr; in HWTEST_F()
117 bundleManagerHelper.sptrBundleMgr_ = nullptr; in HWTEST_F()
132 bundleManagerHelper.sptrBundleMgr_ = nullptr; in HWTEST_F()
148 bundleManagerHelper.sptrBundleMgr_ = nullptr; in HWTEST_F()
164 bundleManagerHelper.sptrBundleMgr_ = iface_cast<IBundleMgr>(remoteObject); in HWTEST_F()
179 bundleManagerHelper.sptrBundleMgr_ in HWTEST_F()
[all...]
H A Dbundle_manager_helper_other_test.cpp76 bundleManagerHelper.sptrBundleMgr_ = iface_cast<IBundleMgr>(remoteObject); in HWTEST_F()
93 bundleManagerHelper.sptrBundleMgr_ = iface_cast<IBundleMgr>(remoteObject); 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()
H A Dcommon_event_freeze_test.cpp257 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_sticky_test.cpp80 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_publish_ordered_event_unit_test.cpp87 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_subscribe_unit_test.cpp607 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_dump_test.cpp299 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
H A Dcommon_event_publish_permission_event_unit_test.cpp86 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
/base/print/print_fwk/services/print_service/include/
H A Dprint_bms_helper.h47 sptr<AppExecFwk::IBundleMgr> sptrBundleMgr_; member in OHOS::Print::PrintBMSHelper
/base/print/print_fwk/test/unittest/fwk_print_helper_test/
H A Dprint_bms_helper_test.cpp77 EXPECT_EQ(printBMSHelper.sptrBundleMgr_, nullptr); in HWTEST_F()
121 EXPECT_EQ(printBMSHelper.sptrBundleMgr_, nullptr); in HWTEST_F()
/base/notification/common_event_service/services/include/
H A Dbundle_manager_helper.h109 sptr<IBundleMgr> sptrBundleMgr_; member in OHOS::EventFwk::BundleManagerHelper
/base/notification/common_event_service/services/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp204 BundleManagerHelper::BundleManagerHelper() : sptrBundleMgr_(nullptr), bmsDeath_(nullptr) in BundleManagerHelper()
/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/
H A Dcommon_event_services_publish_ordered_module_test.cpp392 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()
/base/notification/common_event_service/services/test/moduletest/common_event_services_module_test/
H A Dcommon_event_services_module_test.cpp85 OHOS::DelayedSingleton<BundleManagerHelper>::GetInstance()->sptrBundleMgr_ = in SetUpTestCase()

Completed in 18 milliseconds