Lines Matching refs:g_interface

42 BluetoothGattInterface* g_interface = nullptr;  variable
67 if (!g_interface) { \
80 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); in RegisterClientCallback()
92 ScanResultCallback(g_interface, *bda, rssi, adv_data)); in ScanResultCallback()
106 ConnectCallback(g_interface, conn_id, status, client_if, *bda)); in ConnectCallback()
120 DisconnectCallback(g_interface, conn_id, status, client_if, *bda)); in DisconnectCallback()
130 SearchCompleteCallback(g_interface, conn_id, status)); in SearchCompleteCallback()
142 RegisterForNotificationCallback(g_interface, conn_id, status, registered, handle)); in RegisterForNotificationCallback()
156 NotifyCallback(g_interface, conn_id, p_data)); in NotifyCallback()
167 WriteCharacteristicCallback(g_interface, conn_id, status, handle)); in WriteCharacteristicCallback()
179 WriteDescriptorCallback(g_interface, conn_id, status, handle)); in WriteDescriptorCallback()
187 FOR_EACH_CLIENT_OBSERVER(ListenCallback(g_interface, status, client_if)); in ListenCallback()
198 FOR_EACH_CLIENT_OBSERVER(MtuChangedCallback(g_interface, conn_id, status, mtu)); in MtuChangedCallback()
207 MultiAdvEnableCallback(g_interface, client_if, status)); in MultiAdvEnableCallback()
216 MultiAdvUpdateCallback(g_interface, client_if, status)); in MultiAdvUpdateCallback()
225 MultiAdvDataCallback(g_interface, client_if, status)); in MultiAdvDataCallback()
234 MultiAdvDisableCallback(g_interface, client_if, status)); in MultiAdvDisableCallback()
243 GetGattDbCallback(g_interface, conn_id, db, size)); in GetGattDbCallback()
254 ServicesRemovedCallback(g_interface, conn_id, start_handle, end_handle)); in ServicesRemovedCallback()
264 ServicesAddedCallback(g_interface, conn_id, added, added_count)); in ServicesAddedCallback()
274 RegisterServerCallback(g_interface, status, server_if, *app_uuid)); in RegisterServerCallback()
286 ConnectionCallback(g_interface, conn_id, server_if, connected, *bda)); in ConnectionCallback()
301 g_interface, status, server_if, *srvc_id, srvc_handle)); in ServiceAddedCallback()
316 g_interface, status, server_if, *uuid, srvc_handle, char_handle)); in CharacteristicAddedCallback()
331 g_interface, status, server_if, *uuid, srvc_handle, desc_handle)); in DescriptorAddedCallback()
341 g_interface, status, server_if, srvc_handle)); in ServiceStartedCallback()
351 g_interface, status, server_if, srvc_handle)); in ServiceStoppedCallback()
361 g_interface, status, server_if, srvc_handle)); in ServiceDeletedCallback()
374 g_interface, conn_id, trans_id, *bda, attr_handle, offset, is_long)); in RequestReadCallback()
390 g_interface, conn_id, trans_id, *bda, attr_handle, offset, length, in RequestWriteCallback()
403 g_interface, conn_id, trans_id, *bda, exec_write)); in RequestExecWriteCallback()
412 g_interface, status, handle)); in ResponseConfirmationCallback()
421 g_interface, conn_id, status)); in IndicationSentCallback()
429 FOR_EACH_SERVER_OBSERVER(MtuChangedCallback(g_interface, conn_id, mtu)); in MtuChangedCallback()
584 CHECK(g_interface); in GetClientObservers()
586 g_interface)->client_observers(); in GetClientObservers()
591 CHECK(g_interface); in GetServerObservers()
593 g_interface)->server_observers(); in GetServerObservers()
864 CHECK(!g_interface); in Initialize()
873 g_interface = impl.release(); in Initialize()
881 CHECK(g_interface); in CleanUp()
883 delete g_interface; in CleanUp()
884 g_interface = nullptr; in CleanUp()
891 return g_interface != nullptr; in IsInitialized()
897 CHECK(g_interface); in Get()
898 return g_interface; in Get()
906 CHECK(!g_interface); in InitializeForTesting()
908 g_interface = test_instance; in InitializeForTesting()