其中android.os.Build的属性是固定的吗? [英] Which properties of android.os.Build are fixed?

查看:3465
本文介绍了其中android.os.Build的属性是固定的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要 android.os.Build 类的固定属性的列表。我获得从这里我大胆的,我知道都是固定的名单。通过修复我的意思是固件升级没有改变,恢复出厂,...

I require the list of fixed properties of android.os.Build class. I've obtained the list from here I bold those that I know are fixed. By fix I mean no change by firmware update, reset factory, ...


  1. android.os.Build.VERSION.RELEASE //当前发展
    codeNAME,或字符串REL如果这是一个发布版本。

  1. android.os.Build.VERSION.RELEASE //The current development codename, or the string "REL" if this is a release build.

android.os.Build.BOARD //了底层板的名称,如金鱼。

android.os.Build.BOARD //The name of the underlying board, like "goldfish".

android.os.Build.BOOTLOADER //系统引导程序
版本号。

android.os.Build.BOOTLOADER // The system bootloader version number.

android.os.Build.BRAND //品牌(例如,载体)的软件定制,如果有的话。

android.os.Build.BRAND //The brand (e.g., carrier) the software is customized for, if any.

android.os.Build.CPU_ABI //本地code的指令集(CPU类型+ ABI约定)的名称。

android.os.Build.CPU_ABI //The name of the instruction set (CPU type + ABI convention) of native code.

android.os.Build.CPU_ABI2 //本地code的第二指令集(CPU类型+ ABI约定)的名称。

android.os.Build.CPU_ABI2 // The name of the second instruction set (CPU type + ABI convention) of native code.

android.os.Build.DEVICE //工业设计的名称。

android.os.Build.DEVICE // The name of the industrial design.

android.os.Build.DISPLAY //意味着显示给用户A版本ID字符串

android.os.Build.DISPLAY //A build ID string meant for displaying to the user

android.os.Build.FINGERPRINT //一个字符串,它唯一
确定了这个版本。

android.os.Build.FINGERPRINT //A string that uniquely identifies this build.

android.os.Build.HARDWARE //硬件(从内核命令行或/ proc中)的名称。

android.os.Build.HARDWARE //The name of the hardware (from the kernel command line or /proc).

android.os.Build.HOST

android.os.Build.HOST

android.os.Build.ID //无论是变更号码,
或者像M4-RC20的标签。

android.os.Build.ID //Either a changelist number, or a label like "M4-rc20".

android.os.Build.MANUFACTURER //产品/硬件的制造商。

android.os.Build.MANUFACTURER //The manufacturer of the product/hardware.

android.os.Build.MODEL //最终用户可见的最终产品名称。

android.os.Build.MODEL //The end-user-visible name for the end product.

android.os.Build.PRODUCT //整体产品的名称。

android.os.Build.PRODUCT //The name of the overall product.

android.os.Build.TAGS //逗号分隔标签
描述的身材,像无符号,调试。

android.os.Build.TAGS //Comma-separated tags describing the build, like "unsigned,debug".

android.os.Build.TYPE //类型的构建,如
用户或工程。

android.os.Build.TYPE //The type of build, like "user" or "eng".

android.os.Build.USER

android.os.Build.USER

请帮我完成名单

推荐答案

如果你看一下<一个href=\"https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/os/Build.java\">the来源$ C ​​$ C到构建 ,你会看到,所有这些值 - 包括那些你大胆有 - 来自系统属性的文件。因此,任何值可以通过ROM游戏模组或原始设备制造商,因为他们认为合适的修改。

If you look at the source code to Build, you will see that all of these values -- including those you have in bold -- come from system properties files. Hence, any of these values can be modified by ROM modders or the original device manufacturer as they see fit.

这篇关于其中android.os.Build的属性是固定的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