Home
last modified time | relevance | path

Searched refs:major_version (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_signer.cc95 uint64_t metadata_size, major_version; in AddSignatureBlobToPayload() local
101 &major_version, in AddSignatureBlobToPayload()
108 if (major_version == kBrilloMajorPayloadVersion) { in AddSignatureBlobToPayload()
144 major_version == kChromeOSMajorPayloadVersion, in AddSignatureBlobToPayload()
260 uint64_t major_version; in LoadPayloadMetadata() local
261 memcpy(&major_version, read_pointer, sizeof(major_version)); in LoadPayloadMetadata()
262 read_pointer += sizeof(major_version); in LoadPayloadMetadata()
263 major_version = be64toh(major_version); in LoadPayloadMetadata()
264 TEST_AND_RETURN_FALSE(major_version == kChromeOSMajorPayloadVersion || in LoadPayloadMetadata()
265 major_version == kBrilloMajorPayloadVersion); in LoadPayloadMetadata()
[all …]
Dpayload_generation_config.cc115 PayloadVersion::PayloadVersion(uint64_t major_version, uint32_t minor_version) { in PayloadVersion() argument
116 major = major_version; in PayloadVersion()
Dpayload_generation_config.h112 PayloadVersion(uint64_t major_version, uint32_t minor_version);
Dgenerate_delta_main.cc305 DEFINE_uint64(major_version, 1, in Main()
/system/core/libsparse/
Dsimg_dump.py59 major_version = header[1]
72 if major_version != 1 or minor_version != 0:
74 % (me, path, major_version, minor_version))
Dsparse_format.h23 __le16 major_version; /* (0x1) - reject images with higher major versions */ member
Dsparse_read.c307 if (sparse_header.major_version != SPARSE_HEADER_MAJOR_VER) { in sparse_file_read_sparse()
440 if (sparse_header.major_version != SPARSE_HEADER_MAJOR_VER) { in sparse_file_import()
Doutput_file.c575 .major_version = SPARSE_HEADER_MAJOR_VER, in output_file_init()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc108 uint64_t major_version, in RunManifestValidation() argument
115 performer_.major_payload_version_ = major_version; in RunManifestValidation()
131 uint64_t major_version, in GeneratePayload() argument
141 config.version.major = major_version; in GeneratePayload()
327 void SetSupportedMajorVersion(uint64_t major_version) { in SetSupportedMajorVersion() argument
328 performer_.supported_major_version_ = major_version; in SetSupportedMajorVersion()
644 uint64_t major_version = htobe64(kBrilloMajorPayloadVersion); in TEST_F() local
645 EXPECT_TRUE(performer_.Write(&major_version, 8)); in TEST_F()
817 uint64_t major_version; in TEST_F() local
819 EXPECT_TRUE(base::StringToUint64(major_version_str, &major_version)); in TEST_F()
[all …]
/system/vold/
Dcryptfs.h97 __le16 major_version; member
Dcryptfs.c687 int orig_major = crypt_ftr->major_version; in upgrade_crypt_ftr()
690 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 0)) { in upgrade_crypt_ftr()
724 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 1)) { in upgrade_crypt_ftr()
734 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 2)) { in upgrade_crypt_ftr()
740 if ((orig_major != crypt_ftr->major_version) || (orig_minor != crypt_ftr->minor_version)) { in upgrade_crypt_ftr()
795 if (crypt_ftr->major_version != CURRENT_MAJOR_VERSION) { in get_crypt_ftr_and_key()
797 crypt_ftr->major_version, CURRENT_MAJOR_VERSION); in get_crypt_ftr_and_key()
877 if ((crypt_ftr.major_version < 1) in load_persistent_data()
878 || (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in load_persistent_data()
956 if ((crypt_ftr.major_version < 1) in save_persistent_data()
[all …]
/system/extras/ext4_utils/
Dmake_ext4fs.c557 int i, major_version = 0, minor_version = 0; in extract_base_fs_allocations() local
567 fscanf(base_alloc_file_in, blk_file_header_fmt, &major_version, &minor_version); in extract_base_fs_allocations()
568 if (major_version == 0) { in extract_base_fs_allocations()
572 if (major_version != blk_file_major_ver) { in extract_base_fs_allocations()
/system/update_engine/scripts/
Dbrillo_update_payload482 GENERATOR_ARGS+=( --major_version="${FORCE_MAJOR_VERSION}" )