diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-01-03 12:32:20 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-01-06 14:42:56 -0800 |
commit | 4aacd7138f6a271cdd7858a8f3d614b09c647308 (patch) | |
tree | 4d377ed6e24638fe4aa83926eb4cff58a317c2f2 /rs/java/android/renderscript/ProgramStore.java | |
parent | 03f00fc5c3127a6163926e13f3d1f9fabdb0f9f9 (diff) |
Collect historical appops by feature
This
- pipes through the featureId from AppOpsService to HistoricalRegistry
- changes the file format of historical app ops by adding the feature-id
tag. This will make us loose all previously collected app-ops. This is
ok as we never shipped a device with historical app-ops enabled
- Adds a new layer to the HistoricalOps hierarchy. For backwards
compatibility it is possible to go directly from package to op. In this
case a combined HistoricalOp object is generated on the fly.
- It is possible to filter historical ops requests by featureId.
Unfortunately a 'null' featureId is a valid ID. Hence there is now a
dedicated mask of paramters to filter for (@HistoricalOpsRequestFilter).
- Fixes the equals methods of HistoricalOp by implementing an equals
method for LongSparseLongArray
Test: atest CtsAppOpsTestCases AppOpsServiceTest
Bug: 136595429
Change-Id: I92c41e8ae2cd471051c2d628d49a3ad6a5a66330
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions