Home
last modified time | relevance | path

Searched refs:bundleMgr (Results 1 – 25 of 69) sorted by relevance

123

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp44 auto bundleMgr = Connect(); in GetNameForUid() local
45 if (bundleMgr == nullptr) { in GetNameForUid()
57 auto bundleMgr = Connect(); in GetNameAndIndexForUid() local
58 if (bundleMgr == nullptr) { in GetNameAndIndexForUid()
71 auto bundleMgr = Connect(); in GetBundleInfo() local
72 if (bundleMgr == nullptr) { in GetBundleInfo()
119 auto bundleMgr = Connect(); in GetUninstalledBundleInfo() local
120 if (bundleMgr == nullptr) { in GetUninstalledBundleInfo()
137 auto bundleMgr = Connect(); in GetSandboxBundleInfo() local
138 if (bundleMgr == nullptr) { in GetSandboxBundleInfo()
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp52 auto bundleMgr = GetBundleManager(); in GetCallerAppIdFromBms() local
53 if (bundleMgr == nullptr) { in GetCallerAppIdFromBms()
70 if (bundleMgr == nullptr) { in GetSpecifyBundleNameFromBms()
85 if (bundleMgr == nullptr) { in GetBundleNameListFromBms()
119 if (bundleMgr == nullptr) { in QueryAbilityInfo()
141 if (bundleMgr == nullptr) { in QueryExtensionAbilityInfo()
197 if (bundleMgr == nullptr) { in IsSameDeveloperId()
261 if (bundleMgr == nullptr) { in GetContinueBundle4Src()
285 if (bundleMgr == nullptr) { in GetAppProvisionInfo4CurrentUser()
398 if (bundleMgr == nullptr) { in GetUidFromBms()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp288 if (bundleMgr != nullptr) {
308 if (bundleMgr != nullptr) {
330 if (bundleMgr != nullptr) {
352 if (bundleMgr != nullptr) {
374 if (bundleMgr != nullptr) {
396 if (bundleMgr != nullptr) {
414 if (bundleMgr != nullptr) {
434 if (bundleMgr != nullptr) {
454 if (bundleMgr != nullptr) {
474 if (bundleMgr != nullptr) {
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_check_service_test/
H A Dbms_check_service_test.cpp77 sptr<IBundleMgr> bundleMgr = GetBundleMgr(); variable
78 if (!bundleMgr) {
80 EXPECT_NE(bundleMgr, nullptr);
92 sptr<IBundleMgr> bundleMgr = GetBundleMgr(); variable
93 if (!bundleMgr) {
95 EXPECT_NE(bundleMgr, nullptr);
99 bool getInfoResult = bundleMgr->GetBundleInfos(BundleFlag::GET_BUNDLE_DEFAULT, bundleInfos);
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dapp_bar_helper_impl.cpp32 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bundleObj); in QueryAppGalleryBundleName() local
33 CHECK_NULL_RETURN(bundleMgr, ""); in QueryAppGalleryBundleName()
36 auto result = bundleMgr->QueryAppGalleryBundleName(bundleName); in QueryAppGalleryBundleName()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/
H A Dplugin_pattern_test_ng.cpp362 auto* bundleMgr = static_cast<AppExecFwk::MOCKIBundleMgr*>(bms.GetRefPtr()); variable
368 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
383 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
396 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
437 auto* bundleMgr = static_cast<AppExecFwk::MOCKIBundleMgr*>(bms.GetRefPtr()); variable
439 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
446 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
461 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
470 EXPECT_CALL(*bundleMgr, GetBundleInfo(_, AppExecFwk::BundleFlag::GET_BUNDLE_DEFAULT, _, _))
517 auto* bundleMgr = static_cast<AppExecFwk::MOCKIBundleMgr*>(bms.GetRefPtr()); variable
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/checkissystemappbyuid_fuzzer/
H A Dcheckissystemappbyuid_fuzzer.cpp53 auto bundleMgr = GetBundleMgr(); in DoSomethingInterestingWithMyAPI() local
54 if (bundleMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
58 return bundleMgr->CheckIsSystemAppByUid(reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getapplicationinfos_fuzzer/
H A Dgetapplicationinfos_fuzzer.cpp53 auto bundleMgr = GetBundleMgr(); in DoSomethingInterestingWithMyAPI() local
54 if (bundleMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
59 return bundleMgr->GetApplicationInfos( in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundleinfos_fuzzer/
H A Dgetbundleinfos_fuzzer.cpp53 auto bundleMgr = GetBundleMgr(); in DoSomethingInterestingWithMyAPI() local
54 if (bundleMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
59 bundleMgr->GetBundleInfos(reinterpret_cast<uintptr_t>(data), bundleInfos); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifycallingpermission_fuzzer/
H A Dverifycallingpermission_fuzzer.cpp53 auto bundleMgr = GetBundleMgr(); in DoSomethingInterestingWithMyAPI() local
54 if (bundleMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
59 bundleMgr->VerifyCallingPermission(info); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dtext_bundle_config_parser.cpp32 auto bundleMgr = GetSystemAbilityManager(); in IsMetaDataExistInModule() local
33 if (bundleMgr == nullptr) { in IsMetaDataExistInModule()
39 ErrCode errCode = bundleMgr->GetBundleInfoForSelf( in IsMetaDataExistInModule()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/quick_fix/mock/src/
H A Dmock_quick_fix_util.cpp58 auto bundleMgr = GetBundleManagerProxy(); in GetBundleQuickFixMgrProxy() local
59 if (bundleMgr == nullptr) { in GetBundleQuickFixMgrProxy()
64 auto bundleQuickFixMgr = bundleMgr->GetQuickFixManagerProxy(); in GetBundleQuickFixMgrProxy()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_info_module_test/
H A Dui_extension_info_module_test.cpp88 sptr<AppExecFwk::IBundleMgr> bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObj); in SetUpTestCase() local
89 if (bundleMgr == nullptr) { in SetUpTestCase()
94 bundleMgr_ = bundleMgr; in SetUpTestCase()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_bundle_mgr_helper.cpp85 auto bundleMgr = Connect(); in GetBundleInfoForSelf() local
86 if (bundleMgr == nullptr) { in GetBundleInfoForSelf()
90 return bundleMgr->GetBundleInfoForSelf(static_cast<int32_t>(flags), bundleInfo); in GetBundleInfoForSelf()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_graphics/src/
H A Dbundle_graphics_client_impl.cpp46 auto bundleMgr = OHOS::iface_cast<IBundleMgr>(bundleMgrSa); in GetBundleMgr() local
47 if (bundleMgr == nullptr) { in GetBundleMgr()
50 bundleMgr_ = bundleMgr; in GetBundleMgr()
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dability_info_manager.cpp26 void AbilityInfoManager::Init(const sptr<AppExecFwk::IBundleMgr>& bundleMgr) in Init() argument
28 if (bundleMgr == nullptr) { in Init()
32 bundleMgr_ = bundleMgr; in Init()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage/src/
H A Dstorage_status_service.cpp270 auto bundleMgr = DelayedSingleton<BundleMgrConnector>::GetInstance()->GetBundleMgrProxy(); in GetBundleStats() local
271 if (bundleMgr == nullptr) { in GetBundleStats()
286 bool res = bundleMgr->GetBundleStats(pkgName, userId, bundleStats, appIndex, statFlag); in GetBundleStats()
311 auto bundleMgr = DelayedSingleton<BundleMgrConnector>::GetInstance()->GetBundleMgrProxy(); in GetAppSize() local
312 if (bundleMgr == nullptr) { in GetAppSize()
318 bool res = bundleMgr->GetAllBundleStats(userId, bundleStats); in GetAppSize()
/ohos5.0/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp76 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bundleObj); in GetSysBundleManager() local
77 if (bundleMgr == nullptr) { in GetSysBundleManager()
81 bundleMgr_ = bundleMgr; in GetSysBundleManager()
123 auto bundleMgr = GetSysBundleManager(); in GetPackageNameFromCache() local
124 if (bundleMgr == nullptr) { in GetPackageNameFromCache()
129 int ret = bundleMgr->GetLaunchWantForBundle(bundleName, want, userId); in GetPackageNameFromCache()
136 packageName = bundleMgr->GetAbilityLabel(bundleName, abilityName); in GetPackageNameFromCache()
/ohos5.0/base/security/asset/services/os_dependency/src/
H A Dbms_wrapper.cpp55 auto bundleMgr = GetBundleMgr(); in GetHapProcessInfo() local
56 if (bundleMgr == nullptr) { in GetHapProcessInfo()
62 int32_t ret = bundleMgr->GetNameAndIndexForUid(uid, bundleName, appIndex); in GetHapProcessInfo()
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp451 auto bundleMgr = iface_cast<IBundleMgr>(bundleMgrSa); in GetBundleMgr() local
452 if (bundleMgr == nullptr) { in GetBundleMgr()
455 return bundleMgr; in GetBundleMgr()
460 auto bundleMgr = GetBundleMgr(); in GetBundleResMgr() local
461 if (bundleMgr == nullptr) { in GetBundleResMgr()
464 return bundleMgr->GetBundleResourceProxy(); in GetBundleResMgr()
525 auto bundleMgr = GetBundleMgr(); in IsAppInstalled() local
526 if (bundleMgr == nullptr) { in IsAppInstalled()
531 if (!bundleMgr->GetApplicationInfo(bundleName, GET_BASIC_APPLICATION_INFO, uid, appInfo)) { in IsAppInstalled()
542 auto bundleMgr = GetBundleMgr(); 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()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/common/src/
H A Dtdd_util.cpp169 auto bundleMgr = GetBundleMgr(); in GetUid() local
170 if (bundleMgr == nullptr) { in GetUid()
174 auto uid = bundleMgr->GetUidByBundleName(bundleName, GetCurrentUserId()); in GetUid()
257 auto bundleMgr = TddUtil::GetBundleMgr(); in GetUserIdByBundleName() local
258 if (bundleMgr == nullptr) { in GetUserIdByBundleName()
262 auto uid = bundleMgr->GetUidByBundleName(bundleName, currentUserId); in GetUserIdByBundleName()
/ohos5.0/base/request/request/services/src/cxx/
H A Dbundle.cpp42 sptr<IBundleMgr> bundleMgr = iface_cast<IBundleMgr>(remoteObject); in GetNameAndIndex() local
43 ErrCode ret = bundleMgr->GetNameAndIndexForUid(uid, bundleName, appIndex); in GetNameAndIndex()
/ohos5.0/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp270 sptr<AppExecFwk::IBundleMgr> bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(remoteObject); in GetBundleNameByUid() local
271 if (bundleMgr == nullptr) { in GetBundleNameByUid()
275 int32_t error = bundleMgr->GetNameForUid(uid, bundleName); in GetBundleNameByUid()
306 auto bundleMgr = iface_cast<AppExecFwk::IBundleMgr>(bundleMgrSa); in CheckAppInstalled() local
307 if (bundleMgr == nullptr) { in CheckAppInstalled()
312 bundleMgr->GetApplicationInfoV9(bundleName, 0, userId, info); in CheckAppInstalled()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_bm_storage.cpp92 auto bundleMgr = DmsBmStorage::GetInstance()->GetBundleMgr(); in SaveStorageDistributeInfo() local
93 if (bundleMgr == nullptr) { in SaveStorageDistributeInfo()
98 …bool ret = bundleMgr->GetBundleInfo(bundleName, FLAGS, bundleInfo, AppExecFwk::Constants::ALL_USER… in SaveStorageDistributeInfo()
115 … result = bundleMgr->GetAppProvisionInfo(bundleName, account.GetLocalId(), appProvisionInfo); in SaveStorageDistributeInfo()
213 auto bundleMgr = DmsBmStorage::GetInstance()->GetBundleMgr(); in DeleteStorageDistributeInfo() local
214 if (bundleMgr == nullptr) { in DeleteStorageDistributeInfo()
219 …bool ret = bundleMgr->GetBundleInfo(bundleName, FLAGS, bundleInfo, AppExecFwk::Constants::ALL_USER… in DeleteStorageDistributeInfo()
749 void DmsBmStorage::FindProvishionInfo(OHOS::sptr<OHOS::AppExecFwk::IBundleMgr> bundleMgr, in FindProvishionInfo() argument
766 auto bundleMgr = DmsBmStorage::GetInstance()->GetBundleMgr(); in UpdateDistributedData() local
767 if (bundleMgr == nullptr) { in UpdateDistributedData()
[all …]

123