[1/7] Base: Blacklist support

telephony: https://gerrit.omnirom.org/#/c/6347/
InCallUI: https://gerrit.omnirom.org/#/c/5669/
Mms: https://gerrit.omnirom.org/#/c/5671/
Settings: https://gerrit.omnirom.org/#/c/5011/
TelephonyProvider: https://gerrit.omnirom.org/#/c/5012/
Telephony: https://gerrit.omnirom.org/#/c/5010/

Change-Id: Ic5a59be11f76b4a9eba075d9c3525086b3ee389e

Conflicts:
	core/java/android/provider/Settings.java
Remove stray logging statement.

bug: https://code.google.com/p/android/issues/detail?id=66974
Change-Id: Ie34c102de143cf6aeb16c78778dda3ef5e928380
Change SQL to improve performance.

To know the number of images, use "COUNT(*)" instead of "_id" in SQL.
Using "_id" gets all result set. and when getCount() is called, CursorWindow is filled.
But using "COUNT(*)" gets just 1by1 data.
So using "COUNT(*)" is more faster than now.
And this SQL is called everytime per a file during a file transfer in MTP
The better way is by using "EXIST".
But if using "EXIST", modify MediaProvider.call() method.
So i applied just a "COUNT(*)"

Change-Id: Ic5882af0fad2304f836b7b7043a4746359391609
Signed-off-by: muzbit.kim <muzbit.kim@lge.com>
AudioService: Fix absolute volume for AVRCP

Avrcp.java uses max volume obtained by getStreamMaxVolume() when
converting to AVRCP levels and it returns non-scaled volume index.
For this reason volume index needs to be dispatched to Avrcp before
scaling as otherwise Avrcp will convert volume level incorrectly,
i.e. max volume index for music stream is 15 and any volume index
>1 (>10 after scaling) will result in setting *MAXIMUM* volume level
on headset which is not safe for listener.

Change-Id: Ia799eec578ed2326ec18b69f2ee4f2a60c664514
add blacklist Settings constants

Change-Id: I982117fdf89837c78dbe3efbc57329e322db89ba