Yu-Han Yang 41c5b4efe3 Throw away initial measurements before interval tests
Bug: 264597734
Test: atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbab0de442246a78c42acf5ca7c4f7c94fd82651)
Merged-In: I1064807adf3264f13c1ef6678df37cff350503c5
Change-Id: I1064807adf3264f13c1ef6678df37cff350503c5

NOTE FOR REVIEWERS - original patch and result patch are not identical.
PLEASE REVIEW CAREFULLY.
Diffs between the patches:
47,6 +447,7 @@
                                               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;

Original patch:
From dbab0de442 Mon Sep 17 00:00:00 2001
From: Yu-Han Yang <yuhany@google.com>
Date: Tue, 07 Feb 2023 19:01:56 +0000
Subject: [PATCH] Throw away initial measurements before interval tests

Bug: 264597734
Test: atest VtsHalGnssTargetTest
Change-Id: I1064807adf3264f13c1ef6678df37cff350503c5
---
2023-03-23 20:52:08 +00:00
2021-12-14 01:45:47 +00:00
2022-01-26 09:50:04 -08:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2021-06-02 16:01:53 -07:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-12-23 07:14:34 +00:00
2022-04-16 07:03:24 +09:00
2021-12-14 01:45:47 +00:00
2022-05-21 10:43:24 +00:00
2023-03-17 00:05:34 +00:00
2022-04-16 07:03:24 +09:00
2021-12-14 01:45:47 +00:00
2023-03-07 13:45:47 +09:00
2021-10-28 22:04:46 +00:00
2019-12-13 14:24:23 -08:00
2016-08-30 11:28:36 -07:00
2020-12-16 18:09:12 +00:00
2021-01-21 15:06:51 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%