diff options
author | 2021-09-28 11:24:32 +0100 | |
---|---|---|
committer | 2021-10-01 09:07:49 +0100 | |
commit | 5539926c4ab3afc234bd577515e3b31ef71ca8ac (patch) | |
tree | 4ed09f75c95d1b0f3f490c02e80dffd234b8ceb2 /tests/DynamicCodeLoggerIntegrationTests/src | |
parent | d3199a6084b8e7572a445f8d513d4ff533b679ce (diff) |
Correct Parcel value types
* Bundle supports types char, char[], short[], float[] which were
falling back to serializable handling in Parcel because readValue()
didn't have specific support for those types. Adding support in Parcel
to avoid the need for length-prefixing and to improve performance.
Curiously some of those had read/write methods already.
* Updated Bundle to just pull the types above from the map since those
won't be lazy values anymore.
* We were missing a few custom type containers in our list of
length-prefixed types and we were listing Bundle unnecessarily as
length-prefixed since Bundle itself is already length-prefixed and
copies the correspondent section of the parcel internally.
Test: atest -d android.os.cts.ParcelTest android.os.cts.BundleTest android.os.BundleTest android.os.ParcelTest
Bug: 195622897
Change-Id: I1e15d59d883311685ffa32ece1f5a00e01bf6aea
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions