Home
last modified time | relevance | path

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

/foundation/ability/form_fwk/services/src/
H A Dform_bms_helper.cpp68 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); in GetBundleInstaller() local
69 if (iBundleMgr != nullptr) { in GetBundleInstaller()
70 bundleInstallerProxy_ = iBundleMgr->GetBundleInstaller(); in GetBundleInstaller()
98 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); in NotifyModuleRemovable() local
99 if (iBundleMgr == nullptr) { in NotifyModuleRemovable()
122 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); in NotifyModuleNotRemovable() local
123 if (iBundleMgr == nullptr) { in NotifyModuleNotRemovable()
128 if (!IN_PROCESS_CALL(iBundleMgr->SetModuleRemovable(bundleName, moduleName, false))) { in NotifyModuleNotRemovable()
144 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); in GetBundlePackInfo() local
145 if (iBundleMgr in GetBundlePackInfo()
172 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetAbilityInfo() local
208 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetAbilityInfoByAction() local
237 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetBundleInfoByFlags() local
247 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetBundleInfoV9() local
270 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetCallerBundleName() local
286 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetBundleNameByUid() local
301 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetUidByBundleName() local
313 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetCompileMode() local
340 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetCompatibleVersion() local
360 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetProxyDataInfos() local
372 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetAllProxyDataInfos() local
384 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); GetApplicationInfo() local
400 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); RegisterBundleEventCallback() local
422 sptr<IBundleMgr> iBundleMgr = GetBundleMgr(); UnregisterBundleEventCallback() local
[all...]
H A Dform_free_install_operator.cpp50 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in StartFreeInstall() local
51 if (iBundleMgr == nullptr) { in StartFreeInstall()
61 if (iBundleMgr->QueryAbilityInfo( in StartFreeInstall()
H A Dform_sandbox_render_mgr_inner.cpp41 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in IsSandboxFRSInstalled() local
42 if (iBundleMgr == nullptr) { in IsSandboxFRSInstalled()
48 ErrCode ret = iBundleMgr->GetSandboxBundleInfo( in IsSandboxFRSInstalled()
H A Dform_info_mgr.cpp48 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in LoadFormConfigInfoByBundleName() local
49 if (iBundleMgr == nullptr) { in LoadFormConfigInfoByBundleName()
56 if (!IN_PROCESS_CALL(iBundleMgr->GetBundleInfo(bundleName, flag, bundleInfo, userId))) { in LoadFormConfigInfoByBundleName()
121 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in LoadAbilityFormConfigInfo() local
122 if (iBundleMgr == nullptr) { in LoadAbilityFormConfigInfo()
130 if (!IN_PROCESS_CALL(iBundleMgr->GetFormsInfoByModule(bundleName, moduleName, formInfoVec))) { in LoadAbilityFormConfigInfo()
665 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in AddDynamicFormInfo() local
666 if (iBundleMgr == nullptr) { in AddDynamicFormInfo()
673 if (!IN_PROCESS_CALL(iBundleMgr->GetBundleInfo(formInfo.bundleName, flag, bundleInfo, userId))) { in AddDynamicFormInfo()
836 sptr<IBundleMgr> iBundleMgr in GetBundleVersionMap() local
[all...]
H A Dform_mgr_adapter.cpp836 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in NotifyWhetherVisibleForms() local
837 if (iBundleMgr == nullptr) { in NotifyWhetherVisibleForms()
870 if (!IN_PROCESS_CALL(iBundleMgr->GetApplicationInfo(formRecord.bundleName, in NotifyWhetherVisibleForms()
1738 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in GetBundleInfo() local
1739 if (iBundleMgr == nullptr) { in GetBundleInfo()
2030 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in CheckPublishForm() local
2031 if (iBundleMgr == nullptr) { in CheckPublishForm()
2036 if (needCheckFormPermission && !IsValidPublishEvent(iBundleMgr, bundleName, want)) { in CheckPublishForm()
2404 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in GetBundleName() local
2405 if (iBundleMgr in GetBundleName()
2560 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); RouterEvent() local
2620 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); BackgroundEvent() local
2811 CheckIsSystemAppByBundleName(const sptr<IBundleMgr> &iBundleMgr, const int32_t &userId, const std::string &bundleName) CheckIsSystemAppByBundleName() argument
2825 IsValidPublishEvent(const sptr<IBundleMgr> &iBundleMgr, const std::string &bundleName, const Want &want, bool needCheckFormPermission) IsValidPublishEvent() argument
2837 CheckKeepBackgroundRunningPermission(const sptr<IBundleMgr> &iBundleMgr, const std::string &bundleName) CheckKeepBackgroundRunningPermission() argument
3494 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); UpdateFormCloudUpdateDuration() local
3541 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); GetCallerType() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dlauncher_service.cpp99 auto iBundleMgr = GetBundleMgr(); in RegisterCallback() local
100 if (iBundleMgr == nullptr) { in RegisterCallback()
101 APP_LOGE("can not get iBundleMgr"); in RegisterCallback()
104 if (!iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in RegisterCallback()
108 if (!iBundleMgr->VerifyCallingPermission(Constants::LISTEN_BUNDLE_CHANGE)) { in RegisterCallback()
124 auto iBundleMgr = GetBundleMgr(); in UnRegisterCallback() local
125 if (iBundleMgr == nullptr) { in UnRegisterCallback()
126 APP_LOGE("can not get iBundleMgr"); in UnRegisterCallback()
129 if (!iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in UnRegisterCallback()
133 if (!iBundleMgr in UnRegisterCallback()
144 auto iBundleMgr = GetBundleMgr(); GetAbilityList() local
193 auto iBundleMgr = GetBundleMgr(); GetAllLauncherAbilityInfos() local
254 auto iBundleMgr = GetBundleMgr(); GetShortcutInfos() local
317 auto iBundleMgr = GetBundleMgr(); GetLauncherAbilityByBundleName() local
346 auto iBundleMgr = GetBundleMgr(); GetAllLauncherAbility() local
374 auto iBundleMgr = GetBundleMgr(); GetShortcutInfoV9() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/
H A Dbundle_monitor.cpp65 auto iBundleMgr = CommonFunc::GetBundleMgr(); in Register() local
66 if (iBundleMgr == nullptr) { in Register()
67 APP_LOGE("can not get iBundleMgr"); in Register()
70 if (!iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in Register()
76 if (!iBundleMgr->VerifyCallingPermission(Constants::LISTEN_BUNDLE_CHANGE)) { in Register()
104 auto iBundleMgr = CommonFunc::GetBundleMgr(); in Unregister() local
105 if (iBundleMgr == nullptr) { in Unregister()
106 APP_LOGE("can not get iBundleMgr"); in Unregister()
109 if (!iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in Unregister()
115 if (!iBundleMgr in Unregister()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dbundle_manager_sync.cpp165 auto iBundleMgr = CommonFunc::GetBundleMgr(); in SetApplicationEnabledSync() local
166 if (iBundleMgr == nullptr) { in SetApplicationEnabledSync()
167 APP_LOGE("can not get iBundleMgr"); in SetApplicationEnabledSync()
171 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetApplicationEnabled(bundleName, isEnable)); in SetApplicationEnabledSync()
206 auto iBundleMgr = CommonFunc::GetBundleMgr(); in SetAbilityEnabledSync() local
207 if (iBundleMgr == nullptr) { in SetAbilityEnabledSync()
208 APP_LOGE("can not get iBundleMgr"); in SetAbilityEnabledSync()
212 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetAbilityEnabled(abilityInfo, isEnable)); in SetAbilityEnabledSync()
241 auto iBundleMgr = CommonFunc::GetBundleMgr(); in IsApplicationEnabledSync() local
242 if (iBundleMgr in IsApplicationEnabledSync()
276 auto iBundleMgr = CommonFunc::GetBundleMgr(); IsAbilityEnabledSync() local
412 auto iBundleMgr = CommonFunc::GetBundleMgr(); QueryExtensionInfosSync() local
448 auto iBundleMgr = CommonFunc::GetBundleMgr(); QueryExtensionInfosSyncOnlyWithTypeName() local
511 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetPermissionDefSync() local
575 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetAbilityLabelSync() local
650 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetLaunchWantForBundleSync() local
693 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetBundleArchiveInfoSync() local
731 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetBundleNameByUidSync() local
819 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetProfileByAbilitySync() local
888 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetProfileByExAbilitySync() local
952 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetAppProvisionInfoSync() local
[all...]
H A Dbundle_manager.cpp176 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetBundleArchiveInfo() local
177 if (iBundleMgr == nullptr) { in InnerGetBundleArchiveInfo()
178 APP_LOGE("iBundleMgr is null"); in InnerGetBundleArchiveInfo()
181 ErrCode ret = iBundleMgr->GetBundleArchiveInfoV9(hapFilePath, flags, bundleInfo); in InnerGetBundleArchiveInfo()
265 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetAppCloneIdentity() local
266 if (iBundleMgr == nullptr) { in InnerGetAppCloneIdentity()
267 APP_LOGE("iBundleMgr is null"); in InnerGetAppCloneIdentity()
270 ErrCode ret = iBundleMgr->GetNameAndIndexForUid(uid, bundleName, appIndex); in InnerGetAppCloneIdentity()
278 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetApplicationInfo() local
279 if (iBundleMgr in InnerGetApplicationInfo()
290 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetApplicationInfos() local
584 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetLaunchWant() local
729 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerQueryAbilityInfos() local
742 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerBatchQueryAbilityInfos() local
1245 auto iBundleMgr = CommonFunc::GetBundleMgr(); QueryAbilityInfosSync() local
1276 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerQueryExtensionInfos() local
2087 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerCleanBundleCacheCallback() local
2694 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetLaunchWantForBundleExec() local
2857 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetProfile() local
3369 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetPermissionDef() local
3526 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetApplicationInfoSync() local
3608 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetBundleInfoSync() local
3635 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetBundleInfos() local
3739 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetBundleInfo() local
3750 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetBundleInfoForSelf() local
4062 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetAllSharedBundleInfo() local
4146 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetSharedBundleInfo() local
4435 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetAppProvisionInfo() local
4548 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetSpecifiedDistributionType() local
4595 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetAdditionalInfo() local
4637 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetBundleInfoForSelfSync() local
4737 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetJsonProfile() local
4760 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetRecoverableApplicationInfo() local
4859 auto iBundleMgr = CommonFunc::GetBundleMgr(); SetAdditionalInfo() local
4908 auto iBundleMgr = CommonFunc::GetBundleMgr(); CanOpenLink() local
4994 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetAllPreinstalledApplicationInfos() local
5053 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetAllBundleInfoByDeveloperId() local
5120 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetDeveloperIds() local
5165 auto iBundleMgr = CommonFunc::GetBundleMgr(); SwitchUninstallState() local
5188 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetAppCloneBundleInfo() local
5280 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetAllAppCloneBundleInfo() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/
H A Dshortcut_manager.cpp41 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerAddDesktopShortcutInfo() local
42 if (iBundleMgr == nullptr) { in InnerAddDesktopShortcutInfo()
43 APP_LOGE("Can not get iBundleMgr"); in InnerAddDesktopShortcutInfo()
46 return iBundleMgr->AddDesktopShortcutInfo(shortcutInfo, userId); in InnerAddDesktopShortcutInfo()
121 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerDeleteDesktopShortcutInfo() local
122 if (iBundleMgr == nullptr) { in InnerDeleteDesktopShortcutInfo()
123 APP_LOGE("Can not get iBundleMgr"); in InnerDeleteDesktopShortcutInfo()
126 return iBundleMgr->DeleteDesktopShortcutInfo(shortcutInfo, userId); in InnerDeleteDesktopShortcutInfo()
204 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetAllDesktopShortcutInfo() local
205 if (iBundleMgr in InnerGetAllDesktopShortcutInfo()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/
H A Dbundle_manager.cpp37 auto iBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in GetBundleInfoForSelf() local
39 iBundleMgr->GetBundleInfoForSelf(bundleFlags, bundleInfo); in GetBundleInfoForSelf()
47 APP_LOGE("VerifyAbc failed due to iBundleMgr is null"); in VerifyAbc()
211 auto iBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in GetProfileByAbility() local
212 if (iBundleMgr == nullptr) { in GetProfileByAbility()
220 ErrCode ret = AppExecFwk::CommonFunc::ConvertErrCode(iBundleMgr->GetBundleInfoForSelf(getAbilityFlag, bundleInfo)); in GetProfileByAbility()
243 auto iBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in InnerCanOpenLink() local
244 if (iBundleMgr == nullptr) { in InnerCanOpenLink()
245 APP_LOGE("can not get iBundleMgr"); in InnerCanOpenLink()
250 iBundleMgr in InnerCanOpenLink()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_graphics/src/
H A Dbundle_graphics_client_impl.cpp81 auto iBundleMgr = GetBundleMgr(); in GetAbilityPixelMapIcon() local
82 if (iBundleMgr == nullptr) { in GetAbilityPixelMapIcon()
83 APP_LOGE("can not get iBundleMgr"); in GetAbilityPixelMapIcon()
88 ErrCode ret = iBundleMgr->GetMediaData(bundleName, moduleName, abilityName, mediaDataPtr, len); in GetAbilityPixelMapIcon()
/foundation/window/window_manager/utils/src/
H A Dsys_cap_util.cpp56 sptr<AppExecFwk::IBundleMgr> iBundleMgr = OHOS::iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetBundleName() local
57 if (iBundleMgr == nullptr) { in GetBundleName()
64 if (iBundleMgr->GetBundleInfoForSelf(0, bundleInfo) == ERR_OK) { in GetBundleName()
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Ddistributed_bms.cpp332 auto iBundleMgr = GetBundleMgr(); in GetAbilityInfo() local
333 if (!iBundleMgr) { in GetAbilityInfo()
345 ErrCode ret = iBundleMgr->QueryAbilityInfosV9(want, static_cast<int32_t>( in GetAbilityInfo()
355 std::string label = iBundleMgr->GetStringById( in GetAbilityInfo()
369 auto iBundleMgr = GetBundleMgr(); in GetAbilityIconByContent() local
370 if (!iBundleMgr) { in GetAbilityIconByContent()
377 ErrCode ret = iBundleMgr->GetMediaData(abilityInfo.bundleName, abilityInfo.moduleName, abilityInfo.name, in GetAbilityIconByContent()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp57 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerIsHapModuleRemovable() local
58 if (iBundleMgr == nullptr) { in InnerIsHapModuleRemovable()
59 APP_LOGE("can not get iBundleMgr"); in InnerIsHapModuleRemovable()
62 auto result = iBundleMgr->IsModuleRemovable(bundleName, moduleName, isRemovable); in InnerIsHapModuleRemovable()
147 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerSetHapModuleUpgradeFlag() local
148 if (iBundleMgr == nullptr) { in InnerSetHapModuleUpgradeFlag()
149 APP_LOGE("can not get iBundleMgr"); in InnerSetHapModuleUpgradeFlag()
152 auto result = iBundleMgr->SetModuleUpgradeFlag(bundleName, moduleName, upgradeFlag); in InnerSetHapModuleUpgradeFlag()
551 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetBundlePackInfo() local
552 if (iBundleMgr in InnerGetBundlePackInfo()
659 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerGetDispatchInfo() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.cpp214 auto iBundleMgr = GetBundleMgr(); in CheckIsSystemApp() local
215 if (iBundleMgr == nullptr) { in CheckIsSystemApp()
216 APP_LOGE("can not get iBundleMgr"); in CheckIsSystemApp()
221 return iBundleMgr->CheckIsSystemAppByUid(uid); in CheckIsSystemApp()
1120 auto iBundleMgr = GetBundleMgr(); in InnerGetApplicationInfos() local
1121 if (iBundleMgr == nullptr) { in InnerGetApplicationInfos()
1122 APP_LOGE("can not get iBundleMgr"); in InnerGetApplicationInfos()
1125 return iBundleMgr->GetApplicationInfos(flags, userId, appInfos); in InnerGetApplicationInfos()
1289 auto iBundleMgr = GetBundleMgr(); in InnerQueryAbilityInfos() local
1290 if (iBundleMgr in InnerQueryAbilityInfos()
1593 auto iBundleMgr = GetBundleMgr(); InnerGetBundleInfos() local
1723 auto iBundleMgr = GetBundleMgr(); InnerGetPermissionDef() local
1826 auto iBundleMgr = GetBundleMgr(); VerifyCallingPermission() local
1836 auto iBundleMgr = GetBundleMgr(); VerifySystemApi() local
2048 auto iBundleMgr = GetBundleMgr(); InnerGetAllFormsInfo() local
2174 auto iBundleMgr = GetBundleMgr(); InnerGetFormInfosByModule() local
2291 auto iBundleMgr = GetBundleMgr(); InnerGetFormInfosByApp() local
2402 auto iBundleMgr = GetBundleMgr(); InnerGetBundleGids() local
2621 auto iBundleMgr = GetBundleMgr(); InnerSetApplicationEnabled() local
2637 auto iBundleMgr = GetBundleMgr(); InnerSetAbilityEnabled() local
2653 auto iBundleMgr = GetBundleMgr(); InnerCleanBundleCacheCallback() local
2730 auto iBundleMgr = GetBundleMgr(); InnerGetNameForUid() local
3328 auto iBundleMgr = GetBundleMgr(); InnerGetApplicationInfo() local
3339 auto iBundleMgr = GetBundleMgr(); InnerGetBundleInfo() local
3752 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetBundleArchiveInfoExec() local
3848 auto iBundleMgr = CommonFunc::GetBundleMgr(); GetLaunchWantForBundleExec() local
4275 auto iBundleMgr = GetBundleMgr(); InnerGetAbilityInfo() local
4429 auto iBundleMgr = GetBundleMgr(); InnerGetAbilityLabel() local
5016 auto iBundleMgr = GetBundleMgr(); InnerInstall() local
5333 auto iBundleMgr = GetBundleMgr(); InnerRecover() local
5502 auto iBundleMgr = GetBundleMgr(); InnerUninstall() local
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/package/
H A Dpackage.cpp160 auto iBundleMgr = GetBundleMgr(); in InnerHasInstalled() local
161 if (iBundleMgr == nullptr) { in InnerHasInstalled()
162 APP_LOGE("can not get iBundleMgr"); in InnerHasInstalled()
166 bool ret = iBundleMgr->GetBundleInfo(bundleName, 0, bundleInfo); in InnerHasInstalled()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp131 auto iBundleMgr = CommonFunc::GetBundleMgr(); in GetBundleInstallerCompleted() local
132 if (iBundleMgr == nullptr) { in GetBundleInstallerCompleted()
133 APP_LOGE("can not get iBundleMgr"); in GetBundleInstallerCompleted()
136 if (!g_isSystemApp && !iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in GetBundleInstallerCompleted()
220 auto iBundleMgr = CommonFunc::GetBundleMgr(); in GetBundleInstallerSync() local
221 if (iBundleMgr == nullptr) { in GetBundleInstallerSync()
222 APP_LOGE("can not get iBundleMgr"); in GetBundleInstallerSync()
225 if (!g_isSystemApp && !iBundleMgr->VerifySystemApi(Constants::INVALID_API_VERSION)) { in GetBundleInstallerSync()
1593 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerCreateAppClone() local
1594 if (iBundleMgr in InnerCreateAppClone()
1707 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerDestroyAppClone() local
1811 auto iBundleMgr = CommonFunc::GetBundleMgr(); InnerInstallPreexistingApp() local
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_mgr_adapter.h965 * @param iBundleMgr BundleManagerProxy
970 bool CheckIsSystemAppByBundleName(const sptr<IBundleMgr> &iBundleMgr,
975 * @param iBundleMgr BundleManagerProxy
979 bool CheckKeepBackgroundRunningPermission(const sptr<IBundleMgr> &iBundleMgr, const std::string &bundleName);
1015 * @param iBundleMgr BundleManagerProxy
1021 bool IsValidPublishEvent(const sptr<IBundleMgr> &iBundleMgr, const std::string &bundleName, const Want &want,
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dsched_controller.cpp201 sptr<AppExecFwk::IBundleMgr> iBundleMgr = OHOS::iface_cast<OHOS::AppExecFwk::IBundleMgr>(object); in GetBundleNameByUid() local
202 if (!iBundleMgr) { in GetBundleNameByUid()
207 ErrCode ret = iBundleMgr->GetNameForUid(uid, bundleName); in GetBundleNameByUid()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_system_manager.cpp219 sptr<AppExecFwk::IBundleMgr> iBundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetSelfBundleName() local
220 CHECK_AND_RETURN_RET_LOG(iBundleMgr != nullptr, bundleName, "bundlemgr interface is null"); in GetSelfBundleName()
222 iBundleMgr->GetNameForUid(uid, bundleName); in GetSelfBundleName()
1212 sptr<AppExecFwk::IBundleMgr> iBundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetSelfBundleName() local
1213 CHECK_AND_RETURN_RET_LOG(iBundleMgr != nullptr, bundleName, "bundlemgr interface is null"); in GetSelfBundleName()
1216 if (iBundleMgr->GetBundleInfoForSelf(0, bundleInfo) == ERR_OK) { in GetSelfBundleName()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server_stub.cpp333 sptr<AppExecFwk::IBundleMgr> iBundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetBundleName() local
334 if (iBundleMgr == nullptr) { in GetBundleName()
338 if (iBundleMgr->GetNameForUid(callingUid, bundleName) != SOFTBUS_OK) { in GetBundleName()
358 sptr<AppExecFwk::IBundleMgr> iBundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetAppId() local
359 if (iBundleMgr == nullptr) { in GetAppId()
370 result = iBundleMgr->GetBundleInfoV9(bundleName, in GetAppId()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.cpp442 auto iBundleMgr = GetBundleMgr(); in GetBundleInstaller() local
443 if (iBundleMgr == nullptr) { in GetBundleInstaller()
444 APP_LOGE("can not get iBundleMgr"); in GetBundleInstaller()
447 return iBundleMgr->GetBundleInstaller(); in GetBundleInstaller()
452 auto iBundleMgr = GetBundleMgr(); in GetVerifyManager() local
453 if (iBundleMgr == nullptr) { in GetVerifyManager()
454 APP_LOGE("can not get iBundleMgr"); in GetVerifyManager()
457 return iBundleMgr->GetVerifyManager(); in GetVerifyManager()
462 auto iBundleMgr = GetBundleMgr(); in GetExtendResourceManager() local
463 if (iBundleMgr in GetExtendResourceManager()
[all...]
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp2254 auto iBundleMgr = GetAppBundleManager(); in GetAppLabel() local
2255 if (iBundleMgr == nullptr) { in GetAppLabel()
2261 auto result = iBundleMgr->GetApplicationInfo(info.bundleName, 0, info.userId, appInfo); in GetAppLabel()
2266 auto label = iBundleMgr->GetStringById(resource.bundleName, resource.moduleName, resource.id, info.userId); in GetAppLabel()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test.cpp1666 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F() local
1669 EXPECT_EQ(false, formMgrAdapter.CheckIsSystemAppByBundleName(iBundleMgr, userId, bundleName)); in HWTEST_F()

Completed in 43 milliseconds