diff options
author | Mathias Agopian <mathias@google.com> | 2011-06-27 16:05:52 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-06-27 17:42:15 -0700 |
commit | 99b49840d309727678b77403d6cc9f920111623f (patch) | |
tree | 8269d3b9e23c3ecdad0de714eefe3d16f54dfdf8 /libs/binder/Android.mk | |
parent | df63ad85dea1d25d22386615b961779eb335b3c4 (diff) | |
download | frameworks_native-99b49840d309727678b77403d6cc9f920111623f.zip frameworks_native-99b49840d309727678b77403d6cc9f920111623f.tar.gz frameworks_native-99b49840d309727678b77403d6cc9f920111623f.tar.bz2 |
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 'libs/binder/Android.mk')
-rw-r--r-- | libs/binder/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Android.mk b/libs/binder/Android.mk index f9d9f25..3a12e96 100644 --- a/libs/binder/Android.mk +++ b/libs/binder/Android.mk @@ -27,7 +27,7 @@ sources := \ MemoryHeapBase.cpp \ MemoryHeapPmem.cpp \ Parcel.cpp \ - Permission.cpp \ + PermissionCache.cpp \ ProcessState.cpp \ Static.cpp |