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