Home
last modified time | relevance | path

Searched refs:map (Results 1 – 20 of 20) 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()
Dinstall_test.cpp40 static void BuildZipArchive(const std::map<std::string, std::string>& file_map, int fd, in BuildZipArchive()
61 std::map<std::string, std::string> metadata; in TEST()
83 std::map<std::string, std::string> metadata; in TEST()
196 std::map<std::string, std::string> metadata; in VerifyAbUpdateCommands()
292 std::map<std::string, std::string> metadata; in TestCheckPackageMetadata()
Dscreen_ui_test.cpp292 static const std::map<KeyCode, int> kKeyMapping{
/bootable/recovery/recovery_utils/include/recovery_utils/
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.h60 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata);
65 bool 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/recovery_utils/
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/updater/include/updater/
Dtarget_files.h50 bool GetBuildProps(std::map<std::string, std::string, std::less<>>* props_map) const;
70 std::map<std::string, std::string, std::less<>> misc_info_;
Dbuild_info.h64 std::map<std::string, std::string, std::less<>> build_props_;
69 std::map<std::string, FakeBlockDevice, std::less<>> blockdev_map_;
Dsimulator_runtime.h62 std::map<std::string, std::string, std::less<>> mounted_partitions_;
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp53 static void AddZipEntries(int fd, const std::map<string, string>& entries) { in AddZipEntries()
199 std::map<string, string> entries = { in TEST_F()
217 std::map<string, string> expected_result = { in TEST_F()
247 std::map<string, string> src_entries{
/bootable/recovery/install/
Dadb_install.cpp157 const std::map<MinadbdCommand, CommandFunction>& command_map) { in HandleMessageFromMinadbd()
190 const std::map<MinadbdCommand, CommandFunction>& command_map) { in ListenAndExecuteMinadbdCommands()
279 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands()
350 std::map<MinadbdCommand, CommandFunction> command_map{ in ApplyFromAdb()
Dpackage.cpp35 MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map,
153 MemoryPackage::MemoryPackage(const std::string& path, std::unique_ptr<MemMapping> map, in MemoryPackage() argument
155 : map_(std::move(map)), path_(path), zip_handle_(nullptr) { in MemoryPackage()
Dinstall.cpp77 bool ReadMetadataFromPackage(ZipArchiveHandle zip, std::map<std::string, std::string>* metadata) { in ReadMetadataFromPackage()
109 static std::string get_value(const std::map<std::string, std::string>& metadata, in get_value()
127 static void ReadSourceTargetBuild(const std::map<std::string, std::string>& metadata, in ReadSourceTargetBuild()
146 static bool CheckAbSpecificMetadata(const std::map<std::string, std::string>& metadata) { in CheckAbSpecificMetadata()
191 bool CheckPackageMetadata(const std::map<std::string, std::string>& metadata, OtaType ota_type) { in CheckPackageMetadata()
339 std::map<std::string, std::string> metadata; in TryUpdateBinary()
Dwipe_device.cpp166 std::map<std::string, std::string> metadata; in CheckWipePackage()
/bootable/recovery/updater/
Dtarget_files.cpp56 std::map<std::string, std::string, std::less<>>* props_map) { in ParsePropertyFile()
200 bool TargetFile::GetBuildProps(std::map<std::string, std::string, std::less<>>* props_map) const { in GetBuildProps()
222 std::map<std::string, std::string, std::less<>> props; in GetBuildProps()
Dupdater_runtime_dynamic_partitions.cpp135 using OpMap = std::map<std::string, OpFunction>;
/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/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()