/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.cpp | 352 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 D | avrcp_tg_service.cpp | 784 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 D | bluetooth_pan.cpp | 88 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 D | napi_bluetooth_a2dp_snk.cpp | 36 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 D | napi_bluetooth_avrcp_ct.cpp | 39 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 D | napi_bluetooth_avrcp_tg.cpp | 39 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 D | napi_bluetooth_hid_host.cpp | 43 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 D | dms_device_info.cpp | 41 int32_t DmsDeviceInfo::GetDeviceState() const
in GetDeviceState() function in OHOS::DistributedSchedule::DmsDeviceInfo
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_avrcp_ct.h | 34 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
|
H A D | napi_bluetooth_avrcp_tg.h | 34 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
|
H A D | napi_bluetooth_a2dp_snk.h | 35 static napi_value GetDeviceState(napi_env env, napi_callback_info info);
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | bluetooth_pan_server.h | 40 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
|
H A D | bluetooth_a2dp_sink_server.h | 39 int GetDeviceState(const RawAddress &device) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/service/include/ |
H A D | interface_profile_pan.h | 86 virtual int GetDeviceState(const RawAddress &device) = 0;
|
/foundation/distributedhardware/device_manager/common/include/ipc/model/ |
H A D | ipc_notify_device_state_req.h | 29 * @tc.name: IpcNotifyDeviceStateReq::GetDeviceState 33 int32_t GetDeviceState() const in GetDeviceState() function in OHOS::DistributedHardware::IpcNotifyDeviceStateReq
|
/foundation/communication/nfc/services/src/tag/ |
H A D | bt_connection_manager.cpp | 358 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 D | dms_device_info_test.cpp | 70 * @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 D | i_bluetooth_a2dp_sink.h | 40 virtual int GetDeviceState(const RawAddress &device) = 0;
|
H A D | i_bluetooth_opp.h | 41 virtual int32_t GetDeviceState(const BluetoothRawAddress &device, int& result) = 0;
|
H A D | i_bluetooth_map_mse.h | 28 virtual int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) = 0;
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_a2dp_snk.h | 95 int GetDeviceState(const BluetoothRemoteDevice &device) const;
|
H A D | bluetooth_pan.h | 95 int32_t GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state);
|
/foundation/communication/bluetooth/frameworks/inner/ipc/include/ |
H A D | bluetooth_pan_proxy.h | 31 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/deviceManager/ |
H A D | dms_device_info.h | 49 int32_t GetDeviceState() const;
|
/foundation/CastEngine/castengine_cast_framework/client/include/ |
H A D | cast_session_impl_proxy.h | 41 int32_t GetDeviceState(const std::string &deviceId, DeviceState &deviceState) override;
|