tmap/smali/androidx/core/os/BuildCompat.smali
2022-06-10 21:38:30 +09:00

302 lines
5.3 KiB
Smali

.class public Landroidx/core/os/BuildCompat;
.super Ljava/lang/Object;
.source "BuildCompat.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/os/BuildCompat$PrereleaseSdkCheck;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()Z
.locals 1
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x18
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static b()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x19
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x19
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static c()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1a
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1a
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static d()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1b
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1b
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static e()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1c
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static f(Ljava/lang/String;Ljava/lang/String;)Z
.locals 2
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->TESTS:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
const-string v0, "REL"
.line 1
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 2
:cond_0
invoke-virtual {p1, p0}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I
move-result p0
if-ltz p0, :cond_1
const/4 v1, 0x1
:cond_1
return v1
.end method
.method public static g()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1d
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static h()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1e
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1e
if-lt v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public static i()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
api = 0x1f
codename = "S"
.end annotation
.line 1
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1f
if-ge v0, v1, :cond_1
sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String;
const-string v1, "S"
invoke-static {v1, v0}, Landroidx/core/os/BuildCompat;->f(Ljava/lang/String;Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
:goto_1
return v0
.end method
.method public static j()Z
.locals 2
.annotation build Landroidx/annotation/ChecksSdkIntAtLeast;
codename = "T"
.end annotation
.annotation build Landroidx/core/os/BuildCompat$PrereleaseSdkCheck;
.end annotation
.line 1
sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String;
const-string v1, "T"
invoke-static {v1, v0}, Landroidx/core/os/BuildCompat;->f(Ljava/lang/String;Ljava/lang/String;)Z
move-result v0
return v0
.end method