Home
last modified time | relevance | path

Searched refs:btif_cb (Results 1 – 3 of 3) sorted by relevance

/system/bt/btif/src/
Dbtif_gatt_server.c524 btif_gatts_cb_t btif_cb; in btif_gatts_register_app() local
525 memcpy(&btif_cb.uuid, uuid, sizeof(bt_uuid_t)); in btif_gatts_register_app()
527 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_register_app()
533 btif_gatts_cb_t btif_cb; in btif_gatts_unregister_app() local
534 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_unregister_app()
536 (char*) &btif_cb, sizeof(btif_gatts_cb_t), NULL); in btif_gatts_unregister_app()
543 btif_gatts_cb_t btif_cb; in btif_gatts_open() local
544 btif_cb.server_if = (uint8_t) server_if; in btif_gatts_open()
545 btif_cb.is_direct = is_direct ? 1 : 0; in btif_gatts_open()
546 btif_cb.transport = (btgatt_transport_t)transport; in btif_gatts_open()
[all …]
Dbtif_gatt_client.c822 btif_gattc_cb_t btif_cb; in bta_gattc_multi_adv_cback() local
837 btif_cb.status = call_status; in bta_gattc_multi_adv_cback()
838 btif_cb.client_if = client_if; in bta_gattc_multi_adv_cback()
839 btif_cb.inst_id = inst_id; in bta_gattc_multi_adv_cback()
864 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_multi_adv_cback()
871 btif_gattc_cb_t btif_cb; in bta_gattc_set_adv_data_cback() local
872 btif_cb.status = call_status; in bta_gattc_set_adv_data_cback()
873 btif_cb.action = 0; in bta_gattc_set_adv_data_cback()
875 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_set_adv_data_cback()
974 btif_gattc_cb_t btif_cb; in bta_scan_results_cb() local
[all …]
Dbtif_dm.c2218 btif_activity_energy_info_cb_t btif_cb; in bta_energy_info_cb() local
2219 btif_cb.status = status; in bta_energy_info_cb()
2220 btif_cb.ctrl_state = ctrl_state; in bta_energy_info_cb()
2221 btif_cb.tx_time = (uint64_t) tx_time; in bta_energy_info_cb()
2222 btif_cb.rx_time = (uint64_t) rx_time; in bta_energy_info_cb()
2223 btif_cb.idle_time =(uint64_t) idle_time; in bta_energy_info_cb()
2224 btif_cb.energy_used =(uint64_t) energy_used; in bta_energy_info_cb()
2226 (char*) &btif_cb, sizeof(btif_activity_energy_info_cb_t), NULL); in bta_energy_info_cb()