/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 44 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 D | bundle_manager_internal.cpp | 52 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 D | bms_bundle_free_install_test.cpp | 288 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 D | bms_check_service_test.cpp | 77 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 D | app_bar_helper_impl.cpp | 32 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 D | plugin_pattern_test_ng.cpp | 362 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 D | checkissystemappbyuid_fuzzer.cpp | 53 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 D | getapplicationinfos_fuzzer.cpp | 53 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 D | getbundleinfos_fuzzer.cpp | 53 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 D | verifycallingpermission_fuzzer.cpp | 53 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 D | text_bundle_config_parser.cpp | 32 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 D | mock_quick_fix_util.cpp | 58 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 D | ui_extension_info_module_test.cpp | 88 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 D | egl_bundle_mgr_helper.cpp | 85 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 D | bundle_graphics_client_impl.cpp | 46 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 D | ability_info_manager.cpp | 26 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 D | storage_status_service.cpp | 270 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 D | permission_utils.cpp | 76 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 D | bms_wrapper.cpp | 55 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 D | usb_right_manager.cpp | 451 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 D | usb_mass_storage_notification.cpp | 108 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 D | tdd_util.cpp | 169 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 D | bundle.cpp | 42 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 D | common_utils.cpp | 270 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 D | distributed_bm_storage.cpp | 92 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 …]
|