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.java428 private int mForcedUseForComm; field in AudioService
606 mForcedUseForComm = AudioSystem.FORCE_NONE; in AudioService()
789 AudioSystem.setForceUse(AudioSystem.FOR_COMMUNICATION, mForcedUseForComm); in onMediaServerDied()
790 AudioSystem.setForceUse(AudioSystem.FOR_RECORD, mForcedUseForComm); in onMediaServerDied()
2511 if (mForcedUseForComm == AudioSystem.FORCE_BT_SCO) { in setSpeakerphoneOn()
2515 mForcedUseForComm = AudioSystem.FORCE_SPEAKER; in setSpeakerphoneOn()
2516 } else if (mForcedUseForComm == AudioSystem.FORCE_SPEAKER){ in setSpeakerphoneOn()
2517 mForcedUseForComm = AudioSystem.FORCE_NONE; in setSpeakerphoneOn()
2521 AudioSystem.FOR_COMMUNICATION, mForcedUseForComm, null, 0); in setSpeakerphoneOn()
2526 return (mForcedUseForComm == AudioSystem.FORCE_SPEAKER); in isSpeakerphoneOn()
[all …]