Lines Matching refs:btif_hd_cb
64 btif_hd_cb_t btif_hd_cb; variable
151 btif_hd_cb.status = BTIF_HD_ENABLED; in btif_hd_upstreams_evt()
153 if (!btif_hd_cb.app_registered) { in btif_hd_upstreams_evt()
158 btif_hd_cb.status = BTIF_HD_DISABLED; in btif_hd_upstreams_evt()
165 btif_hd_cb.status = BTIF_HD_DISABLED; in btif_hd_upstreams_evt()
166 if (btif_hd_cb.service_dereg_active) { in btif_hd_upstreams_evt()
169 btif_hd_cb.service_dereg_active = FALSE; in btif_hd_upstreams_evt()
173 memset(&btif_hd_cb, 0, sizeof(btif_hd_cb)); in btif_hd_upstreams_evt()
186 btif_hd_cb.app_registered = TRUE; in btif_hd_upstreams_evt()
192 btif_hd_cb.app_registered = FALSE; in btif_hd_upstreams_evt()
195 if (btif_hd_cb.service_dereg_active) { in btif_hd_upstreams_evt()
210 btif_hd_cb.forced_disc = TRUE; in btif_hd_upstreams_evt()
221 if (btif_hd_cb.forced_disc) { in btif_hd_upstreams_evt()
225 btif_hd_cb.forced_disc = FALSE; in btif_hd_upstreams_evt()
355 memset(&btif_hd_cb, 0, sizeof(btif_hd_cb)); in init()
376 btif_hd_cb.service_dereg_active = FALSE; in cleanup()
396 if (btif_hd_cb.app_registered) { in register_app()
453 if (!btif_hd_cb.app_registered) { in unregister_app()
458 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in unregister_app()
460 btif_hd_cb.status); in unregister_app()
464 if (btif_hd_cb.service_dereg_active) { in unregister_app()
469 btif_hd_cb.service_dereg_active = TRUE; in unregister_app()
487 if (!btif_hd_cb.app_registered) { in connect()
492 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in connect()
494 btif_hd_cb.status); in connect()
515 if (!btif_hd_cb.app_registered) { in disconnect()
520 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in disconnect()
522 btif_hd_cb.status); in disconnect()
546 if (!btif_hd_cb.app_registered) { in send_report()
551 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in send_report()
553 btif_hd_cb.status); in send_report()
586 if (!btif_hd_cb.app_registered) { in report_error()
591 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in report_error()
593 btif_hd_cb.status); in report_error()
614 if (!btif_hd_cb.app_registered) { in virtual_cable_unplug()
619 if (btif_hd_cb.status != BTIF_HD_ENABLED) { in virtual_cable_unplug()
621 btif_hd_cb.status); in virtual_cable_unplug()