Lines Matching refs:gWifiScanResponse
53 chre::Optional<WifiScanResponse> gWifiScanResponse; variable
76 gWifiScanResponse.reset(); in clearTestState()
91 gWifiScanResponse = response; in chreWifiScanResponseCallback()
163 EXPECT_TRUE(gWifiScanResponse.has_value()); in cacheDefaultWifiCacheTest()
164 EXPECT_EQ(gWifiScanResponse->pending, true); in cacheDefaultWifiCacheTest()
165 ASSERT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in cacheDefaultWifiCacheTest()
167 EXPECT_FALSE(gWifiScanResponse.has_value()); in cacheDefaultWifiCacheTest()
195 gWifiScanResponse.reset(); in testCacheDispatch()
212 EXPECT_EQ(gWifiScanResponse.has_value(), expectSuccess); in testCacheDispatch()
214 EXPECT_TRUE(gWifiScanResponse->pending); in testCacheDispatch()
215 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in testCacheDispatch()
254 EXPECT_TRUE(gWifiScanResponse.has_value()); in TEST_F()
255 EXPECT_FALSE(gWifiScanResponse->pending); in TEST_F()
256 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR); in TEST_F()
270 EXPECT_TRUE(gWifiScanResponse.has_value()); in TEST_F()
271 EXPECT_FALSE(gWifiScanResponse->pending); in TEST_F()
272 EXPECT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_INVALID_ARGUMENT); in TEST_F()
354 EXPECT_TRUE(gWifiScanResponse.has_value()); in TEST_F()
355 EXPECT_EQ(gWifiScanResponse->pending, true); in TEST_F()
356 ASSERT_EQ(gWifiScanResponse->errorCode, CHRE_ERROR_NONE); in TEST_F()