Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value

To be able to customize the "WiFi scan always available"
setting we need to set a default value.

Change-Id: I3673f2613ab9b6a947aed7e29d4cc876140c2180
MediaFocusControl: Deny audio focus if notification stream is 0

Previously audio focus would be granted regardless of notification
volume, meaning that if notifications are muted the media stream would
still be dimished for focus. By checking if STREAM_NOTIFICATION is 0 and
if a notification stream is requesting focus, this is no longer an issue.

Change-Id: Ie10a64e58ce77174a3bbdeaa936646d40c24404f
Signed-off-by: Evan Anderson <evan1124@gmail.com>
base: Remove unused strings

Change-Id: Icf1a1c50679df64cc1c79e93f20a33212436505e
SystemUI: AF Translations

Change-Id: I2e641bb6d8ac4550adc2631193602128c315855c
base: EL translations

Change-Id: Ie904f785ba0aac356369a47a723573d23fd50ccc
Keyguard: RU translation

Change-Id: Ia746d3f8166b768a45cc3a4285f8073b1969399d
base: LT translations

Minor fixes
PS: 8. Keyguard translated, changed quotation marks to match AOSP strings, improved translations, minor fixes
*Fixed quatation marks
*Improved translations
Change-Id: Ib5051ed5787ecf096a3a39b70ef5450cb3c96d5b
Merge "SystemUI: AF Translations" into cm-11.0
Merge "base: EL translations" into cm-11.0
Merge "Keyguard: RU translation" into cm-11.0
Merge "base: LT translations" into cm-11.0
base: correct copyright notices

Change-Id: Ia7c72763b41b72f9fec827b4c756447905665190
Merge "MediaFocusControl: Deny audio focus if notification stream is 0" into cm-11.0
Merge "Set Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE default value" into cm-11.0
Keyguard: DE translation

Change-Id: I7ef3ab3d663adb728d91335ad7a72029d9e75ad0
ProcessList: use different polling interval when screen off

We are using the same time interval for both screen off and screen on.
For process on top: ActivityManager.PROCESS_STATE_TOP, we will poll PSS
information every 120 sec.
During polling PSS, we are grep /proc/%d/smaps which is a 10k lines file.
This cost quite a lot of CPU resource. But when screen off, we don't need to update
TOP process PSS so frequently since we are not operating it. Lower polling
circle to every 15min to reduce power.

Change-Id: Ia4cd26290d44d066f034d5270ce5523650a3c493
Merge "base: Remove unused strings" into cm-11.0
Alarm: Add one more RTC alarm type for poweroff alarm.

Now we use type of RTC_WAKEUP for the poweroff alarm.
Actually lots of other applications also use this type.
But these applications never expect the device will
power on after it has been shut down. So we need to
add dedicated alarm type for the Deskclock or similar
applications.

Change-Id: I5df2465c46de8fe875d1581bdefe26021c8ffb33
alarm: add JNI interface for clearing alarm

Add the JNI for clearing cancelled alarm, otherwise kernel driver
would know nothing about the alarm status. E.g. power-off alarm
would not be really cleared in alarm driver even it is cancelled
in the apps/framework.

Change-Id: I1250b3778de8961ba2a89d8ea8fa29d729bbc4e8
Bringup NSRM(network socket request manager).

NSRM is a feature to synchronize app socket requests
to reduce network signalling and there by save some power.

Change-Id: I6f23cc17e29e7ce12a138c747765e6bab8c126d9