1 /* 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 package org.webrtc.voiceengine; 12 13 import android.os.Build; 14 15 public final class BuildInfo { getDevice()16 public static String getDevice() { 17 return Build.DEVICE; 18 } 19 getDeviceModel()20 public static String getDeviceModel() { 21 return Build.MODEL; 22 } 23 getProduct()24 public static String getProduct() { 25 return Build.PRODUCT; 26 } 27 getBrand()28 public static String getBrand() { 29 return Build.BRAND; 30 } 31 getDeviceManufacturer()32 public static String getDeviceManufacturer() { 33 return Build.MANUFACTURER; 34 } 35 getAndroidBuildId()36 public static String getAndroidBuildId() { 37 return Build.ID; 38 } 39 getBuildType()40 public static String getBuildType() { 41 return Build.TYPE; 42 } 43 getBuildRelease()44 public static String getBuildRelease() { 45 return Build.VERSION.RELEASE; 46 } 47 getSdkVersion()48 public static int getSdkVersion() { 49 return Build.VERSION.SDK_INT; 50 } 51 } 52