105 lines
2.1 KiB
Smali
105 lines
2.1 KiB
Smali
.class Lcom/bda/controller/BaseEvent;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/os/Parcelable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/bda/controller/BaseEvent$ParcelableCreator;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroid/os/Parcelable$Creator<",
|
|
"Lcom/bda/controller/BaseEvent;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final mControllerId:I
|
|
|
|
.field public final mEventTime:J
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 21
|
|
new-instance v0, Lcom/bda/controller/BaseEvent$ParcelableCreator;
|
|
|
|
invoke-direct {v0}, Lcom/bda/controller/BaseEvent$ParcelableCreator;-><init>()V
|
|
|
|
sput-object v0, Lcom/bda/controller/BaseEvent;->CREATOR:Landroid/os/Parcelable$Creator;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/os/Parcel;)V
|
|
.locals 2
|
|
|
|
.line 29
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 31
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/bda/controller/BaseEvent;->mEventTime:J
|
|
|
|
.line 32
|
|
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/bda/controller/BaseEvent;->mControllerId:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public describeContents()I
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getControllerId()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/bda/controller/BaseEvent;->mControllerId:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public writeToParcel(Landroid/os/Parcel;I)V
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/bda/controller/BaseEvent;->mEventTime:J
|
|
|
|
.line 61
|
|
invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V
|
|
|
|
iget p2, p0, Lcom/bda/controller/BaseEvent;->mControllerId:I
|
|
|
|
.line 62
|
|
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
|
|
|
|
return-void
|
|
.end method
|