commit | 12924868ccbadcffc67a936d181ad1861c94f70a | [log] [tgz] |
---|---|---|
author | Anthony Stange <stange@google.com> | Fri Mar 20 10:46:15 2020 -0400 |
committer | Anthony Stange <stange@google.com> | Wed Apr 22 12:09:40 2020 -0400 |
tree | 9311f052d438e0c7c733a7071b40d8e3585084a8 | |
parent | d838f6933d325bde1ee769cac1c58561a92b69f4 [diff] |
V2: 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 Test: Verify that the max range specified is a multiple of the resolution Change-Id: I30ff66d9deb10c84319a63f9964477d8e469650d