Lines Matching refs:delayMs
347 int delayMs = 0; in setPhoneState() local
361 (delayMs < (int)desc->mLatency*2)) { in setPhoneState()
362 delayMs = desc->mLatency*2; in setPhoneState()
374 setOutputDevice(mPrimaryOutput, newDevice, force, delayMs); in setPhoneState()
2746 uint32_t delayMs) in checkDeviceMuteStrategies() argument
2785 setStrategyMute((routing_strategy)i, mute, curOutput, mute ? 0 : delayMs); in checkDeviceMuteStrategies()
2809 if (muteWaitMs > delayMs) { in checkDeviceMuteStrategies()
2810 muteWaitMs -= delayMs; in checkDeviceMuteStrategies()
2820 int delayMs) in setOutputDevice() argument
2822 ALOGV("setOutputDevice() output %d device %04x delayMs %d", output, device, delayMs); in setOutputDevice()
2828 muteWaitMs = setOutputDevice(outputDesc->mOutput1->mId, device, force, delayMs); in setOutputDevice()
2829 muteWaitMs += setOutputDevice(outputDesc->mOutput2->mId, device, force, delayMs); in setOutputDevice()
2849 muteWaitMs = checkDeviceMuteStrategies(outputDesc, prevDevice, delayMs); in setOutputDevice()
2863 mpClientInterface->setParameters(output, param.toString(), delayMs); in setOutputDevice()
2866 applyStreamVolumes(output, device, delayMs); in setOutputDevice()
3274 int delayMs, in checkAndSetVolume() argument
3300 …heckAndSetVolume() for output %d stream %d, volume %f, delay %d", output, stream, volume, delayMs); in checkAndSetVolume()
3304 mpClientInterface->setStreamVolume(AudioSystem::VOICE_CALL, volume, output, delayMs); in checkAndSetVolume()
3306 … mpClientInterface->setStreamVolume((AudioSystem::stream_type)stream, volume, output, delayMs); in checkAndSetVolume()
3320 mpClientInterface->setVoiceVolume(voiceVolume, delayMs); in checkAndSetVolume()
3330 int delayMs, in applyStreamVolumes() argument
3340 delayMs, in applyStreamVolumes()
3348 int delayMs, in setStrategyMute() argument
3354 setStreamMute(stream, on, output, delayMs, device); in setStrategyMute()
3362 int delayMs, in setStreamMute() argument
3379 checkAndSetVolume(stream, 0, output, device, delayMs); in setStreamMute()
3394 delayMs); in setStreamMute()