Home
last modified time | relevance | path

Searched refs:GetDeviceState (Results 1 - 25 of 160) sorted by relevance

1234567

/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()
377 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::DISCONNECTED)) { in Connect()
411 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in Disconnect()
432 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in DisconnectNative()
475 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::DISCONNECTED)) { in AcceptActiveConnect()
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(rawAdd in ReleaseButtonNative()
[all...]
/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()
823 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::DISCONNECTED)) { in Connect()
857 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in Disconnect()
878 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::CONNECTED)) { in DisconnectNative()
919 if (GetDeviceState(rawAddr) != static_cast<int>(BTConnectState::DISCONNECTED)) { in AcceptActiveConnect()
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(rawAdd in OnSetBrowsedPlayerNative()
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_pan.cpp88 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function
97 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
204 int32_t Pan::GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) in GetDeviceState() function in OHOS::Bluetooth::Pan
213 return pimpl->GetDeviceState(device, state); in GetDeviceState()
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_a2dp_snk.cpp36 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineA2dpSinkJSClass()
96 napi_value NapiA2dpSink::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiA2dpSink
120 int state = profile->GetDeviceState(device); in GetDeviceState()
H A Dnapi_bluetooth_avrcp_ct.cpp39 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineAvrcpControllerJSClass()
98 napi_value NapiAvrcpController::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiAvrcpController
122 int state = profile->GetDeviceState(device); in GetDeviceState()
H A Dnapi_bluetooth_avrcp_tg.cpp39 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineAvrcpTargetJSClass()
98 napi_value NapiAvrcpTarget::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiAvrcpTarget
122 int state = profile->GetDeviceState(device); in GetDeviceState()
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host.cpp43 DECLARE_NAPI_FUNCTION("getConnectionState", GetDeviceState), in DefineHidHostJSClass()
46 DECLARE_NAPI_FUNCTION("getDeviceState", GetDeviceState), in DefineHidHostJSClass()
145 napi_value NapiBluetoothHidHost::GetDeviceState(napi_env env, napi_callback_info info) in GetDeviceState() function in OHOS::Bluetooth::NapiBluetoothHidHost
160 int32_t errorCode = profile->GetDeviceState(device, state); in GetDeviceState()
/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
/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);
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_pan_server.h40 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
H A Dbluetooth_a2dp_sink_server.h39 int GetDeviceState(const RawAddress &device) override;
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_pan.h86 virtual int GetDeviceState(const RawAddress &device) = 0;
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_notify_device_state_req.h29 * @tc.name: IpcNotifyDeviceStateReq::GetDeviceState
33 int32_t GetDeviceState() const in GetDeviceState() function in OHOS::DistributedHardware::IpcNotifyDeviceStateReq
/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()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/deviceManager/
H A Ddms_device_info_test.cpp70 * @tc.steps: step4. test GetDeviceState; in HWTEST_F()
72 EXPECT_EQ(1, dmsDeviceInfo.GetDeviceState()); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_a2dp_sink.h40 virtual int GetDeviceState(const RawAddress &device) = 0;
H A Di_bluetooth_opp.h41 virtual int32_t GetDeviceState(const BluetoothRawAddress &device, int& result) = 0;
H A Di_bluetooth_map_mse.h28 virtual int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) = 0;
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_a2dp_snk.h95 int GetDeviceState(const BluetoothRemoteDevice &device) const;
H A Dbluetooth_pan.h95 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state);
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_pan_proxy.h31 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/
H A Ddms_device_info.h49 int32_t GetDeviceState() const;
/foundation/CastEngine/castengine_cast_framework/client/include/
H A Dcast_session_impl_proxy.h41 int32_t GetDeviceState(const std::string &deviceId, DeviceState &deviceState) override;

Completed in 13 milliseconds

1234567