Home
last modified time | relevance | path

Searched refs:socket_fd_ (Results 1 – 20 of 20) 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/sm7250/display/composer/
Dhwc_color_manager.cpp335 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
337 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
350 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
351 ::close(socket_fd_); in ~HWCQDCMModeManager()
363 if (socket_fd_ < 0) { in EnableActiveFeatures()
370 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
375 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
385 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
393 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/msm8909w_3100/sdm/libs/hwc2/
Dhwc_color_manager.cpp378 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
380 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
393 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
394 ::close(socket_fd_); in ~HWCQDCMModeManager()
406 if (socket_fd_ < 0) { in EnableActiveFeatures()
413 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
418 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
428 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
436 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/msm8909/sdm/libs/hwc2/
Dhwc_color_manager.cpp377 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
379 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
392 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
393 ::close(socket_fd_); in ~HWCQDCMModeManager()
405 if (socket_fd_ < 0) { in EnableActiveFeatures()
412 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
417 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
427 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
435 size = ::write(socket_fd_, cmds.cmd_on, strlen(cmds.cmd_on)); in EnableActiveFeatures()
Dhwc_color_manager.h94 int socket_fd_ = -1; variable
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_color_manager.cpp415 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
417 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
430 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
431 ::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.h94 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/msm8909w_3100/sdm/libs/hwc/
Dhwc_color_manager.cpp531 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
533 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
557 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
558 ::close(socket_fd_); in ~HWCQDCMModeManager()
594 if (socket_fd_ < 0) { in EnableActiveFeatures()
601 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
606 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
616 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
624 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/msm8909/sdm/libs/hwc/
Dhwc_color_manager.cpp531 mode_mgr->socket_fd_ = in CreateQDCMModeMgr()
533 if (mode_mgr->socket_fd_ < 0) { in CreateQDCMModeMgr()
557 if (socket_fd_ >= 0) in ~HWCQDCMModeManager()
558 ::close(socket_fd_); in ~HWCQDCMModeManager()
594 if (socket_fd_ < 0) { in EnableActiveFeatures()
601 size = ::write(socket_fd_, cmds.cmd_query_status, strlen(cmds.cmd_query_status)); in EnableActiveFeatures()
606 size = ::read(socket_fd_, response, kSocketCMDMaxLength); in EnableActiveFeatures()
616 size = ::write(socket_fd_, cmds.cmd_off, strlen(cmds.cmd_off)); in EnableActiveFeatures()
624 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/async/test/
Dasync_fd_watcher_unittest.cc100 socket_fd_ = StartServer(); in ConfigureServer()
102 conn_watcher_.WatchFdForNonBlockingReads(socket_fd_, [this](int fd) { in ConfigureServer()
127 close(socket_fd_); in CleanUpServer()
191 int socket_fd_; member in android::hardware::bluetooth::async_test::AsyncFdWatcherSocketTest
/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