Home
last modified time | relevance | path

Searched refs:bt_gatt_callbacks (Results 1 – 4 of 4) sorted by relevance

/system/bt/btif/src/
Dbtif_gatt.cc45 const btgatt_callbacks_t* bt_gatt_callbacks = NULL; variable
57 bt_gatt_callbacks = callbacks; in btif_gatt_init()
71 if (bt_gatt_callbacks) bt_gatt_callbacks = NULL; in btif_gatt_cleanup()
Dbtif_gatt_server.cc64 if (bt_gatt_callbacks == NULL) { \
76 extern const btgatt_callbacks_t* bt_gatt_callbacks;
133 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb, in btapp_gatts_handle_cback()
146 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback()
152 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback()
158 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb, in btapp_gatts_handle_cback()
164 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback()
170 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb, in btapp_gatts_handle_cback()
180 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb, in btapp_gatts_handle_cback()
192 HAL_CBACK(bt_gatt_callbacks, server->request_write_characteristic_cb, in btapp_gatts_handle_cback()
[all …]
Dbtif_gatt_client.cc62 extern const btgatt_callbacks_t* bt_gatt_callbacks;
70 if (bt_gatt_callbacks && bt_gatt_callbacks->client->P_CBACK) { \
72 do_in_jni_thread(Bind(bt_gatt_callbacks->client->P_CBACK, __VA_ARGS__)); \
80 if (bt_gatt_callbacks == NULL) { \
137 HAL_CBACK(bt_gatt_callbacks, client->execute_write_cb, in btif_gattc_upstreams_evt()
143 HAL_CBACK(bt_gatt_callbacks, client->search_complete_cb, in btif_gattc_upstreams_evt()
158 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt()
169 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
174 HAL_CBACK(bt_gatt_callbacks, client->configure_mtu_cb, in btif_gattc_upstreams_evt()
185 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt()
[all …]
Dbtif_ble_scanner.cc55 extern const btgatt_callbacks_t* bt_gatt_callbacks;
59 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
62 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
156 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()