Searched refs:g_interface (Results 1 – 3 of 3) sorted by relevance
/system/bt/service/hal/ |
D | bluetooth_av_interface.cc | 33 BluetoothAvInterface* g_interface = nullptr; variable 52 if (!g_interface) { \ 66 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SourceConnectionStateCallback() 75 observer.AudioStateCallback(g_interface, bd_addr, state); in SourceAudioStateCallback() 86 observer.AudioConfigCallback(g_interface, bd_addr, codec_config, in SourceAudioConfigCallback() 97 if (!observer.MandatoryCodecPreferredCallback(g_interface, bd_addr)) in SourceMandatoryCodecPreferredCallback() 108 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback() 117 observer.AudioStateCallback(g_interface, bd_addr, state); in SinkAudioStateCallback() 126 observer.AudioConfigCallback(g_interface, bd_addr, sample_rate, in SinkAudioConfigCallback() 284 CHECK(g_interface); in GetA2dpSourceObservers() [all …]
|
D | bluetooth_gatt_interface.cc | 45 BluetoothGattInterface* g_interface = nullptr; variable 79 if (!g_interface) { \ 92 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback() 108 ScanResultCallback(g_interface, *bda, rssi, adv_data)); in ScanResultCallback() 120 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback() 132 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback() 141 SearchCompleteCallback(g_interface, conn_id, status)); in SearchCompleteCallback() 152 g_interface, conn_id, registered, status, handle)); in RegisterForNotificationCallback() 164 FOR_EACH_CLIENT_OBSERVER(NotifyCallback(g_interface, conn_id, p_data)); in NotifyCallback() 174 WriteCharacteristicCallback(g_interface, conn_id, status, handle)); in WriteCharacteristicCallback() [all …]
|
D | bluetooth_avrcp_interface.cc | 45 BluetoothAvrcpInterface* g_interface = nullptr; variable 63 if (!g_interface) { \ 624 CHECK(g_interface); in GetTargetObservers() 625 return static_cast<BluetoothAvrcpInterfaceImpl*>(g_interface) in GetTargetObservers() 631 CHECK(g_interface); in GetControlObservers() 632 return static_cast<BluetoothAvrcpInterfaceImpl*>(g_interface) in GetControlObservers() 844 CHECK(!g_interface); in Initialize() 853 g_interface = impl.release(); in Initialize() 861 CHECK(g_interface); in CleanUp() 863 delete g_interface; in CleanUp() [all …]
|