Documentation
¶
Overview ¶
Package bluetooth contains local Tast tests that exercise the CrOS Bluetooth surfaces.
Index ¶
- func AudioPlayBtHeadsetManual(ctx context.Context, s *testing.State)
- func AudioPlaybackStress(ctx context.Context, s *testing.State)
- func AudioPlaybackVolumeSlider(ctx context.Context, s *testing.State)
- func BTPairMonoheadset(ctx context.Context, s *testing.State)
- func ChromeLoggedInWithBluetoothRevamp(enabled bool) testing.FixtureImpl
- func EnableDisableBluetoothWithAudioPlay(ctx context.Context, s *testing.State)
- func OpenBluetoothSettingsFromQuickSettings(ctx context.Context, s *testing.State)
- func PairNewDeviceFromBluetoothQuickSettings(ctx context.Context, s *testing.State)
- func PairNewDeviceFromBluetoothSettings(ctx context.Context, s *testing.State)
- func PairNewDeviceFromOSSettings(ctx context.Context, s *testing.State)
- func ToggleBluetoothFromBluetoothQuickSettings(ctx context.Context, s *testing.State)
- func ToggleBluetoothFromBluetoothSettings(ctx context.Context, s *testing.State)
- func ToggleBluetoothFromOSSettings(ctx context.Context, s *testing.State)
- func ToggleBluetoothFromQuickSettings(ctx context.Context, s *testing.State)
- func ToggleBluetoothUsingMojo(ctx context.Context, s *testing.State)
- func UIToggleFromBTQuicksettings(ctx context.Context, s *testing.State)
- func UIToggleFromBTSettings(ctx context.Context, s *testing.State)
- func UIToggleFromOSSettings(ctx context.Context, s *testing.State)
- func UIToggleFromQuicksettings(ctx context.Context, s *testing.State)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AudioPlayBtHeadsetManual ¶
AudioPlayBtHeadsetManual plays audio file over BT Headset. Manual step: bluetooth.btHeadset bluetooth device has to be set to pairing mode before executing test-script.
func AudioPlaybackStress ¶
AudioPlaybackStress plays audio file over BT speaker for long duration. Manual step: bluetooth.btDeviceName bluetooth device has to be set to pairing mode before executing test-script.
func AudioPlaybackVolumeSlider ¶
AudioPlaybackVolumeSlider tests the volume slider works fine for audio playback on Bluetooth headset.
func BTPairMonoheadset ¶
BTPairMonoheadset enables bluetooth and pair BT mono headset.
func ChromeLoggedInWithBluetoothRevamp ¶
func ChromeLoggedInWithBluetoothRevamp(enabled bool) testing.FixtureImpl
ChromeLoggedInWithBluetoothRevamp returns a fixture implementation that builds on the existing chromeLoggedIn fixture to also enable or disable the BluetoothRevamp feature flag.
func OpenBluetoothSettingsFromQuickSettings ¶
OpenBluetoothSettingsFromQuickSettings tests that a user can successfully navigate through to the Bluetooth sub-page within the OS Settings from the Settings button in the Bluetooth detailed view within the Quick Settings.
func PairNewDeviceFromBluetoothQuickSettings ¶
PairNewDeviceFromBluetoothQuickSettings tests that a user can successfully open the pairing dialog from the "Pair new device" button in the detailed Bluetooth view within the Quick Settings.
func PairNewDeviceFromBluetoothSettings ¶
PairNewDeviceFromBluetoothSettings tests that a user can successfully open the pairing dialog from the "Pair new device" button on the Bluetooth Settings sub-page.
func PairNewDeviceFromOSSettings ¶
PairNewDeviceFromOSSettings tests that a user can successfully open the pairing dialog from the "Pair new device" button on the OS Settings page.
func ToggleBluetoothFromBluetoothQuickSettings ¶
ToggleBluetoothFromBluetoothQuickSettings tests that a user can successfully toggle the Bluetooth state using the toggle in the detailed Bluetooth view within the Quick Settings.
func ToggleBluetoothFromBluetoothSettings ¶
ToggleBluetoothFromBluetoothSettings tests that a user can successfully toggle the Bluetooth state using the Bluetooth toggle within the Bluetooth Settings sub-page.
func ToggleBluetoothFromOSSettings ¶
ToggleBluetoothFromOSSettings tests that a user can successfully toggle the Bluetooth state using the Bluetooth toggle on the OS Settings page.
func ToggleBluetoothFromQuickSettings ¶
ToggleBluetoothFromQuickSettings tests that a user can successfully toggle the Bluetooth state using the Bluetooth feature pod icon button within the Quick Settings.
func ToggleBluetoothUsingMojo ¶
ToggleBluetoothUsingMojo toggles Bluetooth state using Bluetooth mojo API call and confirm the state change via platform API and using state in mojo
func UIToggleFromBTQuicksettings ¶
UIToggleFromBTQuicksettings tests enabling/disabling Bluetooth from maximized quick settings UI. Enabling Bluetooth in maximized quick settings UI opens the Bluetooth quick settings UI. Since there is not UI element to wait on in Bluetooth quick settings UI, we need to poll the Adapter power state to avoid timing issues.
func UIToggleFromBTSettings ¶
UIToggleFromBTSettings tests enabling/disabling Bluetooth from the Bluetooth settings UI in ChromeOS settings.
func UIToggleFromOSSettings ¶
UIToggleFromOSSettings tests enabling/disabling Bluetooth from the ChromeOS settings UI.
Types ¶
This section is empty.
Source Files
¶
- audio_play_bt_headset_manual.go
- audio_playback_stress.go
- audio_playback_volume_slider.go
- bt_pair_monoheadset.go
- doc.go
- enable_disable_bluetooth_with_audio_play.go
- fixture.go
- open_bluetooth_settings_from_quick_settings.go
- pair_new_device_from_bluetooth_quick_settings.go
- pair_new_device_from_bluetooth_settings.go
- pair_new_device_from_os_settings.go
- toggle_bluetooth_from_bluetooth_quick_settings.go
- toggle_bluetooth_from_bluetooth_settings.go
- toggle_bluetooth_from_os_settings.go
- toggle_bluetooth_from_quick_settings.go
- toggle_bluetooth_using_mojo.go
- ui_toggle_from_bt_quicksettings.go
- ui_toggle_from_bt_settings.go
- ui_toggle_from_os_settings.go
- ui_toggle_from_quicksettings.go