Revert "fb: fix some missing hides"

This reverts commit 4ddca540ef41dabed7499f6da16487da214ff112.
Revert "privacyguard: Share privacy package name between activity stacks"

This reverts commit d6ff1c5b2acdd2e84d2cf0a6e514c2e95d0822c0.
Revert "Frameworks: fix notification cancel on privacy guard"

This reverts commit b5715ea6f0823aefbf9a1ecf025aa9d61914a3f2.
Revert "Privacy Guard Slim version (1/2)"

This reverts commit cee1ad42db95ba1ecc1a3f589ed4d69fdc6c947e.

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/slim_strings.xml
	core/res/res/values/slim_symbols.xml
Revert "[1/2] Frameworks: Wakelock Blocker"

This reverts commit be0469da9dcf3e89a8794cc829348e09353b235f.

Conflicts:
	core/java/android/os/IPowerManager.aidl
	services/java/com/android/server/power/PowerManagerService.java
Privacy Guard : Reimplement backed by AppOps

Re-implements privacy guard to use appops.

Change-Id: I2b52e8cf0d6e126fb156f83df885b5551503cd9d

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/cm_strings.xml
	core/res/res/values/symbols.xml
PrivacyGuard: add missing @hides to method definitions

Causing DroidDoc compile errors, this fixes it by adding
a @hide to the respective function definitions.

Change-Id: I27675cd6a75fcc1535c812566e5b9098b11335e1
Fix ActivityManagerService.java, CM Privacy Guard with Slim
Fix PackageManagerService.java, CM Privacy Guard with Slim
AppOps: track op persistence by name instead of id

On XML write, include the op name.  On XML read, map
the name back to op id (if it exists).

Persistent AppOp state now follows the op name instead
numeric id.  This allows upgrades between versions of
android that have different code<>name mappings.

Change-Id: Iffc02095b6838a34ff999f8db51c2c6739dd0db8
[2/2] AppOps alarm wakeup