Searched refs:ctrl_fd (Results 1 – 9 of 9) sorted by relevance
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera.c | 169 rc = ioctl(my_obj->ctrl_fd, VIDIOC_DQEVENT, &ev); in mm_camera_event_notify() 302 if (my_obj->ctrl_fd < 0) { in mm_camera_open() 389 if (my_obj->ctrl_fd >= 0) { in mm_camera_open() 390 close(my_obj->ctrl_fd); in mm_camera_open() 391 my_obj->ctrl_fd = -1; in mm_camera_open() 437 if(my_obj->ctrl_fd >= 0) { in mm_camera_close() 438 close(my_obj->ctrl_fd); in mm_camera_close() 439 my_obj->ctrl_fd = -1; in mm_camera_close() 660 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability() 824 rc = mm_camera_util_s_ctrl(my_obj, 0, my_obj->ctrl_fd, in mm_camera_start_zsl_snapshot() [all …]
|
H A D | mm_camera_muxer.c | 262 my_obj->ctrl_fd = -1; in mm_camera_muxer_camera_open()
|
H A D | mm_camera_interface.c | 3199 cam_obj->ctrl_fd = -1; in camera_open()
|
/aosp12/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 187 ctrl_fd = -1; in SetUp() 208 ctrl_fd = openCtrl(); in SetUp() 209 ASSERT_GE(ctrl_fd, 0) << "qtaguid ctrl open failed"; in SetUp() 210 close(ctrl_fd); in SetUp() 230 if (ctrl_fd >= 0) { in TearDown() 231 close(ctrl_fd); in TearDown() 237 int ctrl_fd; member in android::SocketTaggingTest
|
/aosp12/system/bt/audio_hearing_aid_hw/src/ |
H A D | audio_hearing_aid_hw.cc | 131 int ctrl_fd; member 381 skt_disconnect(common->ctrl_fd); in ha_ctrl_receive() 382 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in ha_ctrl_receive() 422 skt_disconnect(common->ctrl_fd); in ha_ctrl_send() 423 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in ha_ctrl_send() 449 skt_disconnect(common->ctrl_fd); in ha_command() 770 if ((common->ctrl_fd = skt_connect( in ha_open_ctrl_path() 778 skt_disconnect(common->ctrl_fd); in ha_open_ctrl_path() 798 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in ha_stream_common_init() 1658 skt_disconnect(out->common.ctrl_fd); in adev_close_output_stream() [all …]
|
/aosp12/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 122 int ctrl_fd; member 375 skt_disconnect(common->ctrl_fd); in a2dp_ctrl_receive() 376 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in a2dp_ctrl_receive() 416 skt_disconnect(common->ctrl_fd); in a2dp_ctrl_send() 417 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in a2dp_ctrl_send() 445 skt_disconnect(common->ctrl_fd); in a2dp_command() 790 if ((common->ctrl_fd = skt_connect( in a2dp_open_ctrl_path() 797 skt_disconnect(common->ctrl_fd); in a2dp_open_ctrl_path() 817 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in a2dp_stream_common_init() 1696 skt_disconnect(out->common.ctrl_fd); in adev_close_output_stream() [all …]
|
/aosp12/system/bt/hci/src/ |
H A D | hci_layer_linux.cc | 109 void monitor_socket(int ctrl_fd, int fd) { in monitor_socket() argument 154 FD_SET(ctrl_fd, &fds); in monitor_socket() 156 int res = select(std::max(fd, ctrl_fd) + 1, &fds, NULL, NULL, NULL); in monitor_socket() 159 if (FD_ISSET(ctrl_fd, &fds)) { in monitor_socket()
|
/aosp12/system/bt/hci/test/ |
H A D | hci_layer_test.cc | 38 void monitor_socket(int ctrl_fd, int fd) { in monitor_socket() argument
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
H A D | mm_camera.h | 599 int32_t ctrl_fd; member
|