Home
last modified time | relevance | path

Searched refs:bundleManager (Results 1 - 17 of 17) sorted by relevance

/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/
H A Dfms_form_bms_helper_test.cpp192 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
193 formBmsHelper.SetBundleManager(bundleManager); in HWTEST_F()
208 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
209 formBmsHelper.SetBundleManager(bundleManager); in HWTEST_F()
227 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
228 formBmsHelper.SetBundleManager(bundleManager); in HWTEST_F()
246 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
247 formBmsHelper.SetBundleManager(bundleManager); in HWTEST_F()
269 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
270 formBmsHelper.SetBundleManager(bundleManager); in HWTEST_F()
290 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
307 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
326 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
345 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
369 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
392 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
408 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
433 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
452 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
472 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
488 const sptr<MockBundleMgrProxy> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
509 const sptr<MockBundleMgrProxy> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
529 const sptr<MockBundleMgrProxy> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
547 sptr<MockBundleMgrProxy> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
582 sptr<MockBundleMgrProxy> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
601 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
629 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
664 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
687 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
707 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
724 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
743 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); HWTEST_F() local
[all...]
/foundation/distributedhardware/device_manager/utils/src/appInfo/standard/
H A Dapp_manager.cpp43 sptr<AppExecFwk::IBundleMgr> bundleManager = nullptr; in GetAppId() local
44 if (!GetBundleManagerProxy(bundleManager)) { in GetAppId()
45 LOGE("get bundleManager failed."); in GetAppId()
48 if (bundleManager == nullptr) { in GetAppId()
49 LOGE("bundleManager is nullptr."); in GetAppId()
59 bundleManager->GetNameForUid(IPCSkeleton::GetCallingUid(), BundleName); in GetAppId()
61 int ret = bundleManager->GetBundleInfoV9( in GetAppId()
119 bool AppManager::GetBundleManagerProxy(sptr<AppExecFwk::IBundleMgr> &bundleManager) in GetBundleManagerProxy() argument
133 bundleManager = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetBundleManagerProxy()
134 if (bundleManager in GetBundleManagerProxy()
[all...]
/foundation/ability/form_fwk/test/fuzztest/formbmshelper_fuzzer/
H A Dformbmshelper_fuzzer.cpp41 sptr<IBundleMgr> bundleManager = nullptr; in DoSomethingInterestingWithMyAPI() local
42 formBmsHelper.SetBundleManager(bundleManager); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Ddlp_utils.h112 static bool CheckCallerIsDlpManager(const std::shared_ptr<AppExecFwk::BundleMgrHelper> &bundleManager) in CheckCallerIsDlpManager() argument
114 if (!bundleManager) { in CheckCallerIsDlpManager()
120 if (IN_PROCESS_CALL(bundleManager->GetNameForUid(callerUid, bundleName)) != ERR_OK) { in CheckCallerIsDlpManager()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dnavigation_route_ohos.cpp40 auto bundleManager = GetBundleManager(); in InitRouteMap() local
41 if (!bundleManager) { in InitRouteMap()
46 if (bundleManager->GetBundleInfoForSelf( in InitRouteMap()
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dpermission_utils.cpp58 auto bundleManager = iface_cast<AppExecFwk::IBundleMgr>(bundleObj); in GetSysBundleManager() local
59 if (bundleManager == nullptr) { in GetSysBundleManager()
63 bundleManager_ = bundleManager; in GetSysBundleManager()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/checker/
H A Dbundle_checker.cpp78 auto bundleManager = iface_cast<AppExecFwk::IBundleMgr>(bundleMgrProxy); in GetBundleAppId() local
79 if (bundleManager == nullptr) { in GetBundleAppId()
91 result = bundleManager->GetBundleInfoV9(info.bundleName, in GetBundleAppId()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dphotoaccesshelperinf.js17 const bundleManager = requireNapi('bundle.bundleManager');
120 if (hapInfo.type === bundleManager.ModuleType.ENTRY) {
147 const flags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_ABILITY | bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_HAP_MODULE;
148 const bundleInfo = await bundleManager.getBundleInfoForSelf(flags);
165 let flags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_REQUESTED_PERMISSION;
166 let { reqPermissionDetails, permissionGrantStates } = await bundleManager.getBundleInfoForSelf(flags);
301 let flags = bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_ABILITY | // for appName
302 bundleManager
[all...]
/foundation/distributedhardware/device_manager/utils/include/appInfo/standard/
H A Dapp_manager.h40 bool GetBundleManagerProxy(sptr<AppExecFwk::IBundleMgr> &bundleManager);
/foundation/ability/form_fwk/services/include/
H A Dform_bms_helper.h67 * @param bundleManager the bundle manager ipc object.
69 void SetBundleManager(const sptr<IBundleMgr> &bundleManager);
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp634 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
635 FormBmsHelper::GetInstance().SetBundleManager(bundleManager); in HWTEST_F()
652 const sptr<IBundleMgr> bundleManager = new (std::nothrow) MockBundleMgrProxy(impl); in HWTEST_F() local
653 FormBmsHelper::GetInstance().SetBundleManager(bundleManager); in HWTEST_F()
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/
H A Datomicserviceweb.js39 const bundleManager = requireNapi('bundle.bundleManager');
257 let h2 = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION);
794 let w5 = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION);
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/
H A Datomicserviceweb.js39 const bundleManager = requireNapi('bundle.bundleManager');
257 let h2 = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION);
794 let w5 = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_WITH_APPLICATION);
/foundation/ability/form_fwk/services/src/
H A Dform_bms_helper.cpp77 void FormBmsHelper::SetBundleManager(const sptr<IBundleMgr> &bundleManager) in SetBundleManager() argument
80 iBundleMgr_ = bundleManager; in SetBundleManager()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Dsoftbus_adapter_standard.cpp433 sptr<AppExecFwk::IBundleMgr> bundleManager = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetSocketName() local
434 if (bundleManager == nullptr) { in GetSocketName()
439 auto status = bundleManager->GetBundleInfoForSelf( in GetSocketName()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/
H A Dapp_mgr_service_inner_test.cpp1465 std::shared_ptr<BundleMgrHelper> bundleManager; in HWTEST_F() local
1466 appMgrServiceInner->SetBundleManagerHelper(bundleManager); in HWTEST_F()
1469 appMgrServiceInner->SetBundleManagerHelper(bundleManager); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/
H A Dapp_mgr_service_inner_second_test.cpp1904 std::shared_ptr<BundleMgrHelper> bundleManager = nullptr; in HWTEST_F() local
1905 appMgrServiceInner->remoteClientManager_->SetBundleManagerHelper(bundleManager); in HWTEST_F()

Completed in 20 milliseconds