/bootable/recovery/fuse_sideload/include/ |
D | fuse_provider.h | 31 FuseDataProvider(uint64_t file_size, uint32_t block_size) in FuseDataProvider() 39 uint32_t fuse_block_size() const { in fuse_block_size() 44 virtual bool ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, 45 uint32_t start_block) const = 0; 57 uint32_t fuse_block_size_ = 0; 63 FuseFileDataProvider(const std::string& path, uint32_t block_size); 66 uint32_t block_size); 68 bool ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, 69 uint32_t start_block) const override; 87 uint32_t fuse_block_size); [all …]
|
/bootable/recovery/minui/ |
D | graphics.cpp | 39 static uint32_t gr_current = ~0; 40 static constexpr uint32_t alpha_mask = 0xff000000; 80 static inline uint32_t pixel_blend(uint8_t alpha, uint32_t pix) { in pixel_blend() 83 uint32_t pix_r = pix & 0xff; in pixel_blend() 84 uint32_t pix_g = pix & 0xff00; in pixel_blend() 85 uint32_t pix_b = pix & 0xff0000; in pixel_blend() 86 uint32_t cur_r = gr_current & 0xff; in pixel_blend() 87 uint32_t cur_g = gr_current & 0xff00; in pixel_blend() 88 uint32_t cur_b = gr_current & 0xff0000; in pixel_blend() 90 uint32_t out_r = (pix_r * (255 - alpha) + cur_r * alpha) / 255; in pixel_blend() [all …]
|
D | graphics_drm.h | 44 uint32_t handle) in GRSurfaceDrm() 49 uint32_t fb_id{ 0 }; 50 uint32_t handle{ 0 }; 67 drmModeConnector* FindMainMonitor(int fd, drmModeRes* resources, uint32_t* mode_index);
|
D | graphics_drm.cpp | 60 static int drm_format_to_bpp(uint32_t format) { in drm_format_to_bpp() 80 uint32_t format; in Create() 113 uint32_t handles[4], pitches[4], offsets[4]; in Create() 240 uint32_t* mode_index) { in FindMainMonitor() 322 uint32_t selected_mode; in Init()
|
D | events.cpp | 88 static int inotify_cb(int fd, __unused uint32_t epevents) { in inotify_cb() 254 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input()
|
/bootable/recovery/fuse_sideload/ |
D | fuse_provider.cpp | 36 FuseFileDataProvider::FuseFileDataProvider(const std::string& path, uint32_t block_size) { in FuseFileDataProvider() 53 uint32_t block_size) { in CreateFromFile() 57 bool FuseFileDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData() 58 uint32_t start_block) const { in ReadBlockAlignedData() 81 FuseBlockDataProvider::FuseBlockDataProvider(uint64_t file_size, uint32_t fuse_block_size, in FuseBlockDataProvider() 83 uint32_t source_block_size, RangeSet ranges) in FuseBlockDataProvider() 93 bool FuseBlockDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData() 94 uint32_t start_block) const { in ReadBlockAlignedData() 136 const std::string& block_map_path, uint32_t fuse_block_size) { in CreateFromBlockMap()
|
D | fuse_sideload.cpp | 83 uint32_t block_size; // block size that the adb host is using to send the file to us 84 uint32_t file_blocks; // file size in block_size blocks 89 uint32_t curr_block; // cache the block most recently read from the host 153 uint32_t mode) { in fill_attr() 228 static int fetch_block(fuse_data* fd, uint32_t block) { in fetch_block() 239 uint32_t fetch_size = fd->block_size; in fetch_block() 284 uint32_t size = req->size; in handle_read() 303 uint32_t block = offset / fd->block_size; in handle_read() 315 uint32_t block_offset = offset - (block * fd->block_size); in handle_read() 350 uint32_t block_size = provider->fuse_block_size(); in run_fuse_sideload()
|
/bootable/recovery/minadbd/ |
D | fuse_adb_provider.h | 26 FuseAdbDataProvider(int fd, uint64_t file_size, uint32_t block_size) in FuseAdbDataProvider() 29 bool ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, 30 uint32_t start_block) const override;
|
D | fuse_adb_provider.cpp | 26 bool FuseAdbDataProvider::ReadBlockAlignedData(uint8_t* buffer, uint32_t fetch_size, in ReadBlockAlignedData() 27 uint32_t start_block) const { in ReadBlockAlignedData()
|
D | fuse_adb_provider_test.cpp | 47 uint32_t block = 1234U; in TEST()
|
/bootable/recovery/otautil/include/otautil/ |
D | sysutil.h | 53 uint32_t block_size() const { in block_size() 63 BlockMapData(const std::string& path, uint64_t file_size, uint32_t block_size, in BlockMapData() 72 uint32_t block_size_ = 0;
|
/bootable/recovery/minadbd/include/minadbd/ |
D | types.h | 41 enum class MinadbdCommandStatus : uint32_t { 46 enum class MinadbdCommand : uint32_t {
|
/bootable/recovery/tests/unit/ |
D | fuse_sideload_test.cpp | 36 FuseTestDataProvider(uint64_t file_size, uint32_t block_size) in FuseTestDataProvider() 40 bool ReadBlockAlignedData(uint8_t*, uint32_t, uint32_t) const override { in ReadBlockAlignedData() argument
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 54 uint32_t blksize; in ParseBlockMapFile() 72 if (blocks > std::numeric_limits<uint32_t>::max() || range_count == 0 || in ParseBlockMapFile() 138 uint32_t blksize = block_map_data.block_size(); in MapBlockFile()
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 153 using ev_callback = std::function<int(int fd, uint32_t epevents)>; 169 int ev_get_input(int fd, uint32_t epevents, input_event* ev);
|
/bootable/recovery/install/ |
D | adb_install.cpp | 70 auto cmd_code = android::base::get_unaligned<uint32_t>(cmd_code_string.c_str()); in ParseMinadbdCommand() 71 if (cmd_code >= static_cast<uint32_t>(MinadbdCommand::kError)) { in ParseMinadbdCommand() 179 LOG(INFO) << "Command " << static_cast<uint32_t>(command_type) << " finished with " << result; in HandleMessageFromMinadbd()
|
D | wipe_device.cpp | 54 uint32_t length = entry.uncompressed_length; in GetWipePartitionList()
|
D | install.cpp | 86 uint32_t length = entry.uncompressed_length; in ReadMetadataFromPackage() 249 uint32_t properties_entry_length = properties_entry.uncompressed_length; in SetUpAbUpdateCommands()
|
/bootable/recovery/bootloader_message/include/bootloader_message/ |
D | bootloader_message.h | 90 uint32_t magic;
|
/bootable/recovery/recovery_ui/include/recovery_ui/ |
D | ui.h | 227 int OnInputEvent(int fd, uint32_t epevents);
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 811 if (get_unaligned<uint32_t>(&file_content_[i]) == 0x06054b50) { in GetZipFileSize() 1255 if (sz - pos >= 4 && get_unaligned<uint32_t>(file_content_.data() + pos) == 0x00088b1f) { in Initialize() 1321 size_t footer_size = get_unaligned<uint32_t>(file_content_.data() + footer_index); in Initialize() 1347 get_unaligned<uint32_t>(file_content_.data() + pos + data_len) == 0x00088b1f) { in Initialize()
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 316 uint32_t current_slot = module->getCurrentSlot(); in update_verifier()
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 223 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 2194 time_t mount_time = *reinterpret_cast<uint32_t*>(&block0_buffer[0x400 + 0x2C]); in CheckFirstBlockFn()
|