Home
last modified time | relevance | path

Searched refs:upgradeFlag (Results 1 - 24 of 24) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dnative_module.cpp28 napi_value upgradeFlag = nullptr; in FreeInstallExport() local
29 NAPI_CALL(env, napi_create_object(env, &upgradeFlag)); in FreeInstallExport()
30 CreateUpgradeFlagObject(env, upgradeFlag); in FreeInstallExport()
37 DECLARE_NAPI_PROPERTY("UpgradeFlag", upgradeFlag), in FreeInstallExport()
H A Dfree_install.h38 int32_t upgradeFlag = 0; member
H A Dfree_install.cpp50 const char* UPGRADE_FLAG = "upgradeFlag";
145 const std::string &moduleName, int32_t upgradeFlag) in InnerSetHapModuleUpgradeFlag()
152 auto result = iBundleMgr->SetModuleUpgradeFlag(bundleName, moduleName, upgradeFlag); in InnerSetHapModuleUpgradeFlag()
169 asyncCallbackInfo->moduleName, asyncCallbackInfo->upgradeFlag); in SetHapModuleUpgradeFlagExec()
215 if (!CommonFunc::ParseInt(env, args[ARGS_POS_TWO], asyncCallbackInfo->upgradeFlag)) { in SetHapModuleUpgradeFlag()
144 InnerSetHapModuleUpgradeFlag(const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) InnerSetHapModuleUpgradeFlag() argument
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dhap_module_info.h123 int32_t upgradeFlag = 0; member
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dinner_bundle_info.h78 int32_t upgradeFlag = 0; member
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dhap_module_info.h164 int32_t upgradeFlag = 0; member
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dinner_bundle_info.cpp53 const std::string MODULE_UPGRADE_FLAG = "upgradeFlag";
89 const std::string BUNDLE_IS_NEED_UPDATE = "upgradeFlag";
212 {MODULE_UPGRADE_FLAG, info.upgradeFlag}, in to_json()
459 info.upgradeFlag, in from_json()
917 hapInfo.upgradeFlag = it->second.upgradeFlag; in FindHapModuleInfo()
H A Dhap_module_info.cpp60 const std::string HAP_MODULE_INFO_UPGRADE_FLAG = "upgradeFlag";
183 {HAP_MODULE_INFO_UPGRADE_FLAG, hapModuleInfo.upgradeFlag}, in to_json()
467 hapModuleInfo.upgradeFlag, in from_json()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dhap_module_info.cpp61 const char* HAP_MODULE_INFO_UPGRADE_FLAG = "upgradeFlag";
566 upgradeFlag = parcel.ReadInt32(); in ReadFromParcel()
735 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, upgradeFlag); in Marshalling()
812 {HAP_MODULE_INFO_UPGRADE_FLAG, hapModuleInfo.upgradeFlag}, in to_json()
1057 hapModuleInfo.upgradeFlag, in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinner_bundle_info.cpp54 constexpr const char* MODULE_UPGRADE_FLAG = "upgradeFlag";
394 {MODULE_UPGRADE_FLAG, info.upgradeFlag}, in to_json()
661 info.upgradeFlag, in from_json()
1466 hapInfo.upgradeFlag = it->second.upgradeFlag; in FindHapModuleInfo()
3515 ErrCode InnerBundleInfo::SetModuleUpgradeFlag(std::string moduleName, int32_t upgradeFlag) in SetModuleUpgradeFlag() argument
3517 APP_LOGD("moduleName= %{public}s, upgradeFlag = %{public}d", moduleName.c_str(), upgradeFlag); in SetModuleUpgradeFlag()
3520 innerModuleInfo.second.upgradeFlag = upgradeFlag; in SetModuleUpgradeFlag()
[all...]
H A Dbundle_mgr_host_impl.cpp2004 const std::string &moduleName, int32_t upgradeFlag) in SetModuleUpgradeFlag()
2020 return dataMgr->SetModuleUpgradeFlag(bundleName, moduleName, upgradeFlag); in SetModuleUpgradeFlag()
2003 SetModuleUpgradeFlag(const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) SetModuleUpgradeFlag() argument
H A Dbundle_data_mgr.cpp4568 const std::string &moduleName, const int32_t upgradeFlag) in SetModuleUpgradeFlag()
4570 APP_LOGD("SetModuleUpgradeFlag %{public}d", upgradeFlag); in SetModuleUpgradeFlag()
4581 ErrCode setFlag = newInfo.SetModuleUpgradeFlag(moduleName, upgradeFlag); in SetModuleUpgradeFlag()
4567 SetModuleUpgradeFlag(const std::string &bundleName, const std::string &moduleName, const int32_t upgradeFlag) SetModuleUpgradeFlag() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
H A Dbms_bundle_permission_false_test.cpp611 bool upgradeFlag = false; in HWTEST_F() local
612 ErrCode ret = bundleMgrHostImpl_->SetModuleUpgradeFlag(BUNDLE_NAME, MOUDLE_NAME, upgradeFlag); in HWTEST_F()
H A Dbms_bundle_permission_system_app_test.cpp486 bool upgradeFlag = false; in HWTEST_F() local
487 ErrCode ret = bundleMgrHostImpl_->SetModuleUpgradeFlag(BUNDLE_NAME, MOUDLE_NAME, upgradeFlag); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h1186 * @brief Obtains the value of upgradeFlag based on a given bundle name and module name.
1196 * @brief Sets whether to enable upgradeFlag based on a given bundle name and module name.
1204 const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) in SetModuleUpgradeFlag()
1203 SetModuleUpgradeFlag( const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) SetModuleUpgradeFlag() argument
H A Dbundle_mgr_proxy.h859 * @brief Obtains the value of upgradeFlag based on a given bundle name through the proxy object.
862 * @return Returns true if the upgradeFlag is successfully obtained; returns false otherwise.
866 * @brief Sets whether to enable upgradeFlag based on a given bundle name through the proxy object.
869 * @param isEnable Specifies whether to enable the upgradeFlag of InnerModuleInfo.
871 * @return Returns ERR_OK if the upgradeFlag is successfully obtained; returns other ErrCode otherwise.
874 const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinner_bundle_info.h84 int32_t upgradeFlag = 0; member
1136 * @param upgradeFlag Indicates the module is need update or not.
1139 ErrCode SetModuleUpgradeFlag(std::string moduleName, int32_t upgradeFlag);
1144 * @return upgradeFlag type,NOT_UPGRADE means not need to be upgraded,SINGLE_UPGRADE means
H A Dbundle_mgr_host_impl.h836 * @brief Obtains the value of upgradeFlag based on a given bundle name and module name.
839 * @return Returns true if the upgradeFlag is successfully obtained; returns false otherwise.
843 * @brief Sets whether to enable upgradeFlag based on a given bundle name and module name.
846 * @param isEnable Specifies whether to enable the upgradeFlag of InnerModuleInfo.
851 const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) override;
H A Dbundle_data_mgr.h779 ErrCode SetModuleUpgradeFlag(const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp2588 int32_t upgradeFlag = 0; in HWTEST_F() local
2609 retCode = hostImpl->SetModuleUpgradeFlag("", "", upgradeFlag); in HWTEST_F()
3681 int32_t upgradeFlag = 1; in HWTEST_F() local
3683 TEST_BUNDLE_NAME, MODULE_NAME, upgradeFlag); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_test.cpp1257 innerModuleInfo.upgradeFlag = 1; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp2523 int32_t upgradeFlag = data.ReadInt32(); in HandleSetModuleUpgradeFlag() local
2525 ErrCode ret = SetModuleUpgradeFlag(bundleName, moduleName, upgradeFlag); in HandleSetModuleUpgradeFlag()
H A Dbundle_mgr_proxy.cpp2025 const std::string &moduleName, int32_t upgradeFlag) in SetModuleUpgradeFlag()
2052 if (!data.WriteInt32(upgradeFlag)) { in SetModuleUpgradeFlag()
2024 SetModuleUpgradeFlag(const std::string &bundleName, const std::string &moduleName, int32_t upgradeFlag) SetModuleUpgradeFlag() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp714 "upgradeFlag":0,

Completed in 80 milliseconds