20220804,截至到现在的所有Build属性

HashMap map = new HashMap<>();

LogUtils.logError(TAG, "ID: " + Build.ID);

LogUtils.logError(TAG, "DISPLAY: " + Build.DISPLAY);

LogUtils.logError(TAG, "PRODUCT: " + Build.PRODUCT);

LogUtils.logError(TAG, "DEVICE: " + Build.DEVICE);

LogUtils.logError(TAG, "BOARD: " + Build.BOARD);

LogUtils.logError(TAG, "CPU_ABI: " + Build.CPU_ABI);

LogUtils.logError(TAG, "CPU_ABI2: " + Build.CPU_ABI2);

for (String supportedAbi : Build.SUPPORTED_ABIS) {

LogUtils.logError(TAG, "SUPPORTED_ABIS singleValue: " + supportedAbi);

}

LogUtils.logError(TAG, "MANUFACTURER: " + Build.MANUFACTURER);

LogUtils.logError(TAG, "BRAND: " + Build.BRAND);

LogUtils.logError(TAG, "MODEL: " + Build.MODEL);

try {

Thread.sleep(1000);

} catch (InterruptedException e) {

e.printStackTrace();

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {

LogUtils.logError(TAG, "SOC_MANUFACTURER: " + Build.SOC_MANUFACTURER);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {

LogUtils.logError(TAG, "SOC_MODEL: " + Build.SOC_MODEL);

}

LogUtils.logError(TAG, "BOOTLOADER: " + Build.BOOTLOADER);

LogUtils.logError(TAG, "RADIO: " + Build.RADIO);

LogUtils.logError(TAG, "getRadioVersion: " + Build.getRadioVersion());

LogUtils.logError(TAG, "HARDWARE: " + Build.HARDWARE);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {

LogUtils.logError(TAG, "SKU: " + Build.SKU);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {

LogUtils.logError(TAG, "ODM_SKU: " + Build.ODM_SKU);

}

// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {

// // 需要权限

// LogUtils.logError(TAG, "getSerial : " + Build.getSerial());

// }

for (String supported32BitAbi : Build.SUPPORTED_32_BIT_ABIS) {

LogUtils.logError(TAG, "SUPPORTED_32_BIT_ABIS : " + supported32BitAbi);

}

for (String supported64BitAbi : Build.SUPPORTED_64_BIT_ABIS) {

LogUtils.logError(TAG, "SUPPORTED_64_BIT_ABIS : " + supported64BitAbi);

}

try {

Thread.sleep(1000);

} catch (InterruptedException e) {

e.printStackTrace();

}

LogUtils.logError(TAG, "VERSION.INCREMENTAL : " + Build.VERSION.INCREMENTAL);

LogUtils.logError(TAG, "VERSION.RELEASE : " + Build.VERSION.RELEASE);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {

LogUtils.logError(TAG, "VERSION.RELEASE_OR_CODENAME : " + Build.VERSION.RELEASE_OR_CODENAME);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {

LogUtils.logError(TAG, "VERSION.BASE_OS : " + Build.VERSION.BASE_OS);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {

LogUtils.logError(TAG, "VERSION.SECURITY_PATCH : " + Build.VERSION.SECURITY_PATCH);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {

LogUtils.logError(TAG, "VERSION.MEDIA_PERFORMANCE_CLASS : " + Build.VERSION.MEDIA_PERFORMANCE_CLASS);

}

LogUtils.logError(TAG, "VERSION.SDK : " + Build.VERSION.SDK);

LogUtils.logError(TAG, "VERSION.SDK_INT : " + Build.VERSION.SDK_INT);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {

LogUtils.logError(TAG, "VERSION.PREVIEW_SDK_INT : " + Build.VERSION.PREVIEW_SDK_INT);

}

LogUtils.logError(TAG, "TYPE : " + Build.TYPE);

LogUtils.logError(TAG, "TAGS : " + Build.TAGS);

LogUtils.logError(TAG, "FINGERPRINT : " + Build.FINGERPRINT);

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {

LogUtils.logError(TAG, "Partition.PARTITION_NAME_SYSTEM : " + Build.Partition.PARTITION_NAME_SYSTEM);

}

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {

for (Build.Partition fingerprintedPartition : Build.getFingerprintedPartitions()) {

LogUtils.logError(TAG, "Partition.getFingerprintedPartitions-----name: " + fingerprintedPartition.getName()

+ " getFingerprint:"+ fingerprintedPartition.getFingerprint()

+ " getBuildTimeMillis:"+ fingerprintedPartition.getBuildTimeMillis());

}

}

值如下:

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: ID: OPR1.170623.032

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: DISPLAY: OPR1.170623.032

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: PRODUCT: capricorn

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: DEVICE: capricorn

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: BOARD: QC_Reference_Phone

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: CPU_ABI: arm64-v8a

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: CPU_ABI2:

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: SUPPORTED_ABIS singleValue: arm64-v8a

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: SUPPORTED_ABIS singleValue: armeabi-v7a

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: SUPPORTED_ABIS singleValue: armeabi

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: MANUFACTURER: Xiaomi

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: BRAND: Xiaomi

2022-08-04 12:02:48.749 16304-16304/cn.jj.test E/world: MODEL: MI 5s

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: BOOTLOADER: unknown

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: RADIO: unknown

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: getRadioVersion: TH20c1.9-1023_0524_8e1bfb2

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: HARDWARE: qcom

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: SUPPORTED_32_BIT_ABIS : armeabi-v7a

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: SUPPORTED_32_BIT_ABIS : armeabi

2022-08-04 12:02:49.750 16304-16304/cn.jj.test E/world: SUPPORTED_64_BIT_ABIS : arm64-v8a

2022-08-04 12:02:50.750 16304-16304/cn.jj.test E/world: VERSION.INCREMENTAL : V11.0.2.0.OAGCNXM

2022-08-04 12:02:50.750 16304-16304/cn.jj.test E/world: VERSION.RELEASE : 8.0.0

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: VERSION.BASE_OS :

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: VERSION.SECURITY_PATCH : 2018-10-01

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: VERSION.SDK : 26

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: VERSION.SDK_INT : 26

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: VERSION.PREVIEW_SDK_INT : 0

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: TYPE : user

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: TAGS : release-keys

2022-08-04 12:02:50.751 16304-16304/cn.jj.test E/world: FINGERPRINT : Xiaomi/capricorn/capricorn:8.0.0/OPR1.170623.032/V11.0.2.0.OAGCNXM:user/release-keys

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: ID: OPR1.170623.032

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: DISPLAY: OPR1.170623.032

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: PRODUCT: capricorn

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: DEVICE: capricorn

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: BOARD: QC_Reference_Phone

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: CPU_ABI: arm64-v8a

2022-08-04 12:02:58.431 16420-16420/cn.jj.test E/world: CPU_ABI2:

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: SUPPORTED_ABIS singleValue: arm64-v8a

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: SUPPORTED_ABIS singleValue: armeabi-v7a

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: SUPPORTED_ABIS singleValue: armeabi

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: MANUFACTURER: Xiaomi

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: BRAND: Xiaomi

2022-08-04 12:02:58.432 16420-16420/cn.jj.test E/world: MODEL: MI 5s

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: BOOTLOADER: unknown

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: RADIO: unknown

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: getRadioVersion: TH20c1.9-1023_0524_8e1bfb2

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: HARDWARE: qcom

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: SUPPORTED_32_BIT_ABIS : armeabi-v7a

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: SUPPORTED_32_BIT_ABIS : armeabi

2022-08-04 12:02:59.432 16420-16420/cn.jj.test E/world: SUPPORTED_64_BIT_ABIS : arm64-v8a

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.INCREMENTAL : V11.0.2.0.OAGCNXM

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.RELEASE : 8.0.0

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.BASE_OS :

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.SECURITY_PATCH : 2018-10-01

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.SDK : 26

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.SDK_INT : 26

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: VERSION.PREVIEW_SDK_INT : 0

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: TYPE : user

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: TAGS : release-keys

2022-08-04 12:03:00.433 16420-16420/cn.jj.test E/world: FINGERPRINT : Xiaomi/capricorn/capricorn:8.0.0/OPR1.170623.032/V11.0.2.0.OAGCNXM:user/release-keys

推荐链接

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。