Merge "Throw away initial measurements before interval tests" into android13-tests-dev am: 86206d71ca
am: ee40587951
am: 4e76223023
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2506037 Change-Id: I3c7d3dd68ab1dc4a6683c0a294598d7b88546a7c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
a49dca7c1a
1 changed files with 1 additions and 0 deletions
|
@ -447,6 +447,7 @@ void GnssHalTest::collectMeasurementIntervals(const sp<GnssMeasurementCallbackAi
|
|||
const int numMeasurementEvents,
|
||||
const int timeoutSeconds,
|
||||
std::vector<int>& deltasMs) {
|
||||
callback->gnss_data_cbq_.reset(); // throw away the initial measurements if any
|
||||
int64_t lastElapsedRealtimeMillis = 0;
|
||||
for (int i = 0; i < numMeasurementEvents; i++) {
|
||||
GnssData lastGnssData;
|
||||
|
|
Loading…
Reference in a new issue