/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | inner_app_quick_fix.cpp | 54 if (newInfo.deployingAppqfInfo.hqfInfos.empty()) { in AddHqfInfo() 55 LOG_E(BMS_TAG_DEFAULT, "InnerAppQuickFix::AddHqfInfo failed due to hqfInfos empty"); in AddHqfInfo() 58 for (const auto &item : newInfo.deployingAppqfInfo.hqfInfos) { in AddHqfInfo() 62 appQuickFix_.deployingAppqfInfo.hqfInfos.emplace_back(item); in AddHqfInfo() 70 std::begin(appQuickFix_.deployingAppqfInfo.hqfInfos), in RemoveHqfInfo() 71 std::end(appQuickFix_.deployingAppqfInfo.hqfInfos), in RemoveHqfInfo() 73 if (iter == appQuickFix_.deployingAppqfInfo.hqfInfos.end()) { in RemoveHqfInfo() 77 appQuickFix_.deployingAppqfInfo.hqfInfos.erase(iter); in RemoveHqfInfo()
|
H A D | quick_fix_checker.cpp | 59 if (info.second.deployingAppqfInfo.hqfInfos.empty()) { in CheckAppQuickFixInfos() 63 const std::string &moduleName = info.second.deployingAppqfInfo.hqfInfos[0].moduleName; in CheckAppQuickFixInfos() 125 for (const auto &hqfInfo : qfInfo.hqfInfos) { in CheckPatchNativeSoWithInstalledBundle() 186 if (deployedAppqfInfo.hqfInfos.empty()) { in CheckCommonWithInstalledBundle() 203 if (info.second.deployingAppqfInfo.hqfInfos.empty()) { in CheckModuleNameExist() 208 info.second.deployingAppqfInfo.hqfInfos[0].moduleName); in CheckModuleNameExist() 211 info.second.deployingAppqfInfo.hqfInfos[0].moduleName.c_str()); in CheckModuleNameExist()
|
H A D | quick_fix_deployer.cpp | 166 for (const auto &hqf : appQuickFix.deployingAppqfInfo.hqfInfos) { in ToDeployQuickFixResult() 298 for (auto &hqfInfo : appQuickFix.deployingAppqfInfo.hqfInfos) { in ProcessNativeLibraryPath() 409 if (!iter->second.deployingAppqfInfo.hqfInfos.empty()) { in ParseAndCheckAppQuickFixInfos() 410 iter->second.deployingAppqfInfo.hqfInfos[0].hqfFilePath = iter->first; in ParseAndCheckAppQuickFixInfos() 428 if (appqfInfo.hqfInfos.size() != 1) { in ResetNativeSoAttrs() 429 LOG_W(BMS_TAG_DEFAULT, "The number of hqfInfos is not one"); in ResetNativeSoAttrs() 433 bool isLibIsolated = IsLibIsolated(appQuickFix.bundleName, appqfInfo.hqfInfos[0].moduleName); in ResetNativeSoAttrs() 439 appqfInfo.hqfInfos[0].cpuAbi = appqfInfo.cpuAbi; in ResetNativeSoAttrs() 440 appqfInfo.hqfInfos[0].nativeLibraryPath = in ResetNativeSoAttrs() 441 appqfInfo.hqfInfos[ in ResetNativeSoAttrs() [all...] |
H A D | quick_fix_switcher.cpp | 153 if (!enable && oldAppQuickFix.deployedAppqfInfo.hqfInfos.empty()) { in InnerSwitchQuickFix() 186 if (appQuickFix.deployedAppqfInfo.hqfInfos.empty() && appQuickFix.deployingAppqfInfo.hqfInfos.empty()) { in InnerSwitchQuickFix() 212 if (res && !appQf.deployedAppqfInfo.hqfInfos.empty()) { in CreateInnerAppqf()
|
H A D | quick_fix_deleter.cpp | 109 if (appqfInfo.hqfInfos.empty()) { in InnerDeletePatchDir() 176 if (appQuickFix.deployingAppqfInfo.hqfInfos.empty()) { in RemoveDeployingInfo()
|
H A D | patch_profile.cpp | 200 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo); in ToPatchInfo()
|
H A D | quick_fix_boot_scanner.cpp | 114 if (qfInfo.hqfInfos.empty()) { in RestoreQuickFix()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/ |
H A D | appqf_info.cpp | 32 const char* APP_QF_INFO_HQF_INFOS = "hqfInfos"; 44 {APP_QF_INFO_HQF_INFOS, appqfInfo.hqfInfos} in to_json() 75 APP_QF_INFO_HQF_INFOS, appqfInfo.hqfInfos, in from_json() 92 CONTAINER_SECURITY_VERIFY(parcel, hqfSize, &hqfInfos); in ReadFromParcel() 99 hqfInfos.emplace_back(*hqfInfoPtr); in ReadFromParcel() 111 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, hqfInfos.size()); in Marshalling() 112 for (auto &hqfInfo : hqfInfos) { in Marshalling()
|
/foundation/ability/ability_runtime/frameworks/js/napi/quick_fix/ |
H A D | js_application_quick_fix_info.cpp | 37 CreateJsHapModuleQuickFixInfoArray(env, appQuickFixInfo.appqfInfo.hqfInfos)); in CreateJsApplicationQuickFixInfo() 41 napi_value CreateJsHapModuleQuickFixInfoArray(napi_env env, const std::vector<AppExecFwk::HqfInfo> &hqfInfos) in CreateJsHapModuleQuickFixInfoArray() argument 44 napi_create_array_with_length(env, hqfInfos.size(), &arrayValue); in CreateJsHapModuleQuickFixInfoArray() 46 for (const auto &hqfInfo : hqfInfos) { in CreateJsHapModuleQuickFixInfoArray()
|
H A D | js_application_quick_fix_info.h | 26 napi_value CreateJsHapModuleQuickFixInfoArray(napi_env env, const std::vector<AppExecFwk::HqfInfo> &hqfInfos);
|
/foundation/bundlemanager/bundle_tool/test/unittest/bm/ |
H A D | bm_command_quickfix_test.cpp | 569 std::vector<HqfInfo> hqfInfos; in HWTEST_F() local 574 hqfInfos.emplace_back(hq1); in HWTEST_F() 575 quickFixInfo.appqfInfo.hqfInfos = hqfInfos; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/quick_fix/ |
H A D | appqf_info.h | 33 std::vector<HqfInfo> hqfInfos; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/ |
H A D | bms_bundle_quick_fix_test.cpp | 267 deployedAppqfInfo.hqfInfos.push_back(HqfInfo()); in AddInnerBundleInfo() 370 appInfo.hqfInfos.push_back(hqfInfo); in CreateAppQuickFix() 432 appQuickFix.deployingAppqfInfo.hqfInfos[0].moduleName = "feature"; in HWTEST_F() 455 appQuickFix.deployingAppqfInfo.hqfInfos[0].moduleName = "feature"; in HWTEST_F() 477 appQuickFix.deployingAppqfInfo.hqfInfos[0].type = QuickFixType::HOT_RELOAD; in HWTEST_F() 478 appQuickFix.deployingAppqfInfo.hqfInfos[0].moduleName = "feature"; in HWTEST_F() 500 appQuickFix.deployingAppqfInfo.hqfInfos.clear(); in HWTEST_F() 541 appQuickFix.deployingAppqfInfo.hqfInfos[0].moduleName = "feature"; in HWTEST_F() 750 bundleInfo.applicationInfo.appQuickFix.deployedAppqfInfo.hqfInfos.emplace_back(HqfInfo()); in HWTEST_F() 777 appQuickFix.deployingAppqfInfo.hqfInfos[ in HWTEST_F() 3410 std::vector<HqfInfo> hqfInfos; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/src/ |
H A D | mock_bundle_manager.cpp | 43 std::vector<HqfInfo> hqfInfos; in ConstructHqfInfo() local 59 hqfInfos.push_back(hqfInfo1); in ConstructHqfInfo() 60 hqfInfos.push_back(hqfInfo2); in ConstructHqfInfo() 61 bundleInfo.applicationInfo.appQuickFix.deployedAppqfInfo.hqfInfos = hqfInfos; in ConstructHqfInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_deleter_test/ |
H A D | bms_bundle_quick_fix_deleter_test.cpp | 279 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in HWTEST_F() 299 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in HWTEST_F() 320 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_mgr_rdb_test/ |
H A D | bms_bundle_quick_fix_mgr_rdb_test.cpp | 155 size_t ret = appqfInof.deployedAppqfInfo.hqfInfos.size(); in CheckQuickFixInfo() 170 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo); in GenerateAppQuickFixInfo() 174 appQuickFix.deployedAppqfInfo.hqfInfos.emplace_back(hqfInfo); in GenerateAppQuickFixInfo() 195 appInfo.hqfInfos.push_back(hqfInfo); in CreateAppQuickFix() 758 std::vector<HqfInfo> hqfInfos; in HWTEST_F() local 781 deployedAppqfInfo.hqfInfos.emplace_back(hqfInfo); in HWTEST_F() 782 deployedAppqfInfo.hqfInfos.emplace_back(*result); in HWTEST_F() 809 deployedAppqfInfo.hqfInfos.emplace_back(hqfInfo); in HWTEST_F() 810 deployedAppqfInfo.hqfInfos.emplace_back(*result); in HWTEST_F() 928 app.hqfInfos in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeployer_fuzzer/ |
H A D | quickfixdeployer_fuzzer.cpp | 52 appInfo.hqfInfos.push_back(hqfInfo); in CreateAppQuickFix() 137 appQuickFix.deployingAppqfInfo.hqfInfos[0], oldSoPath, hqfSoPath, reinterpret_cast<uintptr_t>(data)); in DoSomething2()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 100 "hqfInfos":[ 110 "hqfInfos":[ 313 "hqfInfos":[ 323 "hqfInfos":[ 433 "hqfInfos":[ 443 "hqfInfos":[ 636 "hqfInfos":[], 1023 "hqfInfos": [], 1031 "hqfInfos": [], 1120 "hqfInfos" 1925 std::vector<HqfInfo> hqfInfos; HWTEST_F() local 2268 std::vector<HqfInfo> hqfInfos; HWTEST_F() local 2763 std::vector<HqfInfo> hqfInfos; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixchecker_fuzzer/ |
H A D | quickfixchecker_fuzzer.cpp | 49 appInfo.hqfInfos.push_back(hqfInfo); in CreateAppQuickFix()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | quick_fix_command.cpp | 142 for (auto hqfInfo : appqfInfo.hqfInfos) { in GetQuickFixInfoString()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_boot_scanner_test/ |
H A D | bms_bundle_quick_fix_boot_scanner_test.cpp | 154 appQuickFix.deployingAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in GenerateAppQuickFixInfo() 158 appQuickFix.deployedAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in GenerateAppQuickFixInfo() 179 size_t ret = appqfInof.deployedAppqfInfo.hqfInfos.size();
in CheckQuickFixInfo() 256 appQuickFix.deployedAppqfInfo.hqfInfos.emplace_back(hqfInfo);
in AddInnerBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_patch_parser_test/ |
H A D | bms_patch_parser_test.cpp | 161 EXPECT_EQ(appQuickFix.deployingAppqfInfo.hqfInfos[0].hapSha256, "11223344556677889900"); in HWTEST_F() 162 EXPECT_EQ(appQuickFix.deployingAppqfInfo.hqfInfos[0].moduleName, "entry"); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_manager_test/ |
H A D | bms_bundle_quick_fix_manager_test.cpp | 99 appInfo.hqfInfos.push_back(hqfInfo); in CreateAppQuickFix()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_switcher_test/ |
H A D | bms_bundle_quick_fix_switcher_test.cpp | 211 qfInfo.hqfInfos.emplace_back(hqfInfo);
in SetAppQuickFix()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | main_thread.cpp | 1538 std::vector<HqfInfo> hqfInfos = appInfo.appQuickFix.deployedAppqfInfo.hqfInfos; in HandleLaunchApplication() local 1540 if (!hqfInfos.empty()) { in HandleLaunchApplication() 1541 for (auto it = hqfInfos.begin(); it != hqfInfos.end(); it++) { in HandleLaunchApplication()
|