Lines Matching refs:headphone

406   // Verify the headphone has been selected as the active output.
493 // Verify the initial active output device is headphone.
561 // Plug the headphone.
574 // Verify the active output device is switched to headphone and
585 // Set up initial audio devices, with internal speaker and headphone.
598 // Verify the headphone has been selected as the active output.
607 // Unplug the headphone.
653 // Initialize with internal speaker and headphone.
666 // Verify the headphone is selected as the active output initially.
676 // headphone, active output should be switched to it.
679 AudioNode headphone(kHeadphone);
680 headphone.plugged_time = 80000000;
681 headphone.active = true;
682 audio_nodes.push_back(headphone);
706 headphone.active = false;
707 audio_nodes.push_back(headphone);
716 // Verify the active output device is switched to headphone, and
819 // Initialize with internal speaker, headphone and HDMI output.
833 // Verify the headphone is selected as the active output initially.
876 // Verify the usb headphone has been selected as the active output.
910 // Plug in usb headphone
926 // Verify the active output device is switched to usb headphone, and
936 // Unplug usb headphone.
959 // Initialize with internal speaker and one usb headphone.
972 // Verify the usb headphone is selected as the active output initially.
982 // Plug in another usb headphone.
999 // Verify the active output device is switched to the 2nd usb headphone, which
1009 // Unplug the 2nd usb headphone.
1021 // Verify the active output device is switched to the first usb headphone, and
1033 // Initialize with internal speaker and one usb headphone.
1046 // Verify the usb headphone is selected as the active output initially.
1056 // Plug in the headphone jack.
1073 // Verify the active output device is switched to the headphone jack, which
1095 // Unplug the usb headphone.
1123 // Initialize with internal speaker, bluetooth headphone and headphone jack
1125 // Headphone jack is plugged in later than bluetooth headphone, but bluetooth
1126 // headphone is selected as the active output by user from previous user
1146 // Verify the headphone jack is selected as the active output and all other
1192 // Change bluetooth headphone id.
1206 // bluetooth headphone.
1308 // Verify the headphone is selected as the active output.
1379 // Verify the USB headphone is selected as the active output.
1385 // Plug the headphone and auto-unplug internal speaker.
1403 // Verify the active output device is switched to headphone, and
1409 // Unplug the headphone and internal speaker auto-plugs back.
1462 // Plug the headphone and mic, auto-unplug internal mic and speaker.
1483 // Verify the active output device is switched to headphone, and
1495 // Unplug the headphone and internal speaker auto-plugs back.
1549 // Plug in headphone, but fire NodesChanged signal twice.
1556 AudioNode headphone(kHeadphone);
1557 headphone.active = false;
1558 headphone.plugged_time = 2000;
1559 audio_nodes.push_back(headphone);
1563 // Verify the active output device is set to headphone.
1566 EXPECT_EQ(headphone.id, cras_audio_handler_->GetPrimaryActiveOutputNode());
1569 EXPECT_EQ(headphone.id, active_output.id);
1572 // should be headphone.
1580 else if (audio_devices[i].id == headphone.id)
1619 // Verify the active output device is set to headphone.
1647 AudioNode headphone(kHeadphone);
1648 headphone.active = false;
1652 audio_nodes.push_back(headphone);
1660 // Verify the active output device is set to headphone.
1663 EXPECT_EQ(headphone.id, cras_audio_handler_->GetPrimaryActiveOutputNode());
1667 EXPECT_EQ(headphone.id, active_output.id);
1673 // should be headphone, and the active input device should internal mic.
1680 else if (audio_devices[i].id == headphone.id)
1786 // Verify the headphone is muted and mute value is saved in the preferences.
1788 AudioDevice headphone(kHeadphone);
1789 EXPECT_TRUE(audio_pref_handler_->GetMuteValue(headphone));
1828 // Verify the volume percent of headphone is set, and saved in preferences.
1832 AudioDevice headphone(kHeadphone);
1834 audio_pref_handler_->GetOutputVolumeValue(&headphone));