Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class zza implements IInterface {
|
||||
private final IBinder zza;
|
||||
private final String zzb;
|
||||
|
||||
public zza(IBinder iBinder, String str) {
|
||||
this.zza = iBinder;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public final IBinder asBinder() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public final Parcel zzB(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
try {
|
||||
try {
|
||||
this.zza.transact(i, parcel, obtain, 0);
|
||||
obtain.readException();
|
||||
return obtain;
|
||||
} catch (RuntimeException e4) {
|
||||
obtain.recycle();
|
||||
throw e4;
|
||||
}
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzC(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
try {
|
||||
this.zza.transact(1, parcel, obtain, 0);
|
||||
obtain.readException();
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
obtain.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzD(int i, Parcel parcel) throws RemoteException {
|
||||
try {
|
||||
this.zza.transact(2, parcel, null, 1);
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
public final Parcel zza() {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
obtain.writeInterfaceToken(this.zzb);
|
||||
return obtain;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
class zzaa extends zzab {
|
||||
Object[] zza = new Object[4];
|
||||
int zzb = 0;
|
||||
boolean zzc;
|
||||
|
||||
public zzaa(int i) {
|
||||
}
|
||||
|
||||
private final void zzb(int i) {
|
||||
Object[] objArr = this.zza;
|
||||
int length = objArr.length;
|
||||
if (length >= i) {
|
||||
if (this.zzc) {
|
||||
this.zza = (Object[]) objArr.clone();
|
||||
this.zzc = false;
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
int i4 = length + (length >> 1) + 1;
|
||||
if (i4 < i) {
|
||||
int highestOneBit = Integer.highestOneBit(i - 1);
|
||||
i4 = highestOneBit + highestOneBit;
|
||||
}
|
||||
if (i4 < 0) {
|
||||
i4 = Integer.MAX_VALUE;
|
||||
}
|
||||
this.zza = Arrays.copyOf(objArr, i4);
|
||||
this.zzc = false;
|
||||
}
|
||||
|
||||
public final zzaa zza(Object obj) {
|
||||
obj.getClass();
|
||||
zzb(this.zzb + 1);
|
||||
Object[] objArr = this.zza;
|
||||
int i = this.zzb;
|
||||
this.zzb = i + 1;
|
||||
objArr[i] = obj;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class zzab {
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.AbstractCollection;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzac extends AbstractCollection implements Serializable {
|
||||
private static final Object[] zza = new Object[0];
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final boolean add(Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final boolean addAll(Collection collection) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final void clear() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final boolean remove(Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final boolean removeAll(Collection collection) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
@Deprecated
|
||||
public final boolean retainAll(Collection collection) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public final Object[] toArray() {
|
||||
return toArray(zza);
|
||||
}
|
||||
|
||||
public int zza(Object[] objArr, int i) {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public int zzb() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public int zzc() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public zzag zzd() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable
|
||||
/* renamed from: zze, reason: merged with bridge method [inline-methods] */
|
||||
public abstract zzaj iterator();
|
||||
|
||||
public abstract boolean zzf();
|
||||
|
||||
public Object[] zzg() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public final Object[] toArray(Object[] objArr) {
|
||||
objArr.getClass();
|
||||
int size = size();
|
||||
int length = objArr.length;
|
||||
if (length < size) {
|
||||
Object[] zzg = zzg();
|
||||
if (zzg == null) {
|
||||
objArr = (Object[]) Array.newInstance(objArr.getClass().getComponentType(), size);
|
||||
} else {
|
||||
return Arrays.copyOfRange(zzg, zzc(), zzb(), objArr.getClass());
|
||||
}
|
||||
} else if (length > size) {
|
||||
objArr[size] = null;
|
||||
}
|
||||
zza(objArr, 0);
|
||||
return objArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzad extends zzaa {
|
||||
public zzad() {
|
||||
super(4);
|
||||
}
|
||||
|
||||
public final zzad zzb(Object obj) {
|
||||
zza(obj);
|
||||
return this;
|
||||
}
|
||||
|
||||
public final zzad zzc(Iterator it) {
|
||||
while (it.hasNext()) {
|
||||
zza(it.next());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public zzad(int i) {
|
||||
super(4);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzae extends zzz {
|
||||
private final zzag zza;
|
||||
|
||||
public zzae(zzag zzagVar, int i) {
|
||||
super(zzagVar.size(), i);
|
||||
this.zza = zzagVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzz
|
||||
public final Object zza(int i) {
|
||||
return this.zza.get(i);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzaf extends zzag {
|
||||
final transient int zza;
|
||||
final transient int zzb;
|
||||
final /* synthetic */ zzag zzc;
|
||||
|
||||
public zzaf(zzag zzagVar, int i, int i4) {
|
||||
this.zzc = zzagVar;
|
||||
this.zza = i;
|
||||
this.zzb = i4;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final Object get(int i) {
|
||||
zzs.zza(i, this.zzb, FirebaseAnalytics.Param.INDEX);
|
||||
return this.zzc.get(i + this.zza);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public final int size() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final int zzb() {
|
||||
return this.zzc.zzc() + this.zza + this.zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final int zzc() {
|
||||
return this.zzc.zzc() + this.zza;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final boolean zzf() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final Object[] zzg() {
|
||||
return this.zzc.zzg();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzag, java.util.List
|
||||
/* renamed from: zzh, reason: merged with bridge method [inline-methods] */
|
||||
public final zzag subList(int i, int i4) {
|
||||
zzs.zzc(i, i4, this.zzb);
|
||||
zzag zzagVar = this.zzc;
|
||||
int i5 = this.zza;
|
||||
return zzagVar.subList(i + i5, i4 + i5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.RandomAccess;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzag extends zzac implements List, RandomAccess {
|
||||
private static final zzak zza = new zzae(zzai.zza, 0);
|
||||
|
||||
public static zzag zzi(Object[] objArr, int i) {
|
||||
return i == 0 ? zzai.zza : new zzai(objArr, i);
|
||||
}
|
||||
|
||||
public static zzag zzj(Iterable iterable) {
|
||||
iterable.getClass();
|
||||
if (iterable instanceof Collection) {
|
||||
return zzk((Collection) iterable);
|
||||
}
|
||||
Iterator it = iterable.iterator();
|
||||
if (!it.hasNext()) {
|
||||
return zzai.zza;
|
||||
}
|
||||
Object next = it.next();
|
||||
if (!it.hasNext()) {
|
||||
return zzm(next);
|
||||
}
|
||||
zzad zzadVar = new zzad(4);
|
||||
zzadVar.zzb(next);
|
||||
zzadVar.zzc(it);
|
||||
zzadVar.zzc = true;
|
||||
return zzi(zzadVar.zza, zzadVar.zzb);
|
||||
}
|
||||
|
||||
public static zzag zzk(Collection collection) {
|
||||
if (!(collection instanceof zzac)) {
|
||||
Object[] array = collection.toArray();
|
||||
int length = array.length;
|
||||
zzah.zza(array, length);
|
||||
return zzi(array, length);
|
||||
}
|
||||
zzag zzd = ((zzac) collection).zzd();
|
||||
if (!zzd.zzf()) {
|
||||
return zzd;
|
||||
}
|
||||
Object[] array2 = zzd.toArray();
|
||||
return zzi(array2, array2.length);
|
||||
}
|
||||
|
||||
public static zzag zzl() {
|
||||
return zzai.zza;
|
||||
}
|
||||
|
||||
public static zzag zzm(Object obj) {
|
||||
Object[] objArr = {obj};
|
||||
zzah.zza(objArr, 1);
|
||||
return zzi(objArr, 1);
|
||||
}
|
||||
|
||||
public static zzag zzn(Object obj, Object obj2) {
|
||||
Object[] objArr = {obj, obj2};
|
||||
zzah.zza(objArr, 2);
|
||||
return zzi(objArr, 2);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
@Deprecated
|
||||
public final void add(int i, Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
@Deprecated
|
||||
public final boolean addAll(int i, Collection collection) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public final boolean contains(Object obj) {
|
||||
return indexOf(obj) >= 0;
|
||||
}
|
||||
|
||||
@Override // java.util.Collection, java.util.List
|
||||
public final boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof List)) {
|
||||
return false;
|
||||
}
|
||||
List list = (List) obj;
|
||||
int size = size();
|
||||
if (size != list.size()) {
|
||||
return false;
|
||||
}
|
||||
if (list instanceof RandomAccess) {
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (!zzr.zza(get(i), list.get(i))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Iterator it = iterator();
|
||||
Iterator it2 = list.iterator();
|
||||
while (it.hasNext()) {
|
||||
if (!it2.hasNext() || !zzr.zza(it.next(), it2.next())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return !it2.hasNext();
|
||||
}
|
||||
|
||||
@Override // java.util.Collection, java.util.List
|
||||
public final int hashCode() {
|
||||
int size = size();
|
||||
int i = 1;
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
i = (i * 31) + get(i4).hashCode();
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final int indexOf(Object obj) {
|
||||
if (obj == null) {
|
||||
return -1;
|
||||
}
|
||||
int size = size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (obj.equals(get(i))) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac, java.util.AbstractCollection, java.util.Collection, java.lang.Iterable
|
||||
public final /* synthetic */ Iterator iterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final int lastIndexOf(Object obj) {
|
||||
if (obj == null) {
|
||||
return -1;
|
||||
}
|
||||
for (int size = size() - 1; size >= 0; size--) {
|
||||
if (obj.equals(get(size))) {
|
||||
return size;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final /* synthetic */ ListIterator listIterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
@Deprecated
|
||||
public final Object remove(int i) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
@Deprecated
|
||||
public final Object set(int i, Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public int zza(Object[] objArr, int i) {
|
||||
int size = size();
|
||||
for (int i4 = 0; i4 < size; i4++) {
|
||||
objArr[i4] = get(i4);
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
@Deprecated
|
||||
public final zzag zzd() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
/* renamed from: zze */
|
||||
public final zzaj iterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
/* renamed from: zzh */
|
||||
public zzag subList(int i, int i4) {
|
||||
zzs.zzc(i, i4, size());
|
||||
int i5 = i4 - i;
|
||||
return i5 == size() ? this : i5 == 0 ? zzai.zza : new zzaf(this, i, i5);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
/* renamed from: zzo, reason: merged with bridge method [inline-methods] */
|
||||
public final zzak listIterator(int i) {
|
||||
zzs.zzb(i, size(), FirebaseAnalytics.Param.INDEX);
|
||||
return isEmpty() ? zza : new zzae(this, i);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzah {
|
||||
public static Object[] zza(Object[] objArr, int i) {
|
||||
for (int i4 = 0; i4 < i; i4++) {
|
||||
if (objArr[i4] == null) {
|
||||
throw new NullPointerException(a.l(i4, "at index "));
|
||||
}
|
||||
}
|
||||
return objArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzai extends zzag {
|
||||
static final zzag zza = new zzai(new Object[0], 0);
|
||||
final transient Object[] zzb;
|
||||
private final transient int zzc;
|
||||
|
||||
public zzai(Object[] objArr, int i) {
|
||||
this.zzb = objArr;
|
||||
this.zzc = i;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final Object get(int i) {
|
||||
zzs.zza(i, this.zzc, FirebaseAnalytics.Param.INDEX);
|
||||
Object obj = this.zzb[i];
|
||||
obj.getClass();
|
||||
return obj;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
||||
public final int size() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzag, com.google.android.gms.internal.common.zzac
|
||||
public final int zza(Object[] objArr, int i) {
|
||||
System.arraycopy(this.zzb, 0, objArr, 0, this.zzc);
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final int zzb() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final int zzc() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final boolean zzf() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
public final Object[] zzg() {
|
||||
return this.zzb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzaj implements Iterator {
|
||||
@Override // java.util.Iterator
|
||||
@Deprecated
|
||||
public final void remove() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.ListIterator;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzak extends zzaj implements ListIterator {
|
||||
@Override // java.util.ListIterator
|
||||
@Deprecated
|
||||
public final void add(Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
@Deprecated
|
||||
public final void set(Object obj) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.Binder;
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class zzb extends Binder implements IInterface {
|
||||
public zzb(String str) {
|
||||
attachInterface(this, str);
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public final IBinder asBinder() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override // android.os.Binder
|
||||
public final boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
if (i <= 16777215) {
|
||||
parcel.enforceInterface(getInterfaceDescriptor());
|
||||
} else if (super.onTransact(i, parcel, parcel2, i4)) {
|
||||
return true;
|
||||
}
|
||||
return zza(i, parcel, parcel2, i4);
|
||||
}
|
||||
|
||||
public boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.BadParcelableException;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzc {
|
||||
private static final ClassLoader zza = zzc.class.getClassLoader();
|
||||
|
||||
private zzc() {
|
||||
}
|
||||
|
||||
public static Parcelable zza(Parcel parcel, Parcelable.Creator creator) {
|
||||
if (parcel.readInt() == 0) {
|
||||
return null;
|
||||
}
|
||||
return (Parcelable) creator.createFromParcel(parcel);
|
||||
}
|
||||
|
||||
public static void zzb(Parcel parcel) {
|
||||
int dataAvail = parcel.dataAvail();
|
||||
if (dataAvail > 0) {
|
||||
throw new BadParcelableException(a.l(dataAvail, "Parcel data not fully consumed, unread size: "));
|
||||
}
|
||||
}
|
||||
|
||||
public static void zzc(Parcel parcel, boolean z3) {
|
||||
parcel.writeInt(z3 ? 1 : 0);
|
||||
}
|
||||
|
||||
public static void zzd(Parcel parcel, Parcelable parcelable) {
|
||||
if (parcelable == null) {
|
||||
parcel.writeInt(0);
|
||||
} else {
|
||||
parcel.writeInt(1);
|
||||
parcelable.writeToParcel(parcel, 0);
|
||||
}
|
||||
}
|
||||
|
||||
public static void zze(Parcel parcel, Parcelable parcelable) {
|
||||
if (parcelable == null) {
|
||||
parcel.writeInt(0);
|
||||
} else {
|
||||
parcel.writeInt(1);
|
||||
parcelable.writeToParcel(parcel, 1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void zzf(Parcel parcel, IInterface iInterface) {
|
||||
if (iInterface == null) {
|
||||
parcel.writeStrongBinder(null);
|
||||
} else {
|
||||
parcel.writeStrongBinder(iInterface.asBinder());
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean zzg(Parcel parcel) {
|
||||
return parcel.readInt() != 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzd {
|
||||
public static final int zza = 67108864;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zze {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzg implements zze {
|
||||
private zzg() {
|
||||
}
|
||||
|
||||
public /* synthetic */ zzg(zzf zzfVar) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzh {
|
||||
private static final zze zza;
|
||||
private static volatile zze zzb;
|
||||
|
||||
static {
|
||||
zzg zzgVar = new zzg(null);
|
||||
zza = zzgVar;
|
||||
zzb = zzgVar;
|
||||
}
|
||||
|
||||
public static zze zza() {
|
||||
return zzb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class zzi extends Handler {
|
||||
public zzi() {
|
||||
}
|
||||
|
||||
public zzi(Looper looper) {
|
||||
super(looper);
|
||||
}
|
||||
|
||||
public zzi(Looper looper, Handler.Callback callback) {
|
||||
super(looper, callback);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
abstract class zzj implements Iterator {
|
||||
private Object zza;
|
||||
private int zzb = 2;
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final boolean hasNext() {
|
||||
int i = this.zzb;
|
||||
if (i == 4) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
int i4 = i - 1;
|
||||
if (i == 0) {
|
||||
throw null;
|
||||
}
|
||||
if (i4 == 0) {
|
||||
return true;
|
||||
}
|
||||
if (i4 != 2) {
|
||||
this.zzb = 4;
|
||||
this.zza = zza();
|
||||
if (this.zzb != 3) {
|
||||
this.zzb = 1;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final Object next() {
|
||||
if (!hasNext()) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
this.zzb = 2;
|
||||
Object obj = this.zza;
|
||||
this.zza = null;
|
||||
return obj;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final void remove() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public abstract Object zza();
|
||||
|
||||
public final Object zzb() {
|
||||
this.zzb = 3;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
abstract class zzk extends zzo {
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzl extends zzk {
|
||||
private final char zza;
|
||||
|
||||
public zzl(char c4) {
|
||||
this.zza = c4;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder("CharMatcher.is('");
|
||||
int i = this.zza;
|
||||
char[] cArr = new char[6];
|
||||
cArr[0] = '\\';
|
||||
cArr[1] = 'u';
|
||||
cArr[2] = 0;
|
||||
cArr[3] = 0;
|
||||
cArr[4] = 0;
|
||||
cArr[5] = 0;
|
||||
for (int i4 = 0; i4 < 4; i4++) {
|
||||
cArr[5 - i4] = "0123456789ABCDEF".charAt(i & 15);
|
||||
i >>= 4;
|
||||
}
|
||||
sb.append(String.copyValueOf(cArr));
|
||||
sb.append("')");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzo
|
||||
public final boolean zza(char c4) {
|
||||
return c4 == this.zza;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
abstract class zzm extends zzk {
|
||||
private final String zza = "CharMatcher.none()";
|
||||
|
||||
public zzm(String str) {
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return this.zza;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzn extends zzm {
|
||||
static final zzn zza = new zzn();
|
||||
|
||||
private zzn() {
|
||||
super("CharMatcher.none()");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzo
|
||||
public final boolean zza(char c4) {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzo {
|
||||
public static zzo zzb(char c4) {
|
||||
return new zzl(c4);
|
||||
}
|
||||
|
||||
public abstract boolean zza(char c4);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
class zzp {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzq {
|
||||
public static final CharSequence zza(Object obj, String str) {
|
||||
obj.getClass();
|
||||
return obj instanceof CharSequence ? (CharSequence) obj : obj.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzr extends zzp {
|
||||
public static boolean zza(Object obj, Object obj2) {
|
||||
if (obj != obj2) {
|
||||
return obj != null && obj.equals(obj2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzs {
|
||||
public static int zza(int i, int i4, String str) {
|
||||
String zza;
|
||||
if (i >= 0 && i < i4) {
|
||||
return i;
|
||||
}
|
||||
if (i < 0) {
|
||||
zza = zzy.zza("%s (%s) must not be negative", FirebaseAnalytics.Param.INDEX, Integer.valueOf(i));
|
||||
} else {
|
||||
if (i4 < 0) {
|
||||
throw new IllegalArgumentException(a.l(i4, "negative size: "));
|
||||
}
|
||||
zza = zzy.zza("%s (%s) must be less than size (%s)", FirebaseAnalytics.Param.INDEX, Integer.valueOf(i), Integer.valueOf(i4));
|
||||
}
|
||||
throw new IndexOutOfBoundsException(zza);
|
||||
}
|
||||
|
||||
public static int zzb(int i, int i4, String str) {
|
||||
if (i < 0 || i > i4) {
|
||||
throw new IndexOutOfBoundsException(zzd(i, i4, FirebaseAnalytics.Param.INDEX));
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public static void zzc(int i, int i4, int i5) {
|
||||
if (i < 0 || i4 < i || i4 > i5) {
|
||||
throw new IndexOutOfBoundsException((i < 0 || i > i5) ? zzd(i, i5, "start index") : (i4 < 0 || i4 > i5) ? zzd(i4, i5, "end index") : zzy.zza("end index (%s) must not be less than start index (%s)", Integer.valueOf(i4), Integer.valueOf(i)));
|
||||
}
|
||||
}
|
||||
|
||||
private static String zzd(int i, int i4, String str) {
|
||||
if (i < 0) {
|
||||
return zzy.zza("%s (%s) must not be negative", str, Integer.valueOf(i));
|
||||
}
|
||||
if (i4 >= 0) {
|
||||
return zzy.zza("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i4));
|
||||
}
|
||||
throw new IllegalArgumentException(a.l(i4, "negative size: "));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzt extends zzw {
|
||||
final /* synthetic */ zzu zza;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzt(zzu zzuVar, zzx zzxVar, CharSequence charSequence) {
|
||||
super(zzxVar, charSequence);
|
||||
this.zza = zzuVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzw
|
||||
public final int zzc(int i) {
|
||||
return i + 1;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzw
|
||||
public final int zzd(int i) {
|
||||
zzo zzoVar = this.zza.zza;
|
||||
CharSequence charSequence = ((zzw) this).zzb;
|
||||
int length = charSequence.length();
|
||||
zzs.zzb(i, length, FirebaseAnalytics.Param.INDEX);
|
||||
while (i < length) {
|
||||
if (zzoVar.zza(charSequence.charAt(i))) {
|
||||
return i;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzu {
|
||||
final /* synthetic */ zzo zza;
|
||||
|
||||
public zzu(zzo zzoVar) {
|
||||
this.zza = zzoVar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzv implements Iterable {
|
||||
final /* synthetic */ CharSequence zza;
|
||||
final /* synthetic */ zzx zzb;
|
||||
|
||||
public zzv(zzx zzxVar, CharSequence charSequence) {
|
||||
this.zzb = zzxVar;
|
||||
this.zza = charSequence;
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public final Iterator iterator() {
|
||||
Iterator zzh;
|
||||
zzh = this.zzb.zzh(this.zza);
|
||||
return zzh;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append('[');
|
||||
Iterator it = iterator();
|
||||
try {
|
||||
if (it.hasNext()) {
|
||||
sb.append(zzq.zza(it.next(), ", "));
|
||||
while (it.hasNext()) {
|
||||
sb.append((CharSequence) ", ");
|
||||
sb.append(zzq.zza(it.next(), ", "));
|
||||
}
|
||||
}
|
||||
sb.append(']');
|
||||
return sb.toString();
|
||||
} catch (IOException e4) {
|
||||
throw new AssertionError(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzw extends zzj {
|
||||
final CharSequence zzb;
|
||||
final zzo zzc;
|
||||
final boolean zzd;
|
||||
int zze = 0;
|
||||
int zzf;
|
||||
|
||||
public zzw(zzx zzxVar, CharSequence charSequence) {
|
||||
zzo zzoVar;
|
||||
boolean z3;
|
||||
zzoVar = zzxVar.zza;
|
||||
this.zzc = zzoVar;
|
||||
z3 = zzxVar.zzb;
|
||||
this.zzd = z3;
|
||||
this.zzf = Integer.MAX_VALUE;
|
||||
this.zzb = charSequence;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:20:0x0047, code lost:
|
||||
|
||||
r3 = r5.zzf;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:21:0x004a, code lost:
|
||||
|
||||
if (r3 != 1) goto L26;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:22:0x004c, code lost:
|
||||
|
||||
r1 = r5.zzb.length();
|
||||
r5.zze = -1;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:23:0x0054, code lost:
|
||||
|
||||
if (r1 <= r0) goto L27;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:24:0x0056, code lost:
|
||||
|
||||
r5.zzb.charAt(r1 - 1);
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:26:0x006b, code lost:
|
||||
|
||||
return r5.zzb.subSequence(r0, r1).toString();
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:28:0x005e, code lost:
|
||||
|
||||
r5.zzf = r3 - 1;
|
||||
*/
|
||||
@Override // com.google.android.gms.internal.common.zzj
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final /* bridge */ /* synthetic */ java.lang.Object zza() {
|
||||
/*
|
||||
r5 = this;
|
||||
int r0 = r5.zze
|
||||
L2:
|
||||
int r1 = r5.zze
|
||||
r2 = -1
|
||||
if (r1 == r2) goto L6c
|
||||
int r1 = r5.zzd(r1)
|
||||
if (r1 != r2) goto L17
|
||||
java.lang.CharSequence r1 = r5.zzb
|
||||
int r1 = r1.length()
|
||||
r5.zze = r2
|
||||
r3 = r2
|
||||
goto L1d
|
||||
L17:
|
||||
int r3 = r5.zzc(r1)
|
||||
r5.zze = r3
|
||||
L1d:
|
||||
if (r3 != r0) goto L2e
|
||||
int r3 = r3 + 1
|
||||
r5.zze = r3
|
||||
java.lang.CharSequence r1 = r5.zzb
|
||||
int r1 = r1.length()
|
||||
if (r3 <= r1) goto L2
|
||||
r5.zze = r2
|
||||
goto L2
|
||||
L2e:
|
||||
if (r0 >= r1) goto L35
|
||||
java.lang.CharSequence r3 = r5.zzb
|
||||
r3.charAt(r0)
|
||||
L35:
|
||||
if (r0 >= r1) goto L3e
|
||||
java.lang.CharSequence r3 = r5.zzb
|
||||
int r4 = r1 + (-1)
|
||||
r3.charAt(r4)
|
||||
L3e:
|
||||
boolean r3 = r5.zzd
|
||||
if (r3 == 0) goto L47
|
||||
if (r0 != r1) goto L47
|
||||
int r0 = r5.zze
|
||||
goto L2
|
||||
L47:
|
||||
int r3 = r5.zzf
|
||||
r4 = 1
|
||||
if (r3 != r4) goto L5e
|
||||
java.lang.CharSequence r1 = r5.zzb
|
||||
int r1 = r1.length()
|
||||
r5.zze = r2
|
||||
if (r1 <= r0) goto L61
|
||||
java.lang.CharSequence r2 = r5.zzb
|
||||
int r3 = r1 + (-1)
|
||||
r2.charAt(r3)
|
||||
goto L61
|
||||
L5e:
|
||||
int r3 = r3 + r2
|
||||
r5.zzf = r3
|
||||
L61:
|
||||
java.lang.CharSequence r5 = r5.zzb
|
||||
java.lang.CharSequence r5 = r5.subSequence(r0, r1)
|
||||
java.lang.String r5 = r5.toString()
|
||||
return r5
|
||||
L6c:
|
||||
r5.zzb()
|
||||
r5 = 0
|
||||
return r5
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.common.zzw.zza():java.lang.Object");
|
||||
}
|
||||
|
||||
public abstract int zzc(int i);
|
||||
|
||||
public abstract int zzd(int i);
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzx {
|
||||
private final zzo zza;
|
||||
private final boolean zzb;
|
||||
private final zzu zzc;
|
||||
|
||||
private zzx(zzu zzuVar, boolean z3, zzo zzoVar, int i, byte[] bArr) {
|
||||
this.zzc = zzuVar;
|
||||
this.zzb = z3;
|
||||
this.zza = zzoVar;
|
||||
}
|
||||
|
||||
public static zzx zzc(zzo zzoVar) {
|
||||
return new zzx(new zzu(zzoVar), false, zzn.zza, Integer.MAX_VALUE, null);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final Iterator zzh(CharSequence charSequence) {
|
||||
return new zzt(this.zzc, this, charSequence);
|
||||
}
|
||||
|
||||
public final zzx zzb() {
|
||||
return new zzx(this.zzc, true, this.zza, Integer.MAX_VALUE, null);
|
||||
}
|
||||
|
||||
public final Iterable zzd(CharSequence charSequence) {
|
||||
return new zzv(this, charSequence);
|
||||
}
|
||||
|
||||
public final List zzf(CharSequence charSequence) {
|
||||
charSequence.getClass();
|
||||
Iterator zzh = zzh(charSequence);
|
||||
ArrayList arrayList = new ArrayList();
|
||||
while (zzh.hasNext()) {
|
||||
arrayList.add((String) zzh.next());
|
||||
}
|
||||
return Collections.unmodifiableList(arrayList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.android.gms.measurement.internal.a;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzy {
|
||||
public static String zza(String str, Object... objArr) {
|
||||
int length;
|
||||
int length2;
|
||||
int indexOf;
|
||||
String sb;
|
||||
int i = 0;
|
||||
int i4 = 0;
|
||||
while (true) {
|
||||
length = objArr.length;
|
||||
if (i4 >= length) {
|
||||
break;
|
||||
}
|
||||
Object obj = objArr[i4];
|
||||
if (obj == null) {
|
||||
sb = "null";
|
||||
} else {
|
||||
try {
|
||||
sb = obj.toString();
|
||||
} catch (Exception e4) {
|
||||
String str2 = obj.getClass().getName() + '@' + Integer.toHexString(System.identityHashCode(obj));
|
||||
Logger.getLogger("com.google.common.base.Strings").logp(Level.WARNING, "com.google.common.base.Strings", "lenientToString", "Exception during lenientFormat for ".concat(str2), (Throwable) e4);
|
||||
StringBuilder p = a.p("<", str2, " threw ");
|
||||
p.append(e4.getClass().getName());
|
||||
p.append(">");
|
||||
sb = p.toString();
|
||||
}
|
||||
}
|
||||
objArr[i4] = sb;
|
||||
i4++;
|
||||
}
|
||||
StringBuilder sb2 = new StringBuilder((length * 16) + str.length());
|
||||
int i5 = 0;
|
||||
while (true) {
|
||||
length2 = objArr.length;
|
||||
if (i >= length2 || (indexOf = str.indexOf("%s", i5)) == -1) {
|
||||
break;
|
||||
}
|
||||
sb2.append((CharSequence) str, i5, indexOf);
|
||||
sb2.append(objArr[i]);
|
||||
i++;
|
||||
i5 = indexOf + 2;
|
||||
}
|
||||
sb2.append((CharSequence) str, i5, str.length());
|
||||
if (i < length2) {
|
||||
sb2.append(" [");
|
||||
sb2.append(objArr[i]);
|
||||
for (int i6 = i + 1; i6 < objArr.length; i6++) {
|
||||
sb2.append(", ");
|
||||
sb2.append(objArr[i6]);
|
||||
}
|
||||
sb2.append(']');
|
||||
}
|
||||
return sb2.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.NoSuchElementException;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
@NullMarked
|
||||
/* loaded from: classes3.dex */
|
||||
abstract class zzz extends zzak {
|
||||
private final int zza;
|
||||
private int zzb;
|
||||
|
||||
public zzz(int i, int i4) {
|
||||
zzs.zzb(i4, i, FirebaseAnalytics.Param.INDEX);
|
||||
this.zza = i;
|
||||
this.zzb = i4;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator, java.util.ListIterator
|
||||
public final boolean hasNext() {
|
||||
return this.zzb < this.zza;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public final boolean hasPrevious() {
|
||||
return this.zzb > 0;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator, java.util.ListIterator
|
||||
public final Object next() {
|
||||
if (!hasNext()) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int i = this.zzb;
|
||||
this.zzb = i + 1;
|
||||
return zza(i);
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public final int nextIndex() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public final Object previous() {
|
||||
if (!hasPrevious()) {
|
||||
throw new NoSuchElementException();
|
||||
}
|
||||
int i = this.zzb - 1;
|
||||
this.zzb = i;
|
||||
return zza(i);
|
||||
}
|
||||
|
||||
@Override // java.util.ListIterator
|
||||
public final int previousIndex() {
|
||||
return this.zzb - 1;
|
||||
}
|
||||
|
||||
public abstract Object zza(int i);
|
||||
}
|
||||
Reference in New Issue
Block a user