CTS for sensor sampling rate throttling.

It consists of the following test cases:
- Throttle direct connections: apps targeting S and before S.
- Throttle sensor event connections: apps targeting S and before S.
- SecurityException when apps targeting S and running in debug mode.
- Resample sensor events returned to indirect connections
- Output of get methods: Sensor::getMinDelay(), Sensor::getHighestDirectReportRateLevel() and SensorManager::getSensorList().

Test: atest CtsSensorTestCases CtsSensorRatePermissionTestCases
Bug: 136069189
Change-Id: I0ff99c52bf477efcca29c9e31435d8ed94f3b6be
27 files changed