Home
last modified time | relevance | path

Searched refs:major_version (Results 1 – 15 of 15) 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.cc119 PayloadVersion::PayloadVersion(uint64_t major_version, uint32_t minor_version) { in PayloadVersion() argument
120 major = major_version; in PayloadVersion()
Dpayload_generation_config.h120 PayloadVersion(uint64_t major_version, uint32_t minor_version);
Dgenerate_delta_main.cc319 DEFINE_uint64(major_version, 1, in Main()
/system/core/libsparse/
Dsimg_dump.py80 major_version = header[1]
93 if major_version != 1 or minor_version != 0:
95 % (me, path, major_version, minor_version))
Dsparse_format.h27 __le16 major_version; /* (0x1) - reject images with higher major versions */ member
Dsparse_read.cpp282 if (sparse_header.major_version != SPARSE_HEADER_MAJOR_VER) { in sparse_file_read_sparse()
415 if (sparse_header.major_version != SPARSE_HEADER_MAJOR_VER) { in sparse_file_import()
Doutput_file.c582 .major_version = SPARSE_HEADER_MAJOR_VER, in output_file_init()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc103 uint64_t major_version, in RunManifestValidation() argument
110 performer_.major_payload_version_ = major_version; in RunManifestValidation()
126 uint64_t major_version, in GeneratePayload() argument
136 config.version.major = major_version; in GeneratePayload()
323 void SetSupportedMajorVersion(uint64_t major_version) { in SetSupportedMajorVersion() argument
324 performer_.supported_major_version_ = major_version; in SetSupportedMajorVersion()
659 uint64_t major_version = htobe64(kBrilloMajorPayloadVersion); in TEST_F() local
660 EXPECT_TRUE(performer_.Write(&major_version, 8)); in TEST_F()
829 uint64_t major_version; in TEST_F() local
831 EXPECT_TRUE(base::StringToUint64(major_version_str, &major_version)); in TEST_F()
[all …]
/system/vold/
Dcryptfs.cpp442 int orig_major = crypt_ftr->major_version; in upgrade_crypt_ftr()
445 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 0)) { in upgrade_crypt_ftr()
479 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 1)) { in upgrade_crypt_ftr()
489 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 2)) { in upgrade_crypt_ftr()
495 if ((orig_major != crypt_ftr->major_version) || (orig_minor != crypt_ftr->minor_version)) { in upgrade_crypt_ftr()
550 if (crypt_ftr->major_version != CURRENT_MAJOR_VERSION) { in get_crypt_ftr_and_key()
552 crypt_ftr->major_version, CURRENT_MAJOR_VERSION); in get_crypt_ftr_and_key()
632 if ((crypt_ftr.major_version < 1) in load_persistent_data()
633 || (crypt_ftr.major_version == 1 && crypt_ftr.minor_version < 1)) { in load_persistent_data()
711 if ((crypt_ftr.major_version < 1) in save_persistent_data()
[all …]
Dcryptfs.h97 __le16 major_version; member
/system/extras/ext4_utils/
Dmake_ext4fs.c590 int major_version = 0, minor_version = 0; in extract_base_fs_allocations() local
601 fscanf(base_alloc_file_in, blk_file_header_fmt, &major_version, &minor_version); in extract_base_fs_allocations()
602 if (major_version == 0) { in extract_base_fs_allocations()
606 if (major_version != blk_file_major_ver) { in extract_base_fs_allocations()
/system/update_engine/scripts/
Dbrillo_update_payload548 GENERATOR_ARGS+=( --major_version="${FORCE_MAJOR_VERSION}" )
/system/nfc/src/nfc/tags/
Drw_t4t.c229 uint16_t major_version, minor_version; in rw_t4t_update_version_details() local
238 major_version = *(p + 3); in rw_t4t_update_version_details()
241 if ((T4T_DESEV0_MAJOR_VERSION == major_version) && in rw_t4t_update_version_details()
244 } else if (major_version >= T4T_DESEV1_MAJOR_VERSION) { in rw_t4t_update_version_details()
/system/nfc/src/nfc/include/
Dnfc_api.h332 uint8_t major_version; /* Major Version */ member