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.cc62 if (bt_gatt_callbacks == NULL) { \
74 extern const btgatt_callbacks_t* bt_gatt_callbacks;
133 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb, in btapp_gatts_handle_cback()
148 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback()
157 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback()
163 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb, in btapp_gatts_handle_cback()
169 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback()
178 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb, in btapp_gatts_handle_cback()
190 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb, in btapp_gatts_handle_cback()
203 HAL_CBACK(bt_gatt_callbacks, server->request_write_characteristic_cb, in btapp_gatts_handle_cback()
[all …]
Dbtif_gatt_client.cc61 extern const btgatt_callbacks_t* bt_gatt_callbacks;
69 if (bt_gatt_callbacks && bt_gatt_callbacks->client->P_CBACK) { \
71 do_in_jni_thread(Bind(bt_gatt_callbacks->client->P_CBACK, __VA_ARGS__)); \
79 if (bt_gatt_callbacks == NULL) { \
107 HAL_CBACK(bt_gatt_callbacks, client->execute_write_cb, in btif_gattc_upstreams_evt()
113 HAL_CBACK(bt_gatt_callbacks, client->search_complete_cb, in btif_gattc_upstreams_evt()
128 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt()
141 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
145 HAL_CBACK(bt_gatt_callbacks, client->configure_mtu_cb, in btif_gattc_upstreams_evt()
158 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt()
[all …]
Dbtif_ble_scanner.cc54 extern const btgatt_callbacks_t* bt_gatt_callbacks;
58 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
61 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
112 HAL_CBACK(bt_gatt_callbacks, client->search_complete_cb, in btif_gatts_upstreams_evt()
193 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()