/external/autotest/client/cros/chameleon/ |
chameleon_measurer.py | 5 from autotest_lib.client.cros.chameleon import chameleon 6 from autotest_lib.client.cros.chameleon import chameleon_measurer_base 11 """A simple tool to measure using Chameleon for a client test. 14 RemoteChameleonMeasurer in server/cros/chameleon/chameleon_measurer.py. 24 self.chameleon = chameleon.create_chameleon_board(cros_host.hostname, 26 self.chameleon.setup_and_reset(outputdir)
|
mirror_comparison.py | 9 from autotest_lib.client.cros.chameleon import screen_capture 10 from autotest_lib.client.cros.chameleon import screen_comparison
|
chameleon_measurer_base.py | 10 from autotest_lib.client.cros.chameleon import chameleon_port_finder 14 """Base class of performing measurement using Chameleon.""" 28 It iterates the connection ports between DUT and Chameleon and uses 46 self.chameleon, self.display_facade) 48 logging.info('Used Chameleon port: %s', 60 # Get the resolution to make sure Chameleon in a good state. 70 It iterates the connection ports between DUT and Chameleon and uses 90 self.chameleon, self.display_facade) 93 logging.info('Used Chameleon port: %s', 106 # Get the resolution to make sure Chameleon in a good state [all...] |
screen_utility_factory.py | 5 from autotest_lib.client.cros.chameleon import mirror_comparison 6 from autotest_lib.client.cros.chameleon import resolution_comparison 7 from autotest_lib.client.cros.chameleon import screen_capture 8 from autotest_lib.client.cros.chameleon import screen_comparison 50 """Creates a Chameleon screen capturer.""" 107 """Creates a comparer to check between Chameleon and calibration image.
|
/external/autotest/utils/ |
update_chameleons.sh | 7 # This script updates chameleon boards and cle in the audioboxes 28 chameleon="$1-chameleon.cros" 31 ping -q -w 10 -c1 "${chameleon}" > /dev/null 2>&1 35 test $(ssh ${SSH_OPTIONS} root@"$chameleon" \ 40 ssh $SSH_OPTIONS root@"$chameleon" "echo "" > /www/logs/lighttpd.error.log" 44 ssh $SSH_OPTIONS root@"$chameleon" "/etc/init.d/chameleon-updater start >/dev/null 2>&1" 48 printf "$1-chameleon %5s %10s %10s %s\n" "${ping_result}" \ 50 > "${PROBE_RESULT_DIR}/${chameleon}" [all...] |
chameleon_state.sh | 7 # This script probes the readiness of chameleon boards in 99 chameleon="$1-chameleon.cros" 102 ping -q -w 10 -c1 "${chameleon}" > /dev/null 2>&1 106 devroot_space=$(ssh ${SSH_OPTIONS} root@"$chameleon" \ 110 test $(ssh ${SSH_OPTIONS} root@"$chameleon" \ 115 chameleond_version=$(ssh ${SSH_OPTIONS} root@"$chameleon" \ 120 printf "$1-chameleon %5s %10s %10s %s\n" "${ping_result}" \ 122 > "${PROBE_RESULT_DIR}/${chameleon}" 126 # Fork parallel processes to probe the chameleon boards [all...] |
probe_bluetooth_duts.sh | 7 # This script probes the readiness of the DUTs and chameleon boards in 50 chameleon="$1-chameleon.cros" 53 ping -q -w 10 -c1 "${chameleon}" > /dev/null 2>&1 57 ssh $SSH_OPTIONS root@"$chameleon" "test -f /etc/default/.usb_host_mode" 61 test $(ssh ${SSH_OPTIONS} root@"$chameleon" \ 66 ssh ${SSH_OPTIONS} root@"$chameleon" \ 74 printf "$1-chameleon %5s %6s %10s %4s\n" "${ping_result}" \ 76 > "${PROBE_RESULT_DIR}/${chameleon}" 88 # Fork parallel processes to probe the chameleon boards [all...] |
/external/autotest/server/cros/chameleon/ |
chameleon_measurer.py | 5 from autotest_lib.client.cros.chameleon import chameleon_measurer_base 10 """A simple tool to measure using Chameleon for a server test. 13 LocalChameleonMeasurer in client/cros/chameleon/chameleon_measurer.py. 24 self.chameleon = cros_host.chameleon 25 self.chameleon.setup_and_reset(outputdir)
|
/external/autotest/client/site_tests/display_ClientChameleonConnection/ |
display_ClientChameleonConnection.py | 5 """This is a client-side test to check the Chameleon connection.""" 13 from autotest_lib.client.cros.chameleon import chameleon 14 from autotest_lib.client.cros.chameleon import chameleon_port_finder 19 """Chameleon connection client test. 21 This test talks to a Chameleon board from DUT. Try to plug the Chameleon 32 chameleon_board = chameleon.create_chameleon_board(host.hostname,
|
/external/autotest/server/hosts/ |
chameleon_host.py | 6 """This file provides core logic for connecting a Chameleon Daemon.""" 12 from autotest_lib.client.cros.chameleon import chameleon 33 """Host class for a host that controls a Chameleon.""" 47 A ChameleonHost instance represents a host that controls a Chameleon. 68 self._chameleon_connection = chameleon.ChameleonConnection( 77 ready_test_name=chameleon.CHAMELEON_READY_TEST, 79 self._chameleon_connection = chameleon.ChameleonConnection( 83 raise ChameleonHostError('Can not connect to Chameleon: %s(%s)', 88 """Checks if Chameleon host is in lab and set self._is_in_lab [all...] |
/external/autotest/server/site_tests/display_ServerChameleonConnection/ |
display_ServerChameleonConnection.py | 5 """This is a server-side test to check the Chameleon connection.""" 10 from autotest_lib.client.cros.chameleon import chameleon_port_finder 16 """Chameleon connection server test. 18 This test talks to a Chameleon board from DUT. Try to plug the Chameleon 26 chameleon_board = host.chameleon
|
/external/autotest/server/site_tests/enterprise_CFM_CEC/ |
enterprise_CFM_CEC.py | 34 # TODO: how to get whether it connects to chameleon board 69 0.0 Copy two python files to chameleon 70 0.1 enable chameleon as hdmi mode 71 0.2 run cec service on chameleon 91 3.0 Stop cec service on chameleon 92 3.1 Remove python files from chameleon 98 self.chameleon = host.chameleon 133 # Chameleon 135 """ copy python files under ./chameleon_cecservice to chameleon [all...] |
/external/autotest/server/site_tests/audio_AudioBluetoothConnectionStability/ |
audio_AudioBluetoothConnectionStability.py | 5 """This is a server side bluetooth connection test using the Chameleon board.""" 10 from autotest_lib.client.cros.chameleon import audio_test_utils 11 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 12 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 20 This test talks to a Chameleon board and a Cros device to verify 43 chameleon_board = host.chameleon
|
/external/autotest/server/site_tests/display_NoEdid/ |
display_NoEdid.py | 11 from autotest_lib.client.cros.chameleon import chameleon_port_finder 12 from autotest_lib.client.cros.chameleon import chameleon_screen_test 13 from autotest_lib.client.cros.chameleon import edid 21 This test talks to a Chameleon board and a DUT to set up, run, and verify 31 chameleon_board = host.chameleon
|
/external/autotest/server/site_tests/audio_AudioBasicExternalMicrophone/ |
audio_AudioBasicExternalMicrophone.py | 5 """This is a server side external microphone test using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 15 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 23 This test talks to a Chameleon board and a Cros device to verify 41 chameleon_board = host.chameleon 70 logging.info('Setting playback data on Chameleon') 74 # This is to avoid artifact caused by chameleon codec initialization 76 logging.info('Start playing %s from Chameleon', 108 # Compares data by frequency. Audio signal from Chameleon Line-Out t [all...] |
/external/autotest/server/site_tests/audio_AudioBasicHeadphone/ |
audio_AudioBasicHeadphone.py | 5 """This is a server side headphone audio test using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 15 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 23 This test talks to a Chameleon board and a Cros device to verify 45 chameleon_board = host.chameleon 80 logging.info('Start recording from Chameleon.') 91 logging.info('Stopped recording from Chameleon.') 97 logging.info('Read recorded binary from Chameleon.') 104 # caused by Chameleon codec initialization in the beginning o [all...] |
/external/autotest/server/site_tests/audio_AudioBasicInternalMicrophone/ |
audio_AudioBasicInternalMicrophone.py | 5 """This is a server side internal microphone test using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 15 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 23 This test talks to a Chameleon board and a Cros device to verify 46 chameleon_board = host.chameleon 81 logging.info('Setting playback data on Chameleon') 85 # This is to avoid artifact caused by chameleon codec initialization 87 logging.info('Start playing %s from Chameleon', 127 # Compares data by frequency. Audio signal from Chameleon Line-Out t [all...] |
/external/autotest/server/site_tests/audio_AudioBasicInternalSpeaker/ |
audio_AudioBasicInternalSpeaker.py | 5 """This is a server side internal speaker test using the Chameleon board.""" 12 from autotest_lib.client.cros.chameleon import audio_test_utils 13 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 14 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 22 This test talks to a Chameleon board and a Cros device to verify 37 chameleon_board = host.chameleon 76 logging.info('Start recording from Chameleon.') 82 logging.info('Stopped recording from Chameleon.') 88 logging.info('Read recorded binary from Chameleon.') 95 # caused by Chameleon codec initialization in the beginning o [all...] |
/external/autotest/server/site_tests/audio_AudioBasicUSBPlayback/ |
audio_AudioBasicUSBPlayback.py | 5 """This is a server side USB playback audio test using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 15 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 23 This test talks to a Chameleon board and a Cros device to verify 35 chameleon_board = host.chameleon 78 # Starts recording from Chameleon, waits for some time, and then 80 logging.info('Start recording from Chameleon.') 90 logging.info('Stopped recording from Chameleon.') 96 logging.info('Read recorded binary from Chameleon.' [all...] |
/external/autotest/server/site_tests/audio_AudioBasicUSBRecord/ |
audio_AudioBasicUSBRecord.py | 5 """This is a server side USB playback audio test using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 15 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 23 This test talks to a Chameleon board and a Cros device to verify 35 chameleon_board = host.chameleon 88 # Starts playing from Chameleon (which waits for Cros device), 90 logging.info('Start playing %s on Chameleon device',
|
/external/autotest/server/site_tests/audio_MediaBasicVerification/ |
audio_MediaBasicVerification.py | 5 """This is an audio quality test over headphone using the Chameleon board.""" 13 from autotest_lib.client.cros.chameleon import audio_test_utils 14 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 15 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 23 This test talks to a Chameleon board and a Cros device to verify 39 chameleon_board = host.chameleon 71 logging.info('Start recording from Chameleon.') 77 logging.info('Stopped recording from Chameleon.') 84 logging.info('Read recorded binary from Chameleon.') 91 # caused by Chameleon codec initialization in the beginning o [all...] |
/external/autotest/server/site_tests/display_EdidStress/ |
display_EdidStress.py | 5 """This is a server side stressing DUT by switching Chameleon EDID.""" 14 from autotest_lib.client.cros.chameleon import chameleon_port_finder 15 from autotest_lib.client.cros.chameleon import chameleon_screen_test 16 from autotest_lib.client.cros.chameleon import edid 24 This test switches Chameleon EDID from among a large pool of EDIDs, tests 26 Chameleon. 46 chameleon_board = host.chameleon 55 logging.info('See the display on Chameleon: port %d (%s)',
|
/external/autotest/server/site_tests/display_SuspendStress/ |
display_SuspendStress.py | 5 """This is a server side external display test using the Chameleon board.""" 14 from autotest_lib.client.cros.chameleon import chameleon_port_finder 15 from autotest_lib.client.cros.chameleon import chameleon_screen_test 16 from autotest_lib.client.cros.chameleon import edid 24 This test talks to a Chameleon board and a DUT to set up, run, and verify 52 chameleon_board = host.chameleon 71 ' (chameleon) from DUT: %s', test_name)
|
/external/autotest/server/site_tests/platform_RotationFps/ |
platform_RotationFps.py | 5 """This is a server side screen rotation test using the Chameleon board.""" 11 from autotest_lib.server.cros.chameleon import chameleon_measurer 17 This test talks to a Chameleon board and a DUT to set up dock mode, 36 chameleon_board = host.chameleon 41 logging.info('Detected %s chameleon port.', chameleon_port_name) 44 # Ask Chameleon to capture the video during rotation
|
/external/autotest/server/site_tests/bluetooth_AdapterAudioLink/ |
bluetooth_AdapterAudioLink.py | 14 from autotest_lib.client.cros.chameleon import chameleon_audio_helper 15 from autotest_lib.client.cros.chameleon import chameleon_audio_ids 43 logging.info('Playback iter %d, is chameleon connected %d', 75 chameleon_board = self.host.chameleon 77 raise error.TestNAError("No chameleon device is present")
|