Lines Matching refs:scanner
95 void OnScanResult(LowEnergyScanner* scanner, const ScanResult& scan_result) { in OnScanResult() argument
96 ASSERT_TRUE(scanner); in OnScanResult()
146 auto callback = [&](std::unique_ptr<LowEnergyScanner> scanner) { in SetUp() argument
147 le_scanner_ = std::move(scanner); in SetUp()
159 const std::function<void(std::unique_ptr<LowEnergyScanner> scanner)> in RegisterTestScanner()
202 std::unique_ptr<LowEnergyScanner> scanner; in TEST_F() local
209 scanner = std::unique_ptr<LowEnergyScanner>( in TEST_F()
239 ASSERT_TRUE(scanner.get() != in TEST_F()
242 EXPECT_EQ(scanner_if0, scanner->GetInstanceId()); in TEST_F()
243 EXPECT_EQ(uuid0, scanner->GetAppIdentifier()); in TEST_F()
250 scanner.reset(); in TEST_F()
258 ASSERT_TRUE(scanner.get() == in TEST_F()