Home
last modified time | relevance | path

Searched refs:last_location_ (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test.cpp85 while (gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, TIMEOUT_SEC)) { in StopAndClearLocations()
118 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckFirstLocation()
126 CheckLocation(gnss_cb_->last_location_, false); in StartAndCheckFirstLocation()
151 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckLocations()
158 CheckLocation(gnss_cb_->last_location_, locationCalledCount > 1); in StartAndCheckLocations()
Dgnss_hal_test_cases.cpp102 gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, kNoLocationPeriodSec); in TEST_P()
107 CheckLocation(gnss_cb_->last_location_, true); in TEST_P()
117 gnss_cb_->last_location_, in TEST_P()
121 CheckLocation(gnss_cb_->last_location_, true); in TEST_P()
512 GnssLocation gnssLocation = gnss_cb_->last_location_; in TEST_P()
Dgnss_hal_test.h59 GnssLocation last_location_; variable
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp83 while (gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, TIMEOUT_SEC)) { in StopAndClearLocations()
115 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckFirstLocation()
122 CheckLocation(gnss_cb_->last_location_, false); in StartAndCheckFirstLocation()
147 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckLocations()
154 CheckLocation(gnss_cb_->last_location_, locationCalledCount > 1); in StartAndCheckLocations()
Dgnss_hal_test_cases.cpp410 ASSERT_TRUE((int)gnss_cb_->last_location_.elapsedRealtime.flags <= in TEST_P()
415 if (gnss_cb_->last_location_.elapsedRealtime.flags & ElapsedRealtimeFlags::HAS_TIMESTAMP_NS) { in TEST_P()
416 ASSERT_TRUE(gnss_cb_->last_location_.elapsedRealtime.timestampNs != 0); in TEST_P()
427 gnss_hal_->injectBestLocation_2_0(gnss_cb_->last_location_); in TEST_P()
478 gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, kNoLocationPeriodSec); in TEST_P()
484 CheckLocation(gnss_cb_->last_location_, true); in TEST_P()
494 gnss_cb_->last_location_, in TEST_P()
498 CheckLocation(gnss_cb_->last_location_, true); in TEST_P()
Dgnss_hal_test.h64 GnssLocation_2_0 last_location_; variable
/hardware/interfaces/gnss/common/utils/vts/include/v2_1/
Dgnss_hal_test_template.h216 while (gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, TIMEOUT_SEC)) { in StopAndClearLocations()
251 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckFirstLocation()
258 CheckLocation(gnss_cb_->last_location_, false); in StartAndCheckFirstLocation()
282 EXPECT_TRUE(gnss_cb_->location_cbq_.retrieve(gnss_cb_->last_location_, in StartAndCheckLocations()
289 CheckLocation(gnss_cb_->last_location_, locationCalledCount > 1); in StartAndCheckLocations()
DGnssCallback.h57 GnssLocation_2_0 last_location_; variable
/hardware/interfaces/gnss/1.0/vts/functional/
DVtsHalGnssV1_0TargetTest.cpp182 CheckLocation(last_location_, checkAccuracies, false); in StartAndGetSingleLocation()
310 parent_.last_location_ = location; in gnssLocationCb()
343 GnssLocation last_location_; member in GnssHalTest
384 CheckLocation(last_location_, checkMoreAccuracies, true); in TEST_P()
441 EXPECT_TRUE(std::abs(last_location_.latitudeDegrees - seedLatDegrees) > 1.0 || in TEST_P()
442 std::abs(last_location_.longitudeDegrees - seedLngDegrees) > 1.0); in TEST_P()