Home
last modified time | relevance | path

Searched refs:info (Results 1 – 24 of 24) 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/libbootloader/gbl/libelf/
Drelocation.cpp107 bool ApplyRelaRelocation(uintptr_t program_base, const DynamicSectionInfo& info) { in ApplyRelaRelocation() argument
108 if ((info.rela == NULL) != (info.rela_size == NULL)) { in ApplyRelaRelocation()
110 } else if (!info.rela) { in ApplyRelaRelocation()
113 return FixUpRelxTable<Elf64_Rela>(program_base, info.symtab, info.rela->d_un.d_ptr + program_base, in ApplyRelaRelocation()
114 info.rela_size->d_un.d_val); in ApplyRelaRelocation()
119 bool ApplyRelRelocation(uintptr_t program_base, const DynamicSectionInfo& info) { in ApplyRelRelocation() argument
120 if ((info.rel == NULL) != (info.rel_size == NULL)) { in ApplyRelRelocation()
122 } else if (!info.rel) { in ApplyRelRelocation()
125 return FixUpRelxTable<Elf64_Rel>(program_base, info.symtab, info.rel->d_un.d_ptr + program_base, in ApplyRelRelocation()
126 info.rel_size->d_un.d_val); in ApplyRelRelocation()
/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/libbootloader/gbl/libstorage/src/
Dgpt.rs154 info: &'a mut GptInfo, field
193 let (info, remain) = Ref::<_, GptInfo>::new_from_prefix(buffer).unwrap(); in from_existing()
194 let entries_size = SafeNum::from(info.max_entries) * GPT_ENTRY_SIZE; in from_existing()
202 info: info.into_mut(), in from_existing()
225 [..self.info.num_valid_entries()?.try_into()?]) in entries()
246 self.info.num_valid_entries()?; in check_valid()
277 if self.info.max_entries < header.entries_count.into() in validate_gpt()
306 self.info.num_valid_entries = None; in load_and_sync()
346 - (SafeNum::from(self.info.max_entries) * core::mem::size_of::<GptEntry>()); in load_and_sync()
373 self.info.num_valid_entries = in load_and_sync()
[all …]
Dtestlib.rs100 fn info(&mut self) -> BlockInfo { in info() method
101 NonBlockingBlockIo::info(self) in info()
124 fn info(&mut self) -> BlockInfo { in info() method
Dnon_blocking.rs50 fn info(&mut self) -> BlockInfo; in info() method
133 fn info(&mut self) -> BlockInfo { in info() method
134 (*self).info() in info()
Dlib.rs195 fn info(&mut self) -> BlockInfo; in info() method
199 self.info().block_size in block_size()
204 self.info().num_blocks in num_blocks()
212 self.info().alignment in alignment()
/bootable/recovery/tools/image_generator/
DImageGenerator.java352 LOGGER.info("Skip parsing text for locale " + localeString); in readLocalizedStringFromXmls()
401 WrappedTextInfo info = new WrappedTextInfo(); in wrapText() local
420 info.addLine(line.toString(), lineWidth, metrics.getFont(), mDefaultFont); in wrapText()
429 info.addLine(line.toString(), lineWidth, metrics.getFont(), mDefaultFont); in wrapText()
431 return info; in wrapText()
464 List<Integer> info = in encodeTextInfo() local
475 info.add((int) b); in encodeTextInfo()
477 info.add(0); in encodeTextInfo()
479 return info; in encodeTextInfo()
529 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/deprecated-ota/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()
/bootable/libbootloader/gbl/libfdt/test/
Dtest.dts4 info = "test device tree";
/bootable/libbootloader/gbl/libabr/src/
Dc_staticlib.rs346 info: *mut SlotInfo, in AbrGetSlotInfo()
355 info.as_mut().unwrap(), in AbrGetSlotInfo()
/bootable/libbootloader/gbl/libgbl/src/
Dlib.rs298 info: &InfoStruct, in kernel_load()
324 info: &InfoStruct, in ramdisk_bootconfig_load()
346 info: &InfoStruct, in dtb_update_and_load()
/bootable/libbootloader/gbl/libfdt/
DBUILD16 load("@gbl_llvm_prebuilts//:info.bzl", "LLVM_PREBUILTS_C_INCLUDE")
/bootable/libbootloader/gbl/toolchain/
Dgbl_workspace_util.bzl53 # Create a info.bzl file in the assembled repo to export header/library/tool paths.
79 repo_ctx.file("info.bzl", info_bzl_content)
Dgbl_toolchain.bzl27 load("@gbl_llvm_prebuilts//:info.bzl", "LLVM_PREBUILTS_C_INCLUDE", "gbl_llvm_tool_path")
DBUILD17 "@gbl_llvm_prebuilts//:info.bzl",
/bootable/libbootloader/gbl/efi/
DBUILD16 load("@gbl_llvm_prebuilts//:info.bzl", "gbl_llvm_tool_path")
/bootable/libbootloader/gbl/libefi/
DBUILD15 load("@gbl_llvm_prebuilts//:info.bzl", "LLVM_PREBUILTS_C_INCLUDE")
/bootable/libbootloader/gbl/libavb/
DBUILD.avb.bazel16 load("@gbl_llvm_prebuilts//:info.bzl", "LLVM_PREBUILTS_C_INCLUDE")
/bootable/libbootloader/gbl/efi/src/
Dutils.rs67 fn info(&mut self) -> BlockInfo { in info() method
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs914 fn utils<'b>(&'b mut self, info: Option<&'b mut dyn FastbootInfoSend>) -> FastbootUtils<'b> { in utils()
915 FastbootUtils::new(self.download_buffer, &mut self.total_download_size, info.map(|v| v)) in utils()