2682fa70678ec79131329a6071d70c3d84c23d41 |
|
18-Aug-2017 |
Alexandru-Andrei Rotaru <rotaru@google.com> |
StringParceledListSlice throws exception when the IPC memory threshold is exceeded Fixed the code such that list of strings that exceed the 256KB limit can be transfered. Bug : b/64833731 Test: Added unit test in ParceledListSliceTest Change-Id: I4e16708010125a444baa8fcb0af6101dc643cd38
/frameworks/base/core/java/android/content/pm/BaseParceledListSlice.java
|
3f7c9f2d0164f2b5826c194e9309791637f35c2c |
|
05-Apr-2017 |
Dianne Hackborn <hackbod@google.com> |
Deliver start service args with ParcelledListSlice. We have seen issues where we fail restarting a process because there are so many services with so many pending start arguments that we hit IPC limits. So instead of doing an IPC for each service start, collect them together in a list that is sent once, and send it inside of a ParcelledListSlice to control how much data is written inline in the IPC. Test: boot and ran Change-Id: Ifed26ccdf535871e577fc02c7ef1d09060ab06ca
/frameworks/base/core/java/android/content/pm/BaseParceledListSlice.java
|
abaa0695c5361b36a7a2cdbe87c77bf60be20af7 |
|
20-Feb-2017 |
Robin Lee <rgl@google.com> |
Delete ParcelableString, add StringParceledListSlice Both inherit from package private BaseParceledListSlice. This is still bad, but it's not as bad. The existing code that uses this can just do Foo.bar().getList() now instead of having to marshal to and from an oddball type at either end as well. In the longer term ParceledListSlice<> should be eliminated, but it's not clear how far into the future that is going to happen. Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java Test: runtest -x core/tests/coretests/src/android/content/pm/ParceledListSliceTest.java Change-Id: Ie69b96b5215d6e04990f6d31345772cdfee21d78
/frameworks/base/core/java/android/content/pm/BaseParceledListSlice.java
|