Home
last modified time | relevance | path

Searched refs:bundleMgr (Results 1 - 11 of 11) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp340 auto bundleMgr = iface_cast<IBundleMgr>(bundleMgrSa); in GetBundleMgr() local
341 if (bundleMgr == nullptr) { in GetBundleMgr()
344 return bundleMgr; in GetBundleMgr()
349 auto bundleMgr = GetBundleMgr(); in GetBundleResMgr() local
350 if (bundleMgr == nullptr) { in GetBundleResMgr()
353 return bundleMgr->GetBundleResourceProxy(); in GetBundleResMgr()
414 auto bundleMgr = GetBundleMgr(); in IsAppInstalled() local
415 if (bundleMgr == nullptr) { in IsAppInstalled()
420 if (!bundleMgr->GetApplicationInfo(bundleName, GET_BASIC_APPLICATION_INFO, uid, appInfo)) { in IsAppInstalled()
431 auto bundleMgr in GetBundleInstallAndUpdateTime() local
[all...]
H A Dusb_mass_storage_notification.cpp108 auto bundleMgr = iface_cast<OHOS::AppExecFwk::IBundleMgr>(bundleMgrSa); in GetFilemanagerBundleName() local
109 if (bundleMgr == nullptr) { in GetFilemanagerBundleName()
123 if (!bundleMgr->GetApplicationInfos(OHOS::AppExecFwk::ApplicationFlag::GET_BASIC_APPLICATION_INFO, in GetFilemanagerBundleName()
134 int32_t resultCode = bundleMgr->GetApplicationInfoV9(bundleNameTemp.replace( in GetFilemanagerBundleName()
H A Dusb_service.cpp1732 sptr<AppExecFwk::IBundleMgr> bundleMgr(new AppExecFwk::BundleMgrProxy(remoteObject)); in GetBundleName()
1733 if (bundleMgr == nullptr) { in GetBundleName()
1737 ErrCode ret = bundleMgr->GetNameForUid(uid, bundleName); in GetBundleName()
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
H A Dtdd_util.cpp171 auto bundleMgr = GetBundleMgr(); in GetUid() local
172 if (bundleMgr == nullptr) { in GetUid()
173 IMSA_HILOGE("bundleMgr nullptr"); in GetUid()
176 auto uid = bundleMgr->GetUidByBundleName(bundleName, GetCurrentUserId()); in GetUid()
259 auto bundleMgr = TddUtil::GetBundleMgr(); in GetUserIdByBundleName() local
260 if (bundleMgr == nullptr) { in GetUserIdByBundleName()
261 IMSA_HILOGE("Get bundleMgr failed."); in GetUserIdByBundleName()
264 auto uid = bundleMgr->GetUidByBundleName(bundleName, currentUserId); in GetUserIdByBundleName()
/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp292 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bundleMgrSa); in CheckAppInstalled() local
293 if (bundleMgr == nullptr) { in CheckAppInstalled()
298 bundleMgr->GetApplicationInfoV9(bundleName, 0, userId, info); in CheckAppInstalled()
/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp131 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetBundleNameByUid() local
132 if (bundleMgr == nullptr) { in GetBundleNameByUid()
136 bundleMgr->GetNameForUid(uid, bundle); in GetBundleNameByUid()
/base/web/webview/ohos_adapter/media_adapter/src/
H A Dmedia_avsession_adapter_impl.cpp142 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in Init() local
143 if (bundleMgr == nullptr) { in Init()
150 if (bundleMgr->GetBundleInfoForSelf(flag, bundleInfo) != 0) { in Init()
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp82 auto bundleMgr = GetBundleMgr(); in QueryImeExtInfos() local
83 if (bundleMgr == nullptr) { in QueryImeExtInfos()
87 if (!bundleMgr->QueryExtensionAbilityInfos(ExtensionAbilityType::INPUTMETHOD, userId, infos)) { in QueryImeExtInfos()
88 IMSA_HILOGF("query extension infos failed from bundleMgr!"); in QueryImeExtInfos()
630 auto bundleMgr = GetBundleMgr(); in GetStringById() local
631 return bundleMgr == nullptr ? "" : bundleMgr->GetStringById(bundleName, moduleName, labelId, userId); in GetStringById()
1157 auto bundleMgr = GetBundleMgr(); in GetBundleInfoByBundleName() local
1158 if (bundleMgr == nullptr) { in GetBundleInfoByBundleName()
1159 IMSA_HILOGE("failed to get bundleMgr!"); in GetBundleInfoByBundleName()
[all...]
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp71 sptr<AppExecFwk::IBundleMgr> bundleMgr(new AppExecFwk::BundleMgrProxy(remoteObject)); in GetBundleName()
72 if (bundleMgr == nullptr) { in GetBundleName()
73 USB_HILOGE(MODULE_USB_SERVICE, "bundleMgr is nullptr"); in GetBundleName()
76 bundleMgr->GetNameForUid(uid, bundleName); in GetBundleName()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp1915 auto bundleMgr = BundleManagerHelper::GetInstance(); in GetBundleInfoByNotificationBundleOption() local
1916 if (bundleMgr == nullptr) { in GetBundleInfoByNotificationBundleOption()
1917 ANS_LOGE("bundleMgr instance error!"); in GetBundleInfoByNotificationBundleOption()
1920 if (!bundleMgr->GetBundleInfoByBundleName(bundleOption->GetBundleName(), callingUserId, bundleInfo)) { in GetBundleInfoByNotificationBundleOption()
1961 auto bundleMgr = BundleManagerHelper::GetInstance(); in GetBundlesOfActiveUser() local
1962 if (bundleMgr == nullptr) { in GetBundlesOfActiveUser()
1975 if (!bundleMgr->GetBundleInfos(flag, infos, itemUser)) { in GetBundlesOfActiveUser()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_controller.cpp1968 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetHapModuleInfo() local
1969 if (bundleMgr == nullptr) { in GetHapModuleInfo()
1974 if (bundleMgr->GetBundleInfoForSelf( in GetHapModuleInfo()

Completed in 19 milliseconds