summaryrefslogtreecommitdiff
path: root/gnss
diff options
context:
space:
mode:
authorYu-Han Yang <yuhany@google.com>2022-04-27 10:05:35 -0700
committerYu-Han Yang <yuhany@google.com>2022-04-28 13:00:33 -0700
commitd64dd7b6a8098f05dbec033ebbcff8d83b6f0b67 (patch)
tree2bc43593ae8b40bc6a418860a98427da099dc000 /gnss
parentd5bc92e9fe2d6dbec65bfd6dba584d747fdfbfec (diff)
Clarify measurement interval documentation
The GNSS chipset must report measurements at the requested rate if location is not requested. Bug: 206670536 Test: doc update only Change-Id: I3b488f8b38def4b6ebf13733149d9b75b23db0cb
Diffstat (limited to 'gnss')
-rw-r--r--gnss/aidl/android/hardware/gnss/IGnssMeasurementInterface.aidl9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnss/aidl/android/hardware/gnss/IGnssMeasurementInterface.aidl b/gnss/aidl/android/hardware/gnss/IGnssMeasurementInterface.aidl
index 8062aed390..8733754e96 100644
--- a/gnss/aidl/android/hardware/gnss/IGnssMeasurementInterface.aidl
+++ b/gnss/aidl/android/hardware/gnss/IGnssMeasurementInterface.aidl
@@ -53,8 +53,13 @@ interface IGnssMeasurementInterface {
/**
* Time interval between the reported measurements in milliseconds.
*
- * The GNSS chipset must not report measurements with a rate slower than requested. All the
- * available measurements must be reported to the framework.
+ * When there is no concurrent location and measurement requests, the GNSS chipset must
+ * report measurements at as close as possible to the requested rate, as is supported by the
+ * implementation.
+ *
+ * When there are concurrent location and measurement requests, the GNSS chipset must report
+ * measurements at the same or a faster rate than the requested. In the concurrency cases,
+ * all the available measurements must be reported to the framework.
*
* For cases where concurrently serving the location and the measurement requests would not
* consume more power than only the measurement request, the faster rate of the 2 requests