Home
last modified time | relevance | path

Searched refs:getPhoneState (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h43 audio_mode_t getPhoneState() const override { return mPhoneState; } in getPhoneState() function
136 return is_state_in_call(getPhoneState()); in isInCall()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h87 audio_mode_t getPhoneState() const;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp153 audio_mode_t Engine::getPhoneState() const in getPhoneState() function in android::audio_policy::Engine
155 return mPolicyParameterMgr->getPhoneState(); in getPhoneState()
361 !is_state_in_call(getPhoneState()) && in getDevicesForProductStrategy()
DEngine.h56 audio_mode_t getPhoneState() const override;
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h94 virtual audio_mode_t getPhoneState() const = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java109 public int getPhoneState() { in getPhoneState() method in PhoneStateMonitor
DAssistManager.java312 int legacyDeviceState = mPhoneStateMonitor.getPhoneState(); in startAssist()
537 return toLoggingSubType(invocationType, mPhoneStateMonitor.getPhoneState()); in toLoggingSubType()
/frameworks/av/media/libaudioclient/tests/
Daudiosystem_tests.cpp335 audio_mode_t state = AudioSystem::getPhoneState(); in TEST_F()
338 state = AudioSystem::getPhoneState(); in TEST_F()
341 state = AudioSystem::getPhoneState(); in TEST_F()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp224 if (getPhoneState() == AUDIO_MODE_IN_CALL) { in filterOutputDevicesForStrategy()
659 if ((getPhoneState() == AUDIO_MODE_IN_CALL) && in getDeviceForInputSource()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp224 audio_mode_t ParameterManagerWrapper::getPhoneState() const in getPhoneState() function in android::audio_policy::ParameterManagerWrapper
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl268 AudioMode getPhoneState(); in getPhoneState() method
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp330 if (desc->isActive() && ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || in setDeviceConnectionStateInt()
686 if (mEngine->getPhoneState() == AUDIO_MODE_IN_CALL) { in updateCallRouting()
868 int oldState = mEngine->getPhoneState(); in setPhoneState()
970 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState() function in android::AudioPolicyManager
971 return mEngine->getPhoneState(); in getPhoneState()
977 …LOGV("setForceUse() usage %d, config %d, mPhoneState %d", usage, config, mEngine->getPhoneState()); in setForceUse()
1369 (mEngine->getPhoneState() != AUDIO_MODE_NORMAL || in getOutputForAttrInt()
4229 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || in updateCallAndOutputRouting()
4465 AudioModeConverter::toString(mEngine->getPhoneState(), stateLiteral); in dump()
7439 (mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) && in checkA2dpSuspend()
[all …]
DAudioPolicyManager.h663 audio_mode_t getPhoneState();
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h482 static audio_mode_t getPhoneState();
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h209 binder::Status getPhoneState(AudioMode* _aidl_return) override;
DAudioPolicyService.cpp120 BINDER_METHOD_ENTRY(getPhoneState) \
DAudioPolicyInterfaceImpl.cpp250 Status AudioPolicyService::getPhoneState(AudioMode* _aidl_return) { in getPhoneState() function in android::AudioPolicyService
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1878 audio_mode_t AudioSystem::getPhoneState() { in getPhoneState() function in android::AudioSystem
1884 RETURN_IF_ERROR(statusTFromBinderStatus(aps->getPhoneState(&retAidl))); in getPhoneState()