/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | native_module.cpp | 28 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 D | free_install.h | 38 int32_t upgradeFlag = 0; member
|
H A D | free_install.cpp | 50 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 D | hap_module_info.h | 123 int32_t upgradeFlag = 0; member
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/ |
H A D | inner_bundle_info.h | 78 int32_t upgradeFlag = 0; member
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | hap_module_info.h | 164 int32_t upgradeFlag = 0; member
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | inner_bundle_info.cpp | 53 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 D | hap_module_info.cpp | 60 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 D | hap_module_info.cpp | 61 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 D | inner_bundle_info.cpp | 54 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 D | bundle_mgr_host_impl.cpp | 2004 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 D | bundle_data_mgr.cpp | 4568 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 D | bms_bundle_permission_false_test.cpp | 611 bool upgradeFlag = false; in HWTEST_F() local 612 ErrCode ret = bundleMgrHostImpl_->SetModuleUpgradeFlag(BUNDLE_NAME, MOUDLE_NAME, upgradeFlag); in HWTEST_F()
|
H A D | bms_bundle_permission_system_app_test.cpp | 486 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 D | bundle_mgr_interface.h | 1186 * @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 D | bundle_mgr_proxy.h | 859 * @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 D | inner_bundle_info.h | 84 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 D | bundle_mgr_host_impl.h | 836 * @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 D | bundle_data_mgr.h | 779 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 D | bms_bundle_manager_test.cpp | 2588 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 D | bms_bundle_free_install_test.cpp | 1257 innerModuleInfo.upgradeFlag = 1; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_host.cpp | 2523 int32_t upgradeFlag = data.ReadInt32(); in HandleSetModuleUpgradeFlag() local 2525 ErrCode ret = SetModuleUpgradeFlag(bundleName, moduleName, upgradeFlag); in HandleSetModuleUpgradeFlag()
|
H A D | bundle_mgr_proxy.cpp | 2025 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 D | bms_bundle_data_storage_database_test.cpp | 714 "upgradeFlag":0,
|