package com.google.android.gms.maps.internal; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import com.google.android.gms.dynamic.IObjectWrapper; import com.google.android.gms.maps.GoogleMapOptions; import com.google.android.gms.maps.StreetViewPanoramaOptions; /* loaded from: classes2.dex */ public final class zzf extends com.google.android.gms.internal.maps.zza implements zze { /* JADX INFO: Access modifiers changed from: package-private */ public zzf(IBinder iBinder) { super(iBinder, "com.google.android.gms.maps.internal.ICreator"); } @Override // com.google.android.gms.maps.internal.zze public final IMapFragmentDelegate zzc(IObjectWrapper iObjectWrapper) throws RemoteException { IMapFragmentDelegate zzjVar; Parcel zza = zza(); com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper); Parcel zza2 = zza(2, zza); IBinder readStrongBinder = zza2.readStrongBinder(); if (readStrongBinder == null) { zzjVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IMapFragmentDelegate"); if (queryLocalInterface instanceof IMapFragmentDelegate) { zzjVar = (IMapFragmentDelegate) queryLocalInterface; } else { zzjVar = new zzj(readStrongBinder); } } zza2.recycle(); return zzjVar; } @Override // com.google.android.gms.maps.internal.zze public final IMapViewDelegate zza(IObjectWrapper iObjectWrapper, GoogleMapOptions googleMapOptions) throws RemoteException { IMapViewDelegate zzkVar; Parcel zza = zza(); com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper); com.google.android.gms.internal.maps.zzc.zza(zza, googleMapOptions); Parcel zza2 = zza(3, zza); IBinder readStrongBinder = zza2.readStrongBinder(); if (readStrongBinder == null) { zzkVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IMapViewDelegate"); if (queryLocalInterface instanceof IMapViewDelegate) { zzkVar = (IMapViewDelegate) queryLocalInterface; } else { zzkVar = new zzk(readStrongBinder); } } zza2.recycle(); return zzkVar; } @Override // com.google.android.gms.maps.internal.zze public final ICameraUpdateFactoryDelegate zze() throws RemoteException { ICameraUpdateFactoryDelegate zzbVar; Parcel zza = zza(4, zza()); IBinder readStrongBinder = zza.readStrongBinder(); if (readStrongBinder == null) { zzbVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate"); if (queryLocalInterface instanceof ICameraUpdateFactoryDelegate) { zzbVar = (ICameraUpdateFactoryDelegate) queryLocalInterface; } else { zzbVar = new zzb(readStrongBinder); } } zza.recycle(); return zzbVar; } @Override // com.google.android.gms.maps.internal.zze public final com.google.android.gms.internal.maps.zze zzf() throws RemoteException { Parcel zza = zza(5, zza()); com.google.android.gms.internal.maps.zze zzb = com.google.android.gms.internal.maps.zzf.zzb(zza.readStrongBinder()); zza.recycle(); return zzb; } @Override // com.google.android.gms.maps.internal.zze public final void zza(IObjectWrapper iObjectWrapper, int i) throws RemoteException { Parcel zza = zza(); com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper); zza.writeInt(i); zzb(6, zza); } @Override // com.google.android.gms.maps.internal.zze public final IStreetViewPanoramaViewDelegate zza(IObjectWrapper iObjectWrapper, StreetViewPanoramaOptions streetViewPanoramaOptions) throws RemoteException { IStreetViewPanoramaViewDelegate zzbwVar; Parcel zza = zza(); com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper); com.google.android.gms.internal.maps.zzc.zza(zza, streetViewPanoramaOptions); Parcel zza2 = zza(7, zza); IBinder readStrongBinder = zza2.readStrongBinder(); if (readStrongBinder == null) { zzbwVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate"); if (queryLocalInterface instanceof IStreetViewPanoramaViewDelegate) { zzbwVar = (IStreetViewPanoramaViewDelegate) queryLocalInterface; } else { zzbwVar = new zzbw(readStrongBinder); } } zza2.recycle(); return zzbwVar; } @Override // com.google.android.gms.maps.internal.zze public final IStreetViewPanoramaFragmentDelegate zzd(IObjectWrapper iObjectWrapper) throws RemoteException { IStreetViewPanoramaFragmentDelegate zzbvVar; Parcel zza = zza(); com.google.android.gms.internal.maps.zzc.zza(zza, iObjectWrapper); Parcel zza2 = zza(8, zza); IBinder readStrongBinder = zza2.readStrongBinder(); if (readStrongBinder == null) { zzbvVar = null; } else { IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IStreetViewPanoramaFragmentDelegate"); if (queryLocalInterface instanceof IStreetViewPanoramaFragmentDelegate) { zzbvVar = (IStreetViewPanoramaFragmentDelegate) queryLocalInterface; } else { zzbvVar = new zzbv(readStrongBinder); } } zza2.recycle(); return zzbvVar; } }