Home
last modified time | relevance | path

Searched refs:connection_fd (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/client/
Dincremental.cpp135 auto connection_fd = unique_fd(send_abb_exec_command(command_args, &error)); in start_install() local
136 if (connection_fd < 0) { in start_install()
144 return connection_fd; in start_install()
166 auto connection_fd = start_install(files, passthrough_args, silent); in install() local
167 if (connection_fd < 0) { in install()
176 auto osh = cast_handle_to_int(adb_get_os_handle(connection_fd.get())); in install()
194 adb_launch_process(adb_path, std::move(args), {connection_fd.get(), pipe_write_fd}); in install()
Dincremental_server.h24 bool serve(int connection_fd, int output_fd, int argc, const char** argv);
Dcommandline.cpp2149 int connection_fd = atoi(argv[1]); in adb_commandline() local
2150 if (!_is_valid_os_fd(connection_fd)) { in adb_commandline()
2151 error_exit("Invalid connection_fd number given: %d", connection_fd); in adb_commandline()
2154 connection_fd = adb_register_socket(connection_fd); in adb_commandline()
2155 close_on_exec(connection_fd); in adb_commandline()
2163 return incremental::serve(connection_fd, output_fd, argc - 3, argv + 3); in adb_commandline()
Dincremental_server.cpp696 bool serve(int connection_fd, int output_fd, int argc, const char** argv) { in serve() argument
697 auto connection_ufd = unique_fd(connection_fd); in serve()
/system/bt/vendor_libs/test_vendor_lib/test/
Dasync_manager_unittest.cc63 int connection_fd = accept(fd, (struct sockaddr*)&cli_addr, &clilen); in AcceptConnection() local
64 EXPECT_FALSE(connection_fd < 0); in AcceptConnection()
66 return connection_fd; in AcceptConnection()
87 int connection_fd = AcceptConnection(fd); in SetUp() local
89 …async_manager_.WatchFdForNonBlockingReads(connection_fd, [this](int fd) { ReadIncomingMessage(fd);… in SetUp()
Dlink_layer_socket_device_test.cc126 int connection_fd = AcceptConnection(fd); in SetUp() local
127 ASSERT_GE(connection_fd, 0); in SetUp()
129 servers_.emplace_back(connection_fd, Phy::Type::LOW_ENERGY); in SetUp()