/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aot/ |
H A D | aot_handler.h | 39 ErrCode HandleCompile(const std::string &bundleName, const std::string &compileMode, bool isAllBundle, 55 const std::string &compileMode, bool isEnableBaselinePgo = false) const; 56 void HandleInstallWithSingleHap(const InnerBundleInfo &info, const std::string &compileMode) const; 59 const std::string &compileMode, bool isEnableBaselinePgo = false) const; 60 EventInfo HandleCompileWithBundle(const std::string &bundleName, const std::string &compileMode, 62 ErrCode HandleCompileBundles(const std::vector<std::string> &bundleNames, const std::string &compileMode, 64 ErrCode HandleCompileModules(const std::vector<std::string> &moduleNames, const std::string &compileMode, 69 const InnerBundleInfo &info, const std::string &moduleName, const std::string &compileMode) const;
|
H A D | aot_args.h | 40 std::string compileMode; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_handler.cpp | 142 const std::string &compileMode, bool isEnableBaselinePgo) const in BuildAOTArgs() 147 if (compileMode == ServiceConstants::COMPILE_PARTIAL) { in BuildAOTArgs() 154 aotArgs.compileMode = compileMode; in BuildAOTArgs() 239 void AOTHandler::HandleInstallWithSingleHap(const InnerBundleInfo &info, const std::string &compileMode) const in HandleInstallWithSingleHap() 241 std::optional<AOTArgs> aotArgs = BuildAOTArgs(info, info.GetCurrentModulePackage(), compileMode, true); in HandleInstallWithSingleHap() 257 std::string compileMode = system::GetParameter(INSTALL_COMPILE_MODE, COMPILE_NONE); in HandleInstall() 258 APP_LOGD("%{public}s = %{public}s", INSTALL_COMPILE_MODE, compileMode.c_str()); in HandleInstall() 259 if (compileMode == COMPILE_NONE) { in HandleInstall() 263 std::for_each(infos.cbegin(), infos.cend(), [this, compileMode](cons in HandleInstall() 141 BuildAOTArgs(const InnerBundleInfo &info, const std::string &moduleName, const std::string &compileMode, bool isEnableBaselinePgo) const BuildAOTArgs() argument 557 std::string compileMode = system::GetParameter(OTA_COMPILE_MODE, COMPILE_NONE); OTACompileInternal() local 622 HandleCompileWithBundle(const std::string &bundleName, const std::string &compileMode, std::shared_ptr<BundleDataMgr> dataMgr) const HandleCompileWithBundle() argument 721 HandleCompileWithSingleHap(const InnerBundleInfo &info, const std::string &moduleName, const std::string &compileMode, bool isEnableBaselinePgo) const HandleCompileWithSingleHap() argument 757 std::string compileMode = system::GetParameter(IDLE_COMPILE_MODE, ServiceConstants::COMPILE_PARTIAL); HandleIdle() local 793 HandleCompile(const std::string &bundleName, const std::string &compileMode, bool isAllBundle, std::vector<std::string> &compileResults) const HandleCompile() argument 841 HandleCompileBundles(const std::vector<std::string> &bundleNames, const std::string &compileMode, std::shared_ptr<BundleDataMgr> &dataMgr, std::vector<std::string> &compileResults) const HandleCompileBundles() argument 877 HandleCompileModules(const std::vector<std::string> &moduleNames, const std::string &compileMode, InnerBundleInfo &info, std::string &compileResult) const HandleCompileModules() argument [all...] |
H A D | aot_args.cpp | 85 compileMode = Str16ToStr8(compileModeVal); in ReadFromParcel() 132 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(compileMode)); in Marshalling() 169 + ", compileMode = " + compileMode in ToString()
|
H A D | aot_executor.cpp | 86 if (aotArgs.compileMode.empty() || aotArgs.hapPath.empty() || aotArgs.outputPath.empty()) { in CheckArgs() 90 if (aotArgs.compileMode == ServiceConstants::COMPILE_PARTIAL && aotArgs.arkProfilePath.empty()) { in CheckArgs() 170 argsMap.emplace("target-compiler-mode", aotArgs.compileMode); in MapArgs()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_render_connection.cpp | 52 int32_t compileMode = 0; in OnAbilityConnectDone() local 54 formRecord_.providerUserId, compileMode)) { in OnAbilityConnectDone() 73 want.SetParam(Constants::FORM_COMPILE_MODE_KEY, compileMode); in OnAbilityConnectDone()
|
H A D | form_bms_helper.cpp | 310 int32_t userId, int32_t &compileMode) in GetCompileMode() 329 compileMode = static_cast<int32_t>(hapModuleInfo.compileMode); in GetCompileMode() 309 GetCompileMode(const std::string &bundleName, const std::string &moduleName, int32_t userId, int32_t &compileMode) GetCompileMode() argument
|
/foundation/ability/form_fwk/test/unittest/fms_form_render_connection_test/ |
H A D | mock_form_bms_helper.cpp | 36 int32_t userId, int32_t &compileMode)
in GetCompileMode() 35 GetCompileMode(const std::string &bundleName, const std::string &moduleName, int32_t userId, int32_t &compileMode) GetCompileMode() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_aot_test/ |
H A D | bms_data_aot_test.cpp | 194 aotArgs.compileMode = ServiceConstants::COMPILE_PARTIAL; in HWTEST_F() 242 aotArgs.compileMode = ServiceConstants::COMPILE_PARTIAL; in HWTEST_F() 260 aotArgs.compileMode = COMPILE_FULL; in HWTEST_F() 279 aotArgs.compileMode = COMPILE_FULL; in HWTEST_F() 299 aotArgs.compileMode = COMPILE_FULL; in HWTEST_F() 712 aotArgs.compileMode = "compileMode"; in HWTEST_F() 729 EXPECT_EQ(aotArgsPtr->compileMode, aotArgs.compileMode); in HWTEST_F() 751 std::string compileMode; in HWTEST_F() local 890 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local 994 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local 1014 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local 1045 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local 1076 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local 1420 std::string compileMode; HWTEST_F() local 1435 string compileMode = ServiceConstants::COMPILE_PARTIAL; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/child_process_manager_test/ |
H A D | mock_bundle_manager.cpp | 35 moduleInfo.compileMode = AppExecFwk::CompileMode::ES_MODULE; in GetBundleInfoForSelf()
|
/foundation/ability/ability_runtime/utils/server/startup/src/ |
H A D | startup_util.cpp | 95 abilityInfo.compileMode = extensionInfo.compileMode; in InitAbilityInfoFromExtension()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/runner_runtime/ |
H A D | js_test_runner.cpp | 97 bundleInfo.hapModuleInfos.back().compileMode == AppExecFwk::CompileMode::ES_MODULE); in JsTestRunner() 104 bundleInfo.hapModuleInfos.back().compileMode == AppExecFwk::CompileMode::ES_MODULE); in JsTestRunner()
|
/foundation/ability/ability_runtime/test/unittest/appkit/child_main_thread_test/ |
H A D | child_main_thread_test.cpp | 139 moduleInfo.compileMode = CompileMode::ES_MODULE; in HWTEST_F() 173 moduleInfo.compileMode = CompileMode::ES_MODULE; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | event_report.h | 140 std::string compileMode; member 183 compileMode.clear(); in Reset()
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | extension_ability_info.h | 109 CompileMode compileMode = CompileMode::JS_BUNDLE; member
|
H A D | hap_module_info.h | 124 CompileMode compileMode = CompileMode::JS_BUNDLE; member
|
H A D | options.h | 93 std::string compileMode; member
|
H A D | ability_info.h | 165 CompileMode compileMode = CompileMode::JS_BUNDLE; member
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | extension_ability_info.cpp | 53 const char* COMPILE_MODE = "compileMode"; 229 compileMode = static_cast<CompileMode>(parcel.ReadInt32()); in ReadFromParcel() 325 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, static_cast<int32_t>(compileMode)); in Marshalling() 376 {COMPILE_MODE, extensionInfo.compileMode}, in to_json() 547 extensionInfo.compileMode, in from_json()
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_bms_helper.h | 164 int32_t userId, int32_t &compileMode);
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | extension_ability_info.cpp | 50 const std::string COMPILE_MODE = "compileMode"; 79 {COMPILE_MODE, extensionInfo.compileMode}, in to_json() 268 extensionInfo.compileMode, in from_json()
|
H A D | module_profile.cpp | 271 std::string compileMode; member 1294 module.compileMode, in from_json() 1526 inline CompileMode ConvertCompileMode(const std::string& compileMode) in ConvertCompileMode() argument 1528 if (compileMode == Profile::COMPILE_MODE_ES_MODULE) { in ConvertCompileMode() 1599 abilityInfo.compileMode = ConvertCompileMode(moduleJson.module.compileMode); in ToAbilityInfo() 1653 extensionInfo.compileMode = ConvertCompileMode(moduleJson.module.compileMode); in ToExtensionInfo() 1696 innerModuleInfo.compileMode = moduleJson.module.compileMode; in ToInnerModuleInfo() [all...] |
H A D | inner_bundle_info.cpp | 96 const std::string MODULE_COMPILE_MODE = "compileMode"; 122 inline CompileMode ConvertCompileMode(const std::string &compileMode) in ConvertCompileMode() argument 124 if (compileMode == Profile::COMPILE_MODE_ES_MODULE) { in ConvertCompileMode() 234 {MODULE_COMPILE_MODE, info.compileMode}, in to_json() 571 info.compileMode, in from_json() 969 hapInfo.compileMode = ConvertCompileMode(it->second.compileMode); in FindHapModuleInfo()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | extension_ability_info.h | 171 CompileMode compileMode = CompileMode::JS_BUNDLE; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | module_profile.cpp | 295 std::string compileMode; member 1393 module.compileMode, in from_json() 2034 inline CompileMode ConvertCompileMode(const std::string& compileMode) in ConvertCompileMode() argument 2036 if (compileMode == Profile::COMPILE_MODE_ES_MODULE) { in ConvertCompileMode() 2110 abilityInfo.compileMode = ConvertCompileMode(moduleJson.module.compileMode); in ToAbilityInfo() 2192 extensionInfo.compileMode = ConvertCompileMode(moduleJson.module.compileMode); in ToExtensionInfo() 2277 innerModuleInfo.compileMode = moduleJson.module.compileMode; in ToInnerModuleInfo() [all...] |