ShadowParcel/ShadowBundle improvements

Necessary for SafeParcelables to be used in JVM tests!

1. Have shadow parcel properly adhere to dataPosition and setDataPosition.
2. Fix broken Robolectric tests to use correct dataPosition behavior
3. Update shadow bundle to support put/get char and put/get short

Change-Id: I3a5744567d8e29c2e472aaca52e4369fe15cf00d
Populate Account/Intent CREATORs

Change-Id: Ibd4d318c52856392ee037271b1898f08739818b9
Implement ShadowSignature.

Based on AOSP.

Change-Id: I9e69df075456390676ec05174324553fb0b9bae9
Implement ShadowBinder#getCallingUid

Change-Id: Ib6d42d0ef31a50e33a61b7669ef710e239647cfc
Let robolectric read manifest,res,assets from System properties

Change-Id: I1ad19db93694a02eabf249777fbc895d0f2f76a1
Add support for View.setFilterTouchesWhenObscured()

Change-Id: I97a19bbe0ec4e021a22760cfade9c81e1346184c
Test only: Fix ShadowSpannableString.getSpans

In the original version of the method, when the returned array
is empty, Java sees it as an array of Objects that it can't
cast to T[] after the method returns, resulting in a
ClassCastException. This CL fixed that by instantiating an
array of the expected type first.

Change-Id: Ic918b27566bfc7c8acab0460116e6bb0f6154a62
Fix resource loading in robolectric for API 18+.

Look at resource folders in the SDK starting at 18 and continue
backwards for 5 sdk versions.

Bug: 9573511
Change-Id: Ib1f92a247e572be41c4a74ba0556988ae306a0ea
Revert "Fix resource loading in robolectric for API 18+."

This reverts commit 03e9d1058a5f759d0e356563d7e8499ff71b5165.

Change-Id: Ib79f9954bea69eaba1b7a9b9c2b908b1622bc348
Fixed build: Fix resource loading in robolectric for API 18+.

Look at resource folders in the SDK starting at 18 and continue
backwards for 5 sdk versions.

Bug: 9573511
Change-Id: If6318dfea851322b5f7798e9df7e96c001f3a1f5
Add android.providers.Settings.Global support.

Change-Id: I4b18642a2c398aa686c979fd5267216e659daa7a
Fix Wallet robolectric tests, Part 1

The build server java compiler builds robolectric tests in such
a way that custom shadows are added to class loader after the
test classes are loaded. This causes some custom shadows to be
ignored when the real classes are referenced in a test class.
This and the followup CL fixed that (hopefully) by moving the
addition of custom shadows forward to the constructor of
WalletRoboTestRunner.

Bug:10071558
Change-Id: I76745fdfcc08bdc198de8d90cf15dbabbbada7e0
Merge "Fix Wallet robolectric tests, Part 1"
Merge tag 'tags/android-4.4_r1' into kitkat-staging

Android 4.4 Release 1.0