Set the floor value of time estimate as 2017 Jan 01 00:00:00 GMT

- The VTS test checks if the time estimate is a sane value. Thus, any
arbitrary sane value is acceptable. Here we make it consistent to
IGnssDebug.hal, where a comment mentions 2017 Jan 1 as an example of
the value.

Bug: 110094003
Test: make vts, and tested on device.
Merged-In: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224
Change-Id: Ic4f6b597a718ea3e98a67c7939f9e6930d44d224
(cherry picked from commit 5fa43c83e9)
This commit is contained in:
Yu-Han Yang 2018-06-14 14:17:58 -07:00 committed by Keun Soo Yim
parent db94365e73
commit 4f0d19ebff

View file

@ -428,7 +428,7 @@ TEST_F(GnssHalTest, GnssDebugValuesSanityTest) {
EXPECT_GE(data.position.ageSeconds, 0);
}
EXPECT_GE(data.time.timeEstimate, 1514764800000); // Jan 01 2018 00:00:00
EXPECT_GE(data.time.timeEstimate, 1483228800000); // Jan 01 2017 00:00:00 GMT.
EXPECT_GT(data.time.timeUncertaintyNs, 0);