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 MEDIA_PERFORMANCE_CLASS_INVALID = -1; 30 // As specified in 31 // https://source.android.com/docs/compatibility/11/android-11-cdd#227_handheld_media_performance_class 32 MEDIA_PERFORMANCE_CLASS_11 = 30; 33 // As specified in 34 // https://source.android.com/docs/compatibility/12/android-12-cdd#227_handheld_media_performance_class 35 MEDIA_PERFORMANCE_CLASS_12 = 31; 36 // As specified in 37 // https://source.android.com/docs/compatibility/13/android-13-cdd#227_handheld_media_performance_class 38 MEDIA_PERFORMANCE_CLASS_13 = 33; 39 // As specified in 40 // https://source.android.com/docs/compatibility/14/android-14-cdd#227_handheld_media_performance_class 41 MEDIA_PERFORMANCE_CLASS_14 = 34; 42 // As specified in 43 // copybara_aosp:strip_begin(next sdk) 44 // https://source.android.com/docs/compatibility/15/android-15-cdd#227_handheld_media_performance_class 45 // copybara_aosp:strip_end_and_replace_begin 46 // // Link pending 47 // copybara_aosp:replace_end 48 MEDIA_PERFORMANCE_CLASS_15 = 35; 49} 50