[General Questions and Answers] XeBrandon:
// DebugConfigManager class from com.doordash.driverapp.p336z1

package com.doordash.driverapp.p336z1;

import com.doordash.android.core.EnvironmentConfiguration;
import com.doordash.android.core.NetworkEnvironment;
import com.doordash.android.core.Outcome;
import com.doordash.android.core.OutcomeEmpty;
import com.doordash.android.identity.Identity;
import com.doordash.android.identity.p132c.User;
import com.doordash.android.logging.DDLog;
import com.doordash.driverapp.p166c2.DebugConfigRepository;
import com.doordash.driverapp.p166c2.DeliveryRepository;
import com.newrelic.agent.android.util.Constants;
import p1440i.p1451c.Single;
import p1440i.p1451c.p1455o0.InterfaceC30572n;
import p1440i.p1451c.p1478v0.C31099a;
import p1485k.p1487b0.p1489d.Intrinsics;

class DebugConfigManager {

User currentUser;
Identity identity;
DebugConfigRepository debugConfigRepo;
DeliveryRepository deliveryRepo;
FraudDetector fraudDetector;
EnvironmentConfiguration environmentConfig;

class UserResultHandler implements InterfaceC30572n<Outcome<User>, OutcomeEmpty> {
UserResultHandler() {}

OutcomeEmpty apply(Outcome<User> outcome) {
if (outcome.isSuccess() && outcome.getData() != null) {
DebugConfigManager.this.currentUser = outcome.getData();
return OutcomeEmpty.f8971c.m83983b();
}
return OutcomeEmpty.f8971c.m83984a(outcome.getError());
}
}

DebugConfigManager(
Identity identity,
DebugConfigRepository debugConfigRepo,
DeliveryRepository deliveryRepo,
FraudDetector fraudDetector,
EnvironmentConfiguration environmentConfig
) {
Intrinsics.m2128g(identity, Constants.Network.ContentType.IDENTITY);
Intrinsics.m2128g(debugConfigRepo, "debugConfigRepository");
Intrinsics.m2128g(deliveryRepo, "deliveryRepository");
Intrinsics.m2128g(fraudDetector, "fraudDetector");
Intrinsics.m2128g(environmentConfig, "envConfig");
this.identity = identity;
this.debugConfigRepo = debugConfigRepo;
this.deliveryRepo = deliveryRepo;
this.fraudDetector = fraudDetector;
this.environmentConfig = environmentConfig;
}

boolean isAuthenticatedAsEmployee() {
User user = this.currentUser;
boolean isEmployee = user != null ? user.isEmployee() : false;
DDLog.m82791d("DebugConfigManager", "isAuthenticatedAsEmployee: %b.", Boolean.valueOf(isEmployee));
return isEmployee;
}

Single<OutcomeEmpty> deleteDelivery() {
Single<OutcomeEmpty> outcome = this.deliveryRepo.deleteDelivery().map(C31099a.m2214c());
Intrinsics.m2132c(outcome, "deliveryRepository.delet…scribeOn(Schedulers.io())");
return outcome;
}

boolean isFraudDetectionEnabled() {
return this.fraudDetector.isEmulationExperimentEnabled();
}

boolean isLocationSpoofingDetectionEnabled() {
return this.fraudDetector.isGeoSpoofingExperimentEnabled();
}

boolean isDebugModeEnabled() {
return this.debugConfigRepo.isDebugModeEnabled();
}

String getEnvironmentConfiguration() {
return this.environmentConfig.getConfiguration();
}

boolean isEnvironmentStaging() {
return this.environmentConfig.getEnvironment() == NetworkEnvironment.STAGING;
}

boolean isAuthenticated() {
return this.currentUser != null;
}

void setDebugConfiguration(boolean value) {
this.debugConfigRepo.setDebugConfiguration(value);
}

void toggleFraudDetection(boolean value) {
this.fraudDetector.toggleEmulationExperiment(value);
}

void toggleLocationSpoofingDetection(boolean value) {
this.fraudDetector.toggleGeoSpoofingExperiment(value);
}

void setEnvironmentConfiguration(String value) {
Intrinsics.m2128g(value, "value");
this.environmentConfig.setConfiguration(value);
}

void setNetworkEnvironment(boolean isStaging) {
NetworkEnvironment networkEnvironment = isStaging ? NetworkEnvironment.STAGING : NetworkEnvironment.PRODUCTION;
this.environmentConfig.setEnvironment(networkEnvironment);
}

Single<OutcomeEmpty> getUserInformation() {
Single<OutcomeEmpty> outcome = this.identity.getUserInformation().map(new UserResultHandler());
return outcome;
}
}

