91 lines
2.7 KiB
Java
91 lines
2.7 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.List;
|
||
|
import o.PRA;
|
||
|
|
||
|
/* renamed from: o.biW, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C4879biW implements IJN {
|
||
|
private final mps a;
|
||
|
private final KTN b;
|
||
|
final C0171AqO c;
|
||
|
final OZX d;
|
||
|
private final String e;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C4879biW(mps mpsVar, OZX ozx, C0171AqO c0171AqO, KTN ktn, String str) {
|
||
|
this.a = mpsVar;
|
||
|
this.d = ozx;
|
||
|
this.c = c0171AqO;
|
||
|
this.b = ktn;
|
||
|
this.e = str;
|
||
|
}
|
||
|
|
||
|
@Override // o.IJN
|
||
|
public final AbstractC13163fSk<List<XCj>> d(String str) {
|
||
|
return this.a.b.getDevices(new QWX(str, this.e)).flatMap(new fSS(this) { // from class: o.cOq
|
||
|
private C4879biW b;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
final C0171AqO c0171AqO = this.b.c;
|
||
|
YKU yku = new YKU(((Gri) obj).b);
|
||
|
return AbstractC13163fSk.just((List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c0171AqO) { // from class: o.eoZ
|
||
|
private C0171AqO d;
|
||
|
|
||
|
@Override // o.InterfaceC1244Ytw
|
||
|
public final Object d(Object obj2) {
|
||
|
return C0171AqO.e((C13419fZv) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = c0171AqO;
|
||
|
}
|
||
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.IJN
|
||
|
public final AbstractC13163fSk<Boolean> c(AkO akO) {
|
||
|
return this.a.b.deleteDevice(akO).flatMap(new fSS() { // from class: o.huq
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return AbstractC13163fSk.just(Boolean.TRUE);
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.IJN
|
||
|
public final void c() {
|
||
|
this.b.g.edit().putString("com.scb.phone.pref.key.API_REFRESH", "").commit();
|
||
|
}
|
||
|
|
||
|
@Override // o.IJN
|
||
|
public final String e() {
|
||
|
return this.b.g.getString("com.scb.phone.pref.key.API_REFRESH", "");
|
||
|
}
|
||
|
|
||
|
@Override // o.IJN
|
||
|
public final AbstractC13163fSk<C4240bUT> b(C4362bXu c4362bXu) {
|
||
|
c4362bXu.a = this.e;
|
||
|
return this.a.b.updateDevice(c4362bXu).flatMap(new fSS(this) { // from class: o.Tif
|
||
|
private C4879biW e;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
OZX ozx = this.e.d;
|
||
|
return AbstractC13163fSk.just(OZX.a((FGK) obj));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|