21696381afb69703bef709f151b6a1885582b5ca |
|
26-Feb-2016 |
Svet Ganov <svetoslavganov@google.com> |
Refresh the native app ops manager's token if needed. The app ops manager serivce keeps track of started app ops by a process by stashing them in a binder object that is passed to the remote process to hold on to. Hence, the data is in the system process and is referenced by the client process it tracks to prevent garbage collaction and limit risk of resource leaks. It is possible that the client process is longer lived than the system seriver, e.g. camera server starts an app op, the system server dies for some reason, the camera server's app ops manager ends up with a stale token. The solution is to check the validity of the token and refresh it if needed. bug:27344593 Change-Id: I0abb39e777b7b66b1b5cefede7e7b41c4404c4b1
/frameworks/native/libs/binder/AppOpsManager.cpp
|
b412f6e203b38f8047f760261a5e3dc6d0722f08 |
|
30-Apr-2015 |
Svetoslav <svetoslavganov@google.com> |
Add body sensors app op - framework native Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
/frameworks/native/libs/binder/AppOpsManager.cpp
|
2ea926bda2fa30f3ba8d0ed2d2395a8ada952e6e |
|
14-Nov-2014 |
Marco Nelissen <marcone@google.com> |
Replace IInterface::asBinder() with a static so we can do NULL checks again, and update calls to IInterface::asBinder() to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
/frameworks/native/libs/binder/AppOpsManager.cpp
|
20d03805941c75a4489ec2e7ce5a3c021bde09f0 |
|
23-Jul-2013 |
Zhijun He <zhijunhe@google.com> |
Fix AppOsManager missing mutex unlock. Need unlock the mutex after finish the getToken operation. Change-Id: Icd83b383913d06e4d60976857aa314c3008ebea1
/frameworks/native/libs/binder/AppOpsManager.cpp
|
913b63d235a982174b66acad95ca2f87ac8a1982 |
|
18-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Follow framework change to track started ops by proc. Change-Id: Ibbce3bf6556f45751c74bab045b46377e56bff9b
/frameworks/native/libs/binder/AppOpsManager.cpp
|
e88a85e0d0a25c943e974114557770ba10b81847 |
|
19-Feb-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Fixes to native app ops services Bug: 8181262 Change-Id: I3d3f20453f6c6f2756c988363c5b5453ef309cb6
/frameworks/native/libs/binder/AppOpsManager.cpp
|
5da5ca520cca085528588f6067acb1c437001ef2 |
|
13-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
App ops: new native access API. This is to help implementation of bug #8181262 and maybe bug #8181261 Note the current code has not yet been tested; it is only known to compile at this point. Change-Id: I489674c96d0d3fc0ddacc92611931a19a9ee5230
/frameworks/native/libs/binder/AppOpsManager.cpp
|