Home
last modified time | relevance | path

Searched refs:AvrcpTarget (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/bluetooth_service/test/unittest/avrcp/
H A Davrcp_tg_test.cpp29 class AvrcpTargetObserverCommon : public AvrcpTarget::IObserver {
39 static AvrcpTarget *profile_;
78 * @tc.desc: Gets the static instance of the <b>AvrcpTarget</b> class.
84 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
98 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
113 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
129 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
143 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
157 profile_ = AvrcpTarget::GetProfile(); in HWTEST_F()
173 profile_ = AvrcpTarget in HWTEST_F()
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_avrcp_tg.cpp37 struct AvrcpTarget::impl {
41 explicit ObserverImpl(AvrcpTarget::impl *impl) : impl_(impl) in ObserverImpl()
56 AvrcpTarget::impl *impl_;
91 BluetoothObserverList<AvrcpTarget::IObserver> observers_;
96 AvrcpTarget *AvrcpTarget::GetProfile(void) in GetProfile()
100 static BluetoothNoDestructor<AvrcpTarget> instance; in GetProfile()
103 static AvrcpTarget instance; in GetProfile()
108 int32_t AvrcpTarget::SetDeviceAbsoluteVolume(const BluetoothRemoteDevice &device, int32_t volumeLevel) in SetDeviceAbsoluteVolume()
120 int32_t AvrcpTarget
443 AvrcpTarget::AvrcpTarget(void) AvrcpTarget() function in OHOS::Bluetooth::AvrcpTarget
[all...]
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_avrcp_tg.h41 class BLUETOOTH_API AvrcpTarget { class
44 * @brief This abstract class declares a set of methods for observing the <b>AvrcpTarget::IObserver</b> class.
77 * @brief Gets the static instance of the <b>AvrcpTarget</b> class.
83 static AvrcpTarget *GetProfile(void);
92 * @param[in] observer The pointer to the <b>AvrcpTarget::IObserver</b>.
95 void RegisterObserver(std::shared_ptr<AvrcpTarget::IObserver> observer);
100 * @param[in] observer The pointer to the <b>AvrcpTarget::IObserver</b>.
103 void UnregisterObserver(std::shared_ptr<AvrcpTarget::IObserver> observer);
309 * @brief A constructor used to create an <b>AvrcpTarget</b> instance.
313 AvrcpTarget();
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_avrcp_tg.cpp42 napi_define_class(env, "AvrcpTarget", NAPI_AUTO_LENGTH, AvrcpTargetConstructor, nullptr, in DefineAvrcpTargetJSClass()
64 AvrcpTarget *profile = AvrcpTarget::GetProfile(); in On()
86 AvrcpTarget *profile = AvrcpTarget::GetProfile(); in GetConnectionDevices()
120 AvrcpTarget *profile = AvrcpTarget::GetProfile(); in GetDeviceState()
152 AvrcpTarget *profile = AvrcpTarget::GetProfile(); in Connect()
184 AvrcpTarget *profil in Disconnect()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_avrcp_tg_observer.h28 class NapiAvrcpTargetObserver : public AvrcpTarget::IObserver {
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/
H A Dnapi_bluetooth_a2dp_src.cpp468 int32_t err = AvrcpTarget::GetProfile()->GetDeviceAbsVolumeAbility(remoteDevice, ability); in IsAbsoluteVolumeSupported()
490 int32_t err = AvrcpTarget::GetProfile()->GetDeviceAbsVolumeAbility(remoteDevice, ability); in IsAbsoluteVolumeEnabled()
512 int32_t err = AvrcpTarget::GetProfile()->SetDeviceAbsVolumeAbility(remoteDevice, ability); in EnableAbsoluteVolume()
531 int32_t err = AvrcpTarget::GetProfile()->SetDeviceAbsVolumeAbility(remoteDevice, ability); in DisableAbsoluteVolume()
/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/
H A Dbt_statistic.cpp187 devices = AvrcpTarget::GetProfile()->GetDevicesByStates(connectState_); in GetAvrTGDeviceInfo()
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Daudio_bluetooth_manager.cpp174 return AvrcpTarget::GetProfile()->SetDeviceAbsoluteVolume(device, volume); in SetDeviceAbsVolume()

Completed in 6 milliseconds