/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/ |
H A D | bms_bundle_clone_app_bundle_logic_test.cpp | 220 * @tc.name: innerBundleInfo add clone bundle 226 InnerBundleInfo innerBundleInfo; in HWTEST_F() local 227 innerBundleInfo.FromJson(INNER_BUNDLE_INFO_JSON_3_2); in HWTEST_F() 230 auto res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo); in HWTEST_F() 236 innerBundleInfo.AddInnerBundleUserInfo(innerBundleUserInfo); in HWTEST_F() 237 res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo); in HWTEST_F() 248 ErrCode r1 = innerBundleInfo.AddCloneBundle(cloneInfo); in HWTEST_F() 251 ErrCode r2 = innerBundleInfo.AddCloneBundle(cloneInfo); in HWTEST_F() 255 ErrCode r3 = innerBundleInfo.AddCloneBundle(cloneInfo); in HWTEST_F() 261 * @tc.name: innerBundleInfo remov 267 InnerBundleInfo innerBundleInfo; HWTEST_F() local 308 InnerBundleInfo innerBundleInfo; HWTEST_F() local 353 InnerBundleInfo innerBundleInfo; HWTEST_F() local 408 InnerBundleInfo innerBundleInfo; HWTEST_F() local 458 InnerBundleInfo innerBundleInfo; HWTEST_F() local 487 InnerBundleInfo innerBundleInfo; HWTEST_F() local 522 InnerBundleInfo innerBundleInfo; HWTEST_F() local 558 InnerBundleInfo innerBundleInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_process.cpp | 28 bool BundleResourceProcess::GetBundleResourceInfo(const InnerBundleInfo &innerBundleInfo, in GetBundleResourceInfo() argument 32 if (innerBundleInfo.GetBundleName().empty()) { in GetBundleResourceInfo() 36 if (innerBundleInfo.GetApplicationBundleType() == BundleType::SHARED) { in GetBundleResourceInfo() 37 APP_LOGD("bundleName:%{public}s is shared", innerBundleInfo.GetBundleName().c_str()); in GetBundleResourceInfo() 40 resourceInfo = ConvertToBundleResourceInfo(innerBundleInfo); in GetBundleResourceInfo() 42 GetOverlayModuleHapPaths(innerBundleInfo, resourceInfo.moduleName_, userId, resourceInfo.overlayHapPaths_); in GetBundleResourceInfo() 66 InnerBundleInfo innerBundleInfo; in GetAllResourceInfo() local 67 if (!dataMgr->FetchInnerBundleInfo(bundleName, innerBundleInfo)) { in GetAllResourceInfo() 71 if (innerBundleInfo.GetApplicationBundleType() == BundleType::SHARED) { in GetAllResourceInfo() 76 if (!InnerGetResourceInfo(innerBundleInfo, userI in GetAllResourceInfo() 101 InnerBundleInfo innerBundleInfo; GetResourceInfoByBundleName() local 128 InnerBundleInfo innerBundleInfo; GetLauncherResourceInfoByAbilityName() local 204 GetDynamicIcon( const InnerBundleInfo &innerBundleInfo, ResourceInfo &resourceInfo) GetDynamicIcon() argument 230 InnerGetResourceInfo( const InnerBundleInfo &innerBundleInfo, const int32_t userId, std::vector<ResourceInfo> &resourceInfos) InnerGetResourceInfo() argument 271 OnGetResourceInfo( const InnerBundleInfo &innerBundleInfo, const int32_t userId, std::vector<ResourceInfo> &resourceInfos) OnGetResourceInfo() argument 310 ConvertToBundleResourceInfo(const InnerBundleInfo &innerBundleInfo) ConvertToBundleResourceInfo() argument 331 GetLauncherAbilityResourceInfos( const InnerBundleInfo &innerBundleInfo, const int32_t userId, std::vector<ResourceInfo> &resourceInfos) GetLauncherAbilityResourceInfos() argument 377 CheckIsNeedProcessAbilityResource(const InnerBundleInfo &innerBundleInfo) CheckIsNeedProcessAbilityResource() argument 399 GetOverlayModuleHapPaths( const InnerBundleInfo &innerBundleInfo, const std::string &moduleName, int32_t userId, std::vector<std::string> &overlayHapPaths) GetOverlayModuleHapPaths() argument 466 GetAbilityResourceInfos( const InnerBundleInfo &innerBundleInfo, const int32_t userId, std::vector<ResourceInfo> &resourceInfos) GetAbilityResourceInfos() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_data_storage_rdb.cpp | 71 InnerBundleInfo innerBundleInfo; in TransformStrToInfo() local 79 if (innerBundleInfo.FromJson(jsonObject) != ERR_OK) { in TransformStrToInfo() 87 handler->HandleInvalidBundle(innerBundleInfo, isBundleValid); in TransformStrToInfo() 93 innerBundleInfo.UpdatePrivilegeCapability(applicationInfo); in TransformStrToInfo() 94 infos.emplace(innerBundleInfo.GetBundleName(), innerBundleInfo); in TransformStrToInfo() 97 if (key != innerBundleInfo.GetBundleName()) { in TransformStrToInfo() 98 updateInfos.emplace(key, innerBundleInfo); in TransformStrToInfo() 123 bool BundleDataStorageRdb::SaveStorageBundleInfo(const InnerBundleInfo &innerBundleInfo) in SaveStorageBundleInfo() argument 131 innerBundleInfo in SaveStorageBundleInfo() 137 DeleteStorageBundleInfo(const InnerBundleInfo &innerBundleInfo) DeleteStorageBundleInfo() argument [all...] |
H A D | bundle_permission_mgr.cpp | 140 AccessToken::HapPolicyParams BundlePermissionMgr::CreateHapPolicyParam(const InnerBundleInfo &innerBundleInfo) in CreateHapPolicyParam() argument 143 std::string apl = innerBundleInfo.GetAppPrivilegeLevel(); in CreateHapPolicyParam() 144 std::vector<AccessToken::PermissionDef> permDef = GetPermissionDefList(innerBundleInfo); in CreateHapPolicyParam() 148 hapPolicy.permStateList = GetPermissionStateFullList(innerBundleInfo); in CreateHapPolicyParam() 149 hapPolicy.aclRequestedList = innerBundleInfo.GetAllowedAcls(); in CreateHapPolicyParam() 151 innerBundleInfo.GetBundleName().c_str(), apl.c_str(), hapPolicy.permStateList.size(), in CreateHapPolicyParam() 155 if (!GetDefaultPermission(innerBundleInfo.GetBundleName(), permission)) { in CreateHapPolicyParam() 160 if (!MatchSignature(permission, innerBundleInfo.GetCertificateFingerprint()) && in CreateHapPolicyParam() 161 !MatchSignature(permission, innerBundleInfo.GetAppId()) && in CreateHapPolicyParam() 162 !MatchSignature(permission, innerBundleInfo in CreateHapPolicyParam() 192 GetPermissionDefList( const InnerBundleInfo &innerBundleInfo) GetPermissionDefList() argument 209 GetPermissionStateFullList( const InnerBundleInfo &innerBundleInfo) GetPermissionStateFullList() argument [all...] |
H A D | bundle_data_mgr.cpp | 429 // save target innerBundleInfo in RemoveModuleInfo() 935 InnerBundleInfo innerBundleInfo; in ExplicitQueryAbilityInfo() local 936 if ((appIndex == 0) && (!GetInnerBundleInfoWithFlags(bundleName, flags, innerBundleInfo, requestUserId))) { in ExplicitQueryAbilityInfo() 946 auto ret = sandboxAppHelper_->GetSandboxAppInfo(bundleName, appIndex, requestUserId, innerBundleInfo); in ExplicitQueryAbilityInfo() 954 int32_t responseUserId = innerBundleInfo.GetResponseUserId(requestUserId); in ExplicitQueryAbilityInfo() 955 auto ability = innerBundleInfo.FindAbilityInfo(moduleName, abilityName, responseUserId); in ExplicitQueryAbilityInfo() 961 return QueryAbilityInfoWithFlags(ability, flags, responseUserId, innerBundleInfo, abilityInfo); in ExplicitQueryAbilityInfo() 980 InnerBundleInfo innerBundleInfo; in ExplicitQueryAbilityInfoV9() local 982 ErrCode ret = GetInnerBundleInfoWithFlagsV9(bundleName, flags, innerBundleInfo, requestUserId); in ExplicitQueryAbilityInfoV9() 994 auto ret = sandboxAppHelper_->GetSandboxAppInfo(bundleName, appIndex, requestUserId, innerBundleInfo); in ExplicitQueryAbilityInfoV9() 1197 QueryAbilityInfoWithFlags(const std::optional<AbilityInfo> &option, int32_t flags, int32_t userId, const InnerBundleInfo &innerBundleInfo, AbilityInfo &info, int32_t appIndex) const QueryAbilityInfoWithFlags() argument 1250 QueryAbilityInfoWithFlagsV9(const std::optional<AbilityInfo> &option, int32_t flags, int32_t userId, const InnerBundleInfo &innerBundleInfo, AbilityInfo &info, int32_t appIndex) const QueryAbilityInfoWithFlagsV9() argument 1311 InnerBundleInfo innerBundleInfo; ImplicitQueryCurAbilityInfos() local 1348 InnerBundleInfo innerBundleInfo; ImplicitQueryCurCloneAbilityInfos() local 1367 InnerBundleInfo innerBundleInfo; ImplicitQueryCurAbilityInfosV9() local 1409 InnerBundleInfo innerBundleInfo; ImplicitQueryCurCloneAbilityInfosV9() local 1438 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllAbilityInfos() local 1486 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllCloneAbilityInfos() local 1515 InnerBundleInfo innerBundleInfo; ImplicitQueryAllAbilityInfosV9() local 1564 InnerBundleInfo innerBundleInfo; ImplicitQueryAllCloneAbilityInfosV9() local 2394 InnerBundleInfo innerBundleInfo; GetApplicationInfo() local 2415 InnerBundleInfo innerBundleInfo; GetApplicationInfoV9() local 2447 InnerBundleInfo innerBundleInfo; GetApplicationInfoWithResponseId() local 2677 InnerBundleInfo innerBundleInfo; GetBundleInfo() local 2729 InnerBundleInfo innerBundleInfo; GetBundleInfoV9() local 2970 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetBaseSharedBundleInfos() local 3005 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetBaseSharedBundleInfo() local 3023 const InnerBundleInfo &innerBundleInfo = infoItem->second; DeleteSharedBundleInfo() local 3050 InnerBundleInfo innerBundleInfo; GetBundlePackInfo() local 3123 const InnerBundleInfo &innerBundleInfo = infoItem.second; GetBundleList() local 3157 const InnerBundleInfo &innerBundleInfo = item.second; GetBundleInfos() local 3185 CheckInnerBundleInfoWithFlags( const InnerBundleInfo &innerBundleInfo, const int32_t flags, int32_t userId, int32_t appIndex) const CheckInnerBundleInfoWithFlags() argument 3226 CheckInnerBundleInfoWithFlagsV9( const InnerBundleInfo &innerBundleInfo, const int32_t flags, int32_t userId, int32_t appIndex) const CheckInnerBundleInfoWithFlagsV9() argument 3326 const InnerBundleInfo &innerBundleInfo = item.second; GetBundleInfosV9() local 3427 InnerBundleInfo innerBundleInfo; GetBundleNameAndIndexForUid() local 3443 GetInnerBundleInfoAndIndexByUid(const int32_t uid, InnerBundleInfo &innerBundleInfo, int32_t &appIndex) const GetInnerBundleInfoAndIndexByUid() argument 3684 InnerBundleInfo innerBundleInfo; GetBundlesForUid() local 3696 InnerBundleInfo innerBundleInfo; GetNameForUid() local 3769 InnerBundleInfo innerBundleInfo; GetAbilityLabel() local 3834 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetHapModuleInfo() local 3855 InnerBundleInfo innerBundleInfo; GetLaunchWantForBundle() local 3883 InnerBundleInfo innerBundleInfo; CheckIsSystemAppByUid() local 3954 const InnerBundleInfo &innerBundleInfo = infoItem->second; DeleteBundleInfo() local 3990 const InnerBundleInfo &innerBundleInfo = item->second; GetInnerBundleInfoWithFlags() local 4073 const InnerBundleInfo &innerBundleInfo = item->second; GetInnerBundleInfoWithFlagsV9() local 4117 const InnerBundleInfo &innerBundleInfo = item->second; GetInnerBundleInfoWithBundleFlagsV9() local 4353 InnerBundleInfo innerBundleInfo = infoItem->second; IsAbilityEnabled() local 4828 InnerBundleInfo innerBundleInfo; GetShortcutInfos() local 4896 InnerBundleInfo innerBundleInfo; GetShortcutInfoV9() local 5302 InnerBundleInfo innerBundleInfo; ExplicitQueryExtensionInfo() local 5378 InnerBundleInfo innerBundleInfo; ExplicitQueryExtensionInfoV9() local 5546 InnerBundleInfo innerBundleInfo; ImplicitQueryCurExtensionInfos() local 5583 InnerBundleInfo innerBundleInfo; ImplicitQueryCurExtensionInfosV9() local 5630 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllExtensionInfos() local 5664 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllExtensionInfos() local 5685 InnerBundleInfo innerBundleInfo; ImplicitQueryAllExtensionInfosV9() local 5697 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllExtensionInfosV9() local 5756 InnerBundleInfo innerBundleInfo; GetExtensionAbilityInfoByTypeName() local 5800 InnerBundleInfo innerBundleInfo; ImplicitQueryAllExtensionInfos() local 5977 const InnerBundleInfo &innerBundleInfo = item.second; QueryExtensionAbilityInfos() local 6111 InnerBundleInfo innerBundleInfo; GetResourceManager() local 6260 const InnerBundleInfo &innerBundleInfo = item->second; GetAllDependentModuleNames() local 6305 FetchInnerBundleInfo( const std::string &bundleName, InnerBundleInfo &innerBundleInfo) FetchInnerBundleInfo() argument 6392 const InnerBundleInfo& innerBundleInfo = item->second; QueryInfoAndSkillsByElement() local 6481 InnerBundleInfo innerBundleInfo; GetMediaData() local 6530 UpdateQuickFixInnerBundleInfo(const std::string &bundleName, const InnerBundleInfo &innerBundleInfo) UpdateQuickFixInnerBundleInfo() argument 6554 UpdateInnerBundleInfo(const InnerBundleInfo &innerBundleInfo) UpdateInnerBundleInfo() argument 6590 SaveOverlayInfo(const std::string &bundleName, InnerBundleInfo &innerBundleInfo) SaveOverlayInfo() argument 6692 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetSharedBundleInfoBySelf() local 6714 const InnerBundleInfo &innerBundleInfo = item->second; GetSharedDependencies() local 6785 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetSharedBundleInfo() local 7300 InnerBundleInfo innerBundleInfo; GetGroupDir() local 7353 GenerateDataGroupInfos(InnerBundleInfo &innerBundleInfo, const std::vector<std::string> &dataGroupIdList, int32_t userId) const GenerateDataGroupInfos() argument 7425 FindAbilityInfoInBundleInfo(const InnerBundleInfo &innerBundleInfo, const std::string &moduleName, const std::string &abilityName, AbilityInfo &abilityInfo) const FindAbilityInfoInBundleInfo() argument 7561 RemoveOverlayInfoAndConnection(const InnerBundleInfo &innerBundleInfo, const std::string &bundleName) RemoveOverlayInfoAndConnection() argument 7601 auto innerBundleInfo = bundleInfos_.find(bundleName); GetOldAppIds() local 7625 auto innerBundleInfo = bundleInfos_.find(bundleName); GetModuleNameByBundleAndAbility() local 7693 const InnerBundleInfo &innerBundleInfo = infoItem->second; GetAppServiceHspBundleInfo() local 7702 ConvertServiceHspToSharedBundleInfo(const InnerBundleInfo &innerBundleInfo, std::vector<BaseSharedBundleInfo> &baseSharedBundleInfos) const ConvertServiceHspToSharedBundleInfo() argument 7734 CreateGroupDir(const InnerBundleInfo &innerBundleInfo, int32_t userId) const CreateGroupDir() argument 7881 InnerBundleInfo innerBundleInfo; CanOpenLink() local 7947 InnerBundleInfo innerBundleInfo; GetOdid() local 7966 InnerBundleInfo innerBundleInfo; GetOdidByBundleName() local 8002 const InnerBundleInfo &innerBundleInfo = item.second; GetAllBundleInfoByDeveloperId() local 8055 const InnerBundleInfo &innerBundleInfo = item.second; GetDeveloperIds() local 8095 InnerBundleInfo &innerBundleInfo = infoItem->second; SwitchUninstallState() local 8120 InnerBundleInfo &innerBundleInfo = infoItem->second; AddCloneBundle() local 8204 InnerBundleInfo &innerBundleInfo = infoItem->second; RemoveCloneBundle() local 8236 InnerBundleInfo innerBundleInfo; QueryAbilityInfoByContinueType() local 8286 InnerBundleInfo innerBundleInfo; QueryCloneAbilityInfo() local 8319 InnerBundleInfo innerBundleInfo; ExplicitQueryCloneAbilityInfo() local 8352 InnerBundleInfo innerBundleInfo; ExplicitQueryCloneAbilityInfoV9() local 8387 InnerBundleInfo innerBundleInfo; GetCloneBundleInfo() local 8491 InnerBundleInfo innerBundleInfo; ImplicitQueryCurCloneExtensionAbilityInfos() local 8523 InnerBundleInfo innerBundleInfo; ImplicitQueryCurCloneExtensionAbilityInfosV9() local 8553 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllCloneExtensionAbilityInfos() local 8579 const InnerBundleInfo &innerBundleInfo = item.second; ImplicitQueryAllCloneExtensionAbilityInfosV9() local 8622 const InnerBundleInfo &innerBundleInfo = item->second; GetSignatureInfoByBundleName() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/ |
H A D | bundle_resource_process.h | 49 static bool GetBundleResourceInfo(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 52 static bool GetLauncherAbilityResourceInfos(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 55 static bool GetAbilityResourceInfos(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 60 static ResourceInfo ConvertToBundleResourceInfo(const InnerBundleInfo &innerBundleInfo); 62 static bool InnerGetResourceInfo(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 65 static bool OnGetResourceInfo(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 68 static bool CheckIsNeedProcessAbilityResource(const InnerBundleInfo &innerBundleInfo); 70 static bool GetOverlayModuleHapPaths(const InnerBundleInfo &innerBundleInfo, const std::string &moduleName, 77 const InnerBundleInfo &innerBundleInfo, ResourceInfo &resourceInfo);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_install_checker.cpp | 70 const InnerBundleInfo &innerBundleInfo) const
in CheckInternalBundle() 74 ErrCode result = CheckHapType(innerBundleInfo);
in CheckInternalBundle() 80 if ((result = CheckBundleType(innerBundleInfo)) != ERR_OK) {
in CheckInternalBundle() 85 const std::map<std::string, InnerModuleInfo> &innerModuleInfos = innerBundleInfo.GetInnerModuleInfos();
in CheckInternalBundle() 90 std::string moduleName = innerBundleInfo.GetCurrentModulePackage();
in CheckInternalBundle() 102 if ((result = CheckTargetModule(innerBundleInfo.GetBundleName(), targetModuleName)) != ERR_OK) {
in CheckInternalBundle() 106 if ((result = CheckVersionCode(newInfos, innerBundleInfo)) != ERR_OK) {
in CheckInternalBundle() 113 ErrCode BundleOverlayInstallChecker::CheckExternalBundle(const InnerBundleInfo &innerBundleInfo, int32_t userId) const
in CheckExternalBundle() argument 117 ErrCode result = CheckBundleType(innerBundleInfo);
in CheckExternalBundle() 123 result = CheckHapType(innerBundleInfo);
in CheckExternalBundle() [all...] |
H A D | bundle_overlay_data_manager.cpp | 55 InnerBundleInfo innerBundleInfo;
in IsExistedNonOverlayHap() local 56 if (!dataMgr_->QueryOverlayInnerBundleInfo(bundleName, innerBundleInfo)) {
in IsExistedNonOverlayHap() 60 const auto &innerModuleInfos = innerBundleInfo.GetInnerModuleInfos();
in IsExistedNonOverlayHap() 62 APP_LOGW("innerModuleInfo in innerBundleInfo is empty");
in IsExistedNonOverlayHap() 250 // save target innerBundleInfo
in RemoveOverlayModuleConnection() 338 InnerBundleInfo &innerBundleInfo)
in SaveInternalOverlayModuleState() 347 if (!innerBundleInfo.GetInnerBundleUserInfo(userId, userInfo)) {
in SaveInternalOverlayModuleState() 349 innerBundleInfo.GetBundleName().c_str(), userId);
in SaveInternalOverlayModuleState() 354 if (innerBundleInfo.FindModule(overlayModuleInfo.targetModuleName)) {
in SaveInternalOverlayModuleState() 370 innerBundleInfo in SaveInternalOverlayModuleState() 337 SaveInternalOverlayModuleState(const OverlayModuleInfo &overlayModuleInfo, InnerBundleInfo &innerBundleInfo) SaveInternalOverlayModuleState() argument 375 SaveExternalOverlayModuleState(const OverlayModuleInfo &overlayModuleInfo, const InnerBundleInfo &targetInnerBundleInfo, int32_t userId, InnerBundleInfo &innerBundleInfo) SaveExternalOverlayModuleState() argument 589 GetOverlayModuleInfoForTarget(const InnerBundleInfo &innerBundleInfo, std::vector<OverlayModuleInfo> &overlayModuleInfo, int32_t userId) GetOverlayModuleInfoForTarget() argument 643 InnerBundleInfo innerBundleInfo; ObtainOverlayModuleState() local 663 InnerBundleInfo innerBundleInfo; SetOverlayEnabled() local 732 AddOverlayModuleStates(const InnerBundleInfo &innerBundleInfo, InnerBundleUserInfo &userInfo) AddOverlayModuleStates() argument [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_checker_test.cpp | 72 void AddInnerBundleInfo(InnerBundleInfo innerBundleInfo, InnerBundleInfo oldInfo);
76 void AddOverlayModuleStates(const InnerBundleInfo &innerBundleInfo, InnerBundleUserInfo &userInfo);
129 const InnerBundleInfo &innerBundleInfo, InnerBundleUserInfo &userInfo)
in AddOverlayModuleStates() 132 return overlayDataMgr.AddOverlayModuleStates(innerBundleInfo, userInfo);
in AddOverlayModuleStates() 149 void BmsBundleOverlayCheckerTest::AddInnerBundleInfo(InnerBundleInfo innerBundleInfo, InnerBundleInfo oldInfo)
in AddInnerBundleInfo() argument 151 // construct innerBundleInfo
in AddInnerBundleInfo() 156 innerBundleInfo.InsertInnerModuleInfo(TEST_MODULE_NAME, innerModuleInfo);
in AddInnerBundleInfo() 157 innerBundleInfo.SetCurrentModulePackage(TEST_MODULE_NAME);
in AddInnerBundleInfo() 161 innerBundleInfo.SetBaseApplicationInfo(applicationInfo);
in AddInnerBundleInfo() 182 // construct innerBundleInfo
in AddInnerBundleInfoNoModuleInfo() 128 AddOverlayModuleStates( const InnerBundleInfo &innerBundleInfo, InnerBundleUserInfo &userInfo) AddOverlayModuleStates() argument 183 InnerBundleInfo innerBundleInfo; AddInnerBundleInfoNoModuleInfo() local 240 InnerBundleInfo innerBundleInfo; HWTEST_F() local 266 InnerBundleInfo innerBundleInfo; HWTEST_F() local 294 InnerBundleInfo innerBundleInfo; HWTEST_F() local 321 InnerBundleInfo innerBundleInfo; HWTEST_F() local 341 InnerBundleInfo innerBundleInfo; HWTEST_F() local 369 InnerBundleInfo innerBundleInfo; HWTEST_F() local 424 InnerBundleInfo innerBundleInfo; HWTEST_F() local 463 InnerBundleInfo innerBundleInfo; HWTEST_F() local 516 InnerBundleInfo innerBundleInfo; HWTEST_F() local 570 InnerBundleInfo innerBundleInfo; HWTEST_F() local 619 InnerBundleInfo innerBundleInfo; HWTEST_F() local 644 InnerBundleInfo innerBundleInfo; HWTEST_F() local 666 InnerBundleInfo innerBundleInfo; HWTEST_F() local 689 InnerBundleInfo innerBundleInfo; HWTEST_F() local 726 InnerBundleInfo innerBundleInfo; HWTEST_F() local 835 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1106 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1142 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1168 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1192 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1234 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1288 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1312 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1457 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1624 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1641 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1737 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1770 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1803 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1983 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2000 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2019 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2040 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3046 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3069 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3094 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3124 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3194 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3235 InnerBundleInfo innerBundleInfo; HWTEST_F() local [all...] |
H A D | bms_bundle_set_overlay_enabled_test.cpp | 94 InnerBundleInfo innerBundleInfo;
in AddOverlayInnerBundleInfo() local 99 innerBundleInfo.InsertInnerModuleInfo(TEST_MODULE_NAME, innerModuleInfo);
in AddOverlayInnerBundleInfo() 100 innerBundleInfo.SetCurrentModulePackage(TEST_MODULE_NAME);
in AddOverlayInnerBundleInfo() 103 innerBundleInfo.SetBaseApplicationInfo(applicationInfo);
in AddOverlayInnerBundleInfo() 104 innerBundleInfo.SetOverlayType(OverlayType::OVERLAY_INTERNAL_BUNDLE);
in AddOverlayInnerBundleInfo() 108 innerBundleInfo.InsertInnerModuleInfo(TEST_MODULE_NAME_SECOND, secondInnerModuleInfo);
in AddOverlayInnerBundleInfo() 114 innerBundleInfo.AddInnerBundleUserInfo(userInfo);
in AddOverlayInnerBundleInfo() 120 dataMgr->AddInnerBundleInfo(TEST_BUNDLE_NAME, innerBundleInfo);
in AddOverlayInnerBundleInfo() 125 InnerBundleInfo innerBundleInfo;
in AddNonOverlayInnerBundleInfo() local 128 innerBundleInfo in AddNonOverlayInnerBundleInfo() 163 InnerBundleInfo innerBundleInfo; CheckEnabledState() local [all...] |
H A D | bms_bundle_get_overlay_module_info_test.cpp | 101 InnerBundleInfo innerBundleInfo;
in AddOverlayInnerBundleInfo() local 108 innerBundleInfo.InsertInnerModuleInfo(TEST_MODULE_NAME, innerModuleInfo);
in AddOverlayInnerBundleInfo() 109 innerBundleInfo.SetCurrentModulePackage(TEST_MODULE_NAME);
in AddOverlayInnerBundleInfo() 112 innerBundleInfo.SetBaseApplicationInfo(applicationInfo);
in AddOverlayInnerBundleInfo() 113 innerBundleInfo.SetOverlayType(overlayType);
in AddOverlayInnerBundleInfo() 118 innerBundleInfo.InsertInnerModuleInfo(TEST_MODULE_NAME_SECOND, secondInnerModuleInfo);
in AddOverlayInnerBundleInfo() 130 innerBundleInfo.InsertInnerModuleInfo(TARGET_MODULE_NAME, targetModuleInfo);
in AddOverlayInnerBundleInfo() 136 innerBundleInfo.AddInnerBundleUserInfo(userInfo);
in AddOverlayInnerBundleInfo() 142 dataMgr->AddInnerBundleInfo(TEST_BUNDLE_NAME, innerBundleInfo);
in AddOverlayInnerBundleInfo() 147 InnerBundleInfo innerBundleInfo;
in AddNonOverlayInnerBundleInfo() local 200 InnerBundleInfo innerBundleInfo; AddOverlayBundleInfo() local [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleoverlayinstallchecker_fuzzer/ |
H A D | bundleoverlayinstallchecker_fuzzer.cpp | 36 InnerBundleInfo innerBundleInfo; in DoSomethingInterestingWithMyAPI() local 37 checker.CheckInternalBundle(newInfos, innerBundleInfo); in DoSomethingInterestingWithMyAPI() 38 checker.CheckExternalBundle(innerBundleInfo, USERID); in DoSomethingInterestingWithMyAPI() 41 checker.CheckOverlayUpdate(innerBundleInfo, otherInnerBundleInfo, USERID); in DoSomethingInterestingWithMyAPI() 42 checker.CheckHapType(innerBundleInfo); in DoSomethingInterestingWithMyAPI() 43 checker.CheckBundleType(innerBundleInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_data_storage_rdb.cpp | 40 bool BundleDataStorageRdb::SaveStorageBundleInfo(const InnerBundleInfo &innerBundleInfo) in SaveStorageBundleInfo() argument 42 INNER_BUNDLE_INFOS[innerBundleInfo.GetBundleName()] = innerBundleInfo; in SaveStorageBundleInfo() 46 bool BundleDataStorageRdb::DeleteStorageBundleInfo(const InnerBundleInfo &innerBundleInfo) in DeleteStorageBundleInfo() argument 48 auto ret = INNER_BUNDLE_INFOS.erase(innerBundleInfo.GetBundleName()); in DeleteStorageBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
H A D | bundle_sandbox_manager_rdb.cpp | 99 InnerBundleInfo innerBundleInfo; in GetAllDataFromDb() local 100 if (jsonObject.is_discarded() || (innerBundleInfo.FromJson(jsonObject) != ERR_OK)) { in GetAllDataFromDb() 106 innerBundleInfos.emplace(iter->first, innerBundleInfo); in GetAllDataFromDb() 108 innerBundleInfos.at(iter->first) = innerBundleInfo; in GetAllDataFromDb() 114 bool SandboxManagerRdb::GetDataFromDb(const std::string &bundleName, InnerBundleInfo &innerBundleInfo) in GetDataFromDb() argument 129 if (jsonObject.is_discarded() || (innerBundleInfo.FromJson(jsonObject) != ERR_OK)) { in GetDataFromDb() 137 bool SandboxManagerRdb::SaveDataToDb(const std::string &bundleName, const InnerBundleInfo &innerBundleInfo) in SaveDataToDb() argument 144 return rdbDataManager_->InsertData(bundleName, innerBundleInfo.ToString()); in SaveDataToDb()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_switcher.cpp | 144 InnerBundleInfo innerBundleInfo; in InnerSwitchQuickFix() local 145 // 4. obtain innerBundleInfo and enableGuard used to enable bundle which is under disable status in InnerSwitchQuickFix() 146 if (!dataMgr_->GetInnerBundleInfoWithDisable(bundleName, innerBundleInfo)) { in InnerSwitchQuickFix() 152 AppQuickFix oldAppQuickFix = innerBundleInfo.GetAppQuickFix(); in InnerSwitchQuickFix() 159 auto errCode = CreateInnerAppqf(innerBundleInfo, enable, oldInnerAppQuickFix); in InnerSwitchQuickFix() 164 // 6. update innerBundleInfo in memory cache and db in InnerSwitchQuickFix() 167 innerBundleInfo.SetAppQuickFix(newAppQuickFix); in InnerSwitchQuickFix() 168 innerBundleInfo.SetBundleStatus(InnerBundleInfo::BundleStatus::ENABLED); in InnerSwitchQuickFix() 169 if (!dataMgr_->UpdateQuickFixInnerBundleInfo(bundleName, innerBundleInfo)) { in InnerSwitchQuickFix() 176 innerBundleInfo in InnerSwitchQuickFix() 198 CreateInnerAppqf(const InnerBundleInfo &innerBundleInfo, bool enable, InnerAppQuickFix &innerAppQuickFix) CreateInnerAppqf() argument [all...] |
H A D | quick_fix_deleter.cpp | 172 InnerBundleInfo innerBundleInfo; in RemoveDeployingInfo() local 173 auto isExisted = dataMgr_->GetInnerBundleInfoWithDisable(bundleName, innerBundleInfo); in RemoveDeployingInfo() 175 AppQuickFix appQuickFix = innerBundleInfo.GetAppQuickFix(); in RemoveDeployingInfo() 181 innerBundleInfo.SetAppQuickFix(appQuickFix); in RemoveDeployingInfo() 182 innerBundleInfo.SetBundleStatus(InnerBundleInfo::BundleStatus::ENABLED); in RemoveDeployingInfo() 183 if (!dataMgr_->UpdateQuickFixInnerBundleInfo(bundleName, innerBundleInfo)) { in RemoveDeployingInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/ |
H A D | bms_bundle_quick_fix_query_test.cpp | 147 InnerBundleInfo innerBundleInfo;
in MockInstallBundleInfo() local 148 innerBundleInfo.SetBaseBundleInfo(bundleInfo);
in MockInstallBundleInfo() 149 innerBundleInfo.SetBaseApplicationInfo(applicationInfo);
in MockInstallBundleInfo() 150 innerBundleInfo.AddInnerBundleUserInfo(userInfo);
in MockInstallBundleInfo() 156 bool addRet = dataMgr->AddInnerBundleInfo(BUNDLE_NAME, innerBundleInfo);
in MockInstallBundleInfo() 184 InnerBundleInfo innerBundleInfo;
in MockEnableQuickFix() local 187 auto result = dataMgr->GetInnerBundleInfoWithDisable(BUNDLE_NAME, innerBundleInfo);
in MockEnableQuickFix() 190 AppQuickFix appQuickFix = innerBundleInfo.GetAppQuickFix();
in MockEnableQuickFix() 192 innerBundleInfo.SetAppQuickFix(appQuickFix);
in MockEnableQuickFix() 193 innerBundleInfo in MockEnableQuickFix() 212 InnerBundleInfo innerBundleInfo; MockDisableQuickFix() local 246 InnerBundleInfo innerBundleInfo; MockDeployQuickFix() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 332 InnerBundleInfo &innerBundleInfo) const; 334 const std::string &abilityName, Param param, InnerBundleInfo &innerBundleInfo) const; 361 const std::string &abilityName, InnerBundleInfo &innerBundleInfo) const; 362 void SaveToDatabase(const std::string &bundleName, InnerBundleInfo &innerBundleInfo, 508 const std::string &moduleName, const std::string &abilityName, InnerBundleInfo &innerBundleInfo) const in AddInnerBundleInfoByTest() 517 innerBundleInfo.InsertShortcutInfos(shortcutKey, shortcut); in AddInnerBundleInfoByTest() 521 innerBundleInfo.InsertShortcutInfos(shortcutKey, shortcut); in AddInnerBundleInfoByTest() 523 innerBundleInfo.InsertFormInfos(keyName, formInfos); in AddInnerBundleInfoByTest() 525 CommonEventInfo eventInfo = MockCommonEventInfo(bundleName, innerBundleInfo.GetUid(USERID)); in AddInnerBundleInfoByTest() 526 innerBundleInfo in AddInnerBundleInfoByTest() 537 InnerBundleInfo innerBundleInfo; MockInstallBundle() local 557 InnerBundleInfo innerBundleInfo; MockInstallExtension() local 593 SaveToDatabase(const std::string &bundleName, InnerBundleInfo &innerBundleInfo, bool userDataClearable, bool isSystemApp) const SaveToDatabase() argument 643 InnerBundleInfo innerBundleInfo; MockInstallBundle() local 958 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1074 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1097 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1119 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1140 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1172 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1189 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1218 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1235 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1253 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1275 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1344 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1371 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1387 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1405 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1422 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1439 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1456 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1486 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1516 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1535 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1552 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1569 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1627 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1806 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1986 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2351 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2369 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2386 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2422 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2443 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2464 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2485 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2506 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2524 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2541 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2574 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2594 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2613 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2631 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2647 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2678 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2694 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2713 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2740 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2758 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2846 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2893 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2920 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2943 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2974 InnerBundleInfo innerBundleInfo; HWTEST_F() local 2996 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3029 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3083 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3100 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3113 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3133 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3238 InnerBundleInfo innerBundleInfo; HWTEST_F() local 3257 InnerBundleInfo innerBundleInfo; HWTEST_F() local 4831 InnerBundleInfo innerBundleInfo; HWTEST_F() local 4893 InnerBundleInfo innerBundleInfo; HWTEST_F() local 4908 InnerBundleInfo innerBundleInfo; HWTEST_F() local 5143 InnerBundleInfo innerBundleInfo; HWTEST_F() local 5163 InnerBundleInfo innerBundleInfo; HWTEST_F() local 5788 InnerBundleInfo innerBundleInfo; HWTEST_F() local 5895 InnerBundleInfo innerBundleInfo; HWTEST_F() local 5950 InnerBundleInfo innerBundleInfo; HWTEST_F() local 6020 InnerBundleInfo innerBundleInfo; HWTEST_F() local 6171 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7338 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7421 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7473 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7497 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7552 InnerBundleInfo innerBundleInfo; HWTEST_F() local 7577 InnerBundleInfo innerBundleInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/test/moduletest/common/bms/bundle_parser_test/ |
H A D | bms_bundle_parser_module_test.cpp | 38 InnerBundleInfo innerBundleInfo; in CheckBundleParserResult() local 39 ErrCode result = bundleParser.Parse(pathStream.str(), innerBundleInfo); in CheckBundleParserResult() 40 BundleInfo bundleInfo = innerBundleInfo.GetBaseBundleInfo(); in CheckBundleParserResult() 104 InnerBundleInfo innerBundleInfo; in HWTEST_F() local 105 ErrCode result = bundleParser.Parse(pathStream_.str(), innerBundleInfo); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerupdateappservice_fuzzer/ |
H A D | appservicefwkinstallerupdateappservice_fuzzer.cpp | 41 InnerBundleInfo innerBundleInfo; in DoSomethingInterestingWithMyAPI() local 42 innerBundleInfo.currentPackage_ = MODULE_NAME_TEST; in DoSomethingInterestingWithMyAPI() 43 infos.emplace(TEST_CREATE_FILE_PATH, innerBundleInfo); in DoSomethingInterestingWithMyAPI() 44 appServiceFwk.UpdateAppService(innerBundleInfo, infos, installParam); in DoSomethingInterestingWithMyAPI() 51 appServiceFwk.ProcessModuleUpdate(innerBundleInfo, oldInfo, hspPath, installParam); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_permission_mgr.h | 63 static int32_t InitHapToken(const InnerBundleInfo &innerBundleInfo, const int32_t userId, 67 Security::AccessToken::AccessTokenIDEx& tokenIdeEx, const InnerBundleInfo &innerBundleInfo); 113 const InnerBundleInfo &innerBundleInfo); 116 const InnerBundleInfo &innerBundleInfo); 120 static Security::AccessToken::HapPolicyParams CreateHapPolicyParam(const InnerBundleInfo &innerBundleInfo); 122 static Security::AccessToken::HapInfoParams CreateHapInfoParams(const InnerBundleInfo &innerBundleInfo,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_app_service_fwk_installer.cpp | 261 // clear innerBundleInfo from data manager in ClearBundleInfo() 265 InnerBundleInfo innerBundleInfo; in ClearBundleInfo() local 268 innerBundleInfo.SetBaseApplicationInfo(applicationInfo); in ClearBundleInfo() 269 // clear innerBundleInfo from data storage in ClearBundleInfo() 270 bool result = dataStorage->DeleteStorageBundleInfo(innerBundleInfo); in ClearBundleInfo() 370 InnerBundleInfo innerBundleInfo; in HWTEST_F() local 371 innerBundleInfo.baseApplicationInfo_->bundleType = BundleType::APP; in HWTEST_F() 373 infos.emplace(TEST_CREATE_FILE_PATH, innerBundleInfo); in HWTEST_F() 377 innerBundleInfo.baseApplicationInfo_->bundleType = BundleType::APP_SERVICE_FWK; in HWTEST_F() 381 innerBundleInfo in HWTEST_F() 401 InnerBundleInfo innerBundleInfo; HWTEST_F() local 488 InnerBundleInfo innerBundleInfo; HWTEST_F() local 525 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1024 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1042 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1077 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1130 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1659 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1747 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1771 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1849 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1873 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1905 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1918 InnerBundleInfo innerBundleInfo; HWTEST_F() local 1976 InnerBundleInfo innerBundleInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallermergebundleinfos_fuzzer/ |
H A D | appservicefwkinstallermergebundleinfos_fuzzer.cpp | 34 InnerBundleInfo innerBundleInfo; in DoSomethingInterestingWithMyAPI() local 35 innerBundleInfo.currentPackage_ = MODULE_NAME_TEST; in DoSomethingInterestingWithMyAPI() 36 appServicefwk.MergeBundleInfos(innerBundleInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerprocessnativelibrary_fuzzer/ |
H A D | appservicefwkinstallerprocessnativelibrary_fuzzer.cpp | 36 InnerBundleInfo innerBundleInfo; in DoSomethingInterestingWithMyAPI() local 37 innerBundleInfo.currentPackage_ = MODULE_NAME_TEST; in DoSomethingInterestingWithMyAPI() 39 VERSION_ONE_LIBRARY_ONE_PATH, BUNDLE_DATA_DIR, MODULE_NAME_TEST, BUNDLE_DATA_DIR, innerBundleInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleconnectabilitymgr_fuzzer/ |
H A D | bundleconnectabilitymgr_fuzzer.cpp | 73 InnerBundleInfo innerBundleInfo;
in DoSomethingInterestingWithMyAPI() local 75 bundleConnectAbilityMgr.GetTargetAbilityInfo(want, userId, innerBundleInfo, targetAbilityInfo);
in DoSomethingInterestingWithMyAPI() 76 bundleConnectAbilityMgr.CheckIsModuleNeedUpdate(innerBundleInfo, want, userId, callBack);
in DoSomethingInterestingWithMyAPI() 106 InnerBundleInfo innerBundleInfo;
in DoSomething2() local 108 callBack, innerBundleInfo);
in DoSomething2() 126 bundleConnectAbilityMgr.GetModuleName(innerBundleInfo, want, moduleName);
in DoSomething2() 127 bundleConnectAbilityMgr.CheckIsModuleNeedUpdateWrap(innerBundleInfo, want, userId, callBack);
in DoSomething2() 128 bundleConnectAbilityMgr.CheckSubPackageName(innerBundleInfo, want);
in DoSomething2()
|