diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2015-05-23 01:11:39 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-05-23 01:11:39 -0700 |
commit | 4f9cb42a7a25ff37c48ed157ea6d44dc818de60a (patch) | |
tree | 22ef72e97e7d52c42b81efe72f8534c55520ed96 /libqservice | |
parent | 73d002e57ca632f3007170168b4aaa2dd1f56b84 (diff) | |
parent | db274fa42ad251b0ddc8466f37e40997e7feedaf (diff) | |
download | display-4f9cb42a7a25ff37c48ed157ea6d44dc818de60a.tar.gz |
Merge " hwc : Set bw limit on mdss when camera is on."
Diffstat (limited to 'libqservice')
-rw-r--r-- | libqservice/IQService.h | 1 | ||||
-rw-r--r-- | libqservice/QServiceUtils.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h index 1f28ceea..00bf90ea 100644 --- a/libqservice/IQService.h +++ b/libqservice/IQService.h @@ -69,6 +69,7 @@ public: GET_CONFIG_COUNT = 27, //Get the number of supported display configs GET_DISPLAY_ATTRIBUTES_FOR_CONFIG = 28, //Get attr for specified config SET_DISPLAY_MODE = 29, // Set display mode to command or video mode + SET_CAMERA_STATUS = 30, // To notify display when camera is on and off COMMAND_LIST_END = 400, }; diff --git a/libqservice/QServiceUtils.h b/libqservice/QServiceUtils.h index 71277e8b..62ee0d11 100644 --- a/libqservice/QServiceUtils.h +++ b/libqservice/QServiceUtils.h @@ -91,4 +91,8 @@ inline android::status_t setBufferMirrorMode(uint32_t enable) { return sendSingleParam(qService::IQService::BUFFER_MIRRORMODE, enable); } +inline android::status_t setCameraLaunchStatus(uint32_t on) { + return sendSingleParam(qService::IQService::SET_CAMERA_STATUS, on); +} + #endif /* end of include guard: QSERVICEUTILS_H */ |