Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java435 private int mForcedUseForComm; field in AudioService
634 mForcedUseForComm = AudioSystem.FORCE_NONE; in AudioService()
814 AudioSystem.setForceUse(AudioSystem.FOR_COMMUNICATION, mForcedUseForComm); in onAudioServerDied()
815 AudioSystem.setForceUse(AudioSystem.FOR_RECORD, mForcedUseForComm); in onAudioServerDied()
2662 if (mForcedUseForComm == AudioSystem.FORCE_BT_SCO) { in setSpeakerphoneOn()
2666 mForcedUseForComm = AudioSystem.FORCE_SPEAKER; in setSpeakerphoneOn()
2667 } else if (mForcedUseForComm == AudioSystem.FORCE_SPEAKER){ in setSpeakerphoneOn()
2668 mForcedUseForComm = AudioSystem.FORCE_NONE; in setSpeakerphoneOn()
2672 AudioSystem.FOR_COMMUNICATION, mForcedUseForComm, null, 0); in setSpeakerphoneOn()
2677 return (mForcedUseForComm == AudioSystem.FORCE_SPEAKER); in isSpeakerphoneOn()
[all …]