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]
21    Controllers:
22        AndroidDevice:
23          - serial: <device-id>  # quotes needed if serial id entirely numeric
24            label: dut
25          - serial: <tablet-id>  # quotes needed if serial id entirely numeric
26            label: tablet
27    TestParams:
28      brightness: 192
29      chart_distance: 22.0
30      debug_mode: "False"  # quotes needed
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> runs all scenes
35      foldable_device: "False"  # "True" if testing foldable device
36
37  - Name: TEST_BED_SENSOR_FUSION  # Need 'sensor_fusion' in name for
38    # checkerboard scenes (SF, scene_flash, and feature_combination) tests
39    # Test configuration for sensor_fusion/test_sensor_fusion.py
40    Controllers:
41        AndroidDevice:
42          - serial: <device-id>  # quotes needed if serial id entirely numeric
43            label: dut
44    TestParams:
45      fps: 30
46      img_size: 640,480
47      test_length: 7
48      debug_mode: "False"  # quotes are needed here
49      chart_distance: 25
50      rotator_cntl: <controller-type>  # Note: only SF supports manual
51      rotator_ch: <controller-channel>
52      camera: <camera-id>
53      foldable_device: "False"  # "True" if testing foldable device
54      tablet_device: "False"  # "True" if testing tablet device
55      lighting_cntl: <controller-type>  # can be arduino or "None"
56      lighting_ch: <controller-channel>
57      scene: "checkerboard"  # "checkerboard" for both SF and scene_flash
58
59