summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-06-27 16:05:52 -0700
committerMathias Agopian <mathias@google.com>2011-06-27 17:42:15 -0700
commit0dd593f22352a0863223fa4ea7e37e926b99282e (patch)
tree58d445ed41c6aea8184848490a9f47a2aa31a876 /tools/aidl/generate_java.cpp
parentabb04eec06bce358826e4cb6b5f852424ece8005 (diff)
PermissionCache caches permission checks
This is intended to absorb the cost of the IPC to the permission controller. Cached permission checks cost about 3us, while full blown ones are two orders of magnitude slower. CAVEAT: PermissionCache can only handle system permissions safely for now, because the cache is not purged upon global permission changes. Change-Id: I8b8a5e71e191e3c01e8f792f253c379190eee62e
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions