Fix use of %llx for sscanf 64 bit values.

Change-Id: Ie7a0e243dfcf24722783fe7d697a1412de7efe68
Add new header to support 32 bit/64 bit dumps.

Bug: 17319589

(cherry picked from commit 0d3c045a0d48193150689e5924bd04c511380a8a)

Change-Id: I79aa035098115de7b02171a9432ff7e9393328ab
Use char16_t for char things.

When compiling in C++ mode, the compiler will complain about conversions
from uint16_t to char16_t. Be consistent in using char16_t for strings.

Change-Id: I052b6176ced635162920b31560052d9a64f92764

Conflicts:
	tools/aapt/ResourceTable.cpp
Don't check for null references.

The address of a reference will never be null in well formed C++ code.
The function returning the value being checked simply returns a
dereferenced pointer (which is just going to segfault if it is null!).

Change-Id: I3a4eb6adfc003c63ebf21b81d46088d52154d99d
Don't pollute the namespace for two uses.

Clang complains about ambiguity between std::hash and ::hash (locally
defined). There's no need to pull in the whole namespace for two uses of
std::map anyway.

Change-Id: Icbaa7ebbaad05999988784ad34662c721fb12b29

Conflicts:
	tools/aapt/ResourceIdCache.cpp
Don't check a staticly allocated array for null.

Change-Id: I5568174f1a9d53078c2169cfd3401e43d88a7643
Clean up test makefiles.

The build system takes care of linking the correct STL and gtest
libraries for you, and specifying them manually confuses the build
system when using libc++.

Change-Id: I9f76ab26a63ace51293614cfb5ca002f37438e02
Clean up makefile cruft.

The build system already takes care of all these things.

Change-Id: Idef80b554e07cef5e5ed2adf1b5740a76f13ef6d

Conflicts:
	libs/hwui/Android.mk
Use constants instead of resources for ellipsis.

All supported locales use only U+2025 and U+2026 to represent
ellipses, and it will unlikely change in future. Given translated
resources are inconsistent and often use three dots it is safer
to use constants instead of resources.

Change-Id: I51a6cb903f62f739fbadd6b78e5765c0028d641a
Frameworks/base: Fix services/jni warnings

Update code for unused variables.

Ignore warnings generated by pulling in Skia.

Change-Id: I5b33c9b003c90bcabcea0761304c4c99cf5e39ec

Conflicts:
	services/jni/com_android_server_ConsumerIrService.cpp
	services/jni/com_android_server_LightsService.cpp
	services/jni/com_android_server_input_InputManagerService.cpp
	services/jni/com_android_server_location_GpsLocationProvider.cpp