Searched refs:StatusCallback (Results 1 – 3 of 3) sorted by relevance
/system/bt/service/ |
D | low_energy_client.h | 85 using StatusCallback = std::function<void(BLEStatus)>; variable 117 const StatusCallback& callback); 121 bool StopAdvertising(const StatusCallback& callback); 213 std::unique_ptr<StatusCallback> adv_start_callback_; 214 std::unique_ptr<StatusCallback> adv_stop_callback_;
|
D | low_energy_client.cpp | 454 const StatusCallback& callback) { in StartAdvertising() 511 adv_start_callback_.reset(new StatusCallback(callback)); in StartAdvertising() 516 bool LowEnergyClient::StopAdvertising(const StatusCallback& callback) { in StopAdvertising() 540 adv_stop_callback_.reset(new StatusCallback(callback)); in StopAdvertising()
|
/system/bt/service/test/ |
D | low_energy_client_unittest.cpp | 260 settings, adv, scan_rsp, LowEnergyClient::StatusCallback())); in StartAdvertising() 281 EXPECT_TRUE(le_client_->StopAdvertising(LowEnergyClient::StatusCallback())); in AdvertiseDataTestHelper() 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()
|