1# Copyright 2020 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15TestBeds: 16 - Name: TEST_BED_TABLET_SCENES # Need 'tablet' in name for tablet scenes 17 # Use TEST_BED_MANUAL for manual testing and remove below lines: 18 # - serial <tablet_id> 19 # label: tablet 20 # Test configuration for scenes[0:4, 6, _change] 21 Controllers: 22 AndroidDevice: 23 - serial: <device-id> # quotes are needed if serial id is entirely numeric 24 label: dut 25 - serial: <tablet-id> # quotes are needed if serial id is entirely numeric 26 label: tablet 27 TestParams: 28 brightness: 192 29 chart_distance: 31.0 30 debug_mode: "False" # quotes are needed here 31 lighting_cntl: <controller-type> # can be arduino or "None" 32 lighting_ch: <controller-channel> 33 camera: <camera-id> 34 scene: <scene-name> # if <scene-name> left as-is runs all scenes 35 foldable_device: "False" # set to True if testing a foldable device 36 37 - Name: TEST_BED_SENSOR_FUSION # Need 'sensor_fusion' in name for SF tests 38 # Test configuration for sensor_fusion/test_sensor_fusion.py 39 Controllers: 40 AndroidDevice: 41 - serial: <device-id> # quotes are needed if serial id is entirely numeric 42 label: dut 43 TestParams: 44 fps: 30 45 img_size: 640,480 46 test_length: 7 47 debug_mode: "False" # quotes are needed here 48 chart_distance: 25 49 rotator_cntl: "arduino" # Note: only sensor fusion supports manual 50 rotator_ch: <controller-channel> 51 camera: <camera-id> 52 foldable_device: "False" # set to "True" if testing a foldable device 53 tablet_device: "False" # set to "True" if testing a tablet device 54 lighting_cntl: <controller-type> # can be arduino or "None" 55 lighting_ch: <controller-channel> 56 scene: "sensor_fusion" 57 58 59