Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 12 of 12) sorted by relevance

/system/bt/stack/avrc/
Davrc_pars_ct.c78 BE_STREAM_TO_UINT8 (p_result->volume.volume, p); in avrc_pars_vendor_rsp()
92 BE_STREAM_TO_UINT8 (p_result->reg_notif.param.volume, p); in avrc_pars_vendor_rsp()
95 p_result->reg_notif.param.volume); in avrc_pars_vendor_rsp()
Davrc_bld_ct.c84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd()
228 status = avrc_bld_set_abs_volume_cmd(&p_cmd->volume, p_pkt); in AVRC_BldCommand()
/system/vold/
DVolumeBase.cpp146 void VolumeBase::addVolume(const std::shared_ptr<VolumeBase>& volume) { in addVolume() argument
147 mVolumes.push_back(volume); in addVolume()
150 void VolumeBase::removeVolume(const std::shared_ptr<VolumeBase>& volume) { in removeVolume() argument
151 mVolumes.remove(volume); in removeVolume()
DVolumeBase.h93 void addVolume(const std::shared_ptr<VolumeBase>& volume);
94 void removeVolume(const std::shared_ptr<VolumeBase>& volume);
/system/bt/btif/src/
Dbtif_rc.c1191 btif_rc_cb.rc_volume=pavrc_resp->reg_notif.param.volume; in btif_rc_upstreams_rsp_evt()
1192 HAL_CBACK(bt_rc_callbacks, volume_change_cb, pavrc_resp->reg_notif.param.volume,ctype) in btif_rc_upstreams_rsp_evt()
1199 pavrc_resp->volume.volume,ctype); in btif_rc_upstreams_rsp_evt()
1201 btif_rc_cb.rc_volume=pavrc_resp->volume.volume; in btif_rc_upstreams_rsp_evt()
1202 HAL_CBACK(bt_rc_callbacks,volume_change_cb,pavrc_resp->volume.volume,ctype) in btif_rc_upstreams_rsp_evt()
1408 static bt_status_t set_volume(uint8_t volume) in set_volume() argument
1415 if(btif_rc_cb.rc_volume==volume) in set_volume()
1418 BTIF_TRACE_ERROR("%s: volume value already set earlier: 0x%02x",__FUNCTION__, volume); in set_volume()
1428 BTIF_TRACE_DEBUG("%s: Peer supports absolute volume. newVolume=%d", __FUNCTION__, volume); in set_volume()
1429 avrc_cmd.volume.opcode = AVRC_OP_VENDOR; in set_volume()
[all …]
Dbtif_hf_client.c369 static bt_status_t volume_control(bthf_client_volume_type_t type, int volume) in volume_control() argument
376 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_VGS, volume, 0, NULL); in volume_control()
379 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_VGM, volume, 0, NULL); in volume_control()
Dbtif_hf.c972 static bt_status_t volume_control(bthf_volume_type_t type, int volume, in volume_control() argument
989 ag_res.num = volume; in volume_control()
/system/bt/bta/hf_client/
Dbta_hf_client_int.h251 extern void bta_hf_client_send_at_vgs(UINT32 volume);
252 extern void bta_hf_client_send_at_vgm(UINT32 volume);
Dbta_hf_client_at.c1628 void bta_hf_client_send_at_vgs(UINT32 volume) in bta_hf_client_send_at_vgs() argument
1635 at_len = snprintf(buf, sizeof(buf), "AT+VGS=%u\r", volume); in bta_hf_client_send_at_vgs()
1640 void bta_hf_client_send_at_vgm(UINT32 volume) in bta_hf_client_send_at_vgm() argument
1647 at_len = snprintf(buf, sizeof(buf), "AT+VGM=%u\r", volume); in bta_hf_client_send_at_vgm()
/system/bt/stack/include/
Davrc_defs.h1085 UINT8 volume; member
1192 tAVRC_SET_VOLUME_CMD volume; /* SetAbsVolume */ member
1303 UINT8 volume; member
1322 UINT8 volume; member
1406 tAVRC_SET_VOLUME_RSP volume; /* SetAbsVolume */ member
/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c1190 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument
1193 UNUSED(volume); in adev_set_voice_volume()
1200 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument
1203 UNUSED(volume); in adev_set_master_volume()
/system/core/rootdir/
Dinit.rc667 # One shot invocation to deal with encrypted volume.