package com.google.android.gms.internal.pal;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.concurrent.Callable;

/* JADX INFO: loaded from: classes2.dex */
public abstract class w4 implements Callable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final y3 f21303a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f21304b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f21305c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final ea f21306d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public Method f21307e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f21308f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final int f21309g;

    public w4(y3 y3Var, String str, String str2, ea eaVar, int i10, int i11) {
        this.f21303a = y3Var;
        this.f21304b = str;
        this.f21305c = str2;
        this.f21306d = eaVar;
        this.f21308f = i10;
        this.f21309g = i11;
    }

    public abstract void a();

    public void b() {
        int i10;
        y3 y3Var = this.f21303a;
        try {
            long jNanoTime = System.nanoTime();
            Method methodC = y3Var.c(this.f21304b, this.f21305c);
            this.f21307e = methodC;
            if (methodC == null) {
                return;
            }
            a();
            g3 g3Var = y3Var.f21359l;
            if (g3Var == null || (i10 = this.f21308f) == Integer.MIN_VALUE) {
                return;
            }
            g3Var.a(this.f21309g, i10, (System.nanoTime() - jNanoTime) / 1000, null, null);
        } catch (IllegalAccessException | InvocationTargetException unused) {
        }
    }

    @Override // java.util.concurrent.Callable
    public /* bridge */ /* synthetic */ Object call() {
        b();
        return null;
    }
}
