/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_checker.cpp | 47 if (appQuickFix.versionCode != info.second.versionCode) { in CheckAppQuickFixInfos() 48 LOG_E(BMS_TAG_DEFAULT, "error: appQuickFix versionCode not same"); in CheckAppQuickFixInfos() 51 if (appQuickFix.deployingAppqfInfo.versionCode != info.second.deployingAppqfInfo.versionCode) { in CheckAppQuickFixInfos() 179 // check versionCode in CheckCommonWithInstalledBundle() 180 if (bundleInfo.versionCode != appQuickFix.versionCode) { in CheckCommonWithInstalledBundle() 181 LOG_E(BMS_TAG_DEFAULT, "error: versionCode not same, appQuickFix: %{public}u, bundleInfo: %{public}u", in CheckCommonWithInstalledBundle() 182 appQuickFix.versionCode, bundleInf in CheckCommonWithInstalledBundle() [all...] |
H A D | quick_fix_boot_scanner.cpp | 124 int32_t quickFixVersion = qfInfo.versionCode; in RestoreQuickFix() 150 int32_t versionCode; in ProcessQuickFixDir() local 151 bool ret = StrToInt(fileStr.substr(underlinePos + 1), versionCode); in ProcessQuickFixDir() 153 LOG_E(BMS_TAG_DEFAULT, "ObtainQuickFixInfo failed due to invalid versionCode in dir"); in ProcessQuickFixDir() 157 LOG_D(BMS_TAG_DEFAULT, "versionCode of the quick fix file is %{public}d", versionCode); in ProcessQuickFixDir() 174 std::pair<int32_t, std::string> innerPair { versionCode, fileStr }; in ProcessQuickFixDir() 178 if (bundleIter->second.first < versionCode) { in ProcessQuickFixDir() 180 quickFixInfoMap_[bundleName] = { versionCode, fileStr }; in ProcessQuickFixDir()
|
H A D | patch_profile.cpp | 30 constexpr const char* BUNDLE_PATCH_PROFILE_APP_KEY_VERSION_CODE = "versionCode"; 47 uint32_t versionCode = 0; member 77 app.versionCode, in from_json() 191 appQuickFix.versionCode = patchJson.app.versionCode; in ToPatchInfo() 193 appQuickFix.deployingAppqfInfo.versionCode = patchJson.app.patchVersionCode; in ToPatchInfo()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
H A D | bundle_manager_callback_stub.cpp | 40 uint32_t versionCode = data.ReadUint32();
in OnQueryInstallationFinishedInner() local 43 int32_t result = OnQueryInstallationFinished(resultCode, missionId, versionCode);
in OnQueryInstallationFinishedInner() 48 int32_t missionId, int versionCode)
in OnQueryInstallationFinished() 63 result = AAFwk::AbilityManagerClient::GetInstance()->ContinueAbility(deviceId, missionId, versionCode);
in OnQueryInstallationFinished() 47 OnQueryInstallationFinished(int32_t resultCode, int32_t missionId, int versionCode) OnQueryInstallationFinished() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/ |
H A D | aot_sign_data_cache_mgr.cpp | 33 void AOTSignDataCacheMgr::AddPendSignData(const AOTArgs &aotArgs, const uint32_t versionCode, in AddPendSignData() argument 41 PendingData pendingData = {versionCode, pendSignData}; in AddPendSignData() 141 auto versionCode = itModule->second.versionCode; in ExecutePendSign() local 142 dataMgr->SetAOTCompileStatus(bundleName, moduleName, AOTCompileStatus::COMPILE_SUCCESS, versionCode); in ExecutePendSign()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | code_protect_bundle_info.cpp | 27 const std::string VERSION_CODE = "versionCode"; 36 versionCode = parcel.ReadUint32(); in ReadFromParcel() 57 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling() 68 {VERSION_CODE, CodeProtectBundleInfo.versionCode}, in to_json() 84 CodeProtectBundleInfo.versionCode, JsonType::NUMBER, false, parseResult, ArrayType::NOT_ARRAY); in from_json()
|
H A D | distributed_bundle_info.cpp | 30 const char* JSON_KEY_VERSION_CODE = "versionCode"; 44 versionCode = parcel.ReadUint32(); in ReadFromParcel() 72 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling() 106 jsonObject[JSON_KEY_VERSION_CODE] = versionCode; in ToString() 146 versionCode, in FromJsonString()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/ |
H A D | appqf_info.cpp | 28 const char* APP_QF_INFO_VERSION_CODE = "versionCode"; 39 {APP_QF_INFO_VERSION_CODE, appqfInfo.versionCode}, in to_json() 53 APP_QF_INFO_VERSION_CODE, appqfInfo.versionCode, in from_json() 85 versionCode = parcel.ReadUint32(); in ReadFromParcel() 106 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
|
H A D | app_quick_fix.cpp | 29 const char* APP_QUICK_FIX_VERSION_CODE = "versionCode"; 39 {APP_QUICK_FIX_VERSION_CODE, appQuickFix.versionCode}, in to_json() 55 APP_QUICK_FIX_VERSION_CODE, appQuickFix.versionCode, in from_json() 80 versionCode = parcel.ReadUint32(); in ReadFromParcel() 101 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/common/bms/bundle_parser_test/ |
H A D | bms_bundle_parser_module_test.cpp | 46 uint32_t versionCode = 1; in CheckBundleParserResult() local 47 EXPECT_EQ(bundleInfo.versionCode, versionCode); in CheckBundleParserResult()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/bundle_tool_callback/ |
H A D | bundle_tool_callback_stub.cpp | 36 uint32_t versionCode = data.ReadUint32(); in OnRemoteRequest() local 38 APP_LOGI("BundleToolCallbackStub: resultCode:%{public}d, versionCode:%{public}d, missionId:%{public}d", in OnRemoteRequest() 39 resultCode, versionCode, missionId); in OnRemoteRequest()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/ |
H A D | shared_module_info.cpp | 28 const char* SHARED_MODULE_INFO_VERSION_CODE = "versionCode"; 42 versionCode = parcel.ReadUint32(); in ReadFromParcel() 62 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling() 92 {SHARED_MODULE_INFO_VERSION_CODE, sharedModuleInfo.versionCode}, in to_json() 113 sharedModuleInfo.versionCode, JsonType::NUMBER, false, parseResult, in from_json()
|
H A D | base_shared_bundle_info.cpp | 30 versionCode = parcel.ReadUint32(); in ReadFromParcel() 47 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Uint32, parcel, versionCode); in Marshalling()
|
/foundation/ability/dmsfwk/test/fuzztest/bundlemanagercallbackstub_fuzzer/ |
H A D | bundlemanagercallbackstub_fuzzer.cpp | 44 uint32_t versionCode = *(reinterpret_cast<const uint32_t*>(data)); in OnQueryInstallationFinishedInnerFuzzTest() local 47 dataParcel.WriteUint32(versionCode); in OnQueryInstallationFinishedInnerFuzzTest()
|
/foundation/ability/ability_runtime/test/fuzztest/continueability_fuzzer/ |
H A D | continueability_fuzzer.cpp | 46 uint32_t versionCode = *data; in DoSomethingInterestingWithMyAPI() local 47 if (abilitymgr->ContinueAbility(deviceId, missionId, versionCode)) { in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/aot/ |
H A D | aot_sign_data_cache_mgr.h | 38 void AddPendSignData(const AOTArgs &aotArgs, const uint32_t versionCode, 57 uint32_t versionCode {0};
|
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | boundle_mgr_wrap_to_c.cpp | 56 bundleInfoRes->versionCode = static_cast<int32_t> (bundleInfo.versionCode); in GetBundleInfoFromUid()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_hsp_test/ |
H A D | bms_bundle_shared_library_uninstall_test.cpp | 248 uninstallParam.versionCode = 10001;
in HWTEST_F() 252 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
in HWTEST_F() 279 uninstallParam.versionCode = 10002;
in HWTEST_F() 286 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
in HWTEST_F() 313 uninstallParam.versionCode = 10001;
in HWTEST_F() 320 uninstallParam.versionCode = Constants::ALL_VERSIONCODE;
in HWTEST_F()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | svc_restore_deps_manager_test.cpp | 92 .versionCode = 1000000, in HWTEST_F() 100 .versionCode = 1000000, in HWTEST_F() 129 .versionCode = 1000000, in HWTEST_F() 277 .versionCode = 1000000, in HWTEST_F() 409 .versionCode = 1000000, in HWTEST_F() 417 .versionCode = 1000000, in HWTEST_F() 425 .versionCode = 1000000, in HWTEST_F() 453 .versionCode = 1000000, in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_manager_service.cpp | 295 int32_t versionCode = -1; in InstallThirdBundle() local 296 int8_t ret = BundleParser::ParseBundleParam(path, &bundleName, versionCode); in InstallThirdBundle() 384 int32_t versionCode = -1; in ScanAppDir() local 403 ReloadEntireBundleInfo(appPath.c_str(), ent->d_name, versionCode, scanFlag); in ScanAppDir() 408 bool res = CheckSystemBundleIsValid(appPath.c_str(), &bundleName, versionCode); in ScanAppDir() 419 ReloadEntireBundleInfo(appPath.c_str(), bundleName, versionCode, scanFlag); in ScanAppDir() 425 bool ManagerService::CheckSystemBundleIsValid(const char *appPath, char **bundleName, int32_t &versionCode) in CheckSystemBundleIsValid() argument 435 if (BundleParser::ParseBundleParam(appPath, bundleName, versionCode) != 0) { in CheckSystemBundleIsValid() 445 void ManagerService::ReloadEntireBundleInfo(const char *appPath, const char *bundleName, int32_t versionCode, in ReloadEntireBundleInfo() argument 471 if (versionCode > oldVersionCod in ReloadEntireBundleInfo() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | app_module.cpp | 29 const char * const AppModule::KEY_VERSION_CODE = "versionCode"; 60 cJSON *versionCode = cJSON_GetObjectItem(manifest, KEY_VERSION_CODE); in GetInfo() local 69 if (versionCode != nullptr && versionCode->type == cJSON_Number) { in GetInfo() 70 JSI::SetNumberProperty(result, KEY_VERSION_CODE, versionCode->valuedouble); in GetInfo()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | event_report.cpp | 370 const auto& versionCode = data.baseInfo.versionCode; in ReportEventComplete() local 388 EVENT_KEY_VERSION_CODE, versionCode, in ReportEventComplete() 446 EVENT_KEY_VERSION_CODE, data.baseInfo.versionCode, in ReportEventJankFrame() 477 const auto& versionCode = info.baseInfo.versionCode; in ReportJankFrameApp() local 487 EVENT_KEY_VERSION_CODE, versionCode, in ReportJankFrameApp() 504 const auto& versionCode = info.baseInfo.versionCode; in ReportJankFrameFiltered() local 515 EVENT_KEY_VERSION_CODE, versionCode, in ReportJankFrameFiltered() 530 const auto& versionCode = info.baseInfo.versionCode; ReportJankFrameUnFiltered() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/bms_interfaces/ |
H A D | bundle_info.h | 39 int32_t versionCode; member
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | ace_application_info.h | 47 uint32_t versionCode = 0; member 115 void SetAppVersionCode(uint32_t versionCode) in SetAppVersionCode() argument 117 versionCode_ = versionCode; in SetAppVersionCode()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_common.h | 198 const char JSON_SUB_KEY_VERSIONCODE[] = "versionCode"; 208 int32_t versionCode; member 210 uint32_t versionCode; 268 int32_t versionCode; member
|