101 lines
2.1 KiB
Smali
101 lines
2.1 KiB
Smali
.class public final synthetic Lf/k/a/b/k1/e0/n;
|
|
.super Ljava/lang/Object;
|
|
.source "ContentMetadata.java"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Lf/k/a/b/k1/e0/o;)J
|
|
.locals 2
|
|
|
|
check-cast p0, Lf/k/a/b/k1/e0/q;
|
|
|
|
iget-object v0, p0, Lf/k/a/b/k1/e0/q;->b:Ljava/util/Map;
|
|
|
|
const-string v1, "exo_len"
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p0, p0, Lf/k/a/b/k1/e0/q;->b:Ljava/util/Map;
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [B
|
|
|
|
invoke-static {p0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getLong()J
|
|
|
|
move-result-wide v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/16 v0, -0x1
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static b(Lf/k/a/b/k1/e0/o;)Landroid/net/Uri;
|
|
.locals 3
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
check-cast p0, Lf/k/a/b/k1/e0/q;
|
|
|
|
iget-object v0, p0, Lf/k/a/b/k1/e0/q;->b:Ljava/util/Map;
|
|
|
|
const-string v1, "exo_redir"
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object p0, p0, Lf/k/a/b/k1/e0/q;->b:Ljava/util/Map;
|
|
|
|
invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, [B
|
|
|
|
new-instance v0, Ljava/lang/String;
|
|
|
|
const-string v1, "UTF-8"
|
|
|
|
invoke-static {v1}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, p0, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v2
|
|
|
|
:goto_0
|
|
if-nez v0, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object v2
|
|
|
|
:goto_1
|
|
return-object v2
|
|
.end method
|