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
11package org.webrtc.voiceengine;
12
13import android.os.Build;
14import android.util.Log;
15
16public final class BuildInfo {
17  public static String getDevice() {
18    return Build.DEVICE;
19  }
20
21  public static String getDeviceModel() {
22    return Build.MODEL;
23  }
24
25  public static String getProduct() {
26    return Build.PRODUCT;
27  }
28
29  public static String getBrand() {
30    return Build.BRAND;
31  }
32
33  public static String getDeviceManufacturer() {
34    return Build.MANUFACTURER;
35  }
36
37  public static String getAndroidBuildId() {
38    return Build.ID;
39  }
40
41  public static String getBuildType() {
42    return Build.TYPE;
43  }
44
45  public static String getBuildRelease() {
46    return Build.VERSION.RELEASE;
47  }
48
49  public static String getSdkVersion() {
50    return Integer.toString(Build.VERSION.SDK_INT);
51  }
52}
53