package com.google.android.play.core.integrity; import android.os.RemoteException; import com.google.android.gms.tasks.TaskCompletionSource; import com.google.android.play.integrity.internal.z; /* loaded from: classes2.dex */ final class r extends com.google.android.play.integrity.internal.o { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ byte[] f5215a; /* renamed from: b, reason: collision with root package name */ final /* synthetic */ Long f5216b; /* renamed from: c, reason: collision with root package name */ final /* synthetic */ TaskCompletionSource f5217c; /* renamed from: d, reason: collision with root package name */ final /* synthetic */ IntegrityTokenRequest f5218d; /* renamed from: e, reason: collision with root package name */ final /* synthetic */ t f5219e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ r(t tVar, TaskCompletionSource taskCompletionSource, byte[] bArr, Long l10, TaskCompletionSource taskCompletionSource2, IntegrityTokenRequest integrityTokenRequest) { super(taskCompletionSource); this.f5219e = tVar; this.f5215a = bArr; this.f5216b = l10; this.f5217c = taskCompletionSource2; this.f5218d = integrityTokenRequest; } @Override // com.google.android.play.integrity.internal.o public final void a(Exception exc) { if (exc instanceof z) { super.a(new IntegrityServiceException(-9, exc)); } else { super.a(exc); } } /* JADX WARN: Type inference failed for: r0v3, types: [android.os.IInterface, com.google.android.play.integrity.internal.k] */ @Override // com.google.android.play.integrity.internal.o protected final void b() { com.google.android.play.integrity.internal.n nVar; try { this.f5219e.f5223a.e().G(t.a(this.f5219e, this.f5215a, this.f5216b), new s(this.f5219e, this.f5217c)); } catch (RemoteException e10) { nVar = this.f5219e.f5224b; nVar.c(e10, "requestIntegrityToken(%s)", this.f5218d); this.f5217c.trySetException(new IntegrityServiceException(-100, e10)); } } }