Home
last modified time | relevance | path

Searched refs:socket_fd_ (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_color_manager.cpp278 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
280 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
293 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
294 ::close(socket_fd_); in ~HWCQDCMModeManager()
306 if (socket_fd_ < 0) { in EnableActiveFeatures()
313 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
318 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
328 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
336 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h94 int socket_fd_ = -1; variable
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_color_manager.cpp381 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
383 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
396 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
397 ::close(socket_fd_); in ~HWCQDCMModeManager()
409 if (socket_fd_ < 0) { in EnableActiveFeatures()
416 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
421 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
431 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
439 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h94 int socket_fd_ = -1; variable
/hardware/qcom/display/sdm845/sdm/libs/hwc2/
Dhwc_color_manager.cpp380 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
382 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
406 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
407 ::close(socket_fd_); in ~HWCQDCMModeManager()
443 if (socket_fd_ < 0) { in EnableActiveFeatures()
450 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
455 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
465 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
473 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h95 int socket_fd_ = -1; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_color_manager.cpp431 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
433 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
457 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
458 ::close(socket_fd_); in ~HWCQDCMModeManager()
494 if (socket_fd_ < 0) { in EnableActiveFeatures()
501 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
506 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
516 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
524 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h96 int socket_fd_ = -1; variable
/hardware/qcom/display/sdm845/sdm/libs/hwc/
Dhwc_color_manager.cpp532 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
534 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
558 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
559 ::close(socket_fd_); in ~HWCQDCMModeManager()
595 if (socket_fd_ < 0) { in EnableActiveFeatures()
602 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
607 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
617 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
625 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h96 int socket_fd_ = -1; variable
/hardware/interfaces/bluetooth/1.0/default/test/
Dasync_fd_watcher_unittest.cc102 socket_fd_ = StartServer(); in ConfigureServer()
104 conn_watcher_.WatchFdForNonBlockingReads(socket_fd_, [this](int fd) { in ConfigureServer()
129 close(socket_fd_); in CleanUpServer()
193 int socket_fd_; member in android::hardware::bluetooth::V1_0::implementation::AsyncFdWatcherSocketTest