/bootable/recovery/minadbd/ |
D | fuse_adb_provider_test.cpp | 31 android::base::unique_fd device_socket; in TEST() 32 android::base::unique_fd host_socket; in TEST() 71 android::base::unique_fd device_socket; in TEST() 72 android::base::unique_fd host_socket; in TEST()
|
D | minadbd_services.cpp | 146 static void SideloadHostService(unique_fd sfd, const std::string& args) { in SideloadHostService() 152 static void RescueInstallHostService(unique_fd sfd, const std::string& args) { in RescueInstallHostService() 159 static void RescueGetpropHostService(unique_fd sfd, const std::string& prop) { in RescueGetpropHostService() 189 static void RebootHostService(unique_fd /* sfd */, const std::string& target) { in RebootHostService() argument 211 static void WipeDeviceService(unique_fd fd, const std::string& args) { in WipeDeviceService() 239 unique_fd daemon_service_to_fd(std::string_view name, atransport* /* transport */) { in daemon_service_to_fd() 249 return unique_fd{}; in daemon_service_to_fd() 271 return unique_fd{}; in daemon_service_to_fd() 285 return unique_fd{}; in daemon_service_to_fd()
|
D | minadbd_services_test.cpp | 110 unique_fd fd = daemon_service_to_fd(command, nullptr); in ExecuteCommandAndWaitForExit() 115 android::base::unique_fd minadbd_socket_; 116 android::base::unique_fd recovery_socket_; 147 unique_fd fd = daemon_service_to_fd(command, nullptr); in TEST_F() 170 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(package_path_.c_str(), O_RDONLY))); in TEST_F() 189 unique_fd fd = daemon_service_to_fd("sideload-host:4096:4096", nullptr); in TEST_F()
|
/bootable/recovery/minui/ |
D | events.cpp | 45 android::base::unique_fd fd; 49 static android::base::unique_fd g_epoll_fd; 66 android::base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in ev_init() 80 android::base::unique_fd fd(openat(dirfd(dir.get()), de->d_name, O_RDONLY | O_CLOEXEC)); in ev_init() 126 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb) { in ev_add_fd()
|
D | graphics_fbdev.h | 70 android::base::unique_fd fb_fd;
|
D | graphics_fbdev.cpp | 59 android::base::unique_fd fd(open("/dev/graphics/fb0", O_RDWR | O_CLOEXEC)); in Init()
|
D | graphics_drm.cpp | 288 android::base::unique_fd fd(open(dev_name.c_str(), O_RDWR | O_CLOEXEC)); in Init()
|
/bootable/recovery/ |
D | fsck_unshare_blocks.cpp | 45 android::base::unique_fd source_fd(open(source, O_RDONLY)); in copy_file() 51 android::base::unique_fd dest_fd(open(dest, O_CREAT | O_WRONLY, S_IRWXU)); in copy_file()
|
D | recovery_main.cpp | 190 android::base::unique_fd sock_fd(android_get_control_socket("recovery")); in ListenRecoverySocket() 198 android::base::unique_fd connection_fd; in ListenRecoverySocket() 228 android::base::unique_fd pipe_read, pipe_write; in redirect_stdio()
|
/bootable/recovery/install/ |
D | package.cpp | 80 FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path, 97 android::base::unique_fd fd_; // The underlying fd to the open package. 117 android::base::unique_fd fd(open(path.c_str(), O_RDONLY)); in CreateFilePackage() 199 FilePackage::FilePackage(android::base::unique_fd&& fd, uint64_t file_size, const std::string& path, in FilePackage()
|
D | adb_install.cpp | 185 RecoveryUI* ui, pid_t minadbd_pid, android::base::unique_fd&& socket_fd, in ListenAndExecuteMinadbdCommands() 187 android::base::unique_fd epoll_fd(epoll_create1(O_CLOEXEC)); in ListenAndExecuteMinadbdCommands() 279 android::base::unique_fd recovery_socket; in CreateMinadbdServiceAndExecuteCommands() 280 android::base::unique_fd minadbd_socket; in CreateMinadbdServiceAndExecuteCommands()
|
D | install.cpp | 287 android::base::unique_fd fd( in SetUpNonAbUpdateCommands() 348 android::base::unique_fd pipe_read, pipe_write; in try_update_binary()
|
/bootable/recovery/fuse_sideload/include/ |
D | fuse_provider.h | 71 android::base::unique_fd fd_;
|
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 251 android::base::unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR)); in ProductBlockMap() 291 android::base::unique_fd fd(open(path.c_str(), O_RDWR)); in ProductBlockMap() 297 android::base::unique_fd wfd; in ProductBlockMap() 453 android::base::unique_fd dfd(open(dir_name.c_str(), O_RDONLY | O_DIRECTORY)); in ProductBlockMap() 660 android::base::unique_fd service_socket(android_get_control_socket(UNCRYPT_SOCKET.c_str())); in main() 674 android::base::unique_fd socket_fd(accept4(service_socket, nullptr, nullptr, SOCK_CLOEXEC)); in main()
|
/bootable/recovery/otautil/ |
D | sysutil.cpp | 141 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(block_map_data.path().c_str(), O_RDONLY))); in MapBlockFile() 194 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in MapFile()
|
D | roots.cpp | 172 android::base::unique_fd fd(open(v->blk_device.c_str(), O_RDONLY)); in format_volume()
|
D | logging.cpp | 286 android::base::unique_fd log_fd(TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY))); in ReadLogFilesToMemory()
|
/bootable/recovery/applypatch/ |
D | applypatch.cpp | 78 android::base::unique_fd dev(open(partition.name.c_str(), O_RDONLY)); in ReadPartitionToBuffer() 110 android::base::unique_fd fd( in SaveFileContents() 142 android::base::unique_fd fd(open(partition.name.c_str(), O_RDWR)); in WriteBufferToPartition()
|
D | imgdiff.cpp | 355 android::base::unique_fd patch_fd(open(ptemp, O_RDONLY)); in MakePatch() 624 android::base::unique_fd fd(open(filename.c_str(), O_RDONLY)); in ReadFile() 1150 android::base::unique_fd patch_fd( in GeneratePatches() 1168 android::base::unique_fd patch_fd( in GeneratePatches() 1204 android::base::unique_fd fd( in GeneratePatches() 1464 android::base::unique_fd patch_fd( in GeneratePatches() 1493 android::base::unique_fd fd(open(optarg, O_RDONLY)); in imgdiff()
|
/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() 111 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY)); in write_misc_partition()
|
/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() 221 android::base::unique_fd care_map_fd(TEMP_FAILURE_RETRY(open(care_map_name.c_str(), O_RDONLY))); in ParseCareMap()
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 157 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb);
|
/bootable/recovery/boot_control/ |
D | boot_control.cpp | 95 android::base::unique_fd fd(open(misc_device, O_RDONLY)); in LoadBootloaderControl() 113 android::base::unique_fd fd(open(misc_device, O_WRONLY | O_SYNC)); in UpdateAndSaveBootloaderControl()
|
/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() 123 android::base::unique_fd dfd(TEMP_FAILURE_RETRY(open(dirname.c_str(), O_RDONLY | O_DIRECTORY))); in FsyncDir() 142 android::base::unique_fd wfd( in UpdateLastCommandIndex() 532 android::base::unique_fd fd; 772 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(fn.c_str(), O_RDONLY))); in LoadStash() 836 android::base::unique_fd fd( in WriteStash() 2082 android::base::unique_fd fd(open(blockdev_filename->data.c_str(), O_RDWR)); in RangeSha1Fn() 2146 android::base::unique_fd fd(open(arg_filename->data.c_str(), O_RDONLY)); in CheckFirstBlockFn()
|
/bootable/recovery/tests/unit/ |
D | applypatch_test.cpp | 242 android::base::unique_fd fd(open(file1_path.c_str(), O_RDONLY)); in TEST_F()
|