Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class zza implements IInterface {
|
||||
private final IBinder zza;
|
||||
private final String zzb;
|
||||
|
||||
protected zza(IBinder iBinder, String str) {
|
||||
this.zza = iBinder;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public final IBinder asBinder() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
protected final Parcel zzB(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
try {
|
||||
try {
|
||||
this.zza.transact(i, parcel, parcelObtain, 0);
|
||||
parcelObtain.readException();
|
||||
return parcelObtain;
|
||||
} catch (RuntimeException e) {
|
||||
parcelObtain.recycle();
|
||||
throw e;
|
||||
}
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final void zzC(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
try {
|
||||
this.zza.transact(1, parcel, parcelObtain, 0);
|
||||
parcelObtain.readException();
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
parcelObtain.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final void zzD(int i, Parcel parcel) throws RemoteException {
|
||||
try {
|
||||
this.zza.transact(2, parcel, null, 1);
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final Parcel zza() {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
parcelObtain.writeInterfaceToken(this.zzb);
|
||||
return parcelObtain;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
class zzaa extends zzab {
|
||||
Object[] zza = new Object[4];
|
||||
int zzb = 0;
|
||||
boolean zzc;
|
||||
|
||||
zzaa(int i) {
|
||||
}
|
||||
|
||||
public final zzaa zza(Object obj) {
|
||||
obj.getClass();
|
||||
int i = this.zzb;
|
||||
int i2 = i + 1;
|
||||
Object[] objArr = this.zza;
|
||||
int length = objArr.length;
|
||||
if (length < i2) {
|
||||
int i3 = length + (length >> 1) + 1;
|
||||
if (i3 < i2) {
|
||||
int iHighestOneBit = Integer.highestOneBit(i);
|
||||
i3 = iHighestOneBit + iHighestOneBit;
|
||||
}
|
||||
if (i3 < 0) {
|
||||
i3 = Integer.MAX_VALUE;
|
||||
}
|
||||
this.zza = Arrays.copyOf(objArr, i3);
|
||||
this.zzc = false;
|
||||
} else if (this.zzc) {
|
||||
this.zza = (Object[]) objArr.clone();
|
||||
this.zzc = false;
|
||||
}
|
||||
Object[] objArr2 = this.zza;
|
||||
int i4 = this.zzb;
|
||||
this.zzb = i4 + 1;
|
||||
objArr2[i4] = obj;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.errorprone.annotations.DoNotMock;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@DoNotMock
|
||||
public class zzab {
|
||||
zzab() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import com.google.errorprone.annotations.DoNotMock;
|
||||
import java.io.Serializable;
|
||||
import java.util.AbstractCollection;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Spliterator;
|
||||
import java.util.Spliterators;
|
||||
import javax.annotation.CheckForNull;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@DoNotMock("Use ImmutableList.of or another implementation")
|
||||
@NullMarked
|
||||
public abstract class zzac extends AbstractCollection implements Serializable {
|
||||
private static final Object[] zza = new Object[0];
|
||||
|
||||
zzac() {
|
||||
}
|
||||
|
||||
@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(@CheckForNull 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.Collection, java.lang.Iterable
|
||||
public final Spliterator spliterator() {
|
||||
return Spliterators.spliterator(this, 1296);
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection
|
||||
public final Object[] toArray() {
|
||||
return toArray(zza);
|
||||
}
|
||||
|
||||
int zza(Object[] objArr, int i) {
|
||||
throw null;
|
||||
}
|
||||
|
||||
int zzb() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
int zzc() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
public zzag zzd() {
|
||||
throw null;
|
||||
}
|
||||
|
||||
@Override // java.util.AbstractCollection, java.util.Collection, java.lang.Iterable
|
||||
/* JADX INFO: renamed from: zze, reason: merged with bridge method [inline-methods] */
|
||||
public abstract zzaj iterator();
|
||||
|
||||
abstract boolean zzf();
|
||||
|
||||
@CheckForNull
|
||||
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[] objArrZzg = zzg();
|
||||
if (objArrZzg != null) {
|
||||
return Arrays.copyOfRange(objArrZzg, zzc(), zzb(), objArr.getClass());
|
||||
}
|
||||
if (length != 0) {
|
||||
objArr = Arrays.copyOf(objArr, 0);
|
||||
}
|
||||
objArr = Arrays.copyOf(objArr, size);
|
||||
} else if (length > size) {
|
||||
objArr[size] = null;
|
||||
}
|
||||
zza(objArr, 0);
|
||||
return objArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class zzad extends zzaa {
|
||||
public zzad() {
|
||||
super(4);
|
||||
}
|
||||
|
||||
public final zzad zzb(Object obj) {
|
||||
super.zza(obj);
|
||||
return this;
|
||||
}
|
||||
|
||||
public final zzad zzc(Iterator it) {
|
||||
while (it.hasNext()) {
|
||||
super.zza(it.next());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
zzad(int i) {
|
||||
super(4);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzae extends zzz {
|
||||
private final zzag zza;
|
||||
|
||||
zzae(zzag zzagVar, int i) {
|
||||
super(zzagVar.size(), i);
|
||||
this.zza = zzagVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzz
|
||||
protected final Object zza(int i) {
|
||||
return this.zza.get(i);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.List;
|
||||
import javax.annotation.CheckForNull;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzaf extends zzag {
|
||||
final transient int zza;
|
||||
final transient int zzb;
|
||||
final /* synthetic */ zzag zzc;
|
||||
|
||||
zzaf(zzag zzagVar, int i, int i2) {
|
||||
this.zzc = zzagVar;
|
||||
this.zza = i;
|
||||
this.zzb = i2;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final Object get(int i) {
|
||||
zzs.zza(i, this.zzb, "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.zzag, java.util.List
|
||||
public final /* bridge */ /* synthetic */ List subList(int i, int i2) {
|
||||
return subList(i, i2);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final int zzb() {
|
||||
return this.zzc.zzc() + this.zza + this.zzb;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final int zzc() {
|
||||
return this.zzc.zzc() + this.zza;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final boolean zzf() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
@CheckForNull
|
||||
final Object[] zzg() {
|
||||
return this.zzc.zzg();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzag
|
||||
/* JADX INFO: renamed from: zzh */
|
||||
public final zzag subList(int i, int i2) {
|
||||
zzs.zzc(i, i2, this.zzb);
|
||||
int i3 = this.zza;
|
||||
return this.zzc.subList(i + i3, i2 + i3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,218 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.RandomAccess;
|
||||
import javax.annotation.CheckForNull;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public abstract class zzag extends zzac implements List, RandomAccess {
|
||||
private static final zzak zza = new zzae(zzai.zza, 0);
|
||||
|
||||
zzag() {
|
||||
}
|
||||
|
||||
static zzag zzi(Object[] objArr, int i) {
|
||||
return i == 0 ? zzai.zza : new zzai(objArr, i);
|
||||
}
|
||||
|
||||
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 zzagVarZzd = ((zzac) collection).zzd();
|
||||
if (!zzagVarZzd.zzf()) {
|
||||
return zzagVarZzd;
|
||||
}
|
||||
Object[] array2 = zzagVarZzd.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(@CheckForNull Object obj) {
|
||||
return indexOf(obj) >= 0;
|
||||
}
|
||||
|
||||
@Override // java.util.Collection, java.util.List
|
||||
public final boolean equals(@CheckForNull Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (obj instanceof List) {
|
||||
List list = (List) obj;
|
||||
int size = size();
|
||||
if (size == list.size()) {
|
||||
if (list instanceof RandomAccess) {
|
||||
for (int i = 0; i < size; i++) {
|
||||
if (zzr.zza(get(i), list.get(i))) {
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Iterator it = iterator();
|
||||
Iterator it2 = list.iterator();
|
||||
while (true) {
|
||||
if (it.hasNext()) {
|
||||
if (!it2.hasNext() || !zzr.zza(it.next(), it2.next())) {
|
||||
break;
|
||||
}
|
||||
} else if (!it2.hasNext()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // java.util.Collection, java.util.List
|
||||
public final int hashCode() {
|
||||
int size = size();
|
||||
int iHashCode = 1;
|
||||
for (int i = 0; i < size; i++) {
|
||||
iHashCode = (iHashCode * 31) + get(i).hashCode();
|
||||
}
|
||||
return iHashCode;
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
public final int indexOf(@CheckForNull 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(@CheckForNull 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
|
||||
int zza(Object[] objArr, int i) {
|
||||
int size = size();
|
||||
for (int i2 = 0; i2 < size; i2++) {
|
||||
objArr[i2] = get(i2);
|
||||
}
|
||||
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
|
||||
/* JADX INFO: renamed from: zze */
|
||||
public final zzaj iterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
/* JADX INFO: renamed from: zzh, reason: merged with bridge method [inline-methods] */
|
||||
public zzag subList(int i, int i2) {
|
||||
zzs.zzc(i, i2, size());
|
||||
int i3 = i2 - i;
|
||||
return i3 == size() ? this : i3 == 0 ? zzai.zza : new zzaf(this, i, i3);
|
||||
}
|
||||
|
||||
@Override // java.util.List
|
||||
/* JADX INFO: renamed from: zzo, reason: merged with bridge method [inline-methods] */
|
||||
public final zzak listIterator(int i) {
|
||||
zzs.zzb(i, size(), "index");
|
||||
return isEmpty() ? zza : new zzae(this, 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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzah {
|
||||
static Object[] zza(Object[] objArr, int i) {
|
||||
for (int i2 = 0; i2 < i; i2++) {
|
||||
if (objArr[i2] == null) {
|
||||
throw new NullPointerException("at index " + i2);
|
||||
}
|
||||
}
|
||||
return objArr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
final class zzai extends zzag {
|
||||
static final zzag zza = new zzai(new Object[0], 0);
|
||||
final transient Object[] zzb;
|
||||
private final transient int zzc;
|
||||
|
||||
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, "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
|
||||
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
|
||||
final int zzb() {
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final int zzc() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final boolean zzf() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzac
|
||||
final Object[] zzg() {
|
||||
return this.zzb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public abstract class zzaj implements Iterator {
|
||||
protected zzaj() {
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
@Deprecated
|
||||
public final void remove() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.ListIterator;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public abstract class zzak extends zzaj implements ListIterator {
|
||||
protected zzak() {
|
||||
}
|
||||
|
||||
@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,34 @@
|
||||
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;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class zzb extends Binder implements IInterface {
|
||||
protected 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 i2) throws RemoteException {
|
||||
if (i <= 16777215) {
|
||||
parcel.enforceInterface(getInterfaceDescriptor());
|
||||
} else if (super.onTransact(i, parcel, parcel2, i2)) {
|
||||
return true;
|
||||
}
|
||||
return zza(i, parcel, parcel2, i2);
|
||||
}
|
||||
|
||||
protected boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.BadParcelableException;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class zzc {
|
||||
public static final /* synthetic */ int zza = 0;
|
||||
private static final ClassLoader zzb = 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 iDataAvail = parcel.dataAvail();
|
||||
if (iDataAvail <= 0) {
|
||||
return;
|
||||
}
|
||||
throw new BadParcelableException("Parcel data not fully consumed, unread size: " + iDataAvail);
|
||||
}
|
||||
|
||||
public static void zzc(Parcel parcel, Parcelable parcelable) {
|
||||
if (parcelable == null) {
|
||||
parcel.writeInt(0);
|
||||
} else {
|
||||
parcel.writeInt(1);
|
||||
parcelable.writeToParcel(parcel, 0);
|
||||
}
|
||||
}
|
||||
|
||||
public static void zzd(Parcel parcel, Parcelable parcelable) {
|
||||
if (parcelable == null) {
|
||||
parcel.writeInt(0);
|
||||
} else {
|
||||
parcel.writeInt(1);
|
||||
parcelable.writeToParcel(parcel, 1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void zze(Parcel parcel, IInterface iInterface) {
|
||||
if (iInterface == null) {
|
||||
parcel.writeStrongBinder(null);
|
||||
} else {
|
||||
parcel.writeStrongBinder(iInterface.asBinder());
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean zzf(Parcel parcel) {
|
||||
return parcel.readInt() != 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import androidx.core.view.accessibility.AccessibilityEventCompat;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public final class zzd {
|
||||
public static final int zza = AccessibilityEventCompat.TYPE_VIEW_TARGETED_BY_SCROLL;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public interface zze {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzg implements zze {
|
||||
private zzg() {
|
||||
}
|
||||
|
||||
/* synthetic */ zzg(zzf zzfVar) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.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,24 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class zzi extends Handler {
|
||||
private final Looper zza;
|
||||
|
||||
public zzi() {
|
||||
this.zza = Looper.getMainLooper();
|
||||
}
|
||||
|
||||
public zzi(Looper looper) {
|
||||
super(looper);
|
||||
this.zza = Looper.getMainLooper();
|
||||
}
|
||||
|
||||
public zzi(Looper looper, Handler.Callback callback) {
|
||||
super(looper, callback);
|
||||
this.zza = Looper.getMainLooper();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
||||
import javax.annotation.CheckForNull;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
abstract class zzj implements Iterator {
|
||||
|
||||
@CheckForNull
|
||||
private Object zza;
|
||||
private int zzb = 2;
|
||||
|
||||
protected zzj() {
|
||||
}
|
||||
|
||||
@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();
|
||||
}
|
||||
|
||||
@CheckForNull
|
||||
protected abstract Object zza();
|
||||
|
||||
@CheckForNull
|
||||
protected final Object zzb() {
|
||||
this.zzb = 3;
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final boolean hasNext() {
|
||||
int i = this.zzb;
|
||||
if (i == 4) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
int i2 = i - 1;
|
||||
if (i == 0) {
|
||||
throw null;
|
||||
}
|
||||
if (i2 == 0) {
|
||||
return true;
|
||||
}
|
||||
if (i2 != 2) {
|
||||
this.zzb = 4;
|
||||
this.zza = zza();
|
||||
if (this.zzb != 3) {
|
||||
this.zzb = 1;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
abstract class zzk extends zzo {
|
||||
zzk() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzl extends zzk {
|
||||
private final char zza;
|
||||
|
||||
zzl(char c) {
|
||||
this.zza = c;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
char[] cArr = new char[6];
|
||||
cArr[0] = AbstractJsonLexerKt.STRING_ESC;
|
||||
cArr[1] = AbstractJsonLexerKt.UNICODE_ESC;
|
||||
cArr[2] = 0;
|
||||
cArr[3] = 0;
|
||||
cArr[4] = 0;
|
||||
cArr[5] = 0;
|
||||
int i = this.zza;
|
||||
for (int i2 = 0; i2 < 4; i2++) {
|
||||
cArr[5 - i2] = "0123456789ABCDEF".charAt(i & 15);
|
||||
i >>= 4;
|
||||
}
|
||||
return "CharMatcher.is('" + String.copyValueOf(cArr) + "')";
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzo
|
||||
public final boolean zza(char c) {
|
||||
return c == this.zza;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
abstract class zzm extends zzk {
|
||||
private final String zza = "CharMatcher.none()";
|
||||
|
||||
zzm(String str) {
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return this.zza;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzn extends zzm {
|
||||
static final zzo zza = new zzn();
|
||||
|
||||
private zzn() {
|
||||
super("CharMatcher.none()");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzo
|
||||
public final boolean zza(char c) {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public abstract class zzo {
|
||||
protected zzo() {
|
||||
}
|
||||
|
||||
public static zzo zzb(char c) {
|
||||
return new zzl(c);
|
||||
}
|
||||
|
||||
public abstract boolean zza(char c);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
class zzp {
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import javax.annotation.CheckForNull;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzq {
|
||||
static final CharSequence zza(@CheckForNull Object obj, String str) {
|
||||
obj.getClass();
|
||||
return obj instanceof CharSequence ? (CharSequence) obj : obj.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import javax.annotation.CheckForNull;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzr extends zzp {
|
||||
public static boolean zza(@CheckForNull Object obj, @CheckForNull Object obj2) {
|
||||
if (obj != obj2) {
|
||||
return obj != null && obj.equals(obj2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzs {
|
||||
public static int zza(int i, int i2, String str) {
|
||||
String strZza;
|
||||
if (i >= 0 && i < i2) {
|
||||
return i;
|
||||
}
|
||||
if (i < 0) {
|
||||
strZza = zzy.zza("%s (%s) must not be negative", "index", Integer.valueOf(i));
|
||||
} else {
|
||||
if (i2 < 0) {
|
||||
throw new IllegalArgumentException("negative size: " + i2);
|
||||
}
|
||||
strZza = zzy.zza("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2));
|
||||
}
|
||||
throw new IndexOutOfBoundsException(strZza);
|
||||
}
|
||||
|
||||
public static int zzb(int i, int i2, String str) {
|
||||
if (i < 0 || i > i2) {
|
||||
throw new IndexOutOfBoundsException(zzd(i, i2, "index"));
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public static void zzc(int i, int i2, int i3) {
|
||||
if (i < 0 || i2 < i || i2 > i3) {
|
||||
throw new IndexOutOfBoundsException((i < 0 || i > i3) ? zzd(i, i3, "start index") : (i2 < 0 || i2 > i3) ? zzd(i2, i3, "end index") : zzy.zza("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i)));
|
||||
}
|
||||
}
|
||||
|
||||
private static String zzd(int i, int i2, String str) {
|
||||
if (i < 0) {
|
||||
return zzy.zza("%s (%s) must not be negative", str, Integer.valueOf(i));
|
||||
}
|
||||
if (i2 >= 0) {
|
||||
return zzy.zza("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i2));
|
||||
}
|
||||
throw new IllegalArgumentException("negative size: " + i2);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.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) */
|
||||
zzt(zzu zzuVar, zzx zzxVar, CharSequence charSequence) {
|
||||
super(zzxVar, charSequence);
|
||||
this.zza = zzuVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzw
|
||||
final int zzc(int i) {
|
||||
return i + 1;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzw
|
||||
final int zzd(int i) {
|
||||
CharSequence charSequence = this.zzb;
|
||||
int length = charSequence.length();
|
||||
zzs.zzb(i, length, "index");
|
||||
while (i < length) {
|
||||
zzu zzuVar = this.zza;
|
||||
if (zzuVar.zza.zza(charSequence.charAt(i))) {
|
||||
return i;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzu {
|
||||
final /* synthetic */ zzo zza;
|
||||
|
||||
zzu(zzo zzoVar) {
|
||||
this.zza = zzoVar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
final class zzv implements Iterable {
|
||||
final /* synthetic */ CharSequence zza;
|
||||
final /* synthetic */ zzx zzb;
|
||||
|
||||
zzv(zzx zzxVar, CharSequence charSequence) {
|
||||
this.zzb = zzxVar;
|
||||
this.zza = charSequence;
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public final Iterator iterator() {
|
||||
return this.zzb.zzh(this.zza);
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(AbstractJsonLexerKt.BEGIN_LIST);
|
||||
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(AbstractJsonLexerKt.END_LIST);
|
||||
return sb.toString();
|
||||
} catch (IOException e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import javax.annotation.CheckForNull;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
abstract class zzw extends zzj {
|
||||
final CharSequence zzb;
|
||||
final zzo zzc;
|
||||
final boolean zzd;
|
||||
int zze = 0;
|
||||
int zzf = Integer.MAX_VALUE;
|
||||
|
||||
protected zzw(zzx zzxVar, CharSequence charSequence) {
|
||||
this.zzc = zzxVar.zza;
|
||||
this.zzd = zzxVar.zzb;
|
||||
this.zzb = charSequence;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.common.zzj
|
||||
@CheckForNull
|
||||
protected final /* bridge */ /* synthetic */ Object zza() {
|
||||
int iZzd;
|
||||
int iZzc;
|
||||
int i = this.zze;
|
||||
while (true) {
|
||||
int i2 = this.zze;
|
||||
if (i2 == -1) {
|
||||
zzb();
|
||||
return null;
|
||||
}
|
||||
iZzd = zzd(i2);
|
||||
if (iZzd == -1) {
|
||||
iZzd = this.zzb.length();
|
||||
this.zze = -1;
|
||||
iZzc = -1;
|
||||
} else {
|
||||
iZzc = zzc(iZzd);
|
||||
this.zze = iZzc;
|
||||
}
|
||||
if (iZzc == i) {
|
||||
int i3 = iZzc + 1;
|
||||
this.zze = i3;
|
||||
if (i3 > this.zzb.length()) {
|
||||
this.zze = -1;
|
||||
}
|
||||
} else {
|
||||
if (i < iZzd) {
|
||||
this.zzb.charAt(i);
|
||||
}
|
||||
if (i < iZzd) {
|
||||
this.zzb.charAt(iZzd - 1);
|
||||
}
|
||||
if (!this.zzd || i != iZzd) {
|
||||
break;
|
||||
}
|
||||
i = this.zze;
|
||||
}
|
||||
}
|
||||
int i4 = this.zzf;
|
||||
if (i4 == 1) {
|
||||
iZzd = this.zzb.length();
|
||||
this.zze = -1;
|
||||
if (iZzd > i) {
|
||||
this.zzb.charAt(iZzd - 1);
|
||||
}
|
||||
} else {
|
||||
this.zzf = i4 - 1;
|
||||
}
|
||||
return this.zzb.subSequence(i, iZzd).toString();
|
||||
}
|
||||
|
||||
abstract int zzc(int i);
|
||||
|
||||
abstract int zzd(int i);
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
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;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzx {
|
||||
private final zzo zza;
|
||||
private final boolean zzb;
|
||||
private final zzu zzc;
|
||||
|
||||
private zzx(zzu zzuVar, boolean z, zzo zzoVar, int i) {
|
||||
this.zzc = zzuVar;
|
||||
this.zzb = z;
|
||||
this.zza = zzoVar;
|
||||
}
|
||||
|
||||
public static zzx zzc(zzo zzoVar) {
|
||||
return new zzx(new zzu(zzoVar), false, zzn.zza, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
/* 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);
|
||||
}
|
||||
|
||||
public final Iterable zzd(CharSequence charSequence) {
|
||||
return new zzv(this, charSequence);
|
||||
}
|
||||
|
||||
public final List zzf(CharSequence charSequence) {
|
||||
charSequence.getClass();
|
||||
Iterator itZzh = zzh(charSequence);
|
||||
ArrayList arrayList = new ArrayList();
|
||||
while (itZzh.hasNext()) {
|
||||
arrayList.add((String) itZzh.next());
|
||||
}
|
||||
return Collections.unmodifiableList(arrayList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import javax.annotation.CheckForNull;
|
||||
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
public final class zzy {
|
||||
public static String zza(@CheckForNull String str, @CheckForNull Object... objArr) {
|
||||
int length;
|
||||
int length2;
|
||||
int iIndexOf;
|
||||
String string;
|
||||
int i = 0;
|
||||
int i2 = 0;
|
||||
while (true) {
|
||||
length = objArr.length;
|
||||
if (i2 >= length) {
|
||||
break;
|
||||
}
|
||||
Object obj = objArr[i2];
|
||||
if (obj == null) {
|
||||
string = "null";
|
||||
} else {
|
||||
try {
|
||||
string = obj.toString();
|
||||
} catch (Exception e) {
|
||||
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) e);
|
||||
string = "<" + str2 + " threw " + e.getClass().getName() + ">";
|
||||
}
|
||||
}
|
||||
objArr[i2] = string;
|
||||
i2++;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder(str.length() + (length * 16));
|
||||
int i3 = 0;
|
||||
while (true) {
|
||||
length2 = objArr.length;
|
||||
if (i >= length2 || (iIndexOf = str.indexOf("%s", i3)) == -1) {
|
||||
break;
|
||||
}
|
||||
sb.append((CharSequence) str, i3, iIndexOf);
|
||||
sb.append(objArr[i]);
|
||||
i3 = iIndexOf + 2;
|
||||
i++;
|
||||
}
|
||||
sb.append((CharSequence) str, i3, str.length());
|
||||
if (i < length2) {
|
||||
sb.append(" [");
|
||||
sb.append(objArr[i]);
|
||||
for (int i4 = i + 1; i4 < objArr.length; i4++) {
|
||||
sb.append(", ");
|
||||
sb.append(objArr[i4]);
|
||||
}
|
||||
sb.append(AbstractJsonLexerKt.END_LIST);
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import java.util.NoSuchElementException;
|
||||
import org.jspecify.nullness.NullMarked;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
@NullMarked
|
||||
abstract class zzz extends zzak {
|
||||
private final int zza;
|
||||
private int zzb;
|
||||
|
||||
protected zzz(int i, int i2) {
|
||||
zzs.zzb(i2, i, "index");
|
||||
this.zza = i;
|
||||
this.zzb = i2;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
protected abstract Object zza(int i);
|
||||
}
|
||||
Reference in New Issue
Block a user