Lines Matching refs:conn_id
111 void ConnectCallback(int conn_id, int status, int client_if, in ConnectCallback() argument
117 << " - BD_ADDR: " << BtAddrString(&bda) << " - conn_id: " << conn_id; in ConnectCallback()
120 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback()
123 void DisconnectCallback(int conn_id, int status, int client_if, in DisconnectCallback() argument
128 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status in DisconnectCallback()
132 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback()
135 void SearchCompleteCallback(int conn_id, int status) { in SearchCompleteCallback() argument
139 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status; in SearchCompleteCallback()
141 SearchCompleteCallback(g_interface, conn_id, status)); in SearchCompleteCallback()
144 void RegisterForNotificationCallback(int conn_id, int registered, int status, in RegisterForNotificationCallback() argument
149 LOG(INFO) << __func__ << " - conn_id: " << conn_id << " - status: " << status in RegisterForNotificationCallback()
152 g_interface, conn_id, registered, status, handle)); in RegisterForNotificationCallback()
155 void NotifyCallback(int conn_id, const btgatt_notify_params_t& p_data) { in NotifyCallback() argument
159 VLOG(2) << __func__ << " - conn_id: " << conn_id in NotifyCallback()
164 FOR_EACH_CLIENT_OBSERVER(NotifyCallback(g_interface, conn_id, p_data)); in NotifyCallback()
167 void WriteCharacteristicCallback(int conn_id, int status, uint16_t handle) { in WriteCharacteristicCallback() argument
171 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status; in WriteCharacteristicCallback()
174 WriteCharacteristicCallback(g_interface, conn_id, status, handle)); in WriteCharacteristicCallback()
177 void WriteDescriptorCallback(int conn_id, int status, uint16_t handle) { in WriteDescriptorCallback() argument
181 VLOG(2) << __func__ << " - conn_id: " << conn_id << " - status: " << status; in WriteDescriptorCallback()
184 WriteDescriptorCallback(g_interface, conn_id, status, handle)); in WriteDescriptorCallback()
187 void MtuChangedCallback(int conn_id, int status, int mtu) { in MtuChangedCallback() argument
191 VLOG(2) << __func__ << " - conn_id: " << conn_id << " status: " << status in MtuChangedCallback()
195 MtuChangedCallback(g_interface, conn_id, status, mtu)); in MtuChangedCallback()
198 void GetGattDbCallback(int conn_id, const btgatt_db_element_t* db, int size) { in GetGattDbCallback() argument
200 VLOG(2) << __func__ << " - conn_id: " << conn_id << " size: " << size; in GetGattDbCallback()
203 FOR_EACH_CLIENT_OBSERVER(GetGattDbCallback(g_interface, conn_id, db, size)); in GetGattDbCallback()
206 void ServicesRemovedCallback(int conn_id, uint16_t start_handle, in ServicesRemovedCallback() argument
209 VLOG(2) << __func__ << " - conn_id: " << conn_id in ServicesRemovedCallback()
214 ServicesRemovedCallback(g_interface, conn_id, start_handle, end_handle)); in ServicesRemovedCallback()
217 void ServicesAddedCallback(int conn_id, const btgatt_db_element_t& added, in ServicesAddedCallback() argument
220 VLOG(2) << __func__ << " - conn_id: " << conn_id in ServicesAddedCallback()
225 ServicesAddedCallback(g_interface, conn_id, added, added_count)); in ServicesAddedCallback()
238 void ConnectionCallback(int conn_id, int server_if, int connected, in ConnectionCallback() argument
241 VLOG(2) << __func__ << " - conn_id: " << conn_id in ConnectionCallback()
246 ConnectionCallback(g_interface, conn_id, server_if, connected, bda)); in ConnectionCallback()
282 void RequestReadCharacteristicCallback(int conn_id, int trans_id, in RequestReadCharacteristicCallback() argument
286 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadCharacteristicCallback()
292 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadCharacteristicCallback()
295 void RequestReadDescriptorCallback(int conn_id, int trans_id, in RequestReadDescriptorCallback() argument
299 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestReadDescriptorCallback()
305 g_interface, conn_id, trans_id, bda, attr_handle, offset, is_long)); in RequestReadDescriptorCallback()
308 void RequestWriteCharacteristicCallback(int conn_id, int trans_id, in RequestWriteCharacteristicCallback() argument
313 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteCharacteristicCallback()
320 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteCharacteristicCallback()
325 int conn_id, int trans_id, const RawAddress& bda, int attr_handle, in RequestWriteDescriptorCallback() argument
329 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestWriteDescriptorCallback()
336 g_interface, conn_id, trans_id, bda, attr_handle, offset, need_rsp, in RequestWriteDescriptorCallback()
340 void RequestExecWriteCallback(int conn_id, int trans_id, const RawAddress& bda, in RequestExecWriteCallback() argument
343 VLOG(2) << __func__ << " - conn_id: " << conn_id << " trans_id: " << trans_id in RequestExecWriteCallback()
347 FOR_EACH_SERVER_OBSERVER(RequestExecWriteCallback(g_interface, conn_id, in RequestExecWriteCallback()
360 void IndicationSentCallback(int conn_id, int status) { in IndicationSentCallback() argument
362 VLOG(2) << __func__ << " - conn_id: " << conn_id << " status: " << status; in IndicationSentCallback()
366 IndicationSentCallback(g_interface, conn_id, status)); in IndicationSentCallback()
369 void MtuChangedCallback(int conn_id, int mtu) { in MtuChangedCallback() argument
371 VLOG(2) << __func__ << " - conn_id: " << conn_id << " mtu: " << mtu; in MtuChangedCallback()
374 FOR_EACH_SERVER_OBSERVER(MtuChangedCallback(g_interface, conn_id, mtu)); in MtuChangedCallback()