Searched refs:ufd (Results 1 – 8 of 8) sorted by relevance
/packages/modules/adb/client/pairing/tests/ |
D | pairing_server.cpp | 318 auto [ufd, connection] = std::move(*p); in connectionEventsWorker() 319 int fd = ufd.release(); in connectionEventsWorker() 342 ufd.reset(fd); in connectionEventsWorker() 377 unique_fd ufd(TEMP_FAILURE_RETRY(accept4(fd, nullptr, nullptr, SOCK_CLOEXEC))); in handleNewClientConnection() local 378 if (ufd == -1) { in handleNewClientConnection() 389 NewConnectionEvent event = std::make_tuple(std::move(ufd), std::move(connection)); in handleNewClientConnection()
|
/packages/modules/adb/pairing_connection/ |
D | pairing_server.cpp | 362 auto [ufd, connection] = std::move(*p); in ConnectionEventsWorker() 363 int fd = ufd.release(); in ConnectionEventsWorker() 368 ufd.reset(fd); in ConnectionEventsWorker() 408 unique_fd ufd(TEMP_FAILURE_RETRY(accept4(fd, nullptr, nullptr, SOCK_CLOEXEC))); in HandleNewClientConnection() local 409 if (ufd == -1) { in HandleNewClientConnection() 419 NewConnectionEvent event = std::make_tuple(std::move(ufd), std::move(connection)); in HandleNewClientConnection()
|
/packages/modules/adb/fdevent/ |
D | fdevent.cpp | 209 unique_fd ufd(fd); in fdevent_create() local 210 return fdevent_get_ambient()->Create(std::move(ufd), func, arg); in fdevent_create() 214 unique_fd ufd(fd); in fdevent_create() local 215 return fdevent_get_ambient()->Create(std::move(ufd), func, arg); in fdevent_create()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_pan.cc | 656 struct pollfd ufd; in btu_exec_tap_fd_read() local 724 ufd.fd = fd; in btu_exec_tap_fd_read() 725 ufd.events = POLLIN; in btu_exec_tap_fd_read() 726 ufd.revents = 0; in btu_exec_tap_fd_read() 729 OSI_NO_INTR(ret = poll(&ufd, 1, 0)); in btu_exec_tap_fd_read() 730 if (ret <= 0 || IS_EXCEPTION(ufd.revents)) break; in btu_exec_tap_fd_read()
|
/packages/providers/MediaProvider/jni/ |
D | com_android_providers_media_FuseDaemon.cpp | 86 android::base::unique_fd ufd(fd); in com_android_providers_media_FuseDaemon_start() local 99 daemon->Start(std::move(ufd), utf_chars_path.c_str(), uncached_mode, transcoding_relative_paths, in com_android_providers_media_FuseDaemon_start()
|
/packages/modules/adb/daemon/ |
D | jdwp_service.cpp | 499 unique_fd ufd(fd); in init_jdwp() local 500 auto proc = std::make_unique<JdwpProcess>(std::move(ufd), process); in init_jdwp()
|
/packages/modules/adb/ |
D | sockets.cpp | 388 asocket* create_local_socket(unique_fd ufd) { in create_local_socket() argument 389 int fd = ufd.release(); in create_local_socket()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4333 unique_fd ufd(fd); in TEST_F() local 7009 unique_fd ufd = TunForwarder::createTun(mIfname); in init() local 7010 if (!ufd.ok()) { in init() 7013 mTunForwarder = std::make_unique<TunForwarder>(std::move(ufd)); in init()
|