Home
last modified time | relevance | path

Searched refs:gnss_cb_ (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp41 gnss_cb_ = nullptr; in TearDown()
45 gnss_cb_ = new GnssCallback(); in SetUpGnssCallback()
46 ASSERT_NE(gnss_cb_, nullptr); in SetUpGnssCallback()
48 auto result = gnss_hal_->setCallback_2_0(gnss_cb_); in SetUpGnssCallback()
59 EXPECT_TRUE(gnss_cb_->capabilities_cbq_.retrieve(gnss_cb_->last_capabilities_, TIMEOUT_SEC)); in SetUpGnssCallback()
60 EXPECT_TRUE(gnss_cb_->info_cbq_.retrieve(gnss_cb_->last_info_, TIMEOUT_SEC)); in SetUpGnssCallback()
61 EXPECT_TRUE(gnss_cb_->name_cbq_.retrieve(gnss_cb_->last_name_, TIMEOUT_SEC)); in SetUpGnssCallback()
63 EXPECT_EQ(gnss_cb_->capabilities_cbq_.calledCount(), 1); in SetUpGnssCallback()
64 EXPECT_EQ(gnss_cb_->info_cbq_.calledCount(), 1); in SetUpGnssCallback()
65 EXPECT_EQ(gnss_cb_->name_cbq_.calledCount(), 1); in SetUpGnssCallback()
[all …]
Dgnss_hal_test_cases.cpp294 if (!(gnss_cb_->last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENT_CORRECTIONS)) { in TEST_F()
322 if (!(gnss_cb_->last_capabilities_ & IGnssCallback::Capabilities::MEASUREMENT_CORRECTIONS)) { in TEST_F()
389 ASSERT_TRUE((int)gnss_cb_->last_location_.elapsedRealtime.flags <= in TEST_F()
394 if (gnss_cb_->last_location_.elapsedRealtime.flags & ElapsedRealtimeFlags::HAS_TIMESTAMP_NS) { in TEST_F()
395 ASSERT_TRUE(gnss_cb_->last_location_.elapsedRealtime.timestampNs != 0); in TEST_F()
404 gnss_hal_->injectBestLocation_2_0(gnss_cb_->last_location_); in TEST_F()
Dgnss_hal_test.h243 sp<GnssCallback> gnss_cb_; // Primary callback interface variable
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test.cpp52 gnss_cb_ = new GnssCallback(*this); in SetUpGnssCallback()
53 ASSERT_NE(gnss_cb_, nullptr); in SetUpGnssCallback()
55 auto result = gnss_hal_->setCallback_1_1(gnss_cb_); in SetUpGnssCallback()
Dgnss_hal_test.h149 sp<IGnssCallback> gnss_cb_; // Primary callback interface variable
/hardware/interfaces/gnss/1.0/vts/functional/
DVtsHalGnssV1_0TargetTest.cpp74 gnss_cb_ = new GnssCallback(*this); in SetUp()
75 ASSERT_NE(gnss_cb_, nullptr); in SetUp()
77 auto result = gnss_hal_->setCallback(gnss_cb_); in SetUp()
320 sp<IGnssCallback> gnss_cb_; // Primary callback interface member in GnssHalTest