Home
last modified time | relevance | path

Searched refs:minor_version (Results 1 – 25 of 40) sorted by relevance

12

/system/update_engine/payload_generator/
Dfake_filesystem.h50 void SetMinorVersion(int minor_version) { minor_version_ = minor_version; } in SetMinorVersion() argument
Dext2_filesystem_unittest.cc204 string minor_version; in TEST_F() local
205 EXPECT_TRUE(store.GetString("PAYLOAD_MINOR_VERSION", &minor_version)); in TEST_F()
206 EXPECT_EQ("1234", minor_version); in TEST_F()
Dsquashfs_filesystem_unittest.cc159 string minor_version; in TEST_F() local
160 EXPECT_TRUE(kvs.GetString("PAYLOAD_MINOR_VERSION", &minor_version)); in TEST_F()
161 EXPECT_EQ(minor_version, "1234"); in TEST_F()
Dpayload_generation_config.h165 PayloadVersion(uint64_t major_version, uint32_t minor_version);
Dpayload_generation_config.cc225 PayloadVersion::PayloadVersion(uint64_t major_version, uint32_t minor_version) { in PayloadVersion() argument
227 minor = minor_version; in PayloadVersion()
Dgenerate_delta_main.cc371 DEFINE_int32(minor_version, in Main()
678 uint32_t minor_version; in Main() local
682 utils::GetMinorVersion(store, &minor_version)) { in Main()
683 payload_config.version.minor = minor_version; in Main()
/system/update_engine/scripts/update_payload/
Dchecker.py335 self.minor_version = None
579 self.minor_version = self._CheckOptionalField(self.payload.manifest,
581 if self.minor_version in _SUPPORTED_MINOR_VERSIONS:
582 if self.payload_type not in _SUPPORTED_MINOR_VERSIONS[self.minor_version]:
585 (self.minor_version, self.payload_type))
586 elif self.minor_version is None:
590 self.minor_version)
834 if op.type == common.OpType.SOURCE_BSDIFF and self.minor_version <= 3:
880 if self.minor_version >= 3 and op.src_sha256_hash is None:
963 elif op.type == common.OpType.ZERO and self.minor_version >= 4:
[all …]
Dchecker_unittest.py796 payload_checker.minor_version = 0
798 payload_checker.minor_version = 1 if fail_bad_minor_version else 2
800 payload_checker.minor_version = 2 if fail_bad_minor_version else 3
803 payload_checker.minor_version = 3 if fail_bad_minor_version else 4
805 payload_checker.minor_version = 4 if fail_bad_minor_version else 5
841 payload_checker.minor_version <= 3):
851 payload_checker.minor_version <= 3):
985 def DoCheckManifestMinorVersionTest(self, minor_version, payload_type): argument
994 payload.manifest.minor_version = minor_version
1000 (minor_version == 0 and payload_type == checker._TYPE_FULL) or
[all …]
Dtest_utils.py227 def SetMinorVersion(self, minor_version): argument
229 _SetMsgField(self.manifest, 'minor_version', minor_version)
Dapplier.py225 self.minor_version = payload.manifest.minor_version
/system/core/libsparse/
Dsimg_dump.py81 minor_version = header[2]
93 if major_version != 1 or minor_version != 0:
95 % (me, path, major_version, minor_version))
Dsparse_format.h28 __le16 minor_version; /* (0x0) - allow images with higer minor versions */ member
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h196 uint16_t minor_version; member
386 uint16_t minor_version; member
/system/core/fs_mgr/libvbmeta/
Dsuper_vbmeta_format_c.h92 uint16_t minor_version; member
Dbuilder_test.cpp50 EXPECT_EQ(table->header.minor_version, SUPER_VBMETA_MINOR_VERSION); in TEST()
Dreader.cpp38 header->minor_version > SUPER_VBMETA_MINOR_VERSION) { in LoadAndVerifySuperVBMetaHeader()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc362 uint32_t minor_version) { in GenerateDeltaFile() argument
543 payload_config.version.minor = minor_version; in GenerateDeltaFile()
626 uint32_t minor_version) { in ApplyDeltaFile() argument
875 uint32_t minor_version) { in VerifyPayloadResult() argument
926 uint32_t minor_version) { in VerifyPayload() argument
939 VerifyPayloadResult(performer, state, expected_result, minor_version); in VerifyPayload()
947 uint32_t minor_version) { in DoSmallImageTest() argument
955 minor_version); in DoSmallImageTest()
971 minor_version); in DoSmallImageTest()
972 VerifyPayload(performer, &state, signature_test, minor_version); in DoSmallImageTest()
[all …]
Ddelta_performer_unittest.cc201 uint32_t minor_version, in GeneratePayload() argument
208 config.version.minor = minor_version; in GeneratePayload()
218 if (minor_version != kFullPayloadMinorVersion) { in GeneratePayload()
1146 uint32_t minor_version; in TEST_F() local
1149 EXPECT_TRUE(utils::GetMinorVersion(store, &minor_version)); in TEST_F()
1150 EXPECT_EQ(kMaxSupportedMinorPayloadVersion, minor_version); in TEST_F()
/system/update_engine/common/
Dutils_unittest.cc312 uint32_t minor_version; in TEST() local
315 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST()
318 EXPECT_FALSE(utils::GetMinorVersion(store, &minor_version)); in TEST()
321 EXPECT_TRUE(utils::GetMinorVersion(store, &minor_version)); in TEST()
322 EXPECT_EQ(123U, minor_version); in TEST()
/system/vold/
Dcryptfs.cpp167 __le16 minor_version; member
668 int orig_minor = crypt_ftr->minor_version; in upgrade_crypt_ftr()
670 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 0)) { in upgrade_crypt_ftr()
700 crypt_ftr->minor_version = 1; in upgrade_crypt_ftr()
704 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 1)) { in upgrade_crypt_ftr()
711 crypt_ftr->minor_version = 2; in upgrade_crypt_ftr()
714 if ((crypt_ftr->major_version == 1) && (crypt_ftr->minor_version == 2)) { in upgrade_crypt_ftr()
717 crypt_ftr->minor_version = 3; in upgrade_crypt_ftr()
720 if ((orig_major != crypt_ftr->major_version) || (orig_minor != crypt_ftr->minor_version)) { in upgrade_crypt_ftr()
791 if (crypt_ftr->minor_version > CURRENT_MINOR_VERSION) { in get_crypt_ftr_and_key()
[all …]
/system/core/fs_mgr/liblp/
Dutility.cpp295 if (metadata->header.minor_version <= LP_METADATA_MINOR_VERSION_MIN) { in SetMetadataHeaderV0()
299 << metadata->header.minor_version << " to " << LP_METADATA_MAJOR_VERSION << "." in SetMetadataHeaderV0()
301 metadata->header.minor_version = LP_METADATA_MINOR_VERSION_MIN; in SetMetadataHeaderV0()
Dreader.cpp183 header.minor_version > LP_METADATA_MINOR_VERSION_MAX) { in ReadMetadataHeader()
190 if (header.minor_version < LP_METADATA_VERSION_FOR_EXPANDED_HEADER) { in ReadMetadataHeader()
284 if (metadata->header.minor_version >= LP_METADATA_VERSION_FOR_UPDATED_ATTR) { in ParseMetadata()
Dbuilder.cpp308 header_.minor_version = LP_METADATA_MINOR_VERSION_MIN; in MetadataBuilder()
321 if (metadata.header.minor_version >= LP_METADATA_VERSION_FOR_EXPANDED_HEADER) { in Init()
932 metadata->header.minor_version = std::max(metadata->header.minor_version, kMinVersion); in Export()
968 if (header_.minor_version >= LP_METADATA_VERSION_FOR_EXPANDED_HEADER) { in RequireExpandedMetadataHeader()
971 header_.minor_version = LP_METADATA_VERSION_FOR_EXPANDED_HEADER; in RequireExpandedMetadataHeader()
Dio_test.cpp185 EXPECT_EQ(exported->header.minor_version, imported->header.minor_version); in TEST_F()
734 ASSERT_EQ(metadata->header.minor_version, 0); in TEST_F()
741 ASSERT_EQ(metadata->header.minor_version, 1); in TEST_F()
/system/update_engine/scripts/
Dpayload_info.py79 DisplayValue('Minor version', manifest.minor_version)

12