Lines Matching refs:btif_hd_cb
61 btif_hd_cb_t btif_hd_cb; variable
148 btif_hd_cb.status = BTIF_HD_ENABLED; in btif_hd_upstreams_evt()
150 if (!btif_hd_cb.app_registered) { in btif_hd_upstreams_evt()
155 btif_hd_cb.status = BTIF_HD_DISABLED; in btif_hd_upstreams_evt()
162 btif_hd_cb.status = BTIF_HD_DISABLED; in btif_hd_upstreams_evt()
163 if (btif_hd_cb.service_dereg_active) { in btif_hd_upstreams_evt()
166 btif_hd_cb.service_dereg_active = FALSE; in btif_hd_upstreams_evt()
170 memset(&btif_hd_cb, 0, sizeof(btif_hd_cb)); in btif_hd_upstreams_evt()
183 btif_hd_cb.app_registered = TRUE; in btif_hd_upstreams_evt()
189 btif_hd_cb.app_registered = FALSE; in btif_hd_upstreams_evt()
192 if (btif_hd_cb.service_dereg_active) { in btif_hd_upstreams_evt()
207 btif_hd_cb.forced_disc = TRUE; in btif_hd_upstreams_evt()
218 if (btif_hd_cb.forced_disc) { in btif_hd_upstreams_evt()
222 btif_hd_cb.forced_disc = FALSE; in btif_hd_upstreams_evt()
352 memset(&btif_hd_cb, 0, sizeof(btif_hd_cb)); in init()
373 btif_hd_cb.service_dereg_active = FALSE; in cleanup()
393 if (btif_hd_cb.app_registered) { in register_app()
450 if (!btif_hd_cb.app_registered) { in unregister_app()
455 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in unregister_app()
457 btif_hd_cb.status); in unregister_app()
461 if (btif_hd_cb.service_dereg_active) { in unregister_app()
466 btif_hd_cb.service_dereg_active = TRUE; in unregister_app()
484 if (!btif_hd_cb.app_registered) { in connect()
489 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in connect()
491 btif_hd_cb.status); in connect()
512 if (!btif_hd_cb.app_registered) { in disconnect()
517 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in disconnect()
519 btif_hd_cb.status); in disconnect()
543 if (!btif_hd_cb.app_registered) { in send_report()
548 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in send_report()
550 btif_hd_cb.status); in send_report()
583 if (!btif_hd_cb.app_registered) { in report_error()
588 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in report_error()
590 btif_hd_cb.status); in report_error()
611 if (!btif_hd_cb.app_registered) { in virtual_cable_unplug()
616 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in virtual_cable_unplug()
618 btif_hd_cb.status); in virtual_cable_unplug()