package com.vungle.warren.utility; import android.os.AsyncTask; import java.io.File; import java.util.concurrent.Executor; /* loaded from: classes2.dex */ public abstract class c { /* renamed from: a, reason: collision with root package name */ private static volatile Executor f8590a = new r().d(); public static class a { /* renamed from: a, reason: collision with root package name */ private final AsyncTaskC0129c f8591a; a(AsyncTaskC0129c asyncTaskC0129c) { this.f8591a = asyncTaskC0129c; } public void a() { this.f8591a.b(); this.f8591a.cancel(true); } } public interface b { void a(boolean z10); } /* renamed from: com.vungle.warren.utility.c$c, reason: collision with other inner class name */ private static class AsyncTaskC0129c extends AsyncTask { /* renamed from: a, reason: collision with root package name */ private final File f8592a; /* renamed from: b, reason: collision with root package name */ private b f8593b; public AsyncTaskC0129c(File file, b bVar) { this.f8592a = file; this.f8593b = bVar; } /* JADX INFO: Access modifiers changed from: private */ public synchronized void b() { this.f8593b = null; } /* JADX INFO: Access modifiers changed from: protected */ @Override // android.os.AsyncTask /* renamed from: c, reason: merged with bridge method [inline-methods] */ public Boolean doInBackground(Void... voidArr) { File file = this.f8592a; return Boolean.valueOf(file != null && file.exists()); } /* JADX INFO: Access modifiers changed from: protected */ @Override // android.os.AsyncTask /* renamed from: d, reason: merged with bridge method [inline-methods] */ public void onPostExecute(Boolean bool) { super.onPostExecute(bool); synchronized (this) { b bVar = this.f8593b; if (bVar != null) { bVar.a(bool.booleanValue()); } } } } public static a a(File file, b bVar) { AsyncTaskC0129c asyncTaskC0129c = new AsyncTaskC0129c(file, bVar); a aVar = new a(asyncTaskC0129c); asyncTaskC0129c.executeOnExecutor(f8590a, new Void[0]); return aVar; } }