Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:fd

32   int fd = -1;
37 &HFP_UUID, 0, &fd, 0, getuid());
40 EXPECT_TRUE(fd != -1) << "Error creating RFCOMM socket: invalid fd";
44 len = read(fd, &channel, sizeof(channel));
47 len = read(fd, &signal, sizeof(signal));
57 len = write(fd, HANDSHAKE_COMMAND, sizeof(HANDSHAKE_COMMAND));
62 len = read(fd, response, sizeof(response));
65 close(fd);
73 int fd = -1;
78 &HFP_UUID, 0, &fd, 0, getuid());
81 ASSERT_TRUE(fd != -1) << "Error creating RFCOMM socket: invalid fd";
85 len = read(fd, &channel, sizeof(channel));
92 len = read(fd, &signal, sizeof(signal));
105 len = write(fd, HANDSHAKE_COMMAND, sizeof(HANDSHAKE_COMMAND));
112 len = read(fd, response, sizeof(response));
118 close(fd);