/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
|
/bootable/recovery/minui/ |
D | graphics_drm.cpp | 168 static drmModeCrtc* find_crtc_for_connector(int fd, drmModeRes* resources, in find_crtc_for_connector() 206 static drmModeConnector* find_used_connector_by_type(int fd, drmModeRes* resources, unsigned type) { in find_used_connector_by_type() 220 static drmModeConnector* find_first_connected_connector(int fd, drmModeRes* resources) { in find_first_connected_connector() 235 drmModeConnector* MinuiBackendDrm::FindMainMonitor(int fd, drmModeRes* resources, in FindMainMonitor() 270 void MinuiBackendDrm::DisableNonMainCrtcs(int fd, drmModeRes* resources, drmModeCrtc* main_crtc) { in DisableNonMainCrtcs() 288 android::base::unique_fd fd(open(dev_name.c_str(), O_RDWR | O_CLOEXEC)); in Init() local 360 static void page_flip_complete(__unused int fd, in page_flip_complete()
|
D | graphics_adf.h | 45 __u32 pitch, int fd) in GRSurfaceAdf() 51 int fd; variable
|
D | events.cpp | 45 android::base::unique_fd fd; member 80 android::base::unique_fd fd(openat(dirfd(dir.get()), de->d_name, O_RDONLY | O_CLOEXEC)); in ev_init() local 126 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb) { in ev_add_fd() 172 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input()
|
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() 211 static void WipeDeviceService(unique_fd fd, const std::string& args) { in WipeDeviceService()
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 100 bool MemMapping::MapFD(int fd) { in MapFD() 141 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_map_data.path().c_str(), O_RDONLY))); in MapBlockFile() local 194 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in MapFile() local
|
D | roots.cpp | 109 static int64_t get_file_size(int fd, uint64_t reserve_len) { in get_file_size() 159 int fd = open(v->key_loc.c_str(), O_WRONLY | O_CREAT, 0644); in format_volume() local 172 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDONLY)); in format_volume() local
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 90 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(last_command_file.c_str(), O_RDONLY))); in ParseLastCommandFile() local 190 static bool discard_blocks(int fd, off64_t offset, uint64_t size, bool force = false) { in discard_blocks() 208 static bool check_lseek(int fd, off64_t offset, int whence) { in check_lseek() 230 RangeSinkWriter(int fd, const RangeSet& tgt) in RangeSinkWriter() 477 static int ReadBlocks(const RangeSet& src, std::vector<uint8_t>* buffer, int fd) { in ReadBlocks() 497 static int WriteBlocks(const RangeSet& tgt, const std::vector<uint8_t>& buffer, int fd) { in WriteBlocks() 532 android::base::unique_fd fd; member 632 static void PrintHashForMissingStashedBlocks(const std::string& id, int fd) { in PrintHashForMissingStashedBlocks() 772 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in LoadStash() local 836 android::base::unique_fd fd( in WriteStash() local [all …]
|
D | updater.cpp | 84 int fd = atoi(argv[2]); in main() local
|
D | install.cpp | 140 android::base::unique_fd fd(TEMP_FAILURE_RETRY( in PackageExtractFileFn() local 869 android::base::unique_fd fd(open(filename.c_str(), O_WRONLY)); in WipeBlockDeviceFn() local
|
/bootable/recovery/install/ |
D | package.cpp | 117 android::base::unique_fd fd(open(path.c_str(), O_RDONLY)); in CreateFilePackage() local 199 FilePackage::FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path, in FilePackage()
|
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 1204 android::base::unique_fd fd( in GeneratePatches() local 1493 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 | 224 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent() 505 int fd = open("/sys/class/android_usb/android0/state", O_RDONLY); in IsUsbConnected() local
|
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 90 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY)); in read_misc_partition() local 111 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY)); in write_misc_partition() local
|
/bootable/recovery/boot_control/ |
D | boot_control.cpp | 95 android::base::unique_fd fd(open(misc_device, O_RDONLY)); in LoadBootloaderControl() local 113 android::base::unique_fd fd(open(misc_device, O_WRONLY | O_SYNC)); in UpdateAndSaveBootloaderControl() 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
|
/bootable/recovery/tests/unit/ |
D | applypatch_test.cpp | 242 android::base::unique_fd fd(open(file1_path.c_str(), O_RDONLY)); in TEST_F() local
|
/bootable/recovery/tests/component/ |
D | verifier_test.cpp | 75 static void BuildCertificateArchive(const std::vector<std::string>& file_names, int fd) { in BuildCertificateArchive()
|