112 lines
3.1 KiB
Java
112 lines
3.1 KiB
Java
package c.i.a.c.z1;
|
|
|
|
import android.os.Handler;
|
|
import androidx.annotation.CheckResult;
|
|
import androidx.annotation.Nullable;
|
|
import c.i.a.c.d2.y;
|
|
import c.i.a.c.i2.f0;
|
|
import java.util.Iterator;
|
|
import java.util.concurrent.CopyOnWriteArrayList;
|
|
/* compiled from: DrmSessionEventListener */
|
|
public interface q {
|
|
|
|
/* compiled from: DrmSessionEventListener */
|
|
public static class a {
|
|
public final int a;
|
|
@Nullable
|
|
public final y.a b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final CopyOnWriteArrayList<C0094a> f1012c;
|
|
|
|
/* compiled from: DrmSessionEventListener */
|
|
/* renamed from: c.i.a.c.z1.q$a$a reason: collision with other inner class name */
|
|
public static final class C0094a {
|
|
public Handler a;
|
|
public q b;
|
|
|
|
public C0094a(Handler handler, q qVar) {
|
|
this.a = handler;
|
|
this.b = qVar;
|
|
}
|
|
}
|
|
|
|
public a() {
|
|
this.f1012c = new CopyOnWriteArrayList<>();
|
|
this.a = 0;
|
|
this.b = null;
|
|
}
|
|
|
|
public a(CopyOnWriteArrayList<C0094a> copyOnWriteArrayList, int i, @Nullable y.a aVar) {
|
|
this.f1012c = copyOnWriteArrayList;
|
|
this.a = i;
|
|
this.b = aVar;
|
|
}
|
|
|
|
public void a() {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new h(this, next.b));
|
|
}
|
|
}
|
|
|
|
public void b() {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new g(this, next.b));
|
|
}
|
|
}
|
|
|
|
public void c() {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new i(this, next.b));
|
|
}
|
|
}
|
|
|
|
public void d() {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new e(this, next.b));
|
|
}
|
|
}
|
|
|
|
public void e(Exception exc) {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new j(this, next.b, exc));
|
|
}
|
|
}
|
|
|
|
public void f() {
|
|
Iterator<C0094a> it = this.f1012c.iterator();
|
|
while (it.hasNext()) {
|
|
C0094a next = it.next();
|
|
f0.D(next.a, new f(this, next.b));
|
|
}
|
|
}
|
|
|
|
@CheckResult
|
|
public a g(int i, @Nullable y.a aVar) {
|
|
return new a(this.f1012c, i, aVar);
|
|
}
|
|
}
|
|
|
|
void B(int i, @Nullable y.a aVar);
|
|
|
|
void F(int i, @Nullable y.a aVar);
|
|
|
|
void L(int i, @Nullable y.a aVar);
|
|
|
|
void R(int i, @Nullable y.a aVar);
|
|
|
|
void W(int i, @Nullable y.a aVar);
|
|
|
|
void o(int i, @Nullable y.a aVar, Exception exc);
|
|
}
|