Home
last modified time | relevance | path

Searched refs:AudioMode (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioPolicyConfig.aidl22 import android.media.audio.common.AudioMode;
30 AudioMode[] supportedModes;
DIAudioFlingerService.aidl51 import android.media.audio.common.AudioMode;
106 void setMode(AudioMode mode); in setMode()
DIAudioPolicyService.aidl51 import android.media.audio.common.AudioMode;
81 void setPhoneState(AudioMode state, int /* uid_t */ uid); in setPhoneState()
268 AudioMode getPhoneState(); in getPhoneState()
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/
DTelephonyMock.h26 ndk::ScopedAStatus getSupportedAudioModes(std::vector<AudioMode>*) override { in getSupportedAudioModes() argument
29 ndk::ScopedAStatus switchAudioMode(AudioMode) override { return ndk::ScopedAStatus::ok(); } in switchAudioMode() argument
DModuleMock.h92 ndk::ScopedAStatus updateAudioMode(AudioMode) override { return ndk::ScopedAStatus::ok(); } in updateAudioMode() argument
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionNdkCpp.h48 DECLARE_CONVERTERS(android::media::audio::common, AudioMode);
DAidlConversionCppNdk-impl.h58 #include PREFIX(android/media/audio/common/AudioMode.h)
278 aidl2legacy_AudioMode_audio_mode_t(media::audio::common::AudioMode aidl);
279 ConversionResult<media::audio::common::AudioMode>
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp75 using media::audio::common::AudioMode;
2746 aidl2legacy_AudioMode_audio_mode_t(AudioMode aidl) { in aidl2legacy_AudioMode_audio_mode_t()
2748 case AudioMode::SYS_RESERVED_INVALID: in aidl2legacy_AudioMode_audio_mode_t()
2750 case AudioMode::SYS_RESERVED_CURRENT: in aidl2legacy_AudioMode_audio_mode_t()
2752 case AudioMode::NORMAL: in aidl2legacy_AudioMode_audio_mode_t()
2754 case AudioMode::RINGTONE: in aidl2legacy_AudioMode_audio_mode_t()
2756 case AudioMode::IN_CALL: in aidl2legacy_AudioMode_audio_mode_t()
2758 case AudioMode::IN_COMMUNICATION: in aidl2legacy_AudioMode_audio_mode_t()
2760 case AudioMode::CALL_SCREEN: in aidl2legacy_AudioMode_audio_mode_t()
2762 case AudioMode::SYS_RESERVED_CALL_REDIRECT: in aidl2legacy_AudioMode_audio_mode_t()
[all …]
DAidlConversionNdkCpp.cpp148 GENERATE_ENUM_CONVERTERS(android::media::audio::common, AudioMode);
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h48 virtual status_t getSupportedModes(std::vector<media::audio::common::AudioMode> *modes) = 0;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.h37 status_t getSupportedModes(std::vector<media::audio::common::AudioMode> *modes) override;
DEffectConversionHelperAidl.cpp50 using ::aidl::android::media::audio::common::AudioMode;
321 AudioMode aidlMode = in handleSetAudioMode()
DDeviceHalAidl.h80 status_t getSupportedModes(std::vector<media::audio::common::AudioMode> *modes) override;
DDeviceHalAidl.cpp48 using aidl::android::media::audio::common::AudioMode;
126 status_t DeviceHalAidl::getSupportedModes(std::vector<media::audio::common::AudioMode> *modes) { in getSupportedModes()
134 std::vector<AudioMode> aidlModes; in getSupportedModes()
138 ::aidl::android::convertContainer<std::vector<media::audio::common::AudioMode>>( in getSupportedModes()
191 AudioMode audioMode = VALUE_OR_FATAL(::aidl::android::legacy2aidl_audio_mode_t_AudioMode(mode)); in setMode()
DDeviceHalHidl.cpp118 std::vector<media::audio::common::AudioMode> *modes __unused) { in getSupportedModes()
164 return processReturn("setMode", mPrimaryDevice->setMode(AudioMode(mode))); in setMode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp268 media::audio::common::AudioMode::CALL_SCREEN) != aidl.supportedModes.end(); in loadFromAidl()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h60 using media::audio::common::AudioMode;
107 binder::Status setPhoneState(AudioMode state, int32_t uid) override;
209 binder::Status getPhoneState(AudioMode* _aidl_return) override;
DAudioPolicyInterfaceImpl.cpp61 using media::audio::common::AudioMode;
210 Status AudioPolicyService::setPhoneState(AudioMode stateAidl, int32_t uidAidl) in setPhoneState()
250 Status AudioPolicyService::getPhoneState(AudioMode* _aidl_return) { in getPhoneState()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp38 using media::audio::common::AudioMode;
382 AudioMode modeAidl = VALUE_OR_RETURN_STATUS(legacy2aidl_audio_mode_t_AudioMode(mode)); in setMode()
1060 Status AudioFlingerServerAdapter::setMode(AudioMode mode) { in setMode()
DAidlConversion.cpp52 using media::audio::common::AudioMode;
DAudioSystem.cpp1883 media::audio::common::AudioMode retAidl; in getPhoneState()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp87 using media::audio::common::AudioMode;
2497 std::set<AudioMode> allSupportedModes; in getAudioPolicyConfig()
2508 std::vector<AudioMode> supportedModes; in getAudioPolicyConfig()
2518 config->supportedModes = { media::audio::common::AudioMode::NORMAL, in getAudioPolicyConfig()
2519 media::audio::common::AudioMode::RINGTONE, in getAudioPolicyConfig()
2520 media::audio::common::AudioMode::IN_CALL, in getAudioPolicyConfig()
2521 media::audio::common::AudioMode::IN_COMMUNICATION }; in getAudioPolicyConfig()
/frameworks/base/media/java/android/media/
DAudioManager.java3331 public void setMode(@AudioMode int mode) { in setMode()
3353 @AudioMode
3389 void onModeChanged(@AudioMode int mode); in onModeChanged()
3522 public @interface AudioMode {} annotation in AudioManager
9426 public void onModeChanged(@AudioMode int mode) { in onModeChanged()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h679 Status setMode(media::audio::common::AudioMode mode) override;
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp421 ndk::ScopedAStatus updateAudioMode(::aidl::android::media::audio::common::AudioMode) override { in updateAudioMode() argument