Avoid transfering a large usage events list in one transaction

Splits transfering the large list into multiple transactions.
Also add the trunk-stable flag use_parceled_list to gate the
change.

Also add new test cases for ParcelableUsageEventList

Bug: 301254110
Test: atest CtsUsageStatsTestCases
Test: atest FrameworksCoreTests:android.app.usage.*
Change-Id: Ica04833bf16013e05e326f0c38c73ed5c680404f
5 files changed