xref: /aosp_15_r20/cts/tests/mediapc/requirements/mpc.proto (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2024 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.
14syntax = "proto2";
15
16package android.media.performanceclass;
17
18option java_multiple_files = true;
19
20option go_package = "cts/test/mediapc/requirements/mpc_go_proto";
21
22// The  Media Performance class of a device.
23//
24// Media performance class are defined for each Android version starting with R
25// (version 30). The special value of 0 designates that the device is not of a
26// media performance class.
27enum MediaPerformanceClass {
28  MEDIA_PERFORMANCE_CLASS_UNSPECIFIED = 0
29      ;
30  MEDIA_PERFORMANCE_CLASS_INVALID = -1;
31  // As specified in
32  // https://source.android.com/docs/compatibility/11/android-11-cdd#227_handheld_media_performance_class
33  MEDIA_PERFORMANCE_CLASS_11 = 30;
34  // As specified in
35  // https://source.android.com/docs/compatibility/12/android-12-cdd#227_handheld_media_performance_class
36  MEDIA_PERFORMANCE_CLASS_12 = 31;
37  // As specified in
38  // https://source.android.com/docs/compatibility/13/android-13-cdd#227_handheld_media_performance_class
39  MEDIA_PERFORMANCE_CLASS_13 = 33;
40  // As specified in
41  // https://source.android.com/docs/compatibility/14/android-14-cdd#227_handheld_media_performance_class
42  MEDIA_PERFORMANCE_CLASS_14 = 34;
43  // As specified in
44  // https://source.android.com/docs/compatibility/15/android-15-cdd#227_handheld_media_performance_class
45  MEDIA_PERFORMANCE_CLASS_15 = 35;
46}
47