1// Copyright 2017 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 15syntax = "proto2"; 16 17package android.vts; 18 19// Supported test scheduling modes. 20enum TestSchedulingMode { 21 UKNOWN_TEST_SCHEDULING_MODE_TYPE = 0; 22 23 // to schedule on ToT best effort 24 TEST_SCHEDULING_MODE_TOT_BEST_EFFORT = 1; 25 26 // to schedule once per period 27 TEST_SCHEDULING_MODE_PERIODIC = 2; 28} 29 30// To specify a test scheduling policy. 31message TestSchedulingPolicyMessage { 32 // one or multitple tareget test plans. 33 repeated bytes target_plans = 1; 34 // one or multitple tareget tests. used if plans is not defined. 35 repeated bytes target_tests = 2; 36 37 // test scheduling mode 38 optional TestSchedulingMode scheduling_mode = 101; 39 40 // period in seconds (for TEST_SCHEDULING_MODE_PERIODIC). 41 optional uint32 period_secs = 110; 42} 43