139 lines
3 KiB
Smali
139 lines
3 KiB
Smali
|
.class public Landroidx/work/impl/model/SystemIdInfo;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "SystemIdInfo.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Landroidx/annotation/RestrictTo;
|
||
|
value = {
|
||
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/room/Entity;
|
||
|
foreignKeys = {
|
||
|
.subannotation Landroidx/room/ForeignKey;
|
||
|
childColumns = {
|
||
|
"work_spec_id"
|
||
|
}
|
||
|
entity = Landroidx/work/impl/model/WorkSpec;
|
||
|
onDelete = 0x5
|
||
|
onUpdate = 0x5
|
||
|
parentColumns = {
|
||
|
"id"
|
||
|
}
|
||
|
.end subannotation
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final systemId:I
|
||
|
.annotation build Landroidx/room/ColumnInfo;
|
||
|
name = "system_id"
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field public final workSpecId:Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/room/ColumnInfo;
|
||
|
name = "work_spec_id"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation build Landroidx/room/PrimaryKey;
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/lang/String;I)V
|
||
|
.locals 0
|
||
|
.param p1 # Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/work/impl/model/SystemIdInfo;->workSpecId:Ljava/lang/String;
|
||
|
|
||
|
iput p2, p0, Landroidx/work/impl/model/SystemIdInfo;->systemId:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public equals(Ljava/lang/Object;)Z
|
||
|
.locals 3
|
||
|
|
||
|
if-ne p0, p1, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
if-eqz p1, :cond_3
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
if-eq v1, v2, :cond_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_1
|
||
|
check-cast p1, Landroidx/work/impl/model/SystemIdInfo;
|
||
|
|
||
|
iget v1, p0, Landroidx/work/impl/model/SystemIdInfo;->systemId:I
|
||
|
|
||
|
iget v2, p1, Landroidx/work/impl/model/SystemIdInfo;->systemId:I
|
||
|
|
||
|
if-eq v1, v2, :cond_2
|
||
|
|
||
|
return v0
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v0, p0, Landroidx/work/impl/model/SystemIdInfo;->workSpecId:Ljava/lang/String;
|
||
|
|
||
|
iget-object p1, p1, Landroidx/work/impl/model/SystemIdInfo;->workSpecId:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_3
|
||
|
:goto_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public hashCode()I
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/work/impl/model/SystemIdInfo;->workSpecId:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
mul-int/lit8 v0, v0, 0x1f
|
||
|
|
||
|
iget v1, p0, Landroidx/work/impl/model/SystemIdInfo;->systemId:I
|
||
|
|
||
|
add-int/2addr v0, v1
|
||
|
|
||
|
return v0
|
||
|
.end method
|