1 /* 2 * Copyright (C) 2017 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 package com.android.tradefed.device; 17 18 /** 19 * Common constant definitions for device side property names 20 */ 21 public class DeviceProperties { 22 23 /** property name for device board */ 24 public static final String BOARD = "ro.product.board"; 25 /** property name for device hardware */ 26 public static final String HARDWARE = "ro.hardware"; 27 /** proprty name to indicate device variant (e.g. flo vs dev) */ 28 public static final String VARIANT = "ro.product.vendor.device"; 29 /** Legacy O-MR1 property name to indicate device variant (e.g. flo vs dev) */ 30 public static final String VARIANT_LEGACY_O_MR1 = "ro.vendor.product.device"; 31 /** Legacy property name to indicate device variant (e.g. flo vs dev) */ 32 public static final String VARIANT_LEGACY_LESS_EQUAL_O = "ro.product.device"; 33 /** proprty name to indicate SDK version */ 34 public static final String SDK_VERSION = "ro.build.version.sdk"; 35 } 36