Trackpad Wake and Unlock support

Change-Id: I47f685f2fcd828c7d5629de7fef0566546284b61
SUPL early data connection fix

if GPS started before data connection is alive, SUPL will be broken for entire power cycle.

Change-Id: I0486ac5e62a2d4a7da14506e3dd8e78da42f405d
Merge remote-tracking branch 'cyan/cm-11.0' into HEAD
Merge remote-tracking branch 'cyan/cm-11.0' into HEAD
Merge remote-tracking branch 'cyan/cm-11.0' into HEAD
Merge remote-tracking branch 'cyan/cm-11.0' into HEAD
Merge remote-tracking branch 'upstream/cm-11.0' into lx_cm-11.0
pff: Infrastructure needed for permission spoofing

- Based on the original work by Plamen K. Kosseff
- Initial commit

Change-Id: Idb6de41a9d178c98a123974dc2071de6896783f8
pff: Infrastructure needed for permission spoofing
- NullPointerException fix for permissions that cost money
pff: Infrastructure needed for permission spoofing

bug fix in getSpoofedPermissions - don't check for REVOKE_PERMISSIONS
pff: permission spoofing - location
pff: infrastructure code cleanup

Conflicts:
	services/java/com/android/server/LocationManagerService.java
pff: infrastructure bug-fix in ContextImpl.java

Change-Id: I5fadf781cc29a38febc6ded0e2a339d352f370e8
pff: permission spoofing - contacts and phone log
plus some code cleanup

Change-Id: I55d6fc447e9664e2895f4d07bff3518885bcdb91

Conflicts:
	services/java/com/android/server/pm/PackageManagerService.java
pff: permission spoofing - calendar (Instances)

Change-Id: Idd87a288ae856ef023c63d432814ce2a3db42310
pff: permission spoofing - calendar (Instances) - cleanup

Change-Id: I43ce5b07b5e5aca5f12c9f5986d5df45884b9e2b
pff: permission revoking - initial commit

Change-Id: I78585d94c1ebaaa261c18e67d2e828524b916f47
pff: add PFFInfoDatabase to make spoofed informations persistant and setable
- expose functions in Package Manager to get and set the spoofed location

Change-Id: Iaf93189db1413fdf13e3a38d9e408ba524cd2391

Conflicts:
	api/current.txt
	services/java/com/android/server/LocationManagerService.java
pff: bug fix for permission revoking
solves force close when installing a apk from file system

Change-Id: I02e0dc1fa95a3130abfb5f0ad16be255c0a2be93