Home
last modified time | relevance | path

Searched refs:btStateListener (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble_mock/
H A Dble_mock.cpp143 btStateListener = listener; in ActionOfAddBtStateListener()
149 btStateListener = nullptr; in ActionOfRemoveBtStateListener()
493 if (btStateListener) { in TurnOnBt()
494 btStateListener->OnBtStateChanged(BT_STATE_LISTENER_ID, SOFTBUS_BLE_STATE_TURN_ON); in TurnOnBt()
501 if (btStateListener) { in TurnOffBt()
502 btStateListener->OnBtStateChanged(BT_STATE_LISTENER_ID, SOFTBUS_BLE_STATE_TURN_OFF); in TurnOffBt()
H A Dble_mock.h142 static inline const SoftBusBtStateListener *btStateListener {};
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c2281 static SoftBusBtStateListener btStateListener = { in InitBleManager() local
2285 int32_t listenerId = SoftBusAddBtStateListener(&btStateListener); in InitBleManager()