Searched refs:api_ (Results 1 – 4 of 4) sorted by relevance
148 api_ = chrePalGnssGetApi(CHRE_PAL_GNSS_API_CURRENT_VERSION); in SetUp()149 ASSERT_NE(api_, nullptr); in SetUp()150 EXPECT_EQ(api_->moduleVersion, CHRE_PAL_GNSS_API_CURRENT_VERSION); in SetUp()160 ASSERT_TRUE(api_->open(&chre::gChrePalSystemApi, &kCallbacks)); in SetUp()172 api_->close(); in TearDown()241 ((api_->getCapabilities() & CHRE_GNSS_CAPABILITIES_LOCATION) == in TEST_F()254 ASSERT_TRUE(api_->controlLocationSession( in TEST_F()267 api_->releaseLocationEvent(locationEventVector_[i]); in TEST_F()272 ASSERT_TRUE(api_->controlLocationSession( in TEST_F()280 ((api_->getCapabilities() & CHRE_GNSS_CAPABILITIES_MEASUREMENTS) == in TEST_F()[all …]
114 api_ = chrePalWifiGetApi(CHRE_PAL_WIFI_API_CURRENT_VERSION); in SetUp()115 ASSERT_NE(api_, nullptr); in SetUp()116 EXPECT_EQ(api_->moduleVersion, CHRE_PAL_WIFI_API_CURRENT_VERSION); in SetUp()125 ASSERT_TRUE(api_->open(&chre::gChrePalSystemApi, &kCallbacks)); in SetUp()139 api_->close(); in TearDown()211 (api_->getCapabilities() & CHRE_WIFI_CAPABILITIES_ON_DEMAND_SCAN) == in TEST_F()233 ASSERT_TRUE(api_->requestScan(&scanParams_.value())); in TEST_F()251 api_->releaseScanEvent(event); in TEST_F()262 (api_->getCapabilities() & CHRE_WIFI_CAPABILITIES_SCAN_MONITORING) == in TEST_F()275 ASSERT_TRUE(api_->configureScanMonitor(true /* enable */)); in TEST_F()[all …]
60 const struct chrePalGnssApi *api_; variable
68 const struct chrePalWifiApi *api_; variable