Fraud Detector Class:

package com.doordash.driverapp.p336z1;

import android.content.Intent;

import android.content.IntentFilter;

import android.location.Location;

import android.location.LocationManager;

import androidx.localbroadcastmanager.p039a.C1122a;

import com.doordash.android.core.C3094g;

import com.doordash.android.identity.Identity;

import com.doordash.android.identity.p132c.C3560b;

import com.doordash.android.identity.p132c.User;

import com.doordash.android.logging.C3667d;

import com.doordash.driverapp.p181e2.C5398a1;

import com.doordash.driverapp.p181e2.C5403c0;

import com.doordash.driverapp.p181e2.C5408d;

import com.doordash.driverapp.p181e2.C5425h;

import com.doordash.driverapp.p181e2.C5429i0;

import com.doordash.driverapp.p181e2.C5440l;

import com.doordash.driverapp.p181e2.C5491t0;

import com.doordash.driverapp.p202ui.fraud.FraudDetectionBroadcastReceiver;

import com.doordash.driverapp.p314v1.C10542a;

import com.newrelic.agent.android.util.Constants;

import java.util.LinkedHashMap;

import java.util.concurrent.TimeUnit;

import java.util.concurrent.atomic.AtomicBoolean;

import p1440i.p1451c.AbstractC37119b;

import p1440i.p1451c.AbstractC37122c0;

import p1440i.p1451c.AbstractC37128d0;

import p1440i.p1451c.AbstractC37141k;

import p1440i.p1451c.AbstractC37163o;

import p1440i.p1451c.EnumC37117a;

import p1440i.p1451c.InterfaceC37140j0;

import p1440i.p1451c.InterfaceC38128s;

import p1440i.p1451c.p1452l0.C37146c;

import p1440i.p1451c.p1452l0.InterfaceC37145b;

import p1440i.p1451c.p1455o0.InterfaceC37177n;

import p1440i.p1451c.p1477u0.C38143d;

import p1485k.C38325j;

import p1485k.C38338v;

import p1485k.InterfaceC38276h;

import p1485k.p1487b0.p1488c.InterfaceC38193a;

import p1485k.p1487b0.p1488c.InterfaceC38203l;

import p1485k.p1487b0.p1489d.AbstractC38230n;

import p1485k.p1487b0.p1489d.C38229m;

import p1514m.p1523b.InterfaceC38857a;

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8 */

/* loaded from: classes2.dex */

