Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/SimpleBasePlayer$PeriodData$Builder.smali
2024-05-21 17:08:36 -04:00

198 lines
5.9 KiB
Smali

.class public final Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;
.super Ljava/lang/Object;
.source "SimpleBasePlayer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/common/SimpleBasePlayer$PeriodData;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field private adPlaybackState:Landroidx/media3/common/AdPlaybackState;
.field private durationUs:J
.field private isPlaceholder:Z
.field private uid:Ljava/lang/Object;
# direct methods
.method private constructor <init>(Landroidx/media3/common/SimpleBasePlayer$PeriodData;)V
.locals 2
.line 1794
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 1795
iget-object v0, p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->uid:Ljava/lang/Object;
iput-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->uid:Ljava/lang/Object;
.line 1796
iget-wide v0, p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->durationUs:J
iput-wide v0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->durationUs:J
.line 1797
iget-object v0, p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
iput-object v0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
.line 1798
iget-boolean p1, p1, Landroidx/media3/common/SimpleBasePlayer$PeriodData;->isPlaceholder:Z
iput-boolean p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->isPlaceholder:Z
return-void
.end method
.method synthetic constructor <init>(Landroidx/media3/common/SimpleBasePlayer$PeriodData;Landroidx/media3/common/SimpleBasePlayer$1;)V
.locals 0
.line 1775
invoke-direct {p0, p1}, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;-><init>(Landroidx/media3/common/SimpleBasePlayer$PeriodData;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;)V
.locals 2
.line 1787
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->uid:Ljava/lang/Object;
const-wide/16 v0, 0x0
iput-wide v0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->durationUs:J
.line 1790
sget-object p1, Landroidx/media3/common/AdPlaybackState;->NONE:Landroidx/media3/common/AdPlaybackState;
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
const/4 p1, 0x0
iput-boolean p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->isPlaceholder:Z
return-void
.end method
.method static synthetic access$6500(Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;)Ljava/lang/Object;
.locals 0
.line 1775
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->uid:Ljava/lang/Object;
return-object p0
.end method
.method static synthetic access$6600(Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;)J
.locals 2
.line 1775
iget-wide v0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->durationUs:J
return-wide v0
.end method
.method static synthetic access$6700(Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;)Landroidx/media3/common/AdPlaybackState;
.locals 0
.line 1775
iget-object p0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
return-object p0
.end method
.method static synthetic access$6800(Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;)Z
.locals 0
.line 1775
iget-boolean p0, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->isPlaceholder:Z
return p0
.end method
# virtual methods
.method public build()Landroidx/media3/common/SimpleBasePlayer$PeriodData;
.locals 2
.line 1858
new-instance v0, Landroidx/media3/common/SimpleBasePlayer$PeriodData;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Landroidx/media3/common/SimpleBasePlayer$PeriodData;-><init>(Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;Landroidx/media3/common/SimpleBasePlayer$1;)V
return-object v0
.end method
.method public setAdPlaybackState(Landroidx/media3/common/AdPlaybackState;)Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;
.locals 0
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->adPlaybackState:Landroidx/media3/common/AdPlaybackState;
return-object p0
.end method
.method public setDurationUs(J)Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;
.locals 2
const-wide v0, -0x7fffffffffffffffL # -4.9E-324
cmp-long v0, p1, v0
if-eqz v0, :cond_1
const-wide/16 v0, 0x0
cmp-long v0, p1, v0
if-ltz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 v0, 0x1
.line 1824
:goto_1
invoke-static {v0}, Landroidx/media3/common/util/Assertions;->checkArgument(Z)V
iput-wide p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->durationUs:J
return-object p0
.end method
.method public setIsPlaceholder(Z)Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;
.locals 0
iput-boolean p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->isPlaceholder:Z
return-object p0
.end method
.method public setUid(Ljava/lang/Object;)Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;
.locals 0
iput-object p1, p0, Landroidx/media3/common/SimpleBasePlayer$PeriodData$Builder;->uid:Ljava/lang/Object;
return-object p0
.end method