util: Add BlacklistUtils

Change-Id: Id29990bd95f20f7a3b4eae4e0419f1569d3614c1
Telephony: Add blacklist elements

Change-Id: Icc42a16e13a52c207d2684326adbfaceb639b521
Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (2/2)

Change-Id: If3ff32a3974368d9ea2756d3d9a22d4713e704fa
opt/telephony: Fix compile on JDK7

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.util.ExceptionWithContext
        at
com.android.dx.util.ExceptionWithContext.withContext(ExceptionWithContext.java:46)
        at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:344)
        at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:134)
        at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:87)
        at com.android.dx.command.dexer.Main.processClass(Main.java:487)
        at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459)
        at com.android.dx.command.dexer.Main.access$400(Main.java:67)
        at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398)
        at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
        at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
        at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
        at com.android.dx.command.dexer.Main.processOne(Main.java:422)
        at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
        at com.android.dx.command.dexer.Main.run(Main.java:209)
        at com.android.dx.command.dexer.Main.main(Main.java:174)
        at com.android.dx.command.Main.main(Main.java:91)
Caused by: java.lang.NullPointerException
        at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:87)
        at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:75)
        at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:247)
        ... 14 more
...while processing <init> (Lcom/android/internal/telephony/gsm/GSMPhone;)V
...while processing com/android/internal/telephony/gsm/GSMPhone$1.class

Change-Id: If39b2067c9190f0f3ed6cd3bb909ccc3201262cb
telephony: Add RILJ wakelock debugging

Patch originally made by Lee Chu against CM10 for the SMDK4210 RIL

Reworked to provide generic RILJ wakelock debugging for all devices

This causes the log to get spammed if an outstanding unresponded RIL request
is causing extended wakelocks.  The wakelock timer is reset every time a new
RIL request gets issued, causing the timeout to reset for "older" requests.

End result is an ongoing RILJ wakelock if the RIL doesn't respond to something.

Rather than purge the offending item, we spam the logs, since a lack of a RIL
response is usually due to a bug on our end.  (e.g. sending a request we should
not.)

Original commit at:
https://github.com/CyanogenMod/android_frameworks_base/commit/44a77728d6576d66ee873d18f72caed8c4cb2732

Change-Id: I2c7c337b9e0b1dba76a13bc40d7319ae0d1ea917
Allow a device to include its own RIL subclass

For cases where a single device needs a subclass, there's no need to
pollute the common core with it: just stick it in the device's own
repository, and add something like
"BOARD_RIL_CLASS := ../../../device/manuf/model/ril/" to the BoardConfig

Change-Id: I9d01ceb6e5587382eb216341e2e373ec0c52848f
telephony: Use reflection to create command interface (RIL class)

Change-Id: Icdc02eaa74b89dbde4ddfb989cc62481d6423312
RIL: Make RIL subclassable. Thanks rmcc