Home
last modified time | relevance | path

Searched refs:aps_ (Results 1 – 5 of 5) sorted by relevance

/system/media/brillo/audio/audioservice/
Daudio_volume_handler.cpp44 void AudioVolumeHandler::APSDisconnect() { aps_.clear(); } in APSDisconnect()
48 aps_ = aps; in APSConnect()
142 aps_->initStreamVolume(stream, kMinIndex_, kMaxIndex_); in InitAPSAllStreams()
145 aps_->setStreamVolumeIndex(stream, current_index, device); in InitAPSAllStreams()
156 aps_ = aps; in Init()
196 auto device = aps_->getDevicesForStream(stream); in AdjustStreamVolume()
201 aps_->setStreamVolumeIndex(stream, current_index, device); in AdjustStreamVolume()
212 if (aps_->isStreamActive(stream)) { in AdjustVolumeActiveStreams()
Daudio_device_handler.cpp74 aps_.clear(); in APSDisconnect()
79 aps_ = aps; in APSConnect()
89 aps_ = aps; in Init()
129 if (aps_ == nullptr) { in NotifyAudioPolicyService()
136 aps_->setDeviceConnectionState(device, state, "", ""); in NotifyAudioPolicyService()
141 if (aps_ == nullptr) { in SetDevice()
147 return aps_->setForceUse(usage, config); in SetDevice()
Daudio_daemon.cpp58 audio_device_handler_->Init(aps_); in InitializeHandlers()
59 audio_volume_handler_->Init(aps_); in InitializeHandlers()
116 aps_ = android::interface_cast<android::IAudioPolicyService>(binder); in ConnectToAPS()
120 audio_device_handler_->APSConnect(aps_); in ConnectToAPS()
121 audio_volume_handler_->APSConnect(aps_); in ConnectToAPS()
129 aps_ = nullptr; in OnAPSDisconnected()
Daudio_daemon_handler.h53 android::sp<android::IAudioPolicyService> aps_;
Daudio_daemon.h101 android::sp<android::IAudioPolicyService> aps_; variable