[1/2] base: Add ADB Paranoia mode

ADB Paranoia mode will reboot the device in the event of the following:

- The device is locked
- An ADB master device is connected
- ADB Paranoia mode is enabled in Development menu

Used in conjunction with device encryption, this should offer decent
protection against malicious adversaries with basic physical access to
your device. This will not help if your device has hardware level
exploits that can be used without rebooting the device, and without
connecting ADB.

Change-Id: I339d0bdf08ebe2d2c9096718d234ea7d396f3a98
Fix hot reboot when pressing power button

Change-Id: Iaecbfb281631ac84f56d1b99d747f1c5b8045121
Hide power menu on lockscreen [1/2]

Change-Id: I0de1501d0ecedb7b9b08fbb3aebaecd0e63cc09e
Screen recorder settings [2/2]

* Possibility to save preferences regarding pointer
* Possibility to use microphone as audio input

Change-Id: I2d99e6d33c9fd60ec07d265001218590d89bab5e
Merge "[1/2] base: Add ADB Paranoia mode" into du44
Merge "Hide power menu on lockscreen [1/2]" into du44
Merge "Screen recorder settings [2/2]" into du44
Fix FC of lockscreen misc tweaks [1/2]

Change-Id: Icf6402605edf9f22af2fbf724b7a802039e58b31
Merge branch 'du44' of https://github.com/DirtyUnicorns-KitKat/frameworks_base into HEAD