/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | module_info.cpp | 28 const std::string MODULE_INFO_PRELOADS = "preloads"; 37 CONTAINER_SECURITY_VERIFY(parcel, preloadsSize, &preloads); in ReadFromParcel() 39 preloads.emplace_back(Str16ToStr8(parcel.ReadString16())); in ReadFromParcel() 59 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, preloads.size()); in Marshalling() 60 for (auto &preload : preloads) { in Marshalling() 71 {MODULE_INFO_PRELOADS, moduleInfo.preloads} in to_json() 94 moduleInfo.preloads, in from_json()
|
H A D | hap_module_info.cpp | 70 const char* HAP_MODULE_INFO_PRELOADS = "preloads"; 593 CONTAINER_SECURITY_VERIFY(parcel, preloadsSize, &preloads); in ReadFromParcel() 600 preloads.emplace_back(*preload); in ReadFromParcel() 747 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, preloads.size()); in Marshalling() 748 for (auto &item : preloads) { in Marshalling() 824 {HAP_MODULE_INFO_PRELOADS, hapModuleInfo.preloads}, in to_json() 1145 hapModuleInfo.preloads, in from_json()
|
H A D | application_info.cpp | 803 for (const std::string &name : it->preloads) { in CheckNeedPreload() 808 APP_LOGD("the module have no preloads"); in CheckNeedPreload()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | module_info.cpp | 27 const std::string MODULE_INFO_PRELOADS = "preloads"; 34 {MODULE_INFO_PRELOADS, moduleInfo.preloads} in to_json() 61 moduleInfo.preloads, in from_json()
|
H A D | inner_bundle_info.cpp | 101 const std::string MODULE_PRELOADS = "preloads"; 238 {MODULE_PRELOADS, info.preloads}, in to_json() 627 info.preloads, in from_json() 971 for (const auto &item : it->second.preloads) { in FindHapModuleInfo() 973 hapInfo.preloads.emplace_back(preload); in FindHapModuleInfo() 1049 moduleInfo.preloads = info.second.preloads; in GetApplicationInfo()
|
H A D | hap_module_info.cpp | 68 const std::string HAP_MODULE_INFO_PRELOADS = "preloads"; 194 {HAP_MODULE_INFO_PRELOADS, hapModuleInfo.preloads}, in to_json() 555 hapModuleInfo.preloads, in from_json()
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | module_info.h | 28 std::vector<std::string> preloads; member
|
H A D | hap_module_info.h | 127 std::vector<PreloadItem> preloads; member
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | module_info.h | 38 std::vector<std::string> preloads; member
|
H A D | hap_module_info.h | 172 std::vector<PreloadItem> preloads; member
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 390 CArrRetPreloadItem ConvertPreloadItem(std::vector<AppExecFwk::PreloadItem> preloads) in ConvertPreloadItem() argument 393 pLoad.size = static_cast<int64_t>(preloads.size()); in ConvertPreloadItem() 399 retValue[i].moduleName = MallocCString(preloads[i].moduleName); in ConvertPreloadItem() 510 hapInfo.preloads = ConvertPreloadItem(hapModuleInfo.preloads); in ConvertHapModuleInfo()
|
H A D | bundle_manager_utils.h | 253 CArrRetPreloadItem preloads; member
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/ |
H A D | inner_bundle_info.h | 87 std::vector<std::string> preloads; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/ |
H A D | bms_bundle_free_install_test.cpp | 169 std::vector<std::string> preloads; in UpdateInnerBundleInfo() local 172 preloads.emplace_back(MODULE_NAME_TEST_ONE); in UpdateInnerBundleInfo() 175 preloads.emplace_back(MODULE_NAME_TEST_ONE); in UpdateInnerBundleInfo() 176 preloads.emplace_back(MODULE_NAME_TEST_TWO); in UpdateInnerBundleInfo() 181 auto ret = innerBundleInfo.SetInnerModuleAtomicPreload(MODULE_NAME_TEST, preloads); in UpdateInnerBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_info.h | 132 std::vector<std::string> preloads; member 1870 bool SetInnerModuleAtomicPreload(const std::string &moduleName, const std::vector<std::string> &preloads) in SetInnerModuleAtomicPreload() argument 1876 innerModuleInfos_.at(moduleName).preloads = preloads; in SetInnerModuleAtomicPreload()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | inner_bundle_info.cpp | 110 constexpr const char* MODULE_PRELOADS = "preloads"; 425 {MODULE_PRELOADS, info.preloads}, in to_json() 845 info.preloads, in from_json() 1522 for (const auto &item : it->second.preloads) { in FindHapModuleInfo() 1524 hapInfo.preloads.emplace_back(preload); in FindHapModuleInfo() 2183 moduleInfo.preloads = info.second.preloads; in GetApplicationInfo() 2241 moduleInfo.preloads = info.second.preloads; in GetApplicationInfoV9()
|
H A D | module_profile.cpp | 1704 std::vector<std::string> preloads; in ParserAtomicModuleConfig() local 1715 APP_LOGE("preloads config in module.json is oversize"); in ParserAtomicModuleConfig() 1721 preloads.emplace_back(preloadName); in ParserAtomicModuleConfig() 1723 APP_LOGE("preloads must have moduleName"); in ParserAtomicModuleConfig() 1729 innerBundleInfo.SetInnerModuleAtomicPreload(moduleName, preloads); in ParserAtomicModuleConfig()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | common_func.cpp | 763 size = hapModuleInfo.preloads.size(); in ConvertHapModuleInfo() 768 ConvertPreloadItem(env, hapModuleInfo.preloads[index], nPreload); in ConvertHapModuleInfo() 771 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, objHapModuleInfo, "preloads", nPreloads)); in ConvertHapModuleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 1543 "preloads": [] 3171 info2.preloads.emplace_back(MODULE_NAME); in HWTEST_F() 3178 info2.preloads.emplace_back(SETTINGS); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/ |
H A D | bundle_connect_ability_mgr.cpp | 215 auto preloadItems = moduleInfoMap[moduleName].preloads; in GetPreloadList()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.cpp | 1746 size = hapModuleInfo.preloads.size(); in ConvertHapModuleInfo() 1751 ConvertPreloadItem(env, hapModuleInfo.preloads[index], nPreload); in ConvertHapModuleInfo() 1754 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, objHapModuleInfo, "preloads", nPreloads)); in ConvertHapModuleInfo()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 7989 moduleInfo1.preloads.push_back(name1); in HWTEST_F() 8015 moduleInfo1.preloads.push_back(name1); in HWTEST_F() 8016 moduleInfo1.preloads.push_back(name2); in HWTEST_F()
|