93 lines
2.7 KiB
Java
93 lines
2.7 KiB
Java
package o;
|
|
|
|
/* renamed from: o.fVf, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C13262fVf<T> extends AbstractC13175fSw<Boolean> implements InterfaceC13204fTr<Boolean> {
|
|
private InterfaceC13193fTg<? super T> c;
|
|
private InterfaceC13169fSq<T> d;
|
|
|
|
public C13262fVf(InterfaceC13169fSq<T> interfaceC13169fSq, InterfaceC13193fTg<? super T> interfaceC13193fTg) {
|
|
this.d = interfaceC13169fSq;
|
|
this.c = interfaceC13193fTg;
|
|
}
|
|
|
|
@Override // o.AbstractC13175fSw
|
|
public final void e(InterfaceC13176fSx<? super Boolean> interfaceC13176fSx) {
|
|
this.d.subscribe(new LWm(interfaceC13176fSx, this.c));
|
|
}
|
|
|
|
@Override // o.InterfaceC13204fTr
|
|
public final AbstractC13163fSk<Boolean> b() {
|
|
return new C13260fVd(this.d, this.c);
|
|
}
|
|
|
|
/* renamed from: o.fVf$LWm */
|
|
/* loaded from: classes6.dex */
|
|
static final class LWm<T> implements InterfaceC13174fSv<T>, fSJ {
|
|
private fSJ a;
|
|
private boolean b;
|
|
private InterfaceC13193fTg<? super T> d;
|
|
private InterfaceC13176fSx<? super Boolean> e;
|
|
|
|
LWm(InterfaceC13176fSx<? super Boolean> interfaceC13176fSx, InterfaceC13193fTg<? super T> interfaceC13193fTg) {
|
|
this.e = interfaceC13176fSx;
|
|
this.d = interfaceC13193fTg;
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onSubscribe(fSJ fsj) {
|
|
if (EnumC13192fTf.d(this.a, fsj)) {
|
|
this.a = fsj;
|
|
this.e.onSubscribe(this);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onNext(T t) {
|
|
if (this.b) {
|
|
return;
|
|
}
|
|
try {
|
|
if (this.d.a(t)) {
|
|
this.b = true;
|
|
this.a.dispose();
|
|
this.e.e(Boolean.TRUE);
|
|
}
|
|
} catch (Throwable th) {
|
|
C13147fSI.c(th);
|
|
this.a.dispose();
|
|
onError(th);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
if (this.b) {
|
|
C13418fZu.c(th);
|
|
} else {
|
|
this.b = true;
|
|
this.e.onError(th);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
if (this.b) {
|
|
return;
|
|
}
|
|
this.b = true;
|
|
this.e.e(Boolean.FALSE);
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final void dispose() {
|
|
this.a.dispose();
|
|
}
|
|
|
|
@Override // o.fSJ
|
|
public final boolean isDisposed() {
|
|
return this.a.isDisposed();
|
|
}
|
|
}
|
|
}
|