commit | 532e655e42fe641688a9bfa42c427505ae303255 | [log] [tgz] |
---|---|---|
author | Anh Pham <anhph@google.com> | Wed Feb 10 14:16:56 2021 +0100 |
committer | Anh Pham <anhph@google.com> | Tue Feb 16 21:37:25 2021 +0100 |
tree | 691123499b9f90bcb722727673a04db7575f197c | |
parent | 5198c99c3e8660f26209dde852e539b705ac189d [diff] |
Resample sensor events for non-direct connections. The resampler is to guarantee that apps cannot obtain more than 200 Hz when their sampling rates are being throttled. Test: atest CtsSensorTestCases CtsSensorRatePermissionTestCases Bug: 136069189 Change-Id: I2e7d522f71382a517c7e6708136ac55917486fa5