Rabbit-R1/android (non root)/smali/smali_classes2/androidx/media3/datasource/HttpDataSource$RequestProperties.smali
2024-05-21 17:08:36 -04:00

281 lines
6.8 KiB
Smali

.class public final Landroidx/media3/datasource/HttpDataSource$RequestProperties;
.super Ljava/lang/Object;
.source "HttpDataSource.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/datasource/HttpDataSource;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "RequestProperties"
.end annotation
# instance fields
.field private final requestProperties:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private requestPropertiesSnapshot:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 77
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 78
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
return-void
.end method
# virtual methods
.method public declared-synchronized clear()V
.locals 1
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 129
invoke-interface {v0}, Ljava/util/Map;->clear()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 130
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized clearAndSet(Ljava/util/Map;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 112
invoke-interface {v0}, Ljava/util/Map;->clear()V
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 113
invoke-interface {v0, p1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 114
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getSnapshot()Ljava/util/Map;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
monitor-enter p0
:try_start_0
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
if-nez v0, :cond_0
.line 139
new-instance v0, Ljava/util/HashMap;
iget-object v1, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
invoke-direct {v0, v1}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
move-result-object v0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
:cond_0
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 141
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized remove(Ljava/lang/String;)V
.locals 1
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 123
invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 124
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized set(Ljava/lang/String;Ljava/lang/String;)V
.locals 1
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 90
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 91
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized set(Ljava/util/Map;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
monitor-enter p0
const/4 v0, 0x0
:try_start_0
iput-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestPropertiesSnapshot:Ljava/util/Map;
iget-object v0, p0, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->requestProperties:Ljava/util/Map;
.line 102
invoke-interface {v0, p1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 103
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method