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.c828 btif_gattc_cb_t btif_cb; in bta_gattc_multi_adv_cback() local
843 btif_cb.status = call_status; in bta_gattc_multi_adv_cback()
844 btif_cb.client_if = client_if; in bta_gattc_multi_adv_cback()
845 btif_cb.inst_id = inst_id; in bta_gattc_multi_adv_cback()
870 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_multi_adv_cback()
877 btif_gattc_cb_t btif_cb; in bta_gattc_set_adv_data_cback() local
878 btif_cb.status = call_status; in bta_gattc_set_adv_data_cback()
879 btif_cb.action = 0; in bta_gattc_set_adv_data_cback()
881 (char*) &btif_cb, sizeof(btif_gattc_cb_t), NULL); in bta_gattc_set_adv_data_cback()
980 btif_gattc_cb_t btif_cb; in bta_scan_results_cb() local
[all …]
Dbtif_dm.c2234 btif_activity_energy_info_cb_t btif_cb; in bta_energy_info_cb() local
2235 btif_cb.status = status; in bta_energy_info_cb()
2236 btif_cb.ctrl_state = ctrl_state; in bta_energy_info_cb()
2237 btif_cb.tx_time = (uint64_t) tx_time; in bta_energy_info_cb()
2238 btif_cb.rx_time = (uint64_t) rx_time; in bta_energy_info_cb()
2239 btif_cb.idle_time =(uint64_t) idle_time; in bta_energy_info_cb()
2240 btif_cb.energy_used =(uint64_t) energy_used; in bta_energy_info_cb()
2242 (char*) &btif_cb, sizeof(btif_activity_energy_info_cb_t), NULL); in bta_energy_info_cb()