/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 226 switch (getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION)) { in getDevicesForStrategyInt() 244 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDevicesForStrategyInt() 269 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDevicesForStrategyInt() 305 … (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED)) { in getDevicesForStrategyInt() 317 if (!((getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) in getDevicesForStrategyInt() 319 if (getForceUse(AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING) in getDevicesForStrategyInt() 328 if (getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) == AUDIO_POLICY_FORCE_BT_SCO) { in getDevicesForStrategyInt() 389 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP)) { in getDevicesForStrategyInt() 393 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) == AUDIO_POLICY_FORCE_SPEAKER)) { in getDevicesForStrategyInt() 397 if ((getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDevicesForStrategyInt() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
D | ParameterManagerWrapper.h | 99 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const;
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | EngineInterface.h | 94 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 161 audio_policy_forced_cfg_t Engine::getForceUse(audio_policy_force_use_t usage) const in getForceUse() function in android::audio_policy::Engine 163 return mPolicyParameterMgr->getForceUse(usage); in getForceUse()
|
D | Engine.h | 52 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override;
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | EngineBase.h | 48 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse() function
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 753 if (config == mEngine->getForceUse(usage)) { in setForceUse() 894 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) != AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in getAudioAttributes() 1740 mEngine->getForceUse( in startSource() 1850 … mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in stopSource() 3135 audio_policy_forced_cfg_t forceUseValue = mEngine->getForceUse(i); in dump() 4139 audio_policy_forced_cfg_t forceUse = mEngine->getForceUse( in getSurroundFormats() 4170 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_ENCODED_SURROUND) != in setSurroundFormatEnabled() 5230 ((mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) != in checkA2dpSuspend() 5232 (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_RECORD) != in checkA2dpSuspend() 5242 ((mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) == in checkA2dpSuspend() [all …]
|
D | AudioPolicyManager.h | 110 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
D | ParameterManagerWrapper.cpp | 242 audio_policy_forced_cfg_t ParameterManagerWrapper::getForceUse(audio_policy_force_use_t usage) const in getForceUse() function in android::audio_policy::ParameterManagerWrapper
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 60 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
D | AudioSystem.h | 226 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 101 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 240 if (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED && in getOrderedProductStrategies()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 151 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::AudioPolicyService 160 return mAudioPolicyManager->getForceUse(usage); in getForceUse()
|
D | AudioPolicyService.h | 78 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 1151 public static native int getForceUse(int usage); in getForceUse() method in AudioSystem
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 860 audio_policy_forced_cfg_t AudioSystem::getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::AudioSystem 864 return aps->getForceUse(usage); in getForceUse()
|
D | IAudioPolicyService.cpp | 188 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::BpAudioPolicyService 1509 reply->writeInt32(static_cast <uint32_t>(getForceUse(usage))); in onTransact()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 547 …return static_cast <jint>(AudioSystem::getForceUse(static_cast <audio_policy_force_use_t>(usage))); in android_media_AudioSystem_getForceUse()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 4132 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType() 4169 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()
|