aboutsummaryrefslogtreecommitdiff
path: root/platform/include/chre/platform/platform_sensor_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/include/chre/platform/platform_sensor_manager.h')
-rw-r--r--platform/include/chre/platform/platform_sensor_manager.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/platform/include/chre/platform/platform_sensor_manager.h b/platform/include/chre/platform/platform_sensor_manager.h
index ded98595..6d4276fe 100644
--- a/platform/include/chre/platform/platform_sensor_manager.h
+++ b/platform/include/chre/platform/platform_sensor_manager.h
@@ -47,15 +47,6 @@ class PlatformSensorManager : public PlatformSensorManagerBase {
*
* @return A DynamicVector to populate with the list of sensors the framework
* can send requests to.
- *
- * @note For the returned list of sensors, the following requirements MUST be
- * respected:
- * - A given sensor's target group mask MUST NOT overlap with another
- * sensor's target group mask if both have the same index and type.
- * - One-shot sensors MUST only appear once in this list. i.e. they
- * cannot support multiple indices / target group ID masks.
- * - There cannot be multiple sensors with the same index of the same
- * type.
*/
DynamicVector<Sensor> getSensors();
@@ -73,9 +64,6 @@ class PlatformSensorManager : public PlatformSensorManagerBase {
* TODO(b/142958445): Make the above modification to the request before it
* reaches the platform code.
*
- * If the sensor was previously configured, but the new request fails to be
- * processed, the previous configuration must remain in place.
- *
* @param sensor One of the sensors provided by getSensors().
* @param request The new request that contains the details about how the
* sensor should be configured.
@@ -139,13 +127,6 @@ class PlatformSensorManager : public PlatformSensorManagerBase {
*/
bool flush(const Sensor &sensor, uint32_t *flushRequestId);
- /**
- * @return the target group ID for a given nanoapp. This mapping is not
- * allowed to change based on state that can change after a nanoapp is
- * loaded and must remain constant for the lifetime of the nanoapp.
- */
- uint16_t getTargetGroupId(const Nanoapp &nanoapp) const;
-
//! Methods that allow the platform to free the data given via the below
//! event handlers
void releaseSamplingStatusUpdate(struct chreSensorSamplingStatus *status);