public final class FraudDetector {

/* renamed from: a */

private boolean f27681a;

/* renamed from: b */

private AtomicBoolean f27682b;

/* renamed from: c */

private boolean f27683c;

/* renamed from: d */

private boolean f27684d;

/* renamed from: e */

private final InterfaceC38276h f27685e;

/* renamed from: f */

private final InterfaceC38276h f27686f;

/* renamed from: g */

private final String f27687g;

/* renamed from: h */

private InterfaceC37145b f27688h;

/* renamed from: i */

private InterfaceC37145b f27689i;

/* renamed from: j */

private final C1122a f27690j;

/* renamed from: k */

private final C5491t0 f27691k;

/* renamed from: l */

private final C5403c0 f27692l;

/* renamed from: m */

private final C10542a f27693m;

/* renamed from: n */

private final C5429i0 f27694n;

/* renamed from: o */

private final C5425h f27695o;

/* renamed from: p */

private final C5440l f27696p;

/* renamed from: q */

private final Identity f27697q;

/* renamed from: r */

private final AbstractC37122c0 f27698r;

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$a */

/* loaded from: classes2.dex */

public static final class C11143a extends AbstractC38230n implements InterfaceC38193a<FraudDetectionBroadcastReceiver> {

/* renamed from: e0 */

public static final C11143a f27699e0 = new C11143a();

C11143a() {

super(0);

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1485k.p1487b0.p1488c.InterfaceC38193a

/* renamed from: e */

public final FraudDetectionBroadcastReceiver mo93453invoke() {

return new FraudDetectionBroadcastReceiver();

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$b */

/* loaded from: classes2.dex */

public static final class C11144b<T, R> implements InterfaceC37177n<T, InterfaceC37140j0<? extends R>> {

C11144b() {

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: a */

public final AbstractC37128d0<C3094g<User>> mo83915a(C3560b c3560b) {

C38229m.m2118g(c3560b, "it");

return FraudDetector.this.f27697q.m83064j();

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$c */

/* loaded from: classes2.dex */

public static final class C11145c extends AbstractC38230n implements InterfaceC38203l<C3094g<User>, C38338v> {

C11145c() {

super(1);

}

/* renamed from: a */

public final void m63181a(C3094g<User> c3094g) {

User m83997d;

boolean z = true;

FraudDetector.this.f27681a = (c3094g.m83996e() && (m83997d = c3094g.m83997d()) != null && m83997d.m82992a()) ? false : false;

if (FraudDetector.this.f27681a) {

return;

}

LinkedHashMap linkedHashMap = new LinkedHashMap();

if (C5440l.f14448a.m77700a(linkedHashMap)) {

C5408d.m78163P0(linkedHashMap);

}

}

/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */

/* JADX DEBUG: Return type fixed from 'java.lang.Object' to match base method */

@Override // p1485k.p1487b0.p1488c.InterfaceC38203l

/* renamed from: invoke */

public /* bridge */ /* synthetic */ C38338v mo83126a(C3094g<User> c3094g) {

m63181a(c3094g);

return C38338v.f111649a;

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$d */

/* loaded from: classes2.dex */

public static final class C11146d extends AbstractC38230n implements InterfaceC38203l<Throwable, C38338v> {

C11146d() {

super(1);

}

/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */

/* JADX DEBUG: Return type fixed from 'java.lang.Object' to match base method */

@Override // p1485k.p1487b0.p1488c.InterfaceC38203l

/* renamed from: invoke */

public /* bridge */ /* synthetic */ C38338v mo83126a(Throwable th) {

invoke2(th);

return C38338v.f111649a;

}

/* renamed from: invoke */

public final void invoke2(Throwable th) {

C38229m.m2118g(th, "it");

C3667d.m82780o(th, null, new Object[0], 2, null);

FraudDetector.this.f27681a = false;

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$e */

/* loaded from: classes2.dex */

public static final class C11147e<T, R> implements InterfaceC37177n<T, InterfaceC38128s<? extends R>> {

C11147e() {

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: a */

public final AbstractC37163o<Boolean> mo83915a(Boolean bool) {

C38229m.m2118g(bool, "should");

if (bool.booleanValue()) {

FraudDetector.this.m63187w();

return AbstractC37163o.m3047q(Boolean.FALSE);

}

return AbstractC37163o.m3055i();

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$f */

/* loaded from: classes2.dex */

public static final class C11148f<T, R> implements InterfaceC37177n<T, R> {

C11148f() {

}

/* renamed from: a */

public final boolean m63179a(Boolean bool) {

C38229m.m2118g(bool, "shouldPerformCheck");

return (bool.booleanValue() && FraudDetector.this.m63190t()) ? false : true;

}

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: apply */

public /* bridge */ /* synthetic */ Object mo83915a(Object obj) {

return Boolean.valueOf(m63179a((Boolean) obj));

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$g */

/* loaded from: classes2.dex */

public static final class C11149g<T, R> implements InterfaceC37177n<Throwable, Boolean> {

/* renamed from: e0 */

public static final C11149g f27705e0 = new C11149g();

C11149g() {

}

/* renamed from: a */

public final boolean m63178a(Throwable th) {

C38229m.m2118g(th, "it");

return true;

}

/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */

/* JADX DEBUG: Return type fixed from 'java.lang.Object' to match base method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: apply */

public /* bridge */ /* synthetic */ Boolean mo83915a(Throwable th) {

m63178a(th);

return Boolean.TRUE;

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$h */

/* loaded from: classes2.dex */

public static final class C11150h<T, R> implements InterfaceC37177n<T, R> {

/* renamed from: e0 */

public static final C11150h f27706e0 = new C11150h();

C11150h() {

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: a */

public final C3094g<Boolean> mo83915a(Boolean bool) {

C38229m.m2118g(bool, "it");

return C3094g.C3095a.m83991c(C3094g.f8966e, bool, false, 2, null);

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$i */

/* loaded from: classes2.dex */

public static final class C11151i extends AbstractC38230n implements InterfaceC38193a<LocationManager> {

/* renamed from: e0 */

final /* synthetic */ C5398a1 f27707e0;

/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */

C11151i(C5398a1 c5398a1) {

super(0);

this.f27707e0 = c5398a1;

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1485k.p1487b0.p1488c.InterfaceC38193a

/* renamed from: e */

public final LocationManager mo93453invoke() {

LocationManager m78332b = this.f27707e0.m78332b();

if (m78332b != null) {

return m78332b;

}

throw new RuntimeException("Location Manager not found");

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$j */

/* loaded from: classes2.dex */

public static final class C11152j<T, R> implements InterfaceC37177n<T, R> {

C11152j() {

}

/* renamed from: a */

public final boolean m63175a(Long l) {

C38229m.m2118g(l, "it");

return FraudDetector.this.m63190t();

}

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: apply */

public /* bridge */ /* synthetic */ Object mo83915a(Object obj) {

return Boolean.valueOf(m63175a((Long) obj));

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$k */

/* loaded from: classes2.dex */

public static final class C11153k<T, R> implements InterfaceC37177n<T, R> {

C11153k() {

}

/* renamed from: a */

public final boolean m63174a(C3094g<Boolean> c3094g) {

C38229m.m2118g(c3094g, "it");

return C38229m.m2123b(c3094g.m83997d(), Boolean.TRUE) && !FraudDetector.this.m63193q();

}

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: apply */

public /* bridge */ /* synthetic */ Object mo83915a(Object obj) {

return Boolean.valueOf(m63174a((C3094g) obj));

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$l */

/* loaded from: classes2.dex */

public static final class C11154l<T, R> implements InterfaceC37177n<T, R> {

C11154l() {

}

/* renamed from: a */

public final boolean m63173a(C3094g<Boolean> c3094g) {

C38229m.m2118g(c3094g, "it");

return (C38229m.m2123b(c3094g.m83997d(), Boolean.TRUE) && !FraudDetector.this.m63194p()) && C5440l.m77699b(FraudDetector.this.f27696p, null, 1, null);

}

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: apply */

public /* bridge */ /* synthetic */ Object mo83915a(Object obj) {

return Boolean.valueOf(m63173a((C3094g) obj));

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$m */

/* loaded from: classes2.dex */

public static final class C11155m<T, R> implements InterfaceC37177n<T, InterfaceC38128s<? extends R>> {

C11155m() {

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: a */

public final AbstractC37163o<Boolean> mo83915a(Boolean bool) {

C38229m.m2118g(bool, "should");

if (bool.booleanValue()) {

return AbstractC37163o.m3047q(Boolean.valueOf(FraudDetector.this.m63187w()));

}

return AbstractC37163o.m3055i();

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$n */

/* loaded from: classes2.dex */

public static final class C11156n<T, R> implements InterfaceC37177n<T, InterfaceC38857a<? extends R>> {

C11156n() {

}

/* JADX DEBUG: Method merged with bridge method */

@Override // p1440i.p1451c.p1455o0.InterfaceC37177n

/* renamed from: a */

public final AbstractC37141k<Boolean> mo83915a(Boolean bool) {

C38229m.m2118g(bool, "should");

if (bool.booleanValue()) {

return FraudDetector.this.m63188v();

}

AbstractC37141k<Boolean> m3112n = AbstractC37141k.m3112n();

C38229m.m2122c(m3112n, "Flowable.empty()");

return m3112n;

}

}

/* JADX INFO: Access modifiers changed from: package-private */

/* compiled from: FraudDetector.kt */

/* renamed from: com.doordash.driverapp.z1.p8$o */

/* loaded from: classes2.dex */

public static final class C11157o extends AbstractC38230n implements InterfaceC38203l<Throwable, C38338v> {

/* renamed from: e0 */

public static final C11157o f27713e0 = new C11157o();

C11157o() {

super(1);

}

/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */

/* JADX DEBUG: Return type fixed from 'java.lang.Object' to match base method */

@Override // p1485k.p1487b0.p1488c.InterfaceC38203l

/* renamed from: invoke */

public /* bridge */ /* synthetic */ C38338v mo83126a(Throwable th) {

invoke2(th);

return C38338v.f111649a;

}

/* renamed from: invoke */

public final void invoke2(Throwable th) {

C38229m.m2118g(th, "it");

C3667d.m82780o(th, null, new Object[0], 2, null);

}

}

public FraudDetector(C1122a c1122a, C5491t0 c5491t0, C5403c0 c5403c0, C10542a c10542a, C5429i0 c5429i0, C5425h c5425h, C5440l c5440l, Identity identity, AbstractC37122c0 abstractC37122c0, C5398a1 c5398a1) {

InterfaceC38276h m1878a;

InterfaceC38276h m1878a2;

C38229m.m2118g(c1122a, "localBroadcastManager");

C38229m.m2118g(c5491t0, "secureSettingsWrapper");

C38229m.m2118g(c5403c0, "intentFilterWrapper");

C38229m.m2118g(c10542a, "experiments");

C38229m.m2118g(c5429i0, "osVersionHelper");

C38229m.m2118g(c5425h, "contextWrapper");

C38229m.m2118g(c5440l, "deviceUtils");

C38229m.m2118g(identity, Constants.Network.ContentType.IDENTITY);

C38229m.m2118g(abstractC37122c0, "computationScheduler");

C38229m.m2118g(c5398a1, "services");

this.f27690j = c1122a;

this.f27691k = c5491t0;

this.f27692l = c5403c0;

this.f27693m = c10542a;

this.f27694n = c5429i0;

this.f27695o = c5425h;

this.f27696p = c5440l;

this.f27697q = identity;

this.f27698r = abstractC37122c0;

this.f27682b = new AtomicBoolean(false);

m1878a = C38325j.m1878a(C11143a.f27699e0);

this.f27685e = m1878a;

m1878a2 = C38325j.m1878a(new C11151i(c5398a1));

this.f27686f = m1878a2;

this.f27687g = "gps";

InterfaceC37145b m3083b = C37146c.m3083b();

C38229m.m2122c(m3083b, "Disposables.empty()");

this.f27688h = m3083b;

InterfaceC37145b m3084a = C37146c.m3084a();

C38229m.m2122c(m3084a, "Disposables.disposed()");

this.f27689i = m3084a;

}

/* JADX DEBUG: Type inference failed for r0v1. Raw type applied. Possible types: i.c.d0<R>, java.lang.Object, i.c.d0<java.lang.Boolean> */

/* renamed from: B */

private final AbstractC37128d0<Boolean> m63212B() {

AbstractC37128d0 m3189t0 = m63192r().m3189t0(new C11154l());

C38229m.m2122c(m3189t0, "isEmulationExperimentEna…lator()\n }");

return m3189t0;

}

/* renamed from: j */

private final FraudDetectionBroadcastReceiver m63200j() {

return (FraudDetectionBroadcastReceiver) this.f27685e.getValue();

}

/* renamed from: k */

private final LocationManager m63199k() {

return (LocationManager) this.f27686f.getValue();

}

/* renamed from: n */

private final boolean m63196n() {

return this.f27695o.m77751a("android.permission.ACCESS_COARSE_LOCATION") == 0 && this.f27695o.m77751a("android.permission.ACCESS_FINE_LOCATION") == 0;

}

/* JADX INFO: Access modifiers changed from: private */

/* renamed from: p */

public final boolean m63194p() {

return !this.f27684d && this.f27681a;

}

/* JADX INFO: Access modifiers changed from: private */

/* renamed from: q */

public final boolean m63193q() {

return !this.f27683c && this.f27681a;

}

/* renamed from: r */

private final AbstractC37128d0<C3094g<Boolean>> m63192r() {

return this.f27693m.m64653f("m_dx_android_emulation_prevention");

}

/* renamed from: s */

private final AbstractC37128d0<C3094g<Boolean>> m63191s() {

return this.f27693m.m64653f("m_dx_android_geo_spoofing_prevention");

}

/* JADX INFO: Access modifiers changed from: private */

/* renamed from: t */

public final boolean m63190t() {

boolean z = false;

if (m63196n()) {

if (this.f27694n.m77743a() < 23) {

if (!this.f27691k.m77596b()) {

z = true;

}

} else {

try {

Location lastKnownLocation = m63199k().getLastKnownLocation(this.f27687g);

if (lastKnownLocation != null) {

boolean isFromMockProvider = lastKnownLocation.isFromMockProvider();

if (isFromMockProvider) {

C5408d.m78280D3();

}

z = isFromMockProvider;

}

} catch (SecurityException e) {

C3667d.m82780o(e, null, new Object[0], 2, null);

}

}

}

if (z) {

m63186x();

}

return z;

}

/* JADX DEBUG: Type inference failed for r0v2. Raw type applied. Possible types: i.c.k<R>, java.lang.Object, i.c.k<java.lang.Boolean> */

/* JADX INFO: Access modifiers changed from: private */

/* renamed from: v */

public final AbstractC37141k<Boolean> m63188v() {

AbstractC37141k m3149M = AbstractC37141k.m3151K(0L, 30L, TimeUnit.SECONDS, this.f27698r).m3149M(new C11152j());

C38229m.m2122c(m3149M, "Flowable\n ….map { isMockLocation() }");

return m3149M;

}

/* JADX INFO: Access modifiers changed from: private */

/* renamed from: w */

public final boolean m63187w() {

return this.f27690j.m89616d(new Intent("com.doordash.driverapp.ui.e_d"));

}

/* renamed from: x */

private final boolean m63186x() {

return this.f27690j.m89616d(new Intent("com.doordash.driverapp.ui.g_s_d"));

}

/* JADX DEBUG: Type inference failed for r0v1. Raw type applied. Possible types: i.c.d0<R>, java.lang.Object, i.c.d0<java.lang.Boolean> */

/* renamed from: A */

public final AbstractC37128d0<Boolean> m63213A() {

AbstractC37128d0 m3189t0 = m63191s().m3189t0(new C11153k());

C38229m.m2122c(m3189t0, "isGeoSpoofingExperimentE…onCheck\n }");

return m3189t0;

}

/* renamed from: C */

public final void m63211C() {

this.f27688h.dispose();

AbstractC37119b m3153I = m63212B().m3236d0(new C11155m()).m3042v(AbstractC37163o.m3055i()).m3064G().m3104r0(m63213A().m3231f0(new C11156n())).m3153I();

C38229m.m2122c(m3153I, "shouldShowEmulationScree… .ignoreElements()");

this.f27688h = C38143d.m2213i(m3153I, C11157o.f27713e0, null, 2, null);

}

/* renamed from: D */

public final void m63210D() {

this.f27688h.dispose();

}

/* renamed from: l */

public final boolean m63198l() {

return this.f27684d;

}

/* renamed from: m */

public final boolean m63197m() {

return this.f27683c;

}

/* renamed from: o */

public final void m63195o() {

this.f27689i.dispose();

if (!this.f27682b.get()) {

this.f27682b.set(true);

C1122a c1122a = this.f27690j;

FraudDetectionBroadcastReceiver m63200j = m63200j();

IntentFilter m78321a = this.f27692l.m78321a();

m78321a.addAction("com.doordash.driverapp.ui.g_s_d");

m78321a.addAction("com.doordash.driverapp.ui.e_d");

c1122a.m89617c(m63200j, m78321a);

}

AbstractC37141k m3108p0 = this.f27697q.m83065i().toFlowable(EnumC37117a.BUFFER).m3090z(new C11144b()).m3108p0(this.f27698r);

C38229m.m2122c(m3108p0, "identity.getTokenUpdates…eOn(computationScheduler)");

this.f27689i = C38143d.m2212j(m3108p0, new C11146d(), null, new C11145c(), 2, null);

}

/* renamed from: u */

public final AbstractC37128d0<C3094g<Boolean>> m63189u() {

AbstractC37128d0<C3094g<Boolean>> m3189t0 = m63212B().m3236d0(new C11147e()).m3042v(AbstractC37163o.m3055i()).m3065F(m63213A().m3189t0(new C11148f())).m3273L0(C11149g.f27705e0).m3189t0(C11150h.f27706e0);

C38229m.m2122c(m3189t0, "shouldShowEmulationScree…p { Outcome.success(it) }");

return m3189t0;

}

/* renamed from: y */

public final void m63185y(boolean z) {

this.f27684d = z;

}

/* renamed from: z */

public final void m63184z(boolean z) {

this.f27683c = z;

}

}