Searched refs:ctrl_fd (Results 1 - 2 of 2) sorted by relevance
/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 134 int ctrl_fd; local 135 ctrl_fd = openCtrl(); 148 read_size = read(ctrl_fd, ctrl_data, sizeof(ctrl_data)); 186 close(ctrl_fd); 194 ctrl_fd = -1; 215 ctrl_fd = openCtrl(); 216 ASSERT_GE(ctrl_fd, 0) << "qtaguid ctrl open failed"; 217 close(ctrl_fd); 237 if (ctrl_fd >= 0) { 238 close(ctrl_fd); 244 int ctrl_fd; member in class:android::SocketTaggingTest [all...] |
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 96 /* move ctrl_fd outside output stream and keep open until HAL unloaded ? */ 100 int ctrl_fd; member in struct:a2dp_stream_common 303 int ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL); 310 ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL); 314 skt_disconnect(common->ctrl_fd); 315 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; 321 skt_disconnect(common->ctrl_fd); 322 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; 337 if (send(common->ctrl_fd, &cmd, 1, MSG_NOSIGNAL) == -1) 340 skt_disconnect(common->ctrl_fd); [all...] |
Completed in 167 milliseconds