Home | History | Annotate | Download | only in libmedia

Lines Matching refs:device

503 status_t AudioSystem::setDeviceConnectionState(audio_devices device,
510 return aps->setDeviceConnectionState(device, state, device_address);
513 AudioSystem::device_connection_state AudioSystem::getDeviceConnectionState(audio_devices device,
519 return aps->getDeviceConnectionState(device, device_address);
561 // (e.g voice call stream @ 8kHz could use BT SCO device and be routed to
687 bool AudioSystem::isOutputDevice(audio_devices device)
689 if ((popCount(device) == 1 ) &&
690 ((device & ~AudioSystem::DEVICE_OUT_ALL) == 0)) {
697 bool AudioSystem::isInputDevice(audio_devices device)
699 if ((popCount(device) == 1 ) &&
700 ((device & ~AudioSystem::DEVICE_IN_ALL) == 0)) {
707 bool AudioSystem::isA2dpDevice(audio_devices device)
709 if ((popCount(device) == 1 ) &&
710 (device & (AudioSystem::DEVICE_OUT_BLUETOOTH_A2DP |
719 bool AudioSystem::isBluetoothScoDevice(audio_devices device)
721 if ((popCount(device) == 1 ) &&
722 (device & (AudioSystem::DEVICE_OUT_BLUETOOTH_SCO |