/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 222 switch (getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION)) { in getDeviceForStrategyInt() 240 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDeviceForStrategyInt() 274 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDeviceForStrategyInt() 315 … (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED)) { in getDeviceForStrategyInt() 331 if (!((getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) in getDeviceForStrategyInt() 333 if (getForceUse(AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING) in getDeviceForStrategyInt() 342 if (getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) == AUDIO_POLICY_FORCE_BT_SCO) { in getDeviceForStrategyInt() 407 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP)) { in getDeviceForStrategyInt() 411 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP) && in getDeviceForStrategyInt() 422 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) == AUDIO_POLICY_FORCE_SPEAKER)) { in getDeviceForStrategyInt() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/ |
D | ParameterManagerWrapper.h | 101 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const;
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | AudioPolicyManagerInterface.h | 94 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | EngineBase.h | 47 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse() function
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 52 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override;
|
D | Engine.cpp | 157 audio_policy_forced_cfg_t Engine::getForceUse(audio_policy_force_use_t usage) const in getForceUse() function in android::audio_policy::Engine 159 return mPolicyParameterMgr->getForceUse(usage); in getForceUse()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 765 if (config == mEngine->getForceUse(usage)) { in setForceUse() 922 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) != AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in getAudioAttributes() 1758 … mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in startSource() 1866 … mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in stopSource() 3071 audio_policy_forced_cfg_t forceUseValue = mEngine->getForceUse(i); in dump() 4046 audio_policy_forced_cfg_t forceUse = mEngine->getForceUse( in getSurroundFormats() 4077 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_ENCODED_SURROUND) != in setSurroundFormatEnabled() 5152 ((mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) != in checkA2dpSuspend() 5154 (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_RECORD) != in checkA2dpSuspend() 5164 ((mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_COMMUNICATION) == in checkA2dpSuspend() [all …]
|
D | AudioPolicyManager.h | 111 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
D | ParameterManagerWrapper.cpp | 233 audio_policy_forced_cfg_t ParameterManagerWrapper::getForceUse(audio_policy_force_use_t usage) const in getForceUse() function in android::audio_policy::ParameterManagerWrapper
|
/frameworks/av/include/media/ |
D | IAudioPolicyService.h | 58 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
D | AudioSystem.h | 224 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 58 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 172 if (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED && in getOrderedProductStrategies()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 95 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 143 audio_policy_forced_cfg_t AudioPolicyService::getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::AudioPolicyService 152 return mAudioPolicyManager->getForceUse(usage); in getForceUse()
|
D | AudioPolicyService.h | 76 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 929 public static native int getForceUse(int usage); in getForceUse() method in AudioSystem
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 852 audio_policy_forced_cfg_t AudioSystem::getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::AudioSystem 856 return aps->getForceUse(usage); in getForceUse()
|
D | IAudioPolicyService.cpp | 184 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::BpAudioPolicyService 1444 reply->writeInt32(static_cast <uint32_t>(getForceUse(usage))); in onTransact()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 546 …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 | 4160 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType() 4197 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()
|