Lines Matching refs:newMode
268 int newMode = mode(); in setVoiceVolume() local
269 ALOGV("setVoiceVolume newMode %d",newMode); in setVoiceVolume()
278 if(newMode == AudioSystem::MODE_IN_COMMUNICATION) { in setVoiceVolume()
280 } else if (newMode == AudioSystem::MODE_IN_CALL){ in setVoiceVolume()
608 int newMode = mode(); in doRouting() local
625 "mIsFmActive %d", device, newMode, mCSCallActive, mVolteCallActive, in doRouting()
628 isRouted = routeVoLTECall(device, newMode); in doRouting()
629 isRouted |= routeVoiceCall(device, newMode); in doRouting()
642 mALSADevice->route(&(*it), (uint32_t)device, newMode); in doRouting()
654 newMode); in doRouting()
683 mALSADevice->route(&(*it), (uint32_t)device, newMode); in doRouting()
1101 int newMode = mode(); in openInputStream() local
1226 (newMode == AudioSystem::MODE_IN_CALL)) { in openInputStream()
1266 (newMode == AudioSystem::MODE_IN_CALL)) { in openInputStream()
1432 int newMode = mode(); in handleFm() local
1470 mALSADevice->route(&(*it), (uint32_t)device, newMode); in handleFm()
1584 bool AudioHardwareALSA::routeVoiceCall(int device, int newMode) in routeVoiceCall() argument
1593 (char *)SND_USE_CASE_MOD_PLAY_VOICE, newMode, device); in routeVoiceCall()
1602 (char *)SND_USE_CASE_MOD_PLAY_VOICE, newMode, device); in routeVoiceCall()
1645 bool AudioHardwareALSA::routeVoLTECall(int device, int newMode) in routeVoLTECall() argument
1654 (char *)SND_USE_CASE_MOD_PLAY_VOLTE, newMode, device); in routeVoLTECall()
1663 (char *)SND_USE_CASE_MOD_PLAY_VOLTE, newMode, device); in routeVoLTECall()