Frameworks: Lockscreen custom wallpaper (1/2)

kitkat now has code for a custom wallpaper image.

Using that code set a switch case to set the custom background between
  - Custom Wallpaper
  - Default background

This way allows the same overlay shadow thats set on the keyguard when
its the defualt way.

Change-Id: I98fde63ef9f3c0a5f334cd9a97b237a6f99c57f6
frameworks: expose api to set miracast mode

Currently miracast mode is set when p2p
state machine enters active state. This is
wrong since p2p state active doesnt mean miracast
is on. Add new hidden requestMiracastMode api
for the miracast application to call only
when miracast is active.

bug 1292341
bug 1292327

Change-Id: I97ac9dae611cd5d4c4022b364ebfcaf25f958ce9
Reviewed-on: http://git-master/r/243279
(cherry picked from commit 07e1e4d11be6e8425c9263eef93e939b3f5c9b88)
Reviewed-on: http://git-master/r/278831
(cherry picked from commit 98eceda6dd06263bcb8de0c2523c75757245cef0)
Reviewed-on: http://git-master/r/336037
Reviewed-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Tested-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-by: Amit Chaudhary <amitc@nvidia.com>
Reviewed-by: Peter Zu <pzu@nvidia.com>
Res: ControllerMapper: add switch config_controllerMapper to pass build

We don't have plan to add mapper support for partner branch, but partner
build share the master branch of device repo. So we need to add base res
for device res overlay.

Bug 1415401

Change-Id: Ib78486f84f18e9eae98d71b9b2a62c3fa744e446
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/337622
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Zu <pzu@nvidia.com>

Conflicts:
	core/res/res/values/config.xml