/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/overlay/ |
H A D | overlay_bundle_info.cpp | 62 void to_json(nlohmann::json &jsonObject, const OverlayBundleInfo &overlayBundleInfo)
in to_json() argument 65 {BUNDLE_OVERLAY_BUNDLE_NAME, overlayBundleInfo.bundleName},
in to_json() 66 {BUNDLE_OVERLAY_BUNDLE_DIR, overlayBundleInfo.bundleDir},
in to_json() 67 {BUNDLE_OVERLAY_BUNDLE_STATE, overlayBundleInfo.state},
in to_json() 68 {BUNDLE_OVERLAY_BUNDLE_PRIORITY, overlayBundleInfo.priority}
in to_json() 72 void from_json(const nlohmann::json &jsonObject, OverlayBundleInfo &overlayBundleInfo)
in from_json() argument 79 overlayBundleInfo.bundleName,
in from_json() 85 overlayBundleInfo.bundleDir,
in from_json() 91 overlayBundleInfo.state,
in from_json() 99 overlayBundleInfo in from_json() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_info_test.cpp | 123 OverlayBundleInfo overlayBundleInfo;
in HWTEST_F() local 124 overlayBundleInfo.ReadFromParcel(parcel);
in HWTEST_F() 125 CheckOverlayBundleInfo(overlayBundleInfo);
in HWTEST_F() 137 OverlayBundleInfo overlayBundleInfo;
in HWTEST_F() local 138 overlayBundleInfo.bundleName = TEST_BUNDLE_OVERLAY_BUNDLE_NAME;
in HWTEST_F() 139 overlayBundleInfo.bundleDir = TEST_BUNDLE_OVERLAY_BUNDLE_DIR;
in HWTEST_F() 140 overlayBundleInfo.state = TEST_BUNDLE_OVERLAY_BUNDLE_STATE;
in HWTEST_F() 141 overlayBundleInfo.priority = TEST_BUNDLE_OVERLAY_BUNDLE_PRIORITY;
in HWTEST_F() 144 overlayBundleInfo.Marshalling(parcel);
in HWTEST_F() 166 OverlayBundleInfo overlayBundleInfo;
in HWTEST_F() local 181 OverlayBundleInfo overlayBundleInfo; HWTEST_F() local 203 OverlayBundleInfo overlayBundleInfo; HWTEST_F() local [all...] |
H A D | bms_bundle_overlay_ipc_test.cpp | 62 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId = Constants::UNSPECIFIED_USERID) override;
115 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId)
in GetOverlayBundleInfoForTarget() 118 overlayBundleInfo.emplace_back(bundleInfo);
in GetOverlayBundleInfoForTarget() 156 OverlayBundleInfo overlayBundleInfo;
in CreateOverlayBundleInfo() local 157 overlayBundleInfo.bundleName = TEST_BUNDLE_NAME;
in CreateOverlayBundleInfo() 158 overlayBundleInfo.bundleDir = TEST_BUNDLE_DIR;
in CreateOverlayBundleInfo() 159 overlayBundleInfo.state = TEST_STATE;
in CreateOverlayBundleInfo() 160 overlayBundleInfo.priority = TEST_PRIORITY;
in CreateOverlayBundleInfo() 161 return overlayBundleInfo;
in CreateOverlayBundleInfo() 177 void CheckOverlayBundleInfo(const OverlayBundleInfo &overlayBundleInfo);
114 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) GetOverlayBundleInfoForTarget() argument 231 CheckOverlayBundleInfo(const OverlayBundleInfo &overlayBundleInfo) CheckOverlayBundleInfo() argument 517 OverlayBundleInfo overlayBundleInfo = ReadOverlayInfo<OverlayBundleInfo>(reply); HWTEST_F() local [all...] |
H A D | bms_bundle_get_overlay_module_info_test.cpp | 466 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 467 auto res = hostImpl->GetOverlayBundleInfoForTarget(TEST_BUNDLE_NAME, overlayBundleInfo, USERID);
in HWTEST_F() 486 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 487 auto res = hostImpl->GetOverlayBundleInfoForTarget(TEST_TARGET_BUNDLE_NAME, overlayBundleInfo, TEST_USERID);
in HWTEST_F() 507 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 508 auto res = hostImpl->GetOverlayBundleInfoForTarget(TEST_TARGET_BUNDLE_NAME, overlayBundleInfo, USERID);
in HWTEST_F() 511 EXPECT_EQ(overlayBundleInfo.size(), OVERLAY_MODULE_INFO_SIZE);
in HWTEST_F() 512 CheckOverlayBundleInfo(overlayBundleInfo[0]);
in HWTEST_F() 531 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 532 auto res = hostImpl->GetOverlayBundleInfoForTarget(TEST_BUNDLE_NAME, overlayBundleInfo, USERI in HWTEST_F() [all...] |
H A D | bms_bundle_overlay_checker_test.cpp | 591 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 592 code = manager.GetOverlayBundleInfoForTarget(targetBundleName, overlayBundleInfo, userId);
in HWTEST_F() 594 code = manager.GetOverlayBundleInfoForTarget("target", overlayBundleInfo, userId);
in HWTEST_F() 1164 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 1165 ErrCode res = overlayDataMgr.GetOverlayBundleInfoForTarget("", overlayBundleInfo, USERID);
in HWTEST_F() 1172 TEST_BUNDLE_NAME, overlayBundleInfo, ServiceConstants::NOT_EXIST_USERID);
in HWTEST_F() 1174 EXPECT_EQ(overlayBundleInfo.size(), DEFAULT_OVERLAY_BUNDLE_INFO);
in HWTEST_F() 1177 TEST_BUNDLE_NAME, overlayBundleInfo, Constants::INVALID_USERID);
in HWTEST_F() 2106 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HWTEST_F() local 2108 "", overlayBundleInfo, USERI in HWTEST_F() 2182 std::vector<OverlayBundleInfo> overlayBundleInfo; HWTEST_F() local 2574 std::vector<OverlayBundleInfo> overlayBundleInfo; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_manager.cpp | 67 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId)
in GetOverlayBundleInfoForTarget() 75 return OverlayDataMgr::GetInstance()->GetOverlayBundleInfoForTarget(targetBundleName, overlayBundleInfo, userId);
in GetOverlayBundleInfoForTarget() 66 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) GetOverlayBundleInfoForTarget() argument
|
H A D | bundle_overlay_data_manager.cpp | 126 OverlayBundleInfo overlayBundleInfo;
in UpdateExternalOverlayInfo() local 127 overlayBundleInfo.bundleName = newInfo.GetBundleName();
in UpdateExternalOverlayInfo() 128 overlayBundleInfo.bundleDir = bundleDir;
in UpdateExternalOverlayInfo() 129 overlayBundleInfo.state = newInfo.GetOverlayState();
in UpdateExternalOverlayInfo() 130 overlayBundleInfo.priority = newInfo.GetTargetPriority();
in UpdateExternalOverlayInfo() 131 targetInnerBundleInfo.AddOverlayBundleInfo(overlayBundleInfo);
in UpdateExternalOverlayInfo() 508 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId)
in GetOverlayBundleInfoForTarget() 525 overlayBundleInfo = targetInnerBundleInfo.GetOverlayBundleInfo();
in GetOverlayBundleInfoForTarget() 526 if (overlayBundleInfo.empty()) {
in GetOverlayBundleInfoForTarget() 507 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) GetOverlayBundleInfoForTarget() argument
|
H A D | bundle_overlay_manager_host_impl.cpp | 186 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId)
in GetOverlayBundleInfoForTarget() 205 GetOverlayBundleInfoForTarget(targetBundleName, overlayBundleInfo, userId);
in GetOverlayBundleInfoForTarget() 185 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) GetOverlayBundleInfoForTarget() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/overlay/ |
H A D | bundle_overlay_manager.h | 39 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId);
|
H A D | bundle_overlay_manager_host_impl.h | 41 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId = Constants::UNSPECIFIED_USERID) override;
|
H A D | bundle_overlay_data_manager.h | 70 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId);
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/overlay/ |
H A D | overlay_manager_host.cpp | 205 std::vector<OverlayBundleInfo> overlayBundleInfo;
in HandleGetOverlayBundleInfoForTarget() local 206 auto res = GetOverlayBundleInfoForTarget(targetBundleName, overlayBundleInfo, userId);
in HandleGetOverlayBundleInfoForTarget() 213 if (!WriteParcelableVector(overlayBundleInfo, reply)) {
in HandleGetOverlayBundleInfoForTarget()
|
H A D | overlay_manager_proxy.cpp | 309 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId)
in GetOverlayBundleInfoForTarget() 335 OverlayManagerInterfaceCode::GET_OVERLAY_BUNDLE_INFO_FOR_TARGET, data, overlayBundleInfo);
in GetOverlayBundleInfoForTarget() 308 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) GetOverlayBundleInfoForTarget() argument
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/overlay/ |
H A D | overlay_manager_interface.h | 63 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId = Constants::UNSPECIFIED_USERID)
in GetOverlayBundleInfoForTarget() 62 GetOverlayBundleInfoForTarget(const std::string &targetBundleName, std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId = Constants::UNSPECIFIED_USERID) GetOverlayBundleInfoForTarget() argument
|
H A D | overlay_manager_proxy.h | 46 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId = Constants::UNSPECIFIED_USERID) override;
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | bundle_info.cpp | 344 std::unique_ptr<OverlayBundleInfo> overlayBundleInfo(parcel.ReadParcelable<OverlayBundleInfo>()); in ReadFromParcel() 345 if (!overlayBundleInfo) { in ReadFromParcel() 349 overlayBundleInfos.emplace_back(*overlayBundleInfo); in ReadFromParcel() 476 for (auto &overlayBundleInfo : overlayBundleInfos) { in Marshalling() 477 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Parcelable, parcel, &overlayBundleInfo); in Marshalling()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | json_serializer.h | 138 void to_json(nlohmann::json &jsonObject, const OverlayBundleInfo &overlayBundleInfo); 139 void from_json(const nlohmann::json &jsonObject, OverlayBundleInfo &overlayBundleInfo);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_info.h | 1693 void AddOverlayBundleInfo(const OverlayBundleInfo &overlayBundleInfo) in AddOverlayBundleInfo() argument 1696 [&overlayBundleInfo](const auto &overlayInfo) { in AddOverlayBundleInfo() 1697 return overlayInfo.bundleName == overlayBundleInfo.bundleName; in AddOverlayBundleInfo() 1702 overlayBundleInfo_.emplace_back(overlayBundleInfo); in AddOverlayBundleInfo() 2324 void from_json(const nlohmann::json &jsonObject, OverlayBundleInfo &overlayBundleInfo);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_data_mgr.cpp | 7541 OverlayBundleInfo overlayBundleInfo; in BuildExternalOverlayConnection() local 7542 overlayBundleInfo.bundleName = info.second.GetBundleName(); in BuildExternalOverlayConnection() 7543 overlayBundleInfo.bundleDir = bundleDir; in BuildExternalOverlayConnection() 7544 overlayBundleInfo.state = info.second.GetOverlayState(); in BuildExternalOverlayConnection() 7545 overlayBundleInfo.priority = info.second.GetTargetPriority(); in BuildExternalOverlayConnection() 7546 oldInfo.AddOverlayBundleInfo(overlayBundleInfo); in BuildExternalOverlayConnection()
|