Fix for CharSequenceCreator test case

The test case testCharSequenceCreator() in TextUtilsTest fails
because the data position is not reset before calling
createFromParcel().

Change-Id: I6d5cc093ff65019ab0d2191bb0bd9c10ae49612b
Fixing NULL pointer access causing segmentation fault in aapt

In cases where resource packages are generated which does
not have public resources for all resource types - NULL
pointers sneaks into the mOrderedConfigs vector causing
the aapt tool to crash. The solution in this fix simply
ignores the NULL elements when later processing the sorted
vector.

The NULL elements are inserted during applyPublicEntryOrder
function call

Change-Id: I8b7135932e2d235018da2e2f7e09f0d22f1b2f59
Fix memory leak where we close the descriptor instead of the file.

(cherry pick of 5cb769d99952ef9fb4f576abba70423fe157342b.)

bug: 17541634
Change-Id: I9968f9df249e4cba24383239ce6130dd16fcd532
Merge "Fix memory leak where we close the descriptor instead of the file."
bionic's struct stat is now POSIX-compliant.

One less hack needed...

Bug: 18298106
Change-Id: I1e9e5ebf329bd6cbaf3445201f182793ee4871ce
Merge "bionic's struct stat is now POSIX-compliant."
kill HAVE_SCHED_SETSCHEDULER

Bug: 18300670

Change-Id: I3033c3542e83963e72d49a639db76501d12ad581
Merge "kill HAVE_SCHED_SETSCHEDULER"
Frameworks/base: Wall Werror in libs/input

Enable -Wall -Werror in libs/input. Mask warnings from Skia.

Change-Id: I0deeffde07fcf3a09eadec2852e9bf5666b55ee8
Frameworks/base: Wall Werror in libs/hwui

Turn on -Wall -Werror in libs/hwui. Fix errors.

Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
kill HAVE_INOTIFY

Bug: 18314841
Change-Id: I880a35bf51a1aecba2f111e7f6eae54c7d17a28d
kill OS_CASE_SENSITIVE

Bug: 18314594
Change-Id: Ib11b45d2597b2576bc7df2d0167ce1bbd1449523
Merge "kill HAVE_INOTIFY"
Frameworks/base: Wall Werror in native/android

Turn on -Wall -Werror in native/android.

Change-Id: I28bab9ebd2fe3f6935878816773a04531e26450f
Merge "kill OS_CASE_SENSITIVE"
Frameworks/base: Wall Werror in native/graphics

Turn on -Wall -Werror in native/graphics. Mask skia warnings.

Change-Id: Ia671e91348296ace84d9a24b3c6c025fa889bead
Frameworks/base: Wall Werror in drm

Turn on -Wall -Werror in drm/jni. Fix warnings.

Change-Id: If24fec45fbb737af593ddadfa473548dfa583e0b
Frameworks/base: Wall Werror in media/mca

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

Change-Id: I2a43df1d0639babe240b91942a5ea3f8babdef93
Merge "Frameworks/base: Wall Werror in native/android"
Merge "Frameworks/base: Wall Werror in drm"