/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/ |
H A D | bm_install_multi_user_test.cpp | 253 auto bmsProxy = GetBundleMgrProxy(); in HWTEST_F() local 254 EXPECT_NE(bmsProxy, nullptr); in HWTEST_F() 258 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 262 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 292 auto bmsProxy = GetBundleMgrProxy(); in HWTEST_F() local 293 EXPECT_NE(bmsProxy, nullptr); in HWTEST_F() 297 bool ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo1, USERID); in HWTEST_F() 301 ret = bmsProxy->GetBundleInfo(BUNDLE_NAME, BundleFlag::GET_BUNDLE_DEFAULT, bundleInfo2, userId); in HWTEST_F() 331 auto bmsProxy = GetBundleMgrProxy(); in HWTEST_F() local 332 EXPECT_NE(bmsProxy, nullpt in HWTEST_F() 370 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 409 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 448 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 488 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 528 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 567 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 601 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 636 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 675 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 714 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 753 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 793 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 833 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 873 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 913 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 953 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 993 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 1034 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 1075 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 1116 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 1150 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local 1180 auto bmsProxy = GetBundleMgrProxy(); HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | fms_form_mgr_adapter_test2.cpp | 137 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 139 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 588 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 590 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 595 EXPECT_CALL(*bmsProxy, GetBundleInfoV9(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
in HWTEST_F() 616 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 618 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 626 EXPECT_CALL(*bmsProxy, GetBundleInfoV9(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
in HWTEST_F() 814 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 816 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 838 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1409 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1435 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1463 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1530 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1553 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1577 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1915 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1943 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 1971 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 2317 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 2387 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 2449 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 2485 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 2518 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local [all...] |
H A D | fms_form_mgr_adapter_test.cpp | 1040 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 1042 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 1046 EXPECT_CALL(*bmsProxy, CheckIsSystemAppByUid(_)).Times(1).WillRepeatedly(Return(true));
in HWTEST_F() 1048 EXPECT_CALL(*bmsProxy, GetNameForUid(_, _)).Times(1)
in HWTEST_F() 1845 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 1847 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 1863 EXPECT_CALL(*bmsProxy, GetBundleInfoV9(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
in HWTEST_F() 1887 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 1889 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 1906 EXPECT_CALL(*bmsProxy, GetBundleInfoV in HWTEST_F() 1930 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/ |
H A D | form_info_mgr_test.cpp | 127 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); in HWTEST_F() local 129 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F() 134 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask)); in HWTEST_F() 231 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); in HWTEST_F() local 233 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F() 238 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask)); in HWTEST_F() 268 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); in HWTEST_F() local 270 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F() 275 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask)); in HWTEST_F() 297 sptr<MockBundleMgrProxy> bmsProxy in HWTEST_F() local 483 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local 799 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub()); HWTEST_F() local [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_test_util.cpp | 124 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() local 125 if (bmsProxy == nullptr) { in GetBundleManager() 129 return iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in GetBundleManager()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
H A D | bundle_manager_internal.cpp | 372 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() local 373 if (bmsProxy == nullptr) { in GetBundleManager() 377 return iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in GetBundleManager()
|
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/ |
H A D | fms_form_event_util_test.cpp | 1108 sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockBundleMgrStub());
in HWTEST_F() local 1110 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
in HWTEST_F() 1113 EXPECT_CALL(*bmsProxy, GetApplicationInfoV9(_, _, _, _))
in HWTEST_F() 1117 EXPECT_CALL(*bmsProxy, GetAdditionalInfo(_, _))
in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/ |
H A D | distributed_ability_manager_service.cpp | 391 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in QueryExtensionAbilityInfo() local 392 if (bmsProxy == nullptr) { in QueryExtensionAbilityInfo() 396 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in QueryExtensionAbilityInfo()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 4468 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in NotifyCompleteContinuation() local 4469 if (bmsProxy == nullptr) { in NotifyCompleteContinuation() 4473 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in NotifyCompleteContinuation()
|