mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
1890 lines
48 KiB
Smali
1890 lines
48 KiB
Smali
.class public Landroidx/media3/datasource/DefaultHttpDataSource;
|
|
.super Landroidx/media3/datasource/BaseDataSource;
|
|
.source "DefaultHttpDataSource.java"
|
|
|
|
# interfaces
|
|
.implements Landroidx/media3/datasource/HttpDataSource;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/media3/datasource/DefaultHttpDataSource$NullFilteringHeadersMap;,
|
|
Landroidx/media3/datasource/DefaultHttpDataSource$Factory;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final DEFAULT_CONNECT_TIMEOUT_MILLIS:I = 0x1f40
|
|
|
|
.field public static final DEFAULT_READ_TIMEOUT_MILLIS:I = 0x1f40
|
|
|
|
.field private static final HTTP_STATUS_PERMANENT_REDIRECT:I = 0x134
|
|
|
|
.field private static final HTTP_STATUS_TEMPORARY_REDIRECT:I = 0x133
|
|
|
|
.field private static final MAX_BYTES_TO_DRAIN:J = 0x800L
|
|
|
|
.field private static final MAX_REDIRECTS:I = 0x14
|
|
|
|
.field private static final TAG:Ljava/lang/String; = "DefaultHttpDataSource"
|
|
|
|
|
|
# instance fields
|
|
.field private final allowCrossProtocolRedirects:Z
|
|
|
|
.field private bytesRead:J
|
|
|
|
.field private bytesToRead:J
|
|
|
|
.field private final connectTimeoutMillis:I
|
|
|
|
.field private connection:Ljava/net/HttpURLConnection;
|
|
|
|
.field private contentTypePredicate:Lcom/google/common/base/Predicate;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/google/common/base/Predicate<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private dataSpec:Landroidx/media3/datasource/DataSpec;
|
|
|
|
.field private final defaultRequestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.field private inputStream:Ljava/io/InputStream;
|
|
|
|
.field private final keepPostFor302Redirects:Z
|
|
|
|
.field private opened:Z
|
|
|
|
.field private final readTimeoutMillis:I
|
|
|
|
.field private final requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.field private responseCode:I
|
|
|
|
.field private final userAgent:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/16 v1, 0x1f40
|
|
|
|
.line 256
|
|
invoke-direct {p0, v0, v1, v1}, Landroidx/media3/datasource/DefaultHttpDataSource;-><init>(Ljava/lang/String;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/16 v0, 0x1f40
|
|
|
|
.line 266
|
|
invoke-direct {p0, p1, v0, v0}, Landroidx/media3/datasource/DefaultHttpDataSource;-><init>(Ljava/lang/String;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;II)V
|
|
.locals 6
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
.line 277
|
|
invoke-direct/range {v0 .. v5}, Landroidx/media3/datasource/DefaultHttpDataSource;-><init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;)V
|
|
.locals 8
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move v2, p2
|
|
|
|
move v3, p3
|
|
|
|
move v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
.line 296
|
|
invoke-direct/range {v0 .. v7}, Landroidx/media3/datasource/DefaultHttpDataSource;-><init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;Lcom/google/common/base/Predicate;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;Lcom/google/common/base/Predicate;Z)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"IIZ",
|
|
"Landroidx/media3/datasource/HttpDataSource$RequestProperties;",
|
|
"Lcom/google/common/base/Predicate<",
|
|
"Ljava/lang/String;",
|
|
">;Z)V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 314
|
|
invoke-direct {p0, v0}, Landroidx/media3/datasource/BaseDataSource;-><init>(Z)V
|
|
|
|
iput-object p1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->userAgent:Ljava/lang/String;
|
|
|
|
iput p2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connectTimeoutMillis:I
|
|
|
|
iput p3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->readTimeoutMillis:I
|
|
|
|
iput-boolean p4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->allowCrossProtocolRedirects:Z
|
|
|
|
iput-object p5, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->defaultRequestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
iput-object p6, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->contentTypePredicate:Lcom/google/common/base/Predicate;
|
|
|
|
.line 321
|
|
new-instance p1, Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
invoke-direct {p1}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
iput-boolean p7, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->keepPostFor302Redirects:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;Lcom/google/common/base/Predicate;ZLandroidx/media3/datasource/DefaultHttpDataSource$1;)V
|
|
.locals 0
|
|
|
|
.line 64
|
|
invoke-direct/range {p0 .. p7}, Landroidx/media3/datasource/DefaultHttpDataSource;-><init>(Ljava/lang/String;IIZLandroidx/media3/datasource/HttpDataSource$RequestProperties;Lcom/google/common/base/Predicate;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private closeConnectionQuietly()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 861
|
|
:try_start_0
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
const-string v1, "DefaultHttpDataSource"
|
|
|
|
const-string v2, "Unexpected error while disconnecting"
|
|
|
|
.line 863
|
|
invoke-static {v1, v2, v0}, Landroidx/media3/common/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
:goto_0
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private handleRedirect(Ljava/net/URL;Ljava/lang/String;Landroidx/media3/datasource/DataSpec;)Ljava/net/URL;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/16 v1, 0x7d1
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 709
|
|
:try_start_0
|
|
new-instance v2, Ljava/net/URL;
|
|
|
|
invoke-direct {v2, p1, p2}, Ljava/net/URL;-><init>(Ljava/net/URL;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 719
|
|
invoke-virtual {v2}, Ljava/net/URL;->getProtocol()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v3, "https"
|
|
|
|
.line 720
|
|
invoke-virtual {v3, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
const-string v3, "http"
|
|
|
|
invoke-virtual {v3, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 721
|
|
:cond_0
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Unsupported protocol redirect: "
|
|
|
|
invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1, p3, v1, v0}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/lang/String;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
iget-boolean p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->allowCrossProtocolRedirects:Z
|
|
|
|
if-nez p0, :cond_3
|
|
|
|
.line 727
|
|
invoke-virtual {p1}, Ljava/net/URL;->getProtocol()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p2, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
.line 728
|
|
:cond_2
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Disallowed cross-protocol redirect ("
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 730
|
|
invoke-virtual {p1}, Ljava/net/URL;->getProtocol()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v2, " to "
|
|
|
|
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, ")"
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1, p3, v1, v0}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/lang/String;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return-object v2
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 711
|
|
new-instance p1, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
invoke-direct {p1, p0, p3, v1, v0}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p1
|
|
|
|
.line 700
|
|
:cond_4
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
const-string p1, "Null location redirect"
|
|
|
|
invoke-direct {p0, p1, p3, v1, v0}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/lang/String;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static isCompressed(Ljava/net/HttpURLConnection;)Z
|
|
.locals 1
|
|
|
|
const-string v0, "Content-Encoding"
|
|
|
|
.line 870
|
|
invoke-virtual {p0, v0}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "gzip"
|
|
|
|
.line 871
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method private makeConnection(Landroidx/media3/datasource/DataSpec;)Ljava/net/HttpURLConnection;
|
|
.locals 25
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v11, p0
|
|
|
|
move-object/from16 v12, p1
|
|
|
|
.line 548
|
|
new-instance v1, Ljava/net/URL;
|
|
|
|
iget-object v0, v12, Landroidx/media3/datasource/DataSpec;->uri:Landroid/net/Uri;
|
|
|
|
invoke-virtual {v0}, Landroid/net/Uri;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 549
|
|
iget v2, v12, Landroidx/media3/datasource/DataSpec;->httpMethod:I
|
|
|
|
.line 550
|
|
iget-object v3, v12, Landroidx/media3/datasource/DataSpec;->httpBody:[B
|
|
|
|
.line 551
|
|
iget-wide v13, v12, Landroidx/media3/datasource/DataSpec;->position:J
|
|
|
|
.line 552
|
|
iget-wide v9, v12, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
const/4 v15, 0x1
|
|
|
|
.line 553
|
|
invoke-virtual {v12, v15}, Landroidx/media3/datasource/DataSpec;->isFlagSet(I)Z
|
|
|
|
move-result v16
|
|
|
|
iget-boolean v0, v11, Landroidx/media3/datasource/DefaultHttpDataSource;->allowCrossProtocolRedirects:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-boolean v0, v11, Landroidx/media3/datasource/DefaultHttpDataSource;->keepPostFor302Redirects:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v15, 0x1
|
|
|
|
.line 558
|
|
iget-object v12, v12, Landroidx/media3/datasource/DataSpec;->httpRequestHeaders:Ljava/util/Map;
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-wide v4, v13
|
|
|
|
move-wide v6, v9
|
|
|
|
move/from16 v8, v16
|
|
|
|
move v9, v15
|
|
|
|
move-object v10, v12
|
|
|
|
invoke-direct/range {v0 .. v10}, Landroidx/media3/datasource/DefaultHttpDataSource;->makeConnection(Ljava/net/URL;I[BJJZZLjava/util/Map;)Ljava/net/HttpURLConnection;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
move-object v8, v1
|
|
|
|
move v6, v2
|
|
|
|
move-object/from16 v17, v3
|
|
|
|
:goto_0
|
|
add-int/lit8 v7, v0, 0x1
|
|
|
|
const/16 v1, 0x14
|
|
|
|
if-gt v0, v1, :cond_7
|
|
|
|
const/16 v18, 0x0
|
|
|
|
.line 573
|
|
iget-object v4, v12, Landroidx/media3/datasource/DataSpec;->httpRequestHeaders:Ljava/util/Map;
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object v1, v8
|
|
|
|
move v2, v6
|
|
|
|
move-object/from16 v3, v17
|
|
|
|
move-object/from16 v19, v4
|
|
|
|
move-wide v4, v13
|
|
|
|
move-wide/from16 v20, v13
|
|
|
|
move v13, v6
|
|
|
|
move v14, v7
|
|
|
|
move-wide v6, v9
|
|
|
|
move-object/from16 v22, v8
|
|
|
|
move/from16 v8, v16
|
|
|
|
move-wide/from16 v23, v9
|
|
|
|
move/from16 v9, v18
|
|
|
|
move-object/from16 v10, v19
|
|
|
|
.line 574
|
|
invoke-direct/range {v0 .. v10}, Landroidx/media3/datasource/DefaultHttpDataSource;->makeConnection(Ljava/net/URL;I[BJJZZLjava/util/Map;)Ljava/net/HttpURLConnection;
|
|
|
|
move-result-object v0
|
|
|
|
.line 583
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->getResponseCode()I
|
|
|
|
move-result v1
|
|
|
|
const-string v2, "Location"
|
|
|
|
.line 584
|
|
invoke-virtual {v0, v2}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const/16 v3, 0x12f
|
|
|
|
const/16 v4, 0x12d
|
|
|
|
const/16 v5, 0x12c
|
|
|
|
const/16 v6, 0x12e
|
|
|
|
if-eq v13, v15, :cond_1
|
|
|
|
const/4 v7, 0x3
|
|
|
|
if-ne v13, v7, :cond_2
|
|
|
|
:cond_1
|
|
if-eq v1, v5, :cond_6
|
|
|
|
if-eq v1, v4, :cond_6
|
|
|
|
if-eq v1, v6, :cond_6
|
|
|
|
if-eq v1, v3, :cond_6
|
|
|
|
const/16 v7, 0x133
|
|
|
|
if-eq v1, v7, :cond_6
|
|
|
|
const/16 v7, 0x134
|
|
|
|
if-ne v1, v7, :cond_2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
const/4 v7, 0x2
|
|
|
|
if-ne v13, v7, :cond_5
|
|
|
|
if-eq v1, v5, :cond_3
|
|
|
|
if-eq v1, v4, :cond_3
|
|
|
|
if-eq v1, v6, :cond_3
|
|
|
|
if-ne v1, v3, :cond_5
|
|
|
|
.line 599
|
|
:cond_3
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V
|
|
|
|
iget-boolean v0, v11, Landroidx/media3/datasource/DefaultHttpDataSource;->keepPostFor302Redirects:Z
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
if-ne v1, v6, :cond_4
|
|
|
|
move v6, v13
|
|
|
|
:goto_1
|
|
move-object/from16 v1, v22
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const/16 v17, 0x0
|
|
|
|
move v6, v15
|
|
|
|
goto :goto_1
|
|
|
|
.line 607
|
|
:goto_2
|
|
invoke-direct {v11, v1, v2, v12}, Landroidx/media3/datasource/DefaultHttpDataSource;->handleRedirect(Ljava/net/URL;Ljava/lang/String;Landroidx/media3/datasource/DataSpec;)Ljava/net/URL;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v8, v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
return-object v0
|
|
|
|
:cond_6
|
|
:goto_3
|
|
move-object/from16 v1, v22
|
|
|
|
.line 592
|
|
invoke-virtual {v0}, Ljava/net/HttpURLConnection;->disconnect()V
|
|
|
|
.line 593
|
|
invoke-direct {v11, v1, v2, v12}, Landroidx/media3/datasource/DefaultHttpDataSource;->handleRedirect(Ljava/net/URL;Ljava/lang/String;Landroidx/media3/datasource/DataSpec;)Ljava/net/URL;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v8, v0
|
|
|
|
move v6, v13
|
|
|
|
:goto_4
|
|
move v0, v14
|
|
|
|
move-wide/from16 v13, v20
|
|
|
|
move-wide/from16 v9, v23
|
|
|
|
goto/16 :goto_0
|
|
|
|
:cond_7
|
|
move v14, v7
|
|
|
|
.line 614
|
|
new-instance v0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
new-instance v1, Ljava/net/NoRouteToHostException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Too many redirects: "
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2, v14}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/net/NoRouteToHostException;-><init>(Ljava/lang/String;)V
|
|
|
|
const/16 v2, 0x7d1
|
|
|
|
invoke-direct {v0, v1, v12, v2, v15}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method private makeConnection(Ljava/net/URL;I[BJJZZLjava/util/Map;)Ljava/net/HttpURLConnection;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/net/URL;",
|
|
"I[BJJZZ",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;)",
|
|
"Ljava/net/HttpURLConnection;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 643
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->openConnection(Ljava/net/URL;)Ljava/net/HttpURLConnection;
|
|
|
|
move-result-object p1
|
|
|
|
iget v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connectTimeoutMillis:I
|
|
|
|
.line 644
|
|
invoke-virtual {p1, v0}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V
|
|
|
|
iget v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->readTimeoutMillis:I
|
|
|
|
.line 645
|
|
invoke-virtual {p1, v0}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V
|
|
|
|
.line 647
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iget-object v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->defaultRequestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 649
|
|
invoke-virtual {v1}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->getSnapshot()Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.line 651
|
|
invoke-virtual {v1}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->getSnapshot()Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
|
|
|
|
.line 652
|
|
invoke-interface {v0, p10}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
|
|
|
|
.line 654
|
|
invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p10
|
|
|
|
invoke-interface {p10}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p10
|
|
|
|
:goto_0
|
|
invoke-interface {p10}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p10}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
.line 655
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 658
|
|
:cond_1
|
|
invoke-static {p4, p5, p6, p7}, Landroidx/media3/datasource/HttpUtil;->buildRangeRequestHeader(JJ)Ljava/lang/String;
|
|
|
|
move-result-object p4
|
|
|
|
if-eqz p4, :cond_2
|
|
|
|
const-string p5, "Range"
|
|
|
|
.line 660
|
|
invoke-virtual {p1, p5, p4}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_2
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->userAgent:Ljava/lang/String;
|
|
|
|
if-eqz p0, :cond_3
|
|
|
|
const-string p4, "User-Agent"
|
|
|
|
.line 663
|
|
invoke-virtual {p1, p4, p0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
:cond_3
|
|
if-eqz p8, :cond_4
|
|
|
|
const-string p0, "gzip"
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const-string p0, "identity"
|
|
|
|
:goto_1
|
|
const-string p4, "Accept-Encoding"
|
|
|
|
.line 665
|
|
invoke-virtual {p1, p4, p0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 666
|
|
invoke-virtual {p1, p9}, Ljava/net/HttpURLConnection;->setInstanceFollowRedirects(Z)V
|
|
|
|
if-eqz p3, :cond_5
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
const/4 p0, 0x0
|
|
|
|
.line 667
|
|
:goto_2
|
|
invoke-virtual {p1, p0}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V
|
|
|
|
.line 668
|
|
invoke-static {p2}, Landroidx/media3/datasource/DataSpec;->getStringForHttpMethod(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p1, p0}, Ljava/net/HttpURLConnection;->setRequestMethod(Ljava/lang/String;)V
|
|
|
|
if-eqz p3, :cond_6
|
|
|
|
.line 671
|
|
array-length p0, p3
|
|
|
|
invoke-virtual {p1, p0}, Ljava/net/HttpURLConnection;->setFixedLengthStreamingMode(I)V
|
|
|
|
.line 672
|
|
invoke-virtual {p1}, Ljava/net/HttpURLConnection;->connect()V
|
|
|
|
.line 673
|
|
invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getOutputStream()Ljava/io/OutputStream;
|
|
|
|
move-result-object p0
|
|
|
|
.line 674
|
|
invoke-virtual {p0, p3}, Ljava/io/OutputStream;->write([B)V
|
|
|
|
.line 675
|
|
invoke-virtual {p0}, Ljava/io/OutputStream;->close()V
|
|
|
|
goto :goto_3
|
|
|
|
.line 677
|
|
:cond_6
|
|
invoke-virtual {p1}, Ljava/net/HttpURLConnection;->connect()V
|
|
|
|
:goto_3
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static maybeTerminateInputStream(Ljava/net/HttpURLConnection;J)V
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
.line 824
|
|
sget v0, Landroidx/media3/common/util/Util;->SDK_INT:I
|
|
|
|
const/16 v1, 0x13
|
|
|
|
if-lt v0, v1, :cond_4
|
|
|
|
sget v0, Landroidx/media3/common/util/Util;->SDK_INT:I
|
|
|
|
const/16 v1, 0x14
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 829
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object p0
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 832
|
|
invoke-virtual {p0}, Ljava/io/InputStream;->read()I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, -0x1
|
|
|
|
if-ne p1, p2, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-wide/16 v0, 0x800
|
|
|
|
cmp-long p1, p1, v0
|
|
|
|
if-gtz p1, :cond_2
|
|
|
|
return-void
|
|
|
|
.line 840
|
|
:cond_2
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "com.android.okhttp.internal.http.HttpTransport$ChunkedInputStream"
|
|
|
|
.line 841
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
const-string p2, "com.android.okhttp.internal.http.HttpTransport$FixedLengthInputStream"
|
|
|
|
.line 843
|
|
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
.line 844
|
|
:cond_3
|
|
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
|
|
|
|
move-result-object p1
|
|
|
|
.line 846
|
|
invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Class;
|
|
|
|
const-string p2, "unexpectedEndOfInput"
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {p1, p2, v1}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 847
|
|
invoke-virtual {p1, p2}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
|
|
|
new-array p2, v0, [Ljava/lang/Object;
|
|
|
|
.line 848
|
|
invoke-virtual {p1, p0, p2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:cond_4
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private readInternal([BII)I
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
iget-wide v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
const-wide/16 v2, -0x1
|
|
|
|
cmp-long v2, v0, v2
|
|
|
|
const/4 v3, -0x1
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
iget-wide v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesRead:J
|
|
|
|
sub-long/2addr v0, v4
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
cmp-long v2, v0, v4
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
return v3
|
|
|
|
:cond_1
|
|
int-to-long v4, p3
|
|
|
|
.line 798
|
|
invoke-static {v4, v5, v0, v1}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
long-to-int p3, v0
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
.line 801
|
|
invoke-static {v0}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/io/InputStream;
|
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ljava/io/InputStream;->read([BII)I
|
|
|
|
move-result p1
|
|
|
|
if-ne p1, v3, :cond_3
|
|
|
|
return v3
|
|
|
|
:cond_3
|
|
iget-wide p2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesRead:J
|
|
|
|
int-to-long v0, p1
|
|
|
|
add-long/2addr p2, v0
|
|
|
|
iput-wide p2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesRead:J
|
|
|
|
.line 807
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesTransferred(I)V
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method private skipFully(JLandroidx/media3/datasource/DataSpec;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/16 v2, 0x1000
|
|
|
|
new-array v3, v2, [B
|
|
|
|
:goto_0
|
|
cmp-long v4, p1, v0
|
|
|
|
if-lez v4, :cond_3
|
|
|
|
int-to-long v4, v2
|
|
|
|
.line 755
|
|
invoke-static {p1, p2, v4, v5}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v4
|
|
|
|
long-to-int v4, v4
|
|
|
|
iget-object v5, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
.line 756
|
|
invoke-static {v5}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Ljava/io/InputStream;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-virtual {v5, v3, v6, v4}, Ljava/io/InputStream;->read([BII)I
|
|
|
|
move-result v4
|
|
|
|
.line 757
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v5}, Ljava/lang/Thread;->isInterrupted()Z
|
|
|
|
move-result v5
|
|
|
|
const/4 v6, 0x1
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
const/4 v5, -0x1
|
|
|
|
if-eq v4, v5, :cond_1
|
|
|
|
int-to-long v5, v4
|
|
|
|
sub-long/2addr p1, v5
|
|
|
|
.line 771
|
|
invoke-virtual {p0, v4}, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesTransferred(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 765
|
|
:cond_1
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
const/16 p1, 0x7d8
|
|
|
|
invoke-direct {p0, p3, p1, v6}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
.line 758
|
|
:cond_2
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
new-instance p1, Ljava/io/InterruptedIOException;
|
|
|
|
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
|
|
|
|
const/16 p2, 0x7d0
|
|
|
|
invoke-direct {p0, p1, p3, p2, v6}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public clearAllRequestProperties()V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.line 383
|
|
invoke-virtual {p0}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->clear()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public clearRequestProperty(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 376
|
|
invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.line 377
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->remove(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public close()V
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:try_start_0
|
|
iget-object v2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
iget-wide v3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
const-wide/16 v5, -0x1
|
|
|
|
cmp-long v7, v3, v5
|
|
|
|
if-nez v7, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-wide v5, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesRead:J
|
|
|
|
sub-long v5, v3, v5
|
|
|
|
:goto_0
|
|
iget-object v3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
.line 525
|
|
invoke-static {v3, v5, v6}, Landroidx/media3/datasource/DefaultHttpDataSource;->maybeTerminateInputStream(Ljava/net/HttpURLConnection;J)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 527
|
|
:try_start_1
|
|
invoke-virtual {v2}, Ljava/io/InputStream;->close()V
|
|
:try_end_1
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception v2
|
|
|
|
.line 529
|
|
:try_start_2
|
|
new-instance v3, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
iget-object v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->dataSpec:Landroidx/media3/datasource/DataSpec;
|
|
|
|
.line 531
|
|
invoke-static {v4}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Landroidx/media3/datasource/DataSpec;
|
|
|
|
const/16 v5, 0x7d0
|
|
|
|
const/4 v6, 0x3
|
|
|
|
invoke-direct {v3, v2, v4, v5, v6}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw v3
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
iput-object v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
.line 538
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
iget-boolean v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
iput-boolean v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
.line 541
|
|
invoke-virtual {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->transferEnded()V
|
|
|
|
:cond_2
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v2
|
|
|
|
iput-object v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
.line 538
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
iget-boolean v1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
iput-boolean v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
.line 541
|
|
invoke-virtual {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->transferEnded()V
|
|
|
|
.line 543
|
|
:cond_3
|
|
throw v2
|
|
.end method
|
|
|
|
.method public getResponseCode()I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
if-gtz p0, :cond_1
|
|
|
|
:cond_0
|
|
const/4 p0, -0x1
|
|
|
|
:cond_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public getResponseHeaders()Ljava/util/Map;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 352
|
|
invoke-static {}, Lcom/google/common/collect/ImmutableMap;->of()Lcom/google/common/collect/ImmutableMap;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 362
|
|
:cond_0
|
|
new-instance v0, Landroidx/media3/datasource/DefaultHttpDataSource$NullFilteringHeadersMap;
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
invoke-virtual {p0}, Ljava/net/HttpURLConnection;->getHeaderFields()Ljava/util/Map;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Landroidx/media3/datasource/DefaultHttpDataSource$NullFilteringHeadersMap;-><init>(Ljava/util/Map;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getUri()Landroid/net/Uri;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 339
|
|
:cond_0
|
|
invoke-virtual {p0}, Ljava/net/HttpURLConnection;->getURL()Ljava/net/URL;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/net/URL;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public open(Landroidx/media3/datasource/DataSpec;)J
|
|
.locals 13
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->dataSpec:Landroidx/media3/datasource/DataSpec;
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
iput-wide v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesRead:J
|
|
|
|
iput-wide v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
.line 393
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->transferInitializing(Landroidx/media3/datasource/DataSpec;)V
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 398
|
|
:try_start_0
|
|
invoke-direct {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->makeConnection(Landroidx/media3/datasource/DataSpec;)Ljava/net/HttpURLConnection;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->connection:Ljava/net/HttpURLConnection;
|
|
|
|
.line 400
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getResponseCode()I
|
|
|
|
move-result v4
|
|
|
|
iput v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
.line 401
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getResponseMessage()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_3
|
|
|
|
iget v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
const-string v5, "Content-Range"
|
|
|
|
const/16 v6, 0xc8
|
|
|
|
const-wide/16 v8, -0x1
|
|
|
|
if-lt v4, v6, :cond_9
|
|
|
|
const/16 v10, 0x12b
|
|
|
|
if-le v4, v10, :cond_0
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 440
|
|
:cond_0
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getContentType()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
iget-object v7, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->contentTypePredicate:Lcom/google/common/base/Predicate;
|
|
|
|
if-eqz v7, :cond_2
|
|
|
|
.line 441
|
|
invoke-interface {v7, v4}, Lcom/google/common/base/Predicate;->apply(Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 442
|
|
:cond_1
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
.line 443
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$InvalidContentTypeException;
|
|
|
|
invoke-direct {p0, v4, p1}, Landroidx/media3/datasource/HttpDataSource$InvalidContentTypeException;-><init>(Ljava/lang/String;Landroidx/media3/datasource/DataSpec;)V
|
|
|
|
throw p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
iget v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
if-ne v4, v6, :cond_3
|
|
|
|
.line 449
|
|
iget-wide v6, p1, Landroidx/media3/datasource/DataSpec;->position:J
|
|
|
|
cmp-long v4, v6, v0
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
iget-wide v0, p1, Landroidx/media3/datasource/DataSpec;->position:J
|
|
|
|
.line 452
|
|
:cond_3
|
|
invoke-static {v3}, Landroidx/media3/datasource/DefaultHttpDataSource;->isCompressed(Ljava/net/HttpURLConnection;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_6
|
|
|
|
.line 454
|
|
iget-wide v6, p1, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
cmp-long v6, v6, v8
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
.line 455
|
|
iget-wide v5, p1, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
iput-wide v5, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
goto :goto_1
|
|
|
|
:cond_4
|
|
const-string v6, "Content-Length"
|
|
|
|
.line 459
|
|
invoke-virtual {v3, v6}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
.line 460
|
|
invoke-virtual {v3, v5}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
.line 458
|
|
invoke-static {v6, v5}, Landroidx/media3/datasource/HttpUtil;->getContentLength(Ljava/lang/String;Ljava/lang/String;)J
|
|
|
|
move-result-wide v5
|
|
|
|
cmp-long v7, v5, v8
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
sub-long v8, v5, v0
|
|
|
|
:cond_5
|
|
iput-wide v8, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
goto :goto_1
|
|
|
|
.line 468
|
|
:cond_6
|
|
iget-wide v5, p1, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
iput-wide v5, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
:goto_1
|
|
const/16 v5, 0x7d0
|
|
|
|
.line 472
|
|
:try_start_1
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
if-eqz v4, :cond_7
|
|
|
|
.line 474
|
|
new-instance v3, Ljava/util/zip/GZIPInputStream;
|
|
|
|
iget-object v4, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
|
|
invoke-direct {v3, v4}, Ljava/util/zip/GZIPInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
iput-object v3, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->inputStream:Ljava/io/InputStream;
|
|
:try_end_1
|
|
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
:cond_7
|
|
iput-boolean v2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
.line 486
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->transferStarted(Landroidx/media3/datasource/DataSpec;)V
|
|
|
|
.line 489
|
|
:try_start_2
|
|
invoke-direct {p0, v0, v1, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->skipFully(JLandroidx/media3/datasource/DataSpec;)V
|
|
:try_end_2
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
iget-wide p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->bytesToRead:J
|
|
|
|
return-wide p0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 491
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
.line 493
|
|
instance-of p0, v0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
if-eqz p0, :cond_8
|
|
|
|
.line 494
|
|
check-cast v0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
throw v0
|
|
|
|
.line 496
|
|
:cond_8
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
invoke-direct {p0, v0, p1, v5, v2}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
:catch_1
|
|
move-exception v0
|
|
|
|
.line 477
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
.line 478
|
|
new-instance p0, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
invoke-direct {p0, v0, p1, v5, v2}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;-><init>(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;II)V
|
|
|
|
throw p0
|
|
|
|
.line 410
|
|
:cond_9
|
|
:goto_2
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getHeaderFields()Ljava/util/Map;
|
|
|
|
move-result-object v4
|
|
|
|
iget v6, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
const/16 v10, 0x1a0
|
|
|
|
if-ne v6, v10, :cond_b
|
|
|
|
.line 413
|
|
invoke-virtual {v3, v5}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-static {v5}, Landroidx/media3/datasource/HttpUtil;->getDocumentSize(Ljava/lang/String;)J
|
|
|
|
move-result-wide v5
|
|
|
|
.line 414
|
|
iget-wide v11, p1, Landroidx/media3/datasource/DataSpec;->position:J
|
|
|
|
cmp-long v5, v11, v5
|
|
|
|
if-nez v5, :cond_b
|
|
|
|
iput-boolean v2, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->opened:Z
|
|
|
|
.line 416
|
|
invoke-virtual {p0, p1}, Landroidx/media3/datasource/DefaultHttpDataSource;->transferStarted(Landroidx/media3/datasource/DataSpec;)V
|
|
|
|
.line 417
|
|
iget-wide v2, p1, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
cmp-long p0, v2, v8
|
|
|
|
if-eqz p0, :cond_a
|
|
|
|
iget-wide v0, p1, Landroidx/media3/datasource/DataSpec;->length:J
|
|
|
|
:cond_a
|
|
return-wide v0
|
|
|
|
.line 421
|
|
:cond_b
|
|
invoke-virtual {v3}, Ljava/net/HttpURLConnection;->getErrorStream()Ljava/io/InputStream;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
.line 425
|
|
:try_start_3
|
|
invoke-static {v0}, Landroidx/media3/common/util/Util;->toByteArray(Ljava/io/InputStream;)[B
|
|
|
|
move-result-object v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_c
|
|
sget-object v0, Landroidx/media3/common/util/Util;->EMPTY_BYTE_ARRAY:[B
|
|
:try_end_3
|
|
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
:goto_3
|
|
move-object v11, v0
|
|
|
|
goto :goto_4
|
|
|
|
.line 427
|
|
:catch_2
|
|
sget-object v0, Landroidx/media3/common/util/Util;->EMPTY_BYTE_ARRAY:[B
|
|
|
|
goto :goto_3
|
|
|
|
.line 429
|
|
:goto_4
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
iget v0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
if-ne v0, v10, :cond_d
|
|
|
|
.line 433
|
|
new-instance v0, Landroidx/media3/datasource/DataSourceException;
|
|
|
|
const/16 v1, 0x7d8
|
|
|
|
invoke-direct {v0, v1}, Landroidx/media3/datasource/DataSourceException;-><init>(I)V
|
|
|
|
goto :goto_5
|
|
|
|
:cond_d
|
|
const/4 v0, 0x0
|
|
|
|
:goto_5
|
|
move-object v8, v0
|
|
|
|
.line 435
|
|
new-instance v0, Landroidx/media3/datasource/HttpDataSource$InvalidResponseCodeException;
|
|
|
|
iget v6, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->responseCode:I
|
|
|
|
move-object v5, v0
|
|
|
|
move-object v9, v4
|
|
|
|
move-object v10, p1
|
|
|
|
invoke-direct/range {v5 .. v11}, Landroidx/media3/datasource/HttpDataSource$InvalidResponseCodeException;-><init>(ILjava/lang/String;Ljava/io/IOException;Ljava/util/Map;Landroidx/media3/datasource/DataSpec;[B)V
|
|
|
|
throw v0
|
|
|
|
:catch_3
|
|
move-exception v0
|
|
|
|
.line 403
|
|
invoke-direct {p0}, Landroidx/media3/datasource/DefaultHttpDataSource;->closeConnectionQuietly()V
|
|
|
|
.line 404
|
|
invoke-static {v0, p1, v2}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;->createForIOException(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;I)Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
move-result-object p0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method openConnection(Ljava/net/URL;)Ljava/net/HttpURLConnection;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 685
|
|
invoke-virtual {p1}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/net/HttpURLConnection;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public read([BII)I
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 510
|
|
:try_start_0
|
|
invoke-direct {p0, p1, p2, p3}, Landroidx/media3/datasource/DefaultHttpDataSource;->readInternal([BII)I
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return p0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->dataSpec:Landroidx/media3/datasource/DataSpec;
|
|
|
|
.line 513
|
|
invoke-static {p0}, Landroidx/media3/common/util/Util;->castNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroidx/media3/datasource/DataSpec;
|
|
|
|
const/4 p2, 0x2
|
|
|
|
.line 512
|
|
invoke-static {p1, p0, p2}, Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;->createForIOException(Ljava/io/IOException;Landroidx/media3/datasource/DataSpec;I)Landroidx/media3/datasource/HttpDataSource$HttpDataSourceException;
|
|
|
|
move-result-object p0
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public setContentTypePredicate(Lcom/google/common/base/Predicate;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/google/common/base/Predicate<",
|
|
"Ljava/lang/String;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->contentTypePredicate:Lcom/google/common/base/Predicate;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 368
|
|
invoke-static {p1}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 369
|
|
invoke-static {p2}, Landroidx/media3/common/util/Assertions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
iget-object p0, p0, Landroidx/media3/datasource/DefaultHttpDataSource;->requestProperties:Landroidx/media3/datasource/HttpDataSource$RequestProperties;
|
|
|
|
.line 370
|
|
invoke-virtual {p0, p1, p2}, Landroidx/media3/datasource/HttpDataSource$RequestProperties;->set(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|