Searched refs:g_interface (Results 1 – 3 of 3) sorted by relevance
/system/bt/service/hal/ |
D | bluetooth_av_interface.cc | 32 BluetoothAvInterface* g_interface = nullptr; variable 51 if (!g_interface) { \ 65 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SourceConnectionStateCallback() 74 observer.AudioStateCallback(g_interface, bd_addr, state); in SourceAudioStateCallback() 85 observer.AudioConfigCallback(g_interface, bd_addr, codec_config, in SourceAudioConfigCallback() 96 if (!observer.MandatoryCodecPreferredCallback(g_interface, bd_addr)) in SourceMandatoryCodecPreferredCallback() 107 observer.ConnectionStateCallback(g_interface, bd_addr, state); in SinkConnectionStateCallback() 116 observer.AudioStateCallback(g_interface, bd_addr, state); in SinkAudioStateCallback() 125 observer.AudioConfigCallback(g_interface, bd_addr, sample_rate, in SinkAudioConfigCallback() 278 CHECK(g_interface); in GetA2dpSourceObservers() [all …]
|
D | bluetooth_gatt_interface.cc | 44 BluetoothGattInterface* g_interface = nullptr; variable 78 if (!g_interface) { \ 91 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback() 107 ScanResultCallback(g_interface, *bda, rssi, adv_data)); in ScanResultCallback() 119 ConnectCallback(g_interface, conn_id, status, client_if, bda)); in ConnectCallback() 131 DisconnectCallback(g_interface, conn_id, status, client_if, bda)); in DisconnectCallback() 140 SearchCompleteCallback(g_interface, conn_id, status)); in SearchCompleteCallback() 151 g_interface, conn_id, registered, status, handle)); in RegisterForNotificationCallback() 163 FOR_EACH_CLIENT_OBSERVER(NotifyCallback(g_interface, conn_id, p_data)); in NotifyCallback() 173 WriteCharacteristicCallback(g_interface, conn_id, status, handle)); in WriteCharacteristicCallback() [all …]
|
D | bluetooth_avrcp_interface.cc | 44 BluetoothAvrcpInterface* g_interface = nullptr; variable 62 if (!g_interface) { \ 623 CHECK(g_interface); in GetTargetObservers() 624 return static_cast<BluetoothAvrcpInterfaceImpl*>(g_interface) in GetTargetObservers() 630 CHECK(g_interface); in GetControlObservers() 631 return static_cast<BluetoothAvrcpInterfaceImpl*>(g_interface) in GetControlObservers() 843 CHECK(!g_interface); in Initialize() 852 g_interface = impl.release(); in Initialize() 860 CHECK(g_interface); in CleanUp() 862 delete g_interface; in CleanUp() [all …]
|