Searched refs:LowEnergyClient (Results 1 – 5 of 5) sorted by relevance
/system/bt/service/ |
D | low_energy_client.cc | 35 LowEnergyClient::LowEnergyClient(Adapter& adapter, const UUID& uuid, in LowEnergyClient() function in bluetooth::LowEnergyClient 42 LowEnergyClient::~LowEnergyClient() { in ~LowEnergyClient() 54 bool LowEnergyClient::Connect(const std::string& address, bool is_direct) { in Connect() 71 bool LowEnergyClient::Disconnect(const std::string& address) { in Disconnect() 98 bool LowEnergyClient::SetMtu(const std::string& address, int mtu) { in SetMtu() 125 void LowEnergyClient::SetDelegate(Delegate* delegate) { in SetDelegate() 130 const UUID& LowEnergyClient::GetAppIdentifier() const { in GetAppIdentifier() 134 int LowEnergyClient::GetInstanceId() const { return client_id_; } in GetInstanceId() 136 void LowEnergyClient::ConnectCallback(hal::BluetoothGattInterface* gatt_iface, in ConnectCallback() 156 void LowEnergyClient::DisconnectCallback( in DisconnectCallback() [all …]
|
D | low_energy_client.h | 47 class LowEnergyClient : private hal::BluetoothGattInterface::ClientObserver, 58 virtual void OnConnectionState(LowEnergyClient* client, int status, 62 virtual void OnMtuChanged(LowEnergyClient* client, int status, 71 ~LowEnergyClient() override; 102 LowEnergyClient(Adapter& adapter, const UUID& uuid, int client_id); 137 DISALLOW_COPY_AND_ASSIGN(LowEnergyClient); 158 friend class LowEnergyClient;
|
/system/bt/service/test/ |
D | low_energy_client_unittest.cc | 52 class TestDelegate : public LowEnergyClient::Delegate { 60 void OnConnectionState(LowEnergyClient* client, int status, in OnConnectionState() 66 void OnMtuChanged(LowEnergyClient* client, int status, const char* address, in OnMtuChanged() 120 auto callback = [&](std::unique_ptr<LowEnergyClient> client) { in SetUp() 135 const std::function<void(std::unique_ptr<LowEnergyClient> client)> in RegisterTestClient() 144 callback(std::unique_ptr<LowEnergyClient>( in RegisterTestClient() 145 static_cast<LowEnergyClient*>(in_client.release()))); in RegisterTestClient() 161 std::unique_ptr<LowEnergyClient> le_client_; 179 std::unique_ptr<LowEnergyClient> client; in TEST_F() 186 client = std::unique_ptr<LowEnergyClient>( in TEST_F() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_low_energy_binder_server.h | 47 public bluetooth::LowEnergyClient::Delegate { 66 void OnConnectionState(bluetooth::LowEnergyClient* client, int status, 68 void OnMtuChanged(bluetooth::LowEnergyClient* client, int status, 78 std::shared_ptr<bluetooth::LowEnergyClient> GetLEClient(int client_id);
|
D | bluetooth_low_energy_binder_server.cc | 121 bluetooth::LowEnergyClient* client, int status, const char* address, in OnConnectionState() 137 bluetooth::LowEnergyClient* client, int status, const char* address, in OnMtuChanged() 159 std::shared_ptr<bluetooth::LowEnergyClient> 161 return std::static_pointer_cast<bluetooth::LowEnergyClient>( in GetLEClient() 169 bluetooth::LowEnergyClient* le_client = in OnRegisterInstanceImpl() 170 static_cast<bluetooth::LowEnergyClient*>(instance); in OnRegisterInstanceImpl()
|