Lines Matching refs:usage
92 int BrilloAudioClient::SetDevice(audio_policy_force_use_t usage, in SetDevice() argument
98 auto status = brillo_audio_service_->SetDevice(usage, config); in SetDevice()
102 int BrilloAudioClient::GetMaxVolumeSteps(BAudioUsage usage, int* max_steps) { in GetMaxVolumeSteps() argument
108 BrilloAudioClientHelpers::GetStreamType(usage), max_steps); in GetMaxVolumeSteps()
112 int BrilloAudioClient::SetMaxVolumeSteps(BAudioUsage usage, int max_steps) { in SetMaxVolumeSteps() argument
118 BrilloAudioClientHelpers::GetStreamType(usage), max_steps); in SetMaxVolumeSteps()
122 int BrilloAudioClient::SetVolumeIndex(BAudioUsage usage, in SetVolumeIndex() argument
130 BrilloAudioClientHelpers::GetStreamType(usage), device, index); in SetVolumeIndex()
134 int BrilloAudioClient::GetVolumeIndex(BAudioUsage usage, in GetVolumeIndex() argument
142 BrilloAudioClientHelpers::GetStreamType(usage), device, index); in GetVolumeIndex()
146 int BrilloAudioClient::GetVolumeControlStream(BAudioUsage* usage) { in GetVolumeControlStream() argument
153 *usage = BrilloAudioClientHelpers::GetBAudioUsage( in GetVolumeControlStream()
158 int BrilloAudioClient::SetVolumeControlStream(BAudioUsage usage) { in SetVolumeControlStream() argument
164 BrilloAudioClientHelpers::GetStreamType(usage)); in SetVolumeControlStream()