Frameworks/base: Wall Werror in media/tests

Turn on -Wall -Werror in media/tests. Fix warnings.

Change-Id: I7177e795d4896f62dfa0b0a5990386e564763384
Frameworks/base: Remove unused header

android_nfc.h is used nowhere.

Change-Id: I3009b3eb122674d3fe7ddb201bac18368b78bc02
Merge "Frameworks/base: Remove unused header"
Merge "Frameworks/base: Wall Werror in media/tests"
Frameworks/base: Consistency in core/jni

Make consistent use of core_jni_helpers for registration.

Translate some #ifdefs into const bools.

Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
Merge "Frameworks/base: Consistency in core/jni"