From d64dd7b6a8098f05dbec033ebbcff8d83b6f0b67 Mon Sep 17 00:00:00 2001 From: Yu-Han Yang Date: Wed, 27 Apr 2022 10:05:35 -0700 Subject: [PATCH] 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 --- .../android/hardware/gnss/IGnssMeasurementInterface.aidl | 9 +++++++-- 1 file 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