Home
last modified time | relevance | path

Searched refs:ufd (Results 1 – 8 of 8) sorted by relevance

/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp318 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/
Dpairing_server.cpp362 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/
Dfdevent.cpp209 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/
Dbtif_pan.cc656 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/
Dcom_android_providers_media_FuseDaemon.cpp86 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/
Djdwp_service.cpp499 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/
Dsockets.cpp388 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/
Dresolv_integration_test.cpp4333 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()