Home
last modified time | relevance | path

Searched refs:GetDeviceState (Results 1 – 25 of 156) sorted by relevance

1234567

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_service.cpp352 int AvrcpCtService::GetDeviceState(const RawAddress &rawAddr) in GetDeviceState() function in OHOS::bluetooth::AvrcpCtService
359 result = profile_->GetDeviceState(rawAddr); in GetDeviceState()
411 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in Disconnect()
432 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in DisconnectNative()
529 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in PressButton()
554 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in PressButtonNative()
585 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in ReleaseButton()
610 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in ReleaseButtonNative()
645 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in GetUnitInfo()
670 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in UnitInfoNative()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_service.cpp784 int AvrcpTgService::GetDeviceState(const RawAddress &rawAddr) in GetDeviceState() function in OHOS::bluetooth::AvrcpTgService
791 result = profile_->GetDeviceState(rawAddr); in GetDeviceState()
857 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in Disconnect()
878 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in DisconnectNative()
1087 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in OnSetAddressedPlayer()
1106 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in OnSetAddressedPlayerNative()
1137 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in OnSetBrowsedPlayer()
1163 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in OnSetBrowsedPlayerNative()
1189 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in GetCapabilities()
1222 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in OnGetPlayerAppSettingAttributes()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_pan.cpp91 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function
100 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
207 int32_t Pan::GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function in OHOS::Bluetooth::Pan
216 return pimpl->GetDeviceState(device, state); in GetDeviceState()
H A Dbluetooth_hid_host.cpp91 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function
100 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
251 int32_t HidHost::GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function in OHOS::Bluetooth::HidHost
261 return pimpl->GetDeviceState(device, state); in GetDeviceState()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host.cpp46 DECLARE_NAPI_FUNCTION("getConnectionState", GetDeviceState), in DefineHidHostJSClass()
49 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineHidHostJSClass()
148 napi_value NapiBluetoothHidHost::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiBluetoothHidHost
163 int32_t errorCode = profile->GetDeviceState(device, state); in GetDeviceState()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_avrcp_ct.cpp43 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineAvrcpControllerJSClass()
102 napi_value NapiAvrcpController::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiAvrcpController
126 int state = profile->GetDeviceState(device); in GetDeviceState()
H A Dnapi_bluetooth_avrcp_tg.cpp43 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineAvrcpTargetJSClass()
102 napi_value NapiAvrcpTarget::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiAvrcpTarget
126 int state = profile->GetDeviceState(device); in GetDeviceState()
H A Dnapi_bluetooth_a2dp_snk.cpp40 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineA2dpSinkJSClass()
100 napi_value NapiA2dpSink::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiA2dpSink
124 int state = profile->GetDeviceState(device); in GetDeviceState()
/ohos5.0/foundation/communication/nfc/services/src/tag/
H A Dbt_connection_manager.cpp358 g_hid->GetDeviceState(g_device, state); in DecideInitNextAction()
367 g_a2dp->GetDeviceState(g_device, state); in DecideInitNextAction()
478 g_hfp->GetDeviceState(g_device, state); in HandleBtConnect()
496 g_a2dp->GetDeviceState(g_device, state); in HandleBtConnect()
591 g_hid->GetDeviceState(g_device, devState); in HandleBtDisconnect()
604 g_hfp->GetDeviceState(g_device, devState); in HandleBtDisconnect()
615 g_a2dp->GetDeviceState(g_device, devState); in HandleBtDisconnect()
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscanner_info.h59 [[nodiscard]] const uint32_t &GetDeviceState() const;
114 [[nodiscard]] const uint32_t &GetDeviceState() const;
167 [[nodiscard]] const uint32_t &GetDeviceState() const;
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan.cpp66 DECLARE_NAPI_FUNCTION("getDeviceState", NapiBluetoothPan::GetDeviceState), in DefinePanJSClass()
162 napi_value NapiBluetoothPan::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiBluetoothPan
178 int32_t errorCode = profile->GetDeviceState(device, state); in GetDeviceState()
232 int32_t errorCode = profile->GetDeviceState(device, state); in GetConnectionState()
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscanner_info_helper.cpp58 NapiScanUtils::SetUint32Property(env, jsObj, PARAM_INFO_DEVICESTATE, info.GetDeviceState()); in MakeJsObject()
71 NapiScanUtils::SetUint32Property(env, jsObj, PARAM_INFO_DEVICESTATE, info.GetDeviceState()); in MakeJsObject()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag.cpp45 DECLARE_NAPI_FUNCTION("getConnectionState", GetDeviceState), in DefineHandsFreeAudioGatewayJSClass()
48 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineHandsFreeAudioGatewayJSClass()
151 napi_value NapiHandsFreeAudioGateway::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiHandsFreeAudioGateway
167 int32_t errorCode = profile->GetDeviceState(device, state); in GetDeviceState()
H A Dnapi_bluetooth_hfp_hf.cpp42 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineHandsFreeUnitJSClass()
105 napi_value NapiHandsFreeUnit::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiHandsFreeUnit
129 int state = profile->GetDeviceState(device); in GetDeviceState()
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp.cpp51 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineOppJSClass()
235 napi_value NapiBluetoothOpp::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiBluetoothOpp
245 int32_t errorCode = profile->GetDeviceState(device, state); in GetDeviceState()
/ohos5.0/base/msdp/device_status/services/native/src/
H A Ddevicestatus_dumper.cpp184 GetDeviceState(record->data.value).c_str()); in DumpDeviceStatusChanges()
204 GetStatusType(it->type).c_str(), GetDeviceState(it->value).c_str()); in DumpDeviceStatusCurrentStatus()
208 std::string DeviceStatusDumper::GetDeviceState(OnChangedValue value) const in GetDeviceState() function in OHOS::Msdp::DeviceStatus::DeviceStatusDumper
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_a2dp_sink_server.cpp168 int BluetoothA2dpSinkServer::GetDeviceState(const RawAddress &device) in GetDeviceState() function in OHOS::Bluetooth::BluetoothA2dpSinkServer
175 return pimpl->a2dpSnkService_->GetDeviceState(device); in GetDeviceState()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/deviceManager/
H A Ddms_device_info.cpp41 int32_t DmsDeviceInfo::GetDeviceState() const in GetDeviceState() function in OHOS::DistributedSchedule::DmsDeviceInfo
/ohos5.0/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_notify_device_state_req.h33 int32_t GetDeviceState() const in GetDeviceState() function
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_pan.h86 virtual int GetDeviceState(const RawAddress &device) = 0;
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_avrcp_ct.h34 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
H A Dnapi_bluetooth_avrcp_tg.h34 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
H A Dnapi_bluetooth_a2dp_snk.h35 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_pan_server.h40 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/
H A Ddms_device_info.h46 int32_t GetDeviceState() const;

1234567