Home
last modified time | relevance | path

Searched refs:bmsProxy (Results 1 – 5 of 5) sorted by relevance

/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/
Dform_info_mgr_test.cpp104 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
106 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
111 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
208 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
210 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
215 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
246 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
248 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
253 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
275 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
[all …]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
Ddistributed_sched_util.cpp105 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() local
106 if (bmsProxy == nullptr) { in GetBundleManager()
110 return iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in GetBundleManager()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
Dfms_form_mgr_adapter_test.cpp1059 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
1061 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
1065 EXPECT_CALL(*bmsProxy, CheckIsSystemAppByUid(_)).Times(1).WillRepeatedly(Return(true));
1067 EXPECT_CALL(*bmsProxy, GetNameForUid(_, _)).Times(1)
1862 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
1864 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
1878 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
1902 …sptr<MockBundleMgrProxy> bmsProxy = new (std::nothrow) MockBundleMgrProxy(new (std::nothrow) MockB… variable
1904 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy;
1919 EXPECT_CALL(*bmsProxy, GetBundleInfo(_, _, _, _)).Times(1).WillOnce(Invoke(bmsTask));
[all …]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
Dbundle_manager_internal.cpp292 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() local
293 if (bmsProxy == nullptr) { in GetBundleManager()
297 return iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in GetBundleManager()
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/
Ddistributed_ability_manager_service.cpp382 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in QueryExtensionAbilityInfo() local
383 if (bmsProxy == nullptr) { in QueryExtensionAbilityInfo()
387 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bmsProxy); in QueryExtensionAbilityInfo()