108 lines
2.6 KiB
Smali
108 lines
2.6 KiB
Smali
.class public final Lcom/google/android/exoplayer2/upstream/DummyDataSource;
|
|
.super Ljava/lang/Object;
|
|
.source "DummyDataSource.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/exoplayer2/upstream/DataSource;
|
|
|
|
|
|
# static fields
|
|
.field public static final FACTORY:Lcom/google/android/exoplayer2/upstream/DataSource$Factory;
|
|
|
|
.field public static final INSTANCE:Lcom/google/android/exoplayer2/upstream/DummyDataSource;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/android/exoplayer2/upstream/DummyDataSource;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/exoplayer2/upstream/DummyDataSource;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/android/exoplayer2/upstream/DummyDataSource;->INSTANCE:Lcom/google/android/exoplayer2/upstream/DummyDataSource;
|
|
|
|
.line 2
|
|
new-instance v0, Lcom/google/android/exoplayer2/upstream/DummyDataSource$1;
|
|
|
|
invoke-direct {v0}, Lcom/google/android/exoplayer2/upstream/DummyDataSource$1;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/android/exoplayer2/upstream/DummyDataSource;->FACTORY:Lcom/google/android/exoplayer2/upstream/DataSource$Factory;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 2
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/google/android/exoplayer2/upstream/DummyDataSource$1;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/exoplayer2/upstream/DummyDataSource;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public close()V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getUri()Landroid/net/Uri;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public open(Lcom/google/android/exoplayer2/upstream/DataSpec;)J
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance p1, Ljava/io/IOException;
|
|
|
|
const-string v0, "Dummy source"
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public read([BII)I
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|