Home
last modified time | relevance | path

Searched refs:map (Results 1 – 17 of 17) sorted by relevance

/bootable/recovery/tests/unit/
Dzip_test.cpp32 MemMapping map; in TEST() local
33 ASSERT_TRUE(map.MapFile(zip_path)); in TEST()
37 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle)); in TEST()
Dparse_install_logs_test.cpp65 std::map<std::string, int64_t> expected_result = { in TEST()
Dscreen_ui_test.cpp292 static const std::map<KeyCode, int> kKeyMapping{
/bootable/recovery/updater/
Dupdater.cpp91 MemMapping map; in main() local
92 if (!map.MapFile(package_filename)) { in main()
97 int open_err = OpenArchiveFromMemory(map.addr, map.length, argv[3], &za); in main()
156 updater_info.package_zip_addr = map.addr; in main()
157 updater_info.package_zip_len = map.length; in main()
Ddynamic_partitions.cpp173 using OpMap = std::map<std::string, OpFunction>;
/bootable/recovery/otautil/include/otautil/
Dparse_install_logs.h30 std::map<std::string, int64_t> ParseRecoveryUpdateMetrics(const std::vector<std::string>& lines);
33 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name);
/bootable/recovery/install/include/install/
Dinstall.h59 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata);
71 int CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type);
/bootable/recovery/update_verifier/include/update_verifier/
Dupdate_verifier.h54 std::map<std::string, std::string> FindDmPartitions();
64 std::map<std::string, RangeSet> partition_map_;
/bootable/recovery/otautil/
Dparse_install_logs.cpp36 std::map<std::string, int64_t> ParseRecoveryUpdateMetrics(const std::vector<std::string>& lines) { in ParseRecoveryUpdateMetrics()
40 std::map<std::string, int64_t> metrics; in ParseRecoveryUpdateMetrics()
88 std::map<std::string, int64_t> ParseLastInstall(const std::string& file_name) { in ParseLastInstall()
/bootable/recovery/install/
Dadb_install.cpp153 const std::map<MinadbdCommand, CommandFunction>& command_map) { in HandleMessageFromMinadbd()
186 const std::map<MinadbdCommand, CommandFunction>& command_map) { in ListenAndExecuteMinadbdCommands()
275 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands()
346 std::map<MinadbdCommand, CommandFunction> command_map{ in ApplyFromAdb()
Dpackage.cpp35 MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map,
137 MemoryPackage::MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map, in MemoryPackage() argument
139 : map_(std::move(map)), path_(path), zip_handle_(nullptr) { in MemoryPackage()
Dinstall.cpp72 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata) { in ReadMetadataFromPackage()
105 static std::string get_value(const std::map<std::string, std::string>& metadata, in get_value()
123 static void ReadSourceTargetBuild(const std::map<std::string, std::string>& metadata, in ReadSourceTargetBuild()
142 static int CheckAbSpecificMetadata(const std::map<std::string, std::string>& metadata) { in CheckAbSpecificMetadata()
186 int CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type) { in CheckPackageMetadata()
331 std::map<std::string, std::string> metadata; in try_update_binary()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DUpdateConfigs.java45 return configs.stream().map(UpdateConfig::getName).toArray(String[]::new); in configsToNames()
/bootable/recovery/tests/component/
Dinstall_test.cpp39 static void BuildZipArchive(const std::map<std::string, std::string>& file_map, int fd, in BuildZipArchive()
83 std::map<std::string, std::string> metadata; in TEST()
105 std::map<std::string, std::string> metadata; in TEST()
277 std::map<std::string, std::string> metadata; in VerifyAbUpdateCommands()
373 std::map<std::string, std::string> metadata; in test_check_package_metadata()
Dupdater_test.cpp114 MemMapping map; in RunBlockImageUpdate() local
115 ASSERT_TRUE(map.MapFile(zip_file.path)); in RunBlockImageUpdate()
117 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_file.path, &handle)); in RunBlockImageUpdate()
124 updater_info.package_zip_addr = map.addr; in RunBlockImageUpdate()
125 updater_info.package_zip_len = map.length; in RunBlockImageUpdate()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp92 std::map<std::string, std::string> UpdateVerifier::FindDmPartitions() { in FindDmPartitions()
107 std::map<std::string, std::string> dm_block_devices; in FindDmPartitions()
/bootable/recovery/
Drecovery.cpp298 std::map<std::string, std::string> metadata; in CheckWipePackage()