summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-04-15 17:50:10 -0700
committerKenny Root <kroot@google.com>2011-04-19 09:57:54 -0700
commit0e2c0f37d98bb5539b0fe41865aaf1add0ff1bb3 (patch)
treef39c38afc819ce0d75513880cca7fefcdab6925c /tools/aidl/generate_java.cpp
parent71a556f24e2b8d489bf81b22fab6fe5e99a9eae0 (diff)
Break apart queries to getInstalled* API
To avoid blowing past the Binder IPC limit, change the PackageManagerService to have a DB-like interaction where the client tells the service the last "row" that it read. The fact that we use a HashMap instead of a TreeMap makes this problematic. For now we're just making a new ArrayList for the keys and then sorting them for each call. This can make the API slower for callers of this, but it's probably greatly overshadowed by the cost of the data transfer itself. Bug: 4064282 Change-Id: Ic370fd148d4c3813ae4f2daffa1a7c28d63d5a09
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions