1 /*
2  * Copyright (C) 2023 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.adpf.common;
18 
19 public class ADPFHintSessionConstants {
20     public static final String TEST_NAME_KEY = "Test_Name";
21 
22     public static final int MINIMUM_VALID_SDK = 33; // T
23     public static final int MINIMUM_VENDOR_API_LEVEL = 202404; // V
24     public static final String IS_HINT_SESSION_SUPPORTED_KEY = "isHintSessionSupported";
25     public static final String BASELINE_KEY = "baseline";
26     public static final String LIGHT_LOAD_KEY = "light_load";
27     public static final String HEAVY_LOAD_KEY = "heavy_load";
28     public static final String TRANSITION_LOAD_KEY = "transition_load";
29 
30     // public static final String SECOND_LIGHT_LOAD_KEY = "second_light_load";
31 
32 
33     public static final Double ERROR_MARGIN = 0.2;
34 
35     // Used to determine which tests to run on the native side.
36     public static final String[] TESTS_ENABLED = new String[] {
37         BASELINE_KEY,
38         // LIGHT_LOAD_KEY,
39         // HEAVY_LOAD_KEY,
40         TRANSITION_LOAD_KEY,
41     };
42 }
43