Searched refs:volume (Results 1 - 25 of 31) sorted by relevance

12

/system/bt/binder/android/bluetooth/
H A DIBluetoothAvrcpTarget.aidl28 void sendVolumeChanged(in int volume);
H A DIBluetoothHearingAid.aidl38 void setVolume(int volume);
H A DIBluetoothA2dp.aidl40 oneway void setAvrcpAbsoluteVolume(int volume);
/system/bt/packet/avrcp/
H A Dset_absolute_volume.h35 uint8_t volume);
44 SetAbsoluteVolumeRequestBuilder(uint8_t volume) argument
47 volume_(volume){};
67 * uint8_t volume;
H A Dset_absolute_volume.cc23 SetAbsoluteVolumeRequestBuilder::MakeBuilder(uint8_t volume) { argument
25 new SetAbsoluteVolumeRequestBuilder(volume & 0x7F));
/system/bt/btif/src/
H A Dbtif_hearing_aid.cc98 void SetVolume(int8_t volume) override {
99 DVLOG(2) << __func__ << " volume: " << +volume;
101 Unretained(HearingAid::Get()), volume));
H A Dbtif_rc.cc540 // Register for volume change on connect
1650 pavrc_cmd->volume.volume, label));
1683 p_dev->rc_volume = pavrc_resp->reg_notif.param.volume;
1685 pavrc_resp->reg_notif.param.volume, ctype, p_dev->rc_addr);
1690 "%s: Set absolute volume change event received: volume: %d, ctype: "
1692 __func__, pavrc_resp->volume.volume, ctype);
1694 p_dev->rc_volume = pavrc_resp->volume
[all...]
H A Dbtif_hf_client.cc446 * Description volume control
452 bthf_client_volume_type_t type, int volume) {
460 BTA_HfClientSendAT(cb->handle, BTA_HF_CLIENT_AT_CMD_VGS, volume, 0, NULL);
463 BTA_HfClientSendAT(cb->handle, BTA_HF_CLIENT_AT_CMD_VGM, volume, 0, NULL);
451 volume_control(const RawAddress* bd_addr, bthf_client_volume_type_t type, int volume) argument
/system/bt/include/hardware/
H A Dbt_hearing_aid.h62 /** Set the volume */
63 virtual void SetVolume(int8_t volume) = 0;
H A Dbluetooth_headset_callbacks.h76 * @param volume volume value 0 to 15, p69, HFP 1.7.1 spec
79 virtual void VolumeControlCallback(bthf_volume_type_t type, int volume,
H A Dbluetooth_headset_interface.h92 * Change HFP related volume on remote headset
95 * @param volume volume level on scale from 0 to 15, p69, HFP 1.7.1 spec
99 virtual bt_status_t VolumeControl(bthf_volume_type_t type, int volume,
H A Dbt_hf_client.h262 /** Callback for audio volume change
265 const RawAddress* bd_addr, bthf_client_volume_type_t type, int volume);
349 /** volume control */
351 bthf_client_volume_type_t type, int volume);
/system/vold/model/
H A DVolumeBase.h34 * Representation of a mounted volume ready for presentation.
38 * volumes to help communicate dependencies. For example, an ASEC volume
39 * can be stacked on a vfat volume.
44 * When an unmount is requested, the volume recursively unmounts any stacked
60 /* Flag that volume is primary external storage */
62 /* Flag that volume is visible to normal apps */
94 void addVolume(const std::shared_ptr<VolumeBase>& volume);
95 void removeVolume(const std::shared_ptr<VolumeBase>& volume);
121 /* ID that uniquely references volume while alive */
125 /* Partition GUID of this volume */
[all...]
H A DVolumeBase.cpp147 void VolumeBase::addVolume(const std::shared_ptr<VolumeBase>& volume) { argument
148 mVolumes.push_back(volume);
151 void VolumeBase::removeVolume(const std::shared_ptr<VolumeBase>& volume) { argument
152 mVolumes.remove(volume);
/system/bt/bta/include/
H A Dbta_hearing_aid_api.h56 virtual void SetVolume(int8_t volume) = 0;
/system/bt/include/hardware/avrcp/
H A Davrcp.h149 // TODO (apanicke): Investigate the best value type for volume. Right now it
151 using VolumeChangedCb = base::Callback<void(int8_t volume)>;
154 // volume.
158 // volume. The callback will be immediately called with the current volume
164 // any callbacks if absolute volume is supported.
167 virtual void SetVolume(int8_t volume) = 0;
/system/bt/stack/avrc/
H A Davrc_pars_tg.cc68 BE_STREAM_TO_UINT8(p_result->volume.volume, p);
69 p_result->volume.volume = AVRC_MAX_VOLUME & p_result->volume.volume;
312 p_result->volume.volume = *p++;
H A Davrc_bld_ct.cc79 /* add fixed lenth 1 - volume (1) */
81 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume));
594 status = avrc_bld_set_abs_volume_cmd(&p_cmd->volume, p_pkt);
H A Davrc_pars_ct.cc77 BE_STREAM_TO_UINT8(p_result->volume.volume, p);
92 BE_STREAM_TO_UINT8(p_result->reg_notif.param.volume, p);
94 AVRC_TRACE_DEBUG("%s PDU reg notif response:event %x, volume %x",
95 __func__, eventid, p_result->reg_notif.param.volume);
/system/bt/bta/hf_client/
H A Dbta_hf_client_int.h284 uint32_t volume);
286 uint32_t volume);
/system/bt/btif/avrcp/
H A Davrcp_service.cc256 auto cb_lambda = [](VolumeChangedCb cb, int8_t volume) {
257 do_in_bta_thread(FROM_HERE, base::Bind(cb, volume));
273 void SetVolume(int8_t volume) override {
275 base::Unretained(wrapped_), volume));
/system/bt/profile/avrcp/
H A Ddevice.cc86 // different volume than the one we set. For now, we don't care
299 // Handle the first volume update.
306 // Ignore the returned volume in favor of the volume returned
307 // by the volume interface.
313 << ": Ignoring volume changes from non active device";
322 void Device::SetVolume(int8_t volume) { argument
324 DEVICE_VLOG(1) << __func__ << ": volume=" << (int)volume;
325 auto request = SetAbsoluteVolumeRequestBuilder::MakeBuilder(volume);
1234 volumeToStr(int8_t volume) argument
[all...]
H A Ddevice.h72 * Volume Interface is null, then absolute volume is disabled.
222 virtual void SetVolume(int8_t volume);
/system/bt/stack/include/
H A Davrc_defs.h171 #define AVRC_ID_VOL_UP 0x41 /* volume up */
172 #define AVRC_ID_VOL_DOWN 0x42 /* volume down */
1204 uint8_t volume; member in struct:__anon1072
1310 tAVRC_SET_VOLUME_CMD volume; /* SetAbsVolume */ member in union:__anon1082
1409 uint8_t volume; member in union:__anon1091
1428 uint8_t volume; member in struct:__anon1093
1526 tAVRC_SET_VOLUME_RSP volume; /* SetAbsVolume */ member in union:__anon1102
/system/bt/bta/hearing_aid/
H A Dhearing_aid.cc741 // TODO(jpawlowski): this will be removed, once test devices get volume
1048 void SetVolume(int8_t volume) override {
1049 VLOG(2) << __func__ << ": " << +volume; variable
1050 current_volume = volume;
1054 std::vector<uint8_t> volume_value({static_cast<unsigned char>(volume)});
1077 /* current volume gain for the hearing aids*/

Completed in 7085 milliseconds

12