Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp180 && (getForceUse(AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING) in isBtScoActive()
366 … (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED)) { in getDevicesForStrategyInt()
380 if (!((getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) in getDevicesForStrategyInt()
382 if (getForceUse(AUDIO_POLICY_FORCE_FOR_VIBRATE_RINGING) in getDevicesForStrategyInt()
425 (getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) == AUDIO_POLICY_FORCE_SPEAKER)) { in getDevicesForStrategyInt()
458 if ((getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA) != AUDIO_POLICY_FORCE_NO_BT_A2DP)) { in getDevicesForStrategyInt()
479 (getForceUse(AUDIO_POLICY_FORCE_FOR_DOCK) == AUDIO_POLICY_FORCE_ANALOG_DOCK)) { in getDevicesForStrategyInt()
505 (getForceUse(AUDIO_POLICY_FORCE_FOR_HDMI_SYSTEM_AUDIO) == in getDevicesForStrategyInt()
/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/engineconfigurable/src/
DEngine.h60 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override;
DEngine.cpp168 audio_policy_forced_cfg_t Engine::getForceUse(audio_policy_force_use_t usage) const in getForceUse() function in android::audio_policy::Engine
170 return mPolicyParameterMgr->getForceUse(usage); in getForceUse()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h115 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h51 audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const override in getForceUse() function
/frameworks/base/services/core/java/com/android/server/audio/
DAudioSystemAdapter.java596 public int getForceUse(int usage) { in getForceUse() method in AudioSystemAdapter
597 return AudioSystem.getForceUse(usage); in getForceUse()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp257 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/aidl/android/media/
DIAudioPolicyService.aidl86 AudioPolicyForcedConfig getForceUse(AudioPolicyForceUse usage); in getForceUse() method
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h126 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp978 if (config == mEngine->getForceUse(usage)) { in setForceUse()
1186 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) != AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in getAudioAttributes()
2551 mEngine->getForceUse( in startSource()
2745 … mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED) { in stopSource()
4472 audio_policy_forced_cfg_t forceUseValue = mEngine->getForceUse(i); in dump()
5924 audio_policy_forced_cfg_t forceUse = mEngine->getForceUse( in getSurroundFormats()
6009 if (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_ENCODED_SURROUND) != in setSurroundFormatEnabled()
8161 (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_NONE))) && in computeVolume()
8378 (mEngine->getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == in setVolumeSourceMute()
8439 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in getForceUse() function in android::AudioPolicyManager
[all …]
DAudioPolicyManager.h114 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h307 static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp297 if (getForceUse(AUDIO_POLICY_FORCE_FOR_SYSTEM) == AUDIO_POLICY_FORCE_SYSTEM_ENFORCED && in getOrderedProductStrategies()
/frameworks/base/media/java/android/media/
DAudioSystem.java1764 public static native int getForceUse(int usage); in getForceUse() method in AudioSystem
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h110 binder::Status getForceUse(media::AudioPolicyForceUse usage,
DAudioPolicyInterfaceImpl.cpp286 Status AudioPolicyService::getForceUse(media::AudioPolicyForceUse usageAidl, in getForceUse() function in android::AudioPolicyService
302 mAudioPolicyManager->getForceUse(usage))); in getForceUse()
DAudioPolicyService.cpp72 BINDER_METHOD_ENTRY(getForceUse) \
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1057 audio_policy_forced_cfg_t AudioSystem::getForceUse(audio_policy_force_use_t usage) { in getForceUse() function in android::AudioSystem
1066 aps->getForceUse(usageAidl, &configAidl))); in getForceUse()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp713 AudioSystem::getForceUse(static_cast<audio_policy_force_use_t>(usage))); in android_media_AudioSystem_getForceUse()
3388 MAKE_AUDIO_SYSTEM_METHOD(getForceUse),
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp2370 auto config = mManager->getForceUse(AUDIO_POLICY_FORCE_FOR_MEDIA); in TEST_F()