Lines Matching refs:LowEnergyClient
78 class TestDelegate : public LowEnergyClient::Delegate {
91 void OnConnectionState(LowEnergyClient* client, int status, in OnConnectionState()
97 void OnMtuChanged(LowEnergyClient* client, int status, const char* address, in OnMtuChanged()
103 void OnScanResult(LowEnergyClient* client, const ScanResult& scan_result) { in OnScanResult()
201 auto callback = [&](std::unique_ptr<LowEnergyClient> client) { in SetUp()
219 const std::function<void(std::unique_ptr<LowEnergyClient> client)> in RegisterTestClient()
228 callback(std::unique_ptr<LowEnergyClient>( in RegisterTestClient()
229 static_cast<LowEnergyClient*>(in_client.release()))); in RegisterTestClient()
260 settings, adv, scan_rsp, LowEnergyClient::StatusCallback())); in StartAdvertising()
281 EXPECT_TRUE(le_client_->StopAdvertising(LowEnergyClient::StatusCallback())); in AdvertiseDataTestHelper()
287 std::unique_ptr<LowEnergyClient> le_client_;
305 std::unique_ptr<LowEnergyClient> client; in TEST_F()
312 client = std::unique_ptr<LowEnergyClient>( in TEST_F()
313 static_cast<LowEnergyClient*>(in_client.release())); in TEST_F()
513 EXPECT_FALSE(le_client_->StopAdvertising(LowEnergyClient::StatusCallback())); in TEST_F()
591 settings, valid_adv, invalid_adv, LowEnergyClient::StatusCallback())); in TEST_F()
593 settings, invalid_adv, valid_adv, LowEnergyClient::StatusCallback())); in TEST_F()
604 settings, invalid_mfc, valid_adv, LowEnergyClient::StatusCallback())); in TEST_F()