summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Anthony Stange <stange@google.com> 2020-03-20 10:46:15 -0400
committer Anthony Stange <stange@google.com> 2020-04-17 13:34:29 -0400
commit0ff158f8f2e5749737c51444b9aeb153bd0b325d (patch)
tree10e707f0416b83c69c973609ca62e5810df17eb2 /services/surfaceflinger/RegionSamplingThread.cpp
parentfcf9aeceb7e5ea2142f347e7575c649cd291768d (diff)
Use resolution to round sensor event values
Add method to utilize a sensor's specified resolution value to ensure data isn't provided that is more fine-grained than expected. This helps mitigate sensor calibration fingerprinting attacks. Bug: 147725937 Test: Verify accel sensor data isn't more fine grained than its specified resolution Change-Id: I81905cde22cc8429021ffb8318a222512ce01900
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions