Home
last modified time | relevance | path

Searched refs:info (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/update_verifier/
Dcare_map_generator.py50 info = care_map_proto.partitions.add()
51 info.name = lines[index]
52 info.ranges = lines[index + 1]
54 info.id = lines[index + 2]
55 info.fingerprint = lines[index + 3]
56 logging.info("Care map info: name %s, ranges %s, id %s, fingerprint %s",
57 info.name, info.ranges, info.id, info.fingerprint)
77 for info in care_map_proto.partitions:
78 assert info.name, "partition name is required in care_map"
79 assert info.ranges, "source range is required in care_map"
[all …]
/bootable/recovery/tests/unit/
Dbattery_utils_test.cpp23 auto info = GetBatteryInfo(); in TEST() local
25 ASSERT_LE(0, info.capacity); in TEST()
26 ASSERT_LE(info.capacity, 100); in TEST()
Dupdate_verifier_test.cpp65 recovery_update_verifier::CareMap::PartitionInfo info; in ConstructProto() local
67 info.set_name(partition.at("name")); in ConstructProto()
70 info.set_ranges(partition.at("ranges")); in ConstructProto()
73 info.set_id(partition.at("id")); in ConstructProto()
76 info.set_fingerprint(partition.at("fingerprint")); in ConstructProto()
79 *result.add_partitions() = info; in ConstructProto()
/bootable/recovery/tools/image_generator/
DImageGenerator.java356 LOGGER.info("Skip parsing text for locale " + localeString); in readLocalizedStringFromXmls()
405 WrappedTextInfo info = new WrappedTextInfo(); in wrapText() local
424 info.addLine(line.toString(), lineWidth, metrics.getFont(), mDefaultFont); in wrapText()
433 info.addLine(line.toString(), lineWidth, metrics.getFont(), mDefaultFont); in wrapText()
435 return info; in wrapText()
468 List<Integer> info = in encodeTextInfo() local
479 info.add((int) b); in encodeTextInfo()
481 info.add(0); in encodeTextInfo()
483 return info; in encodeTextInfo()
533 LOGGER.info("Encoding \"" + locale + "\" as \"" + languageTag + "\": " + text); in drawText()
[all …]
/bootable/recovery/
Dinterlace-frames.py74 num_frames = int(img.info.get('Frames', 1))
85 out.info = img.info
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp182 [](const FstabInfo& info) { in TEST_F() argument
183 return std::vector<string>{ info.blockdev_name, info.mount_point, info.fs_type }; in TEST_F()
Dimgdiff_test.cpp680 static void construct_store_entry(const std::vector<std::tuple<std::string, size_t, char>>& info, in construct_store_entry() argument
682 for (auto& t : info) { in construct_store_entry()
691 …atic void construct_deflate_entry(const std::vector<std::tuple<std::string, size_t, size_t>>& info, in construct_deflate_entry() argument
693 for (auto& t : info) { in construct_deflate_entry()
729 const std::vector<uint8_t>& content, const std::vector<std::tuple<std::string, size_t>>& info) { in ConstructImageChunks() argument
732 for (const auto& t : info) { in ConstructImageChunks()