public final class RomUtils
extends java.lang.Object
author: Blankj
blog : http://blankj.com
time : 2018/07/04
desc : utils about rom
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RomUtils.RomInfo |
| 限定符和类型 | 方法和说明 |
|---|---|
static RomUtils.RomInfo |
getRomInfo()
Return the rom's information.
|
static boolean |
is360()
Return whether the rom is made by 360.
|
static boolean |
isCoolpad()
Return whether the rom is made by coolpad.
|
static boolean |
isGionee()
Return whether the rom is made by gionee.
|
static boolean |
isGoogle()
Return whether the rom is made by google.
|
static boolean |
isHtc()
Return whether the rom is made by htc.
|
static boolean |
isHuawei()
Return whether the rom is made by huawei.
|
static boolean |
isLeeco()
Return whether the rom is made by leeco.
|
static boolean |
isLenovo()
Return whether the rom is made by lenovo.
|
static boolean |
isLg()
Return whether the rom is made by lg.
|
static boolean |
isMeizu()
Return whether the rom is made by meizu.
|
static boolean |
isMotorola()
Return whether the rom is made by motorola.
|
static boolean |
isNubia()
Return whether the rom is made by nubia.
|
static boolean |
isOneplus()
Return whether the rom is made by oneplus.
|
static boolean |
isOppo()
Return whether the rom is made by oppo.
|
static boolean |
isSamsung()
Return whether the rom is made by samsung.
|
static boolean |
isSmartisan()
Return whether the rom is made by smartisan.
|
static boolean |
isSony()
Return whether the rom is made by sony.
|
static boolean |
isVivo()
Return whether the rom is made by vivo.
|
static boolean |
isXiaomi()
Return whether the rom is made by xiaomi.
|
static boolean |
isZte()
Return whether the rom is made by zte.
|
public static boolean isHuawei()
true: yesfalse: nopublic static boolean isVivo()
true: yesfalse: nopublic static boolean isXiaomi()
true: yesfalse: nopublic static boolean isOppo()
true: yesfalse: nopublic static boolean isLeeco()
true: yesfalse: nopublic static boolean is360()
true: yesfalse: nopublic static boolean isZte()
true: yesfalse: nopublic static boolean isOneplus()
true: yesfalse: nopublic static boolean isNubia()
true: yesfalse: nopublic static boolean isCoolpad()
true: yesfalse: nopublic static boolean isLg()
true: yesfalse: nopublic static boolean isGoogle()
true: yesfalse: nopublic static boolean isSamsung()
true: yesfalse: nopublic static boolean isMeizu()
true: yesfalse: nopublic static boolean isLenovo()
true: yesfalse: nopublic static boolean isSmartisan()
true: yesfalse: nopublic static boolean isHtc()
true: yesfalse: nopublic static boolean isSony()
true: yesfalse: nopublic static boolean isGionee()
true: yesfalse: nopublic static boolean isMotorola()
true: yesfalse: nopublic static RomUtils.RomInfo getRomInfo()