Searched refs:ScopedFd (Results 1 - 9 of 9) sorted by relevance
/system/tools/aidl/tests/ |
H A D | aidl_test_client_file_descriptors.cpp | 26 #include <nativehelper/ScopedFd.h> 50 bool DoWrite(string name, const ScopedFd& fd, const string& buf) { 69 bool DoRead(string name, const ScopedFd& fd, const string& expected) { 90 bool DoPipe(ScopedFd* read_side, ScopedFd* write_side) { 92 ScopedFd return_fd; 108 ScopedFd return_fd; 109 ScopedFd read_fd; 110 ScopedFd write_fd; 139 vector<ScopedFd> arra [all...] |
H A D | aidl_test_service.cpp | 29 #include <nativehelper/ScopedFd.h> 285 Status RepeatFileDescriptor(const ScopedFd& read, 286 ScopedFd* _aidl_return) override { 288 *_aidl_return = ScopedFd(dup(read.get())); 292 Status ReverseFileDescriptorArray(const vector<ScopedFd>& input, 293 vector<ScopedFd>* repeated, 294 vector<ScopedFd>* _aidl_return) override { 297 repeated->push_back(ScopedFd(dup(item.get()))); 298 _aidl_return->push_back(ScopedFd(dup(item.get())));
|
/system/core/adb/ |
H A D | adb_utils.h | 62 class ScopedFd { class 64 ScopedFd() { function in class:ScopedFd 67 ~ScopedFd() { 97 DISALLOW_COPY_AND_ASSIGN(ScopedFd);
|
H A D | shell_service.cpp | 139 bool CreateSocketpair(ScopedFd* fd1, ScopedFd* fd2) { 173 int OpenPtyChildFd(const char* pts_name, ScopedFd* error_sfd); 179 ScopedFd* SelectLoop(fd_set* master_read_set_ptr, 184 ScopedFd* PassInput(); 185 ScopedFd* PassOutput(ScopedFd* sfd, ShellProtocol::Id id); 193 ScopedFd local_socket_sfd_; 196 ScopedFd stdinout_sfd_, stderr_sfd_, protocol_sfd_; 228 ScopedFd child_stdinout_sf [all...] |
H A D | commandline.cpp | 1084 ScopedFd fd;
|
/system/vold/ |
H A D | Utils.h | 121 class ScopedFd { class in namespace:android::vold 124 ScopedFd(int fd); 125 ~ScopedFd(); 128 DISALLOW_COPY_AND_ASSIGN(ScopedFd);
|
H A D | Utils.cpp | 682 ScopedFd::ScopedFd(int fd) : fd_(fd) {} function in class:android::vold::ScopedFd 684 ScopedFd::~ScopedFd() {
|
H A D | CommandListener.cpp | 691 const android::vold::ScopedFd pid_fd( 735 android::vold::ScopedFd ns_fd(openat(pid_fd.get(), "ns/mnt", O_RDONLY)); 803 android::vold::ScopedFd device_fd(open("/dev/fuse", O_RDWR));
|
/system/core/debuggerd/ |
H A D | debuggerd.cpp | 49 #include <nativehelper/ScopedFd.h> 804 ScopedFd closer(fd);
|
Completed in 2043 milliseconds