Home
last modified time | relevance | path

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

/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/communication/nfc/services/src/
H A Dnfc_service.cpp236 if (param == KITS::TASK_TURN_ON && nfcState_ == KITS::STATE_ON) { in ExecuteTask()
238 ExternalDepsProxy::GetInstance().UpdateNfcState(KITS::STATE_ON); in ExecuteTask()
317 UpdateNfcState(KITS::STATE_ON); in DoTurnOn()
371 if (ExternalDepsProxy::GetInstance().GetNfcStateFromParam() == KITS::STATE_ON) { in DoInitialize()
504 return (nfcState_ == KITS::STATE_ON); in IsNfcEnabled()
/foundation/communication/bluetooth/frameworks/cj/access/src/
H A Dbluetooth_access_impl.cpp53 HILOGD("STATE_ON(2)"); in GetState()
54 status = static_cast<int32_t>(BluetoothState::STATE_ON); in GetState()
H A Dbluetooth_access_callback.cpp82 HILOGD("STATE_ON(2)"); in GetBrStateByStatus()
83 state = BluetoothState::STATE_ON; in GetBrStateByStatus()
/foundation/window/window_manager/interfaces/kits/cj/display_runtime/
H A Dcj_display_impl.h61 STATE_ON, member in OHOS::Rosen::DisplayStateMode
H A Dcj_display_impl.cpp30 { DisplayState::ON, DisplayStateMode::STATE_ON },
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access.cpp105 HILOGD("STATE_ON(2)"); in GetState()
106 status = static_cast<int32_t>(BluetoothState::STATE_ON); in GetState()
153 SetNamedPropertyByInteger(env, state, static_cast<int>(BluetoothState::STATE_ON), "STATE_ON"); in StateChangeInit()
H A Dnapi_bluetooth_access_observer.cpp84 HILOGD("STATE_ON(2)"); in GetBrStateByStatus()
85 state = BluetoothState::STATE_ON; in GetBrStateByStatus()
/foundation/multimedia/av_session/services/session/adapter/
H A Davsession_dynamic_display.cpp49 castDisplayInfo.displayState = CastDisplayState::STATE_ON; in GetAllCastDisplays()
H A Dhw_cast_display_listener.cpp31 ReportCastDisplay(displayInfo, CastDisplayState::STATE_ON); in OnConnect()
/foundation/communication/nfc/frameworks/js/napi/controller/
H A Dnfc_napi_controller.cpp47 napi_create_int32(env, static_cast<int32_t>(NfcState::STATE_ON), &state_on); in CreateEnumNfcState()
52 DECLARE_NAPI_STATIC_PROPERTY("STATE_ON", state_on), in CreateEnumNfcState()
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davsession_descriptor.h96 STATE_ON, enumerator
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.h98 STATE_ON, member in OHOS::Rosen::DisplayStateMode
H A Djs_display.cpp42 { DisplayState::ON, DisplayStateMode::STATE_ON },
H A Djs_display_manager.cpp891 napi_set_named_property(env, objValue, "STATE_ON", in InitDisplayState()
892 CreateJsValue(env, static_cast<int32_t>(DisplayStateMode::STATE_ON))); 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/test/unittest/services/controller_test/
H A Dnfc_controller_test.cpp79 state == NfcState::STATE_ON || in HWTEST_F()
97 ASSERT_TRUE(state == NfcState::STATE_ON); in HWTEST_F()
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_controller.cpp158 isOpen = (GetNfcState() == NfcState::STATE_ON); in IsNfcOpen()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h268 STATE_ON = 2, member in OHOS::Bluetooth::ScanDuty::PhyType::AdvertisingState::BluetoothState
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avsession_enum.cpp340 (void)SetNamedProperty(env, result, "STATE_ON", static_cast<int32_t>(CastDisplayState::STATE_ON)); in ExportCastDisplayState()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_host.cpp131 if (state == bluetooth::BluetoothSwitchState::STATE_ON) {
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dbt_def.h1674 STATE_ON, enumerator
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_host_server.cpp182 observer->OnBluetoothStateChanged(BluetoothSwitchState::STATE_ON); in OnStateChangeV2()
/foundation/multimedia/av_session/services/session/server/
H A Davsession_item.cpp1452 castDisplayInfo.displayState = CastDisplayState::STATE_ON;

Completed in 22 milliseconds