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.cc63 if (bt_gatt_callbacks == NULL) { \
75 extern const btgatt_callbacks_t* bt_gatt_callbacks;
132 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb, in btapp_gatts_handle_cback()
145 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback()
151 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->service_stopped_cb, in btapp_gatts_handle_cback()
163 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback()
169 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb, in btapp_gatts_handle_cback()
179 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb, in btapp_gatts_handle_cback()
191 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()
139 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
144 HAL_CBACK(bt_gatt_callbacks, client->configure_mtu_cb, in btif_gattc_upstreams_evt()
155 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt()
[all …]
Dbtif_ble_scanner.cc53 extern const btgatt_callbacks_t* bt_gatt_callbacks;
57 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
60 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
155 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()