1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = 'keybuk@chromium.org' 6NAME = 'bluetooth_Sanity_DefaultState' 7ATTRIBUTES = "suite:bluetooth, suite:bluetooth_sanity" 8TIME = 'SHORT' 9TEST_CLASS = 'bluetooth' 10TEST_TYPE = 'Server' 11DEPENDENCIES = 'bluetooth,wificell' 12 13DOC = """ 14Verify that the device's Bluetooth adapter has the correct default state when 15reset to powered off, powered on, and powered back off again. 16 17This is a useful sanity check to ensure that the device state is what we 18expect, and that the device state returns to the initial state after a power 19cycle. 20 21This is also a security check that our devices are not discoverable unless we 22specifically set them to be. 23""" 24 25def run(machine): 26 device_host = hosts.create_host(machine) 27 job.run_test('bluetooth_Sanity_DefaultState', 28 device_host=device_host, 29 tester_host=None, 30 interactive=False) 31 32 33parallel_simple(run, machines) 34