67 lines
1.6 KiB
Java
67 lines
1.6 KiB
Java
|
package com.facetec.sdk;
|
||
|
|
||
|
import java.net.InetSocketAddress;
|
||
|
import java.net.Proxy;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collections;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class lb {
|
||
|
List<Proxy> a;
|
||
|
final jo b;
|
||
|
final jx c;
|
||
|
final kv d;
|
||
|
final jj e;
|
||
|
int i;
|
||
|
List<InetSocketAddress> j = Collections.emptyList();
|
||
|
final List<kj> g = new ArrayList();
|
||
|
|
||
|
public lb(jj jjVar, kv kvVar, jo joVar, jx jxVar) {
|
||
|
List<Proxy> d;
|
||
|
this.a = Collections.emptyList();
|
||
|
this.e = jjVar;
|
||
|
this.d = kvVar;
|
||
|
this.b = joVar;
|
||
|
this.c = jxVar;
|
||
|
kc b2 = jjVar.b();
|
||
|
Proxy proxy = jjVar.b;
|
||
|
if (proxy != null) {
|
||
|
d = Collections.singletonList(proxy);
|
||
|
} else {
|
||
|
List<Proxy> select = jjVar.c().select(b2.e());
|
||
|
if (select != null && !select.isEmpty()) {
|
||
|
d = km.e(select);
|
||
|
} else {
|
||
|
d = km.d(Proxy.NO_PROXY);
|
||
|
}
|
||
|
}
|
||
|
this.a = d;
|
||
|
this.i = 0;
|
||
|
}
|
||
|
|
||
|
public final boolean b() {
|
||
|
return c() || !this.g.isEmpty();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final boolean c() {
|
||
|
return this.i < this.a.size();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class b {
|
||
|
final List<kj> a;
|
||
|
int b = 0;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public b(List<kj> list) {
|
||
|
this.a = list;
|
||
|
}
|
||
|
|
||
|
public final boolean b() {
|
||
|
return this.b < this.a.size();
|
||
|
}
|
||
|
}
|
||
|
}
|