219 lines
4.1 KiB
Smali
219 lines
4.1 KiB
Smali
.class public final Lf/k/a/b/z0/i;
|
|
.super Ljava/lang/Object;
|
|
.source "AudioAttributes.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final f:Lf/k/a/b/z0/i;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:I
|
|
|
|
.field public final b:I
|
|
|
|
.field public final c:I
|
|
|
|
.field public final d:I
|
|
|
|
.field public e:Landroid/media/AudioAttributes;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 7
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
new-instance v6, Lf/k/a/b/z0/i;
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, v6
|
|
|
|
move v1, v2
|
|
|
|
move v3, v4
|
|
|
|
invoke-direct/range {v0 .. v5}, Lf/k/a/b/z0/i;-><init>(IIIILf/k/a/b/z0/i$a;)V
|
|
|
|
sput-object v6, Lf/k/a/b/z0/i;->f:Lf/k/a/b/z0/i;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(IIIILf/k/a/b/z0/i$a;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lf/k/a/b/z0/i;->a:I
|
|
|
|
iput p2, p0, Lf/k/a/b/z0/i;->b:I
|
|
|
|
iput p3, p0, Lf/k/a/b/z0/i;->c:I
|
|
|
|
iput p4, p0, Lf/k/a/b/z0/i;->d:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Landroid/media/AudioAttributes;
|
|
.locals 3
|
|
.annotation build Landroid/annotation/TargetApi;
|
|
value = 0x15
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/k/a/b/z0/i;->e:Landroid/media/AudioAttributes;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
new-instance v0, Landroid/media/AudioAttributes$Builder;
|
|
|
|
invoke-direct {v0}, Landroid/media/AudioAttributes$Builder;-><init>()V
|
|
|
|
iget v1, p0, Lf/k/a/b/z0/i;->a:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/media/AudioAttributes$Builder;->setContentType(I)Landroid/media/AudioAttributes$Builder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lf/k/a/b/z0/i;->b:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/media/AudioAttributes$Builder;->setFlags(I)Landroid/media/AudioAttributes$Builder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lf/k/a/b/z0/i;->c:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/media/AudioAttributes$Builder;->setUsage(I)Landroid/media/AudioAttributes$Builder;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Lf/k/a/b/l1/f0;->a:I
|
|
|
|
const/16 v2, 0x1d
|
|
|
|
if-lt v1, v2, :cond_0
|
|
|
|
iget v1, p0, Lf/k/a/b/z0/i;->d:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/media/AudioAttributes$Builder;->setAllowedCapturePolicy(I)Landroid/media/AudioAttributes$Builder;
|
|
|
|
:cond_0
|
|
invoke-virtual {v0}, Landroid/media/AudioAttributes$Builder;->build()Landroid/media/AudioAttributes;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/k/a/b/z0/i;->e:Landroid/media/AudioAttributes;
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/k/a/b/z0/i;->e:Landroid/media/AudioAttributes;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
.param p1 # Ljava/lang/Object;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
const-class v2, Lf/k/a/b/z0/i;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v3
|
|
|
|
if-eq v2, v3, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
check-cast p1, Lf/k/a/b/z0/i;
|
|
|
|
iget v2, p0, Lf/k/a/b/z0/i;->a:I
|
|
|
|
iget v3, p1, Lf/k/a/b/z0/i;->a:I
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
iget v2, p0, Lf/k/a/b/z0/i;->b:I
|
|
|
|
iget v3, p1, Lf/k/a/b/z0/i;->b:I
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
iget v2, p0, Lf/k/a/b/z0/i;->c:I
|
|
|
|
iget v3, p1, Lf/k/a/b/z0/i;->c:I
|
|
|
|
if-ne v2, v3, :cond_2
|
|
|
|
iget v2, p0, Lf/k/a/b/z0/i;->d:I
|
|
|
|
iget p1, p1, Lf/k/a/b/z0/i;->d:I
|
|
|
|
if-ne v2, p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Lf/k/a/b/z0/i;->a:I
|
|
|
|
const/16 v1, 0x20f
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lf/k/a/b/z0/i;->b:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lf/k/a/b/z0/i;->c:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lf/k/a/b/z0/i;->d:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|