Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class zza implements IInterface {
|
||||
private final IBinder a;
|
||||
private final String b;
|
||||
|
||||
protected zza(IBinder iBinder, String str) {
|
||||
this.a = iBinder;
|
||||
this.b = str;
|
||||
}
|
||||
|
||||
protected final Parcel a(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
try {
|
||||
try {
|
||||
this.a.transact(i, parcel, obtain, 0);
|
||||
obtain.readException();
|
||||
return obtain;
|
||||
} catch (RuntimeException e) {
|
||||
obtain.recycle();
|
||||
throw e;
|
||||
}
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public IBinder asBinder() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
protected final Parcel i() {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
obtain.writeInterfaceToken(this.b);
|
||||
return obtain;
|
||||
}
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.Binder;
|
||||
import android.os.IInterface;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class zzb extends Binder implements IInterface {
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.Parcel;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class zzc {
|
||||
static {
|
||||
zzc.class.getClassLoader();
|
||||
}
|
||||
|
||||
private zzc() {
|
||||
}
|
||||
|
||||
public static void a(Parcel parcel, boolean z) {
|
||||
parcel.writeInt(1);
|
||||
}
|
||||
|
||||
public static boolean a(Parcel parcel) {
|
||||
return parcel.readInt() != 0;
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public interface zze extends IInterface {
|
||||
boolean d(boolean z) throws RemoteException;
|
||||
|
||||
String getId() throws RemoteException;
|
||||
|
||||
boolean zzc() throws RemoteException;
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class zzf extends zzb implements zze {
|
||||
public static zze a(IBinder iBinder) {
|
||||
if (iBinder == null) {
|
||||
return null;
|
||||
}
|
||||
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.identifier.internal.IAdvertisingIdService");
|
||||
return queryLocalInterface instanceof zze ? (zze) queryLocalInterface : new zzg(iBinder);
|
||||
}
|
||||
}
|
@@ -0,0 +1,38 @@
|
||||
package com.google.android.gms.internal.ads_identifier;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class zzg extends zza implements zze {
|
||||
zzg(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.ads.identifier.internal.IAdvertisingIdService");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.ads_identifier.zze
|
||||
public final boolean d(boolean z) throws RemoteException {
|
||||
Parcel i = i();
|
||||
zzc.a(i, true);
|
||||
Parcel a = a(2, i);
|
||||
boolean a2 = zzc.a(a);
|
||||
a.recycle();
|
||||
return a2;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.ads_identifier.zze
|
||||
public final String getId() throws RemoteException {
|
||||
Parcel a = a(1, i());
|
||||
String readString = a.readString();
|
||||
a.recycle();
|
||||
return readString;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.ads_identifier.zze
|
||||
public final boolean zzc() throws RemoteException {
|
||||
Parcel a = a(6, i());
|
||||
boolean a2 = zzc.a(a);
|
||||
a.recycle();
|
||||
return a2;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user