Home
last modified time | relevance | path

Searched refs:enableBle (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/bluetooth/frameworks/c_api/src/
H A Doh_bluetooth.cpp57 bool enableBle = host->IsBleEnabled(); in OH_Bluetooth_GetBluetoothSwitchState() local
58 if (enableBle && (btState == BTStateID::STATE_TURN_OFF)) { in OH_Bluetooth_GetBluetoothSwitchState()
60 } else if (!enableBle && (btState == BTStateID::STATE_TURN_OFF)) { in OH_Bluetooth_GetBluetoothSwitchState()
/foundation/communication/bluetooth/frameworks/cj/access/src/
H A Dbluetooth_access_impl.cpp69 bool enableBle = host->IsBleEnabled(); in GetState() local
70 if (enableBle && (state == BTStateID::STATE_TURN_OFF)) { in GetState()
73 } else if (!enableBle && (state == BTStateID::STATE_TURN_OFF)) { in GetState()
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp121 bool enableBle = host->IsBleEnabled(); in GetState() local
122 if (enableBle && (state == BTStateID::STATE_TURN_OFF)) { in GetState()
125 } else if (!enableBle && (state == BTStateID::STATE_TURN_OFF)) { in GetState()

Completed in 2 milliseconds