Add OPEN_SECURE_START, OPEN_SECURE_END, CLOSE_SECURE_START
and CLOSE_SECURE_END secure intents for Securing/Unsecuring
start and end notifications.
1. On Open Secure Start and Close Secure End events, hwc_prepare
close the current overlay state and composition will be
done by GPU. This will teardown the exisiting Rotator session.
2. On Open Secure End, secure configuration is enabled and
subsequent hwc_prepare will allocate secure memory for Rotator.
3. On Close Secure End, secure configuration is disabled and
subsequent hwc_prepare calls will allocate non-secure memory
for Rotator.
Change-Id: Ia81b21d19f8084f218ae16eb8e69bb62937afa26
Conflicts:
libhwcomposer/hwc_utils.h
Add hwc_service.cpp and ihwc.cpp file to enable direct communication
to hwcomposer by the clients to set hwc system wide properties.
Create hwcomposer service singleton object in hwc_context_t structure.
Change-Id: I0d0879475951a618a453a23ee254ea651e8c6b88