• Home
  • Raw
  • Download

Lines Matching refs:conn_id

138                 p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status);  in btif_gattc_upstreams_evt()
144 p_data->search_cmpl.conn_id, p_data->search_cmpl.status); in btif_gattc_upstreams_evt()
158 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt()
162 BTA_GATTC_SendIndConfirm(p_data->notify.conn_id, p_data->notify.cid); in btif_gattc_upstreams_evt()
169 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
175 p_data->open.conn_id, p_data->open.status, p_data->open.mtu); in btif_gattc_upstreams_evt()
185 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt()
201 p_data->cfg_mtu.conn_id, p_data->cfg_mtu.status, in btif_gattc_upstreams_evt()
208 p_data->congest.conn_id, p_data->congest.congested); in btif_gattc_upstreams_evt()
213 p_data->phy_update.conn_id, p_data->phy_update.tx_phy, in btif_gattc_upstreams_evt()
219 p_data->conn_update.conn_id, p_data->conn_update.interval, in btif_gattc_upstreams_evt()
226 p_data->service_changed.conn_id); in btif_gattc_upstreams_evt()
359 void btif_gattc_close_impl(int client_if, RawAddress address, int conn_id) { in btif_gattc_close_impl() argument
361 if (conn_id != 0) in btif_gattc_close_impl()
362 BTA_GATTC_Close(conn_id); in btif_gattc_close_impl()
371 int conn_id) { in btif_gattc_close() argument
374 Bind(&btif_gattc_close_impl, client_if, bd_addr, conn_id)); in btif_gattc_close()
383 static bt_status_t btif_gattc_search_service(int conn_id, in btif_gattc_search_service() argument
390 Bind(&BTA_GATTC_ServiceSearchRequest, conn_id, base::Owned(uuid))); in btif_gattc_search_service()
393 Bind(&BTA_GATTC_ServiceSearchRequest, conn_id, nullptr)); in btif_gattc_search_service()
397 static void btif_gattc_discover_service_by_uuid(int conn_id, const Uuid& uuid) { in btif_gattc_discover_service_by_uuid() argument
398 do_in_jni_thread(Bind(&BTA_GATTC_DiscoverServiceByUuid, conn_id, uuid)); in btif_gattc_discover_service_by_uuid()
401 void btif_gattc_get_gatt_db_impl(int conn_id) { in btif_gattc_get_gatt_db_impl() argument
404 BTA_GATTC_GetGattDb(conn_id, 0x0000, 0xFFFF, &db, &count); in btif_gattc_get_gatt_db_impl()
406 HAL_CBACK(bt_gatt_callbacks, client->get_gatt_db_cb, conn_id, db, count); in btif_gattc_get_gatt_db_impl()
410 static bt_status_t btif_gattc_get_gatt_db(int conn_id) { in btif_gattc_get_gatt_db() argument
412 return do_in_jni_thread(Bind(&btif_gattc_get_gatt_db_impl, conn_id)); in btif_gattc_get_gatt_db()
415 void read_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_char_cb() argument
427 CLI_CBACK_IN_JNI(read_characteristic_cb, conn_id, status, /* NOLINT */ in read_char_cb()
431 static bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, in btif_gattc_read_char() argument
434 return do_in_jni_thread(Bind(&BTA_GATTC_ReadCharacteristic, conn_id, handle, in btif_gattc_read_char()
438 void read_using_char_uuid_cb(uint16_t conn_id, tGATT_STATUS status, in read_using_char_uuid_cb() argument
451 CLI_CBACK_IN_JNI(read_characteristic_cb, conn_id, status, /* NOLINT */ in read_using_char_uuid_cb()
455 static bt_status_t btif_gattc_read_using_char_uuid(int conn_id, in btif_gattc_read_using_char_uuid() argument
461 return do_in_jni_thread(Bind(&BTA_GATTC_ReadUsingCharUuid, conn_id, uuid, in btif_gattc_read_using_char_uuid()
466 void read_desc_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in read_desc_cb() argument
476 CLI_CBACK_IN_JNI(read_descriptor_cb, conn_id, status, params); in read_desc_cb()
479 static bt_status_t btif_gattc_read_char_descr(int conn_id, uint16_t handle, in btif_gattc_read_char_descr() argument
482 return do_in_jni_thread(Bind(&BTA_GATTC_ReadCharDescr, conn_id, handle, in btif_gattc_read_char_descr()
486 void write_char_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in write_char_cb() argument
488 CLI_CBACK_IN_JNI(write_characteristic_cb, conn_id, status, handle); in write_char_cb()
491 static bt_status_t btif_gattc_write_char(int conn_id, uint16_t handle, in btif_gattc_write_char() argument
498 return do_in_jni_thread(Bind(&BTA_GATTC_WriteCharValue, conn_id, handle, in btif_gattc_write_char()
503 void write_descr_cb(uint16_t conn_id, tGATT_STATUS status, uint16_t handle, in write_descr_cb() argument
505 CLI_CBACK_IN_JNI(write_descriptor_cb, conn_id, status, handle); in write_descr_cb()
508 static bt_status_t btif_gattc_write_char_descr(int conn_id, uint16_t handle, in btif_gattc_write_char_descr() argument
515 return do_in_jni_thread(Bind(&BTA_GATTC_WriteCharDescr, conn_id, handle, in btif_gattc_write_char_descr()
520 static bt_status_t btif_gattc_execute_write(int conn_id, int execute) { in btif_gattc_execute_write() argument
523 Bind(&BTA_GATTC_ExecuteWrite, conn_id, (uint8_t)execute)); in btif_gattc_execute_write()
577 static bt_status_t btif_gattc_configure_mtu(int conn_id, int mtu) { in btif_gattc_configure_mtu() argument
582 conn_id, mtu)); in btif_gattc_configure_mtu()