diff options
author | Arun Kumar K.R <akumarkr@codeaurora.org> | 2014-10-09 15:56:33 -0700 |
---|---|---|
committer | Arun Kumar K.R <akumarkr@codeaurora.org> | 2014-10-23 10:30:02 -0700 |
commit | 33888f5b1f4f09f735e8471d32434b8d4fd4aac1 (patch) | |
tree | 8370d410259f1467edac0fa8f996688e93155468 /libqservice | |
parent | b0481ecc53c19924eb010f58da8467bbaa423927 (diff) | |
download | display-33888f5b1f4f09f735e8471d32434b8d4fd4aac1.tar.gz |
display: Add setSecondaryDisplayStatus API
- Clients(SecureUI/WFD FW) will use this API to set status of the
Secondary display
- Status can be offline/pause/resume
- Secondary display will be hdmi/wfd, HWC will free up pipes for
these displays
Change-Id: I25d5e070b60c38daeb102349bed14bb6de0a5684
Diffstat (limited to 'libqservice')
-rw-r--r-- | libqservice/IQService.h | 4 | ||||
-rw-r--r-- | libqservice/QServiceUtils.h | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h index 3be20f18..87d51fc1 100644 --- a/libqservice/IQService.h +++ b/libqservice/IQService.h @@ -49,8 +49,8 @@ public: GET_DISPLAY_ATTRIBUTES, // Get display attributes SET_HSIC_DATA, // Set HSIC on dspp GET_DISPLAY_VISIBLE_REGION, // Get the visibleRegion for dpy - PAUSE_WFD, // Pause/Resume WFD - SET_WFD_STATUS, // Set if wfd connection is on/off + SET_SECONDARY_DISPLAY_STATUS, // Sets secondary display status + UNUSED_SLOT, // XXX: Unsed - New one can go here SET_VIEW_FRAME, // Set view frame of display DYNAMIC_DEBUG, // Enable more logging on the fly SET_IDLE_TIMEOUT, // Set idle timeout for GPU fallback diff --git a/libqservice/QServiceUtils.h b/libqservice/QServiceUtils.h index 08cab317..f53d140b 100644 --- a/libqservice/QServiceUtils.h +++ b/libqservice/QServiceUtils.h @@ -83,11 +83,4 @@ inline android::status_t setBufferMirrorMode(uint32_t enable) { return sendSingleParam(qService::IQService::BUFFER_MIRRORMODE, enable); } -inline android::status_t pauseWFD(uint32_t pause) { - return sendSingleParam(qService::IQService::PAUSE_WFD, pause); -} - -inline android::status_t setWfdStatus(uint32_t wfdStatus) { - return sendSingleParam(qService::IQService::SET_WFD_STATUS, wfdStatus); -} #endif /* end of include guard: QSERVICEUTILS_H */ |