40 lines
1.4 KiB
Java
40 lines
1.4 KiB
Java
|
package com.google.android.gms.common.internal;
|
||
|
|
||
|
import android.accounts.Account;
|
||
|
import android.os.IBinder;
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.RemoteException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface IAccountAccessor extends IInterface {
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static abstract class Stub extends com.google.android.gms.internal.common.zzb implements IAccountAccessor {
|
||
|
public Stub() {
|
||
|
super("com.google.android.gms.common.internal.IAccountAccessor");
|
||
|
}
|
||
|
|
||
|
public static IAccountAccessor asInterface(IBinder iBinder) {
|
||
|
if (iBinder == null) {
|
||
|
return null;
|
||
|
}
|
||
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.IAccountAccessor");
|
||
|
return queryLocalInterface instanceof IAccountAccessor ? (IAccountAccessor) queryLocalInterface : new zzv(iBinder);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.common.zzb
|
||
|
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
||
|
if (i != 2) {
|
||
|
return false;
|
||
|
}
|
||
|
Account zzb = zzb();
|
||
|
parcel2.writeNoException();
|
||
|
com.google.android.gms.internal.common.zzc.zze(parcel2, zzb);
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Account zzb() throws RemoteException;
|
||
|
}
|