Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp226 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/
DParameterManagerWrapper.h99 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const;
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h94 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp161 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()
DEngine.h52 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override;
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h48 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse() function
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp753 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 …]
DAudioPolicyManager.h110 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp242 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/
DIAudioPolicyService.h60 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
DAudioSystem.h226 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h101 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp240 if (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED && in getOrderedProductStrategies()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp151 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()
DAudioPolicyService.h78 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/base/media/java/android/media/
DAudioSystem.java1151 public static native int getForceUse(int usage); in getForceUse() method in AudioSystem
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp860 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()
DIAudioPolicyService.cpp188 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/
Dandroid_media_AudioSystem.cpp547 …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.java4132 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()
4169 if (AudioSystem.getForceUse(AudioSystem.FOR_COMMUNICATION) in getActiveStreamType()