Searched refs:last_location_ (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/gnss/1.1/vts/functional/ |
D | gnss_hal_test.cpp | 85 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()
|
D | gnss_hal_test_cases.cpp | 102 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()
|
D | gnss_hal_test.h | 59 GnssLocation last_location_; variable
|
/hardware/interfaces/gnss/2.0/vts/functional/ |
D | gnss_hal_test.cpp | 83 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()
|
D | gnss_hal_test_cases.cpp | 410 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()
|
D | gnss_hal_test.h | 64 GnssLocation_2_0 last_location_; variable
|
/hardware/interfaces/gnss/common/utils/vts/include/v2_1/ |
D | gnss_hal_test_template.h | 216 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()
|
D | GnssCallback.h | 57 GnssLocation_2_0 last_location_; variable
|
/hardware/interfaces/gnss/1.0/vts/functional/ |
D | VtsHalGnssV1_0TargetTest.cpp | 182 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()
|