/bootable/recovery/fuse_sideload/ |
D | fuse_sideload.cpp | 98 static void fuse_reply(const fuse_data* fd, uint64_t unique, const void* data, size_t len) { in fuse_reply() 116 static int handle_init(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_init() 152 static void fill_attr(fuse_attr* attr, const fuse_data* fd, uint64_t nodeid, uint64_t size, in fill_attr() 166 static int handle_getattr(void* /* data */, const fuse_data* fd, const fuse_in_header* hdr) { in handle_getattr() 184 static int handle_lookup(void* data, const fuse_data* fd, const fuse_in_header* hdr) { in handle_lookup() 208 static int handle_open(void* /* data */, const fuse_data* fd, const fuse_in_header* hdr) { in handle_open() 228 static int fetch_block(fuse_data* fd, uint32_t block) { in fetch_block() 279 static int handle_read(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_read() 362 fuse_data fd = {}; in run_fuse_sideload() local
|
D | fuse_provider.cpp | 82 android::base::unique_fd&& fd, in FuseBlockDataProvider() 142 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_map.path().c_str(), O_RDONLY))); in CreateFromBlockMap() local
|
/bootable/recovery/minui/ |
D | graphics_drm.cpp | 172 static drmModeCrtc* find_crtc_for_connector(int fd, drmModeRes* resources, in find_crtc_for_connector() 210 static drmModeConnector* find_used_connector_by_type(int fd, drmModeRes* resources, unsigned type) { in find_used_connector_by_type() 224 static drmModeConnector* find_first_connected_connector(int fd, drmModeRes* resources) { in find_first_connected_connector() 239 drmModeConnector* MinuiBackendDrm::FindMainMonitor(int fd, drmModeRes* resources, in FindMainMonitor() 274 void MinuiBackendDrm::DisableNonMainCrtcs(int fd, drmModeRes* resources, drmModeCrtc* main_crtc) { in DisableNonMainCrtcs() 292 android::base::unique_fd fd(open(dev_name.c_str(), O_RDWR | O_CLOEXEC)); in Init() local 364 static void page_flip_complete(__unused int fd, in page_flip_complete()
|
D | events.cpp | 48 android::base::unique_fd fd; member 68 static bool should_add_input_device(int fd, bool allow_touch_inputs) { in should_add_input_device() 88 static int inotify_cb(int fd, __unused uint32_t epevents) { in inotify_cb() 168 android::base::unique_fd fd(openat(dirfd(dir.get()), de->d_name, O_RDONLY | O_CLOEXEC)); in ev_init() local 207 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb) { in ev_add_fd() 254 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input()
|
D | graphics_adf.h | 45 __u32 pitch, int fd) in GRSurfaceAdf() 51 int fd; variable
|
D | graphics_fbdev.cpp | 59 android::base::unique_fd fd(open("/dev/graphics/fb0", O_RDWR | O_CLOEXEC)); in Init() local
|
D | graphics_adf.cpp | 48 auto fd = adf_interface_simple_buffer_alloc(intf_fd, mode->hdisplay, mode->vdisplay, format, in Create() local
|
/bootable/recovery/minadbd/ |
D | minadbd_services_test.cpp | 65 void ReadAndCheckCommandMessage(int fd, MinadbdCommand expected_command) { in ReadAndCheckCommandMessage() 110 unique_fd fd = daemon_service_to_fd(command, nullptr); in ExecuteCommandAndWaitForExit() local 147 unique_fd fd = daemon_service_to_fd(command, nullptr); in TEST_F() local 170 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(package_path_.c_str(), O_RDONLY))); in TEST_F() local 189 unique_fd fd = daemon_service_to_fd("sideload-host:4096:4096", nullptr); in TEST_F() local
|
D | fuse_adb_provider.h | 26 FuseAdbDataProvider(int fd, uint64_t file_size, uint32_t block_size) in FuseAdbDataProvider()
|
D | minadbd_services.cpp | 67 static bool WriteCommandToFd(MinadbdCommand cmd, int fd) { in WriteCommandToFd() 81 static bool WaitForCommandStatus(int fd, MinadbdCommandStatus* status) { in WaitForCommandStatus() 241 static void WipeDeviceService(unique_fd fd, const std::string& args) { in WipeDeviceService()
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 105 bool MemMapping::MapFD(int fd) { in MapFD() 146 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_map_data.path().c_str(), O_RDONLY))); in MapBlockFile() local 199 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in MapFile() local
|
/bootable/recovery/recovery_utils/ |
D | roots.cpp | 110 static int64_t get_file_size(int fd, uint64_t reserve_len) { in get_file_size() 168 int fd = open(v->key_loc.c_str(), O_WRONLY | O_CREAT, 0644); in format_volume() local 181 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDONLY)); in format_volume() local
|
/bootable/recovery/updater/ |
D | updater_main.cpp | 78 int fd; in main() local
|
D | blockimg.cpp | 95 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(last_command_file.c_str(), O_RDONLY))); in ParseLastCommandFile() local 195 static bool discard_blocks(int fd, off64_t offset, uint64_t size, bool force = false) { in discard_blocks() 213 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek() 235 RangeSinkWriter(int fd, const RangeSet& tgt) in RangeSinkWriter() 482 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks() 502 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks() 537 android::base::unique_fd fd; member 637 static void PrintHashForMissingStashedBlocks(const std::string& id, int fd) { in PrintHashForMissingStashedBlocks() 777 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in LoadStash() local 841 android::base::unique_fd fd( in WriteStash() local [all …]
|
D | updater.cpp | 35 bool Updater::Init(int fd, const std::string_view package_filename, bool is_retry) { in Init()
|
D | updater_runtime.cpp | 151 android::base::unique_fd fd(open(std::string(filename).c_str(), O_WRONLY)); in WipeBlockDevice() local
|
/bootable/recovery/install/ |
D | package.cpp | 133 android::base::unique_fd fd(open(path.c_str(), O_RDONLY)); in CreateFilePackage() local 215 FilePackage::FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path, in FilePackage()
|
D | wipe_device.cpp | 91 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(partition.c_str(), O_WRONLY))); in SecureWipePartition() local
|
D | adb_install.cpp | 79 static bool WriteStatusToFd(MinadbdCommandStatus status, int fd) { in WriteStatusToFd()
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 185 static inline bool Write8(int fd, int64_t value) { in Write8() 191 static inline bool Write4(int fd, int32_t value) { in Write4() 341 int fd = mkstemp(ptemp); in MakePatch() local 499 size_t PatchChunk::WriteHeaderToFd(int fd, size_t offset, size_t index) const { in WriteHeaderToFd() 624 android::base::unique_fd fd(open(filename.c_str(), O_RDONLY)); in ReadFile() local 1203 android::base::unique_fd fd( in GeneratePatches() local 1492 android::base::unique_fd fd(open(optarg, O_RDONLY)); in imgdiff() local
|
D | applypatch.cpp | 110 android::base::unique_fd fd( in SaveFileContents() local 142 android::base::unique_fd fd(open(partition.name.c_str(), O_RDWR)); in WriteBufferToPartition() local
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 223 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent() 501 int fd = open("/sys/class/android_usb/android0/state", O_RDONLY); in IsUsbConnected() local
|
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 95 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY)); in read_misc_partition() local 116 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY)); in write_misc_partition() local
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 223 static int RetryFibmap(int fd, const std::string& name, int* block, const int head_block) { in RetryFibmap() 291 android::base::unique_fd fd(open(path.c_str(), O_RDWR)); in ProductBlockMap() local
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 148 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(dm_block_device.c_str(), O_RDONLY))); in ReadBlocks() local
|