Home
last modified time | relevance | path

Searched refs:STATE_OFF (Results 1 - 24 of 24) sorted by relevance

/foundation/communication/bluetooth/frameworks/cj/access/src/
H A Dbluetooth_access_impl.cpp46 int32_t status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
61 HILOGD("STATE_OFF(0)"); in GetState()
62 status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
74 status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
H A Dbluetooth_access_callback.cpp48 BluetoothState state = BluetoothState::STATE_OFF; in OnStateChanged()
90 HILOGD("STATE_OFF(0)"); in GetBrStateByStatus()
114 HILOGD("STATE_OFF(0)"); in GetBleStateByStatus()
115 state = BluetoothState::STATE_OFF; in GetBleStateByStatus()
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp98 int32_t status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
113 HILOGD("STATE_OFF(0)"); in GetState()
114 status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
126 status = static_cast<int32_t>(BluetoothState::STATE_OFF); in GetState()
151 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_OFF), "STATE_OFF"); in StateChangeInit()
H A Dnapi_bluetooth_access_observer.cpp33 BluetoothState state = BluetoothState::STATE_OFF; in OnStateChanged()
92 HILOGD("STATE_OFF(0)"); in GetBrStateByStatus()
116 HILOGD("STATE_OFF(0)"); in GetBleStateByStatus()
117 state = BluetoothState::STATE_OFF; in GetBleStateByStatus()
/foundation/communication/nfc/services/src/
H A Dnfc_service.cpp46 nfcState_(KITS::STATE_OFF) in NfcService()
241 if (param == KITS::TASK_TURN_OFF && nfcState_ == KITS::STATE_OFF) { in ExecuteTask()
243 ExternalDepsProxy::GetInstance().UpdateNfcState(KITS::STATE_OFF); in ExecuteTask()
300 UpdateNfcState(KITS::STATE_OFF); in DoTurnOn()
356 UpdateNfcState(KITS::STATE_OFF); in DoTurnOff()
470 if (nfcState_ == KITS::STATE_OFF) { in UpdateNfcState()
483 if (nfcState_ == KITS::STATE_OFF) { in GetNfcState()
H A Dnfc_routing_manager.cpp46 if (nfcState == KITS::STATE_OFF || nfcState == KITS::STATE_TURNING_OFF) { in HandleCommitRouting()
/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_param_util.cpp25 if (newState != KITS::STATE_ON && newState != KITS::STATE_OFF) { in UpdateNfcStateToParam()
/foundation/window/window_manager/interfaces/kits/cj/display_runtime/
H A Dcj_display_impl.h60 STATE_OFF, member in OHOS::Rosen::DisplayStateMode
H A Dcj_display_impl.cpp29 { DisplayState::OFF, DisplayStateMode::STATE_OFF },
/foundation/multimedia/av_session/services/session/adapter/
H A Dhw_cast_display_listener.cpp47 ReportCastDisplay(curDisplayInfo, CastDisplayState::STATE_OFF); in OnDisconnect()
/foundation/communication/nfc/frameworks/js/napi/controller/
H A Dnfc_napi_controller.cpp45 napi_create_int32(env, static_cast<int32_t>(NfcState::STATE_OFF), &state_off); in CreateEnumNfcState()
50 DECLARE_NAPI_STATIC_PROPERTY("STATE_OFF", state_off), in CreateEnumNfcState()
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davsession_descriptor.h95 STATE_OFF = 1, enumerator
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.h97 STATE_OFF, member in OHOS::Rosen::DisplayStateMode
H A Djs_display.cpp41 { DisplayState::OFF, DisplayStateMode::STATE_OFF },
H A Djs_display_manager.cpp889 napi_set_named_property(env, objValue, "STATE_OFF", in InitDisplayState()
890 CreateJsValue(env, static_cast<int32_t>(DisplayStateMode::STATE_OFF))); in InitDisplayState()
/foundation/communication/nfc/interfaces/inner_api/common/
H A Dnfc_sdk_common.h66 enum NfcState { STATE_OFF = 1, STATE_TURNING_ON = 2, STATE_ON = 3, STATE_TURNING_OFF = 4 }; enumerator
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_controller_proxy.cpp75 int state = NFC::KITS::STATE_OFF; in GetState()
86 return NFC::KITS::STATE_OFF; in GetState()
H A Dnfc_controller.cpp134 int state = NfcState::STATE_OFF; in GetNfcState()
/foundation/communication/nfc/test/unittest/services/controller_test/
H A Dnfc_controller_test.cpp78 ASSERT_TRUE(state == NfcState::STATE_OFF || in HWTEST_F()
113 ASSERT_TRUE(state == NfcState::STATE_OFF); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h264 STATE_OFF = 0, member in OHOS::Bluetooth::ScanDuty::PhyType::AdvertisingState::BluetoothState
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avsession_enum.cpp339 (void)SetNamedProperty(env, result, "STATE_OFF", static_cast<int32_t>(CastDisplayState::STATE_OFF)); in ExportCastDisplayState()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_host.cpp134 if (state == bluetooth::BluetoothSwitchState::STATE_OFF) {
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_def.h1675 STATE_OFF, enumerator
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp185 observer->OnBluetoothStateChanged(BluetoothSwitchState::STATE_OFF); in OnStateChangeV2()

Completed in 21 milliseconds