hwc: add qdcm service to be loaded in HWC and perform service
1. Add one binder command to display.qservice to serve the
binder requests received from SDK.
2. Each subcommand will be corresponding to one command
handler. Command handler will pass the requests to
qdcm library.
3. Dynamically load qdcm library, where all apis are
implemented.
4. apply default mode function will be invoked once
bootanimation event is detected
Change-Id: I28fdf5f2561fcaffbfd3b7a1e9b136a4c372300e
diff --git a/libhwcomposer/hwc_qclient.cpp b/libhwcomposer/hwc_qclient.cpp
index 34de2e6..f18ad36 100644
--- a/libhwcomposer/hwc_qclient.cpp
+++ b/libhwcomposer/hwc_qclient.cpp
@@ -37,6 +37,7 @@
#include <display_config.h>
#include <hdmi.h>
#include <video/msm_hdmi_modes.h>
+#include <hwc_qdcm.h>
#define QCLIENT_DEBUG 0
@@ -45,6 +46,7 @@
using namespace qhwc;
using namespace overlay;
using namespace qdutils;
+using namespace qQdcm;
namespace qClient {
@@ -554,6 +556,8 @@
case IQService::GET_DISPLAY_ATTRIBUTES_FOR_CONFIG:
ret = getDisplayAttributesForConfig(mHwcContext, inParcel,
outParcel);
+ case IQService::QDCM_SVC_CMDS:
+ qdcmCmdsHandler(mHwcContext, inParcel, outParcel);
break;
default:
ret = NO_ERROR;