# Copyright (C) 2025 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # proto-file: third_party/android/mediapc_requirements/requirements.proto # proto-message: Requirement id: "7.1.1.1/H-1-1" name: "Screen Resolution R" description: "- Screen resolution" test_configs: { key: "" value: { description: "Default test config" proto_field_number: 69 } } measurements { key: "long_resolution_pixels" value: { id: "long_resolution_pixels" description: "The screen resolution width in pixels (longer of the two dimensions)." measurement_type: MEASUREMENT_TYPE_INT comparison: COMPARISON_GREATER_THAN_OR_EQUAL proto_field_number: 3 } } measurements { key: "short_resolution_pixels" value: { id: "short_resolution_pixels" description: "The screen resolution height in pixels (shorter of the two dimensions)." measurement_type: MEASUREMENT_TYPE_INT comparison: COMPARISON_GREATER_THAN_OR_EQUAL proto_field_number: 4 } } specs { key: 30 value { mpc: MEDIA_PERFORMANCE_CLASS_11 specification: "MUST have screen resolution of at least 1080p." required_values: { key: "long_resolution_pixels" value: { int_value: 1920 } } required_values: { key: "short_resolution_pixels" value: { int_value: 1080 } } } }