Home
last modified time | relevance | path

Searched refs:getForceUse (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp222 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/
DParameterManagerWrapper.h101 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const;
/frameworks/av/services/audiopolicy/engine/interface/
DAudioPolicyManagerInterface.h94 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h47 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse() function
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h52 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override;
DEngine.cpp157 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/
DAudioPolicyManager.cpp765 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 …]
DAudioPolicyManager.h111 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp233 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/
DIAudioPolicyService.h58 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
DAudioSystem.h224 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h58 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp172 if (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED && in getOrderedProductStrategies()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h95 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp143 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()
DAudioPolicyService.h76 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/base/media/java/android/media/
DAudioSystem.java929 public static native int getForceUse(int usage); in getForceUse() method in AudioSystem
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp852 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()
DIAudioPolicyService.cpp184 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/
Dandroid_media_AudioSystem.cpp546 …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/
DAudioService.java4160 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()
4197 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()