Lines Matching refs:AudioPolicyService
59 AudioPolicyService::AudioPolicyService() in AudioPolicyService() function in android::AudioPolicyService
67 void AudioPolicyService::onFirstRef() in onFirstRef()
94 AudioPolicyService::~AudioPolicyService() in ~AudioPolicyService()
114 void AudioPolicyService::registerClient(const sp<IAudioPolicyServiceClient>& client) in registerClient()
140 void AudioPolicyService::setAudioPortCallbacksEnabled(bool enabled) in setAudioPortCallbacksEnabled()
154 void AudioPolicyService::setAudioVolumeGroupCallbacksEnabled(bool enabled) in setAudioVolumeGroupCallbacksEnabled()
169 void AudioPolicyService::removeNotificationClient(uid_t uid, pid_t pid) in removeNotificationClient()
192 void AudioPolicyService::onAudioPortListUpdate() in onAudioPortListUpdate()
197 void AudioPolicyService::doOnAudioPortListUpdate() in doOnAudioPortListUpdate()
205 void AudioPolicyService::onAudioPatchListUpdate() in onAudioPatchListUpdate()
210 void AudioPolicyService::doOnAudioPatchListUpdate() in doOnAudioPatchListUpdate()
218 void AudioPolicyService::onAudioVolumeGroupChanged(volume_group_t group, int flags) in onAudioVolumeGroupChanged()
223 void AudioPolicyService::doOnAudioVolumeGroupChanged(volume_group_t group, int flags) in doOnAudioVolumeGroupChanged()
231 void AudioPolicyService::onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in onDynamicPolicyMixStateUpdate()
238 void AudioPolicyService::doOnDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in doOnDynamicPolicyMixStateUpdate()
246 void AudioPolicyService::onRecordingConfigurationUpdate( in onRecordingConfigurationUpdate()
260 void AudioPolicyService::doOnRecordingConfigurationUpdate( in doOnRecordingConfigurationUpdate()
277 status_t AudioPolicyService::clientCreateAudioPatch(const struct audio_patch *patch, in clientCreateAudioPatch()
284 status_t AudioPolicyService::clientReleaseAudioPatch(audio_patch_handle_t handle, in clientReleaseAudioPatch()
290 status_t AudioPolicyService::clientSetAudioPortConfig(const struct audio_port_config *config, in clientSetAudioPortConfig()
296 AudioPolicyService::NotificationClient::NotificationClient(const sp<AudioPolicyService>& service, in NotificationClient()
305 AudioPolicyService::NotificationClient::~NotificationClient() in ~NotificationClient()
309 void AudioPolicyService::NotificationClient::binderDied(const wp<IBinder>& who __unused) in binderDied()
312 sp<AudioPolicyService> service = mService.promote(); in binderDied()
318 void AudioPolicyService::NotificationClient::onAudioPortListUpdate() in onAudioPortListUpdate()
325 void AudioPolicyService::NotificationClient::onAudioPatchListUpdate() in onAudioPatchListUpdate()
332 void AudioPolicyService::NotificationClient::onAudioVolumeGroupChanged(volume_group_t group, in onAudioVolumeGroupChanged()
341 void AudioPolicyService::NotificationClient::onDynamicPolicyMixStateUpdate( in onDynamicPolicyMixStateUpdate()
349 void AudioPolicyService::NotificationClient::onRecordingConfigurationUpdate( in onRecordingConfigurationUpdate()
365 void AudioPolicyService::NotificationClient::setAudioPortCallbacksEnabled(bool enabled) in setAudioPortCallbacksEnabled()
370 void AudioPolicyService::NotificationClient::setAudioVolumeGroupCallbacksEnabled(bool enabled) in setAudioVolumeGroupCallbacksEnabled()
375 void AudioPolicyService::binderDied(const wp<IBinder>& who) { in binderDied()
390 status_t AudioPolicyService::dumpInternals(int fd) in dumpInternals()
413 void AudioPolicyService::updateUidStates() in updateUidStates()
419 void AudioPolicyService::updateUidStates_l() in updateUidStates_l()
651 void AudioPolicyService::silenceAllRecordings_l() { in silenceAllRecordings_l()
661 app_state_t AudioPolicyService::apmStatFromAmState(int amState) { in apmStatFromAmState()
673 bool AudioPolicyService::isVirtualSource(audio_source_t source) in isVirtualSource()
689 void AudioPolicyService::setAppState_l(audio_port_handle_t portId, app_state_t state) in setAppState_l()
703 status_t AudioPolicyService::dump(int fd, const Vector<String16>& args __unused) in dump()
730 status_t AudioPolicyService::dumpPermissionDenial(int fd) in dumpPermissionDenial()
744 status_t AudioPolicyService::onTransact( in onTransact()
779 status_t AudioPolicyService::shellCommand(int in, int out, int err, Vector<String16>& args) { in shellCommand()
819 status_t AudioPolicyService::handleSetUidState(Vector<String16>& args, int err) { in handleSetUidState()
856 status_t AudioPolicyService::handleResetUidState(Vector<String16>& args, int err) { in handleResetUidState()
885 status_t AudioPolicyService::handleGetUidState(Vector<String16>& args, int out, int err) { in handleGetUidState()
913 status_t AudioPolicyService::printHelp(int out) { in printHelp()
923 void AudioPolicyService::UidPolicy::registerSelf() { in registerSelf()
941 void AudioPolicyService::UidPolicy::unregisterSelf() { in unregisterSelf()
948 void AudioPolicyService::UidPolicy::binderDied(__unused const wp<IBinder> &who) { in binderDied()
954 void AudioPolicyService::UidPolicy::checkRegistered() { in checkRegistered()
966 bool AudioPolicyService::UidPolicy::isUidActive(uid_t uid) { in isUidActive()
993 int AudioPolicyService::UidPolicy::getUidState(uid_t uid) { in getUidState()
1042 void AudioPolicyService::UidPolicy::onUidActive(uid_t uid) { in onUidActive()
1046 void AudioPolicyService::UidPolicy::onUidGone(uid_t uid, __unused bool disabled) { in onUidGone()
1050 void AudioPolicyService::UidPolicy::onUidIdle(uid_t uid, __unused bool disabled) { in onUidIdle()
1054 void AudioPolicyService::UidPolicy::onUidStateChanged(uid_t uid, in onUidStateChanged()
1063 void AudioPolicyService::UidPolicy::updateOverrideUid(uid_t uid, bool active, bool insert) { in updateOverrideUid()
1067 void AudioPolicyService::UidPolicy::notifyService() { in notifyService()
1068 sp<AudioPolicyService> service = mService.promote(); in notifyService()
1074 void AudioPolicyService::UidPolicy::updateUid(std::unordered_map<uid_t, in updateUid()
1094 void AudioPolicyService::UidPolicy::updateUidLocked(std::unordered_map<uid_t, in updateUidLocked()
1120 bool AudioPolicyService::UidPolicy::isA11yOnTop() { in isA11yOnTop()
1133 bool AudioPolicyService::UidPolicy::isA11yUid(uid_t uid) in isA11yUid()
1140 void AudioPolicyService::SensorPrivacyPolicy::registerSelf() { in registerSelf()
1146 void AudioPolicyService::SensorPrivacyPolicy::unregisterSelf() { in unregisterSelf()
1151 bool AudioPolicyService::SensorPrivacyPolicy::isSensorPrivacyEnabled() { in isSensorPrivacyEnabled()
1155 binder::Status AudioPolicyService::SensorPrivacyPolicy::onSensorPrivacyChanged(bool enabled) { in onSensorPrivacyChanged()
1157 sp<AudioPolicyService> service = mService.promote(); in onSensorPrivacyChanged()
1166 AudioPolicyService::AudioCommandThread::AudioCommandThread(String8 name, in AudioCommandThread()
1167 const wp<AudioPolicyService>& service) in AudioCommandThread()
1173 AudioPolicyService::AudioCommandThread::~AudioCommandThread() in ~AudioCommandThread()
1181 void AudioPolicyService::AudioCommandThread::onFirstRef() in onFirstRef()
1186 bool AudioPolicyService::AudioCommandThread::threadLoop() in threadLoop()
1193 sp<AudioPolicyService> svc; in threadLoop()
1417 status_t AudioPolicyService::AudioCommandThread::dump(int fd) in dump()
1455 status_t AudioPolicyService::AudioCommandThread::volumeCommand(audio_stream_type_t stream, in volumeCommand()
1473 status_t AudioPolicyService::AudioCommandThread::parametersCommand(audio_io_handle_t ioHandle, in parametersCommand()
1489 status_t AudioPolicyService::AudioCommandThread::voiceVolumeCommand(float volume, int delayMs) in voiceVolumeCommand()
1501 void AudioPolicyService::AudioCommandThread::setEffectSuspendedCommand(int effectId, in setEffectSuspendedCommand()
1518 void AudioPolicyService::AudioCommandThread::stopOutputCommand(audio_port_handle_t portId) in stopOutputCommand()
1529 void AudioPolicyService::AudioCommandThread::releaseOutputCommand(audio_port_handle_t portId) in releaseOutputCommand()
1540 status_t AudioPolicyService::AudioCommandThread::createAudioPatchCommand( in createAudioPatchCommand()
1562 status_t AudioPolicyService::AudioCommandThread::releaseAudioPatchCommand(audio_patch_handle_t hand… in releaseAudioPatchCommand()
1575 void AudioPolicyService::AudioCommandThread::updateAudioPortListCommand() in updateAudioPortListCommand()
1583 void AudioPolicyService::AudioCommandThread::updateAudioPatchListCommand() in updateAudioPatchListCommand()
1591 void AudioPolicyService::AudioCommandThread::changeAudioVolumeGroupCommand(volume_group_t group, in changeAudioVolumeGroupCommand()
1604 status_t AudioPolicyService::AudioCommandThread::setAudioPortConfigCommand( in setAudioPortConfigCommand()
1617 void AudioPolicyService::AudioCommandThread::dynamicPolicyMixStateUpdateCommand( in dynamicPolicyMixStateUpdateCommand()
1631 void AudioPolicyService::AudioCommandThread::recordingConfigurationUpdateCommand( in recordingConfigurationUpdateCommand()
1658 void AudioPolicyService::AudioCommandThread::audioModulesUpdateCommand() in audioModulesUpdateCommand()
1665 status_t AudioPolicyService::AudioCommandThread::sendCommand(sp<AudioCommand>& command, int delayMs) in sendCommand()
1684 void AudioPolicyService::AudioCommandThread::insertCommand_l(sp<AudioCommand>& command, int delayMs) in insertCommand_l()
1859 void AudioPolicyService::AudioCommandThread::exit() in exit()
1872 void AudioPolicyService::AudioCommandThread::AudioCommand::dump(char* buffer, size_t size) in dump()
1883 void AudioPolicyService::setParameters(audio_io_handle_t ioHandle, in setParameters()
1891 int AudioPolicyService::setStreamVolume(audio_stream_type_t stream, in setStreamVolume()
1900 int AudioPolicyService::setVoiceVolume(float volume, int delayMs) in setVoiceVolume()
1905 void AudioPolicyService::setEffectSuspended(int effectId, in setEffectSuspended()
1912 void AudioPolicyService::onNewAudioModulesAvailable() in onNewAudioModulesAvailable()