package o; import android.content.Context; import java.io.File; import java.io.IOException; import okhttp3.Cache; import okhttp3.Call; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; /* loaded from: classes.dex */ public final class fNV implements fNJ { private Call.Factory b; private final Cache c; private boolean d; public fNV(Context context) { this(C13025fOf.b(context)); } private fNV(File file) { this(file, C13025fOf.a(file)); } private fNV(File file, long j) { this(new OkHttpClient.Builder().cache(new Cache(file, j)).build()); this.d = false; } private fNV(OkHttpClient okHttpClient) { this.d = true; this.b = okHttpClient; this.c = okHttpClient.cache(); } @Override // o.fNJ public final Response b(Request request) throws IOException { return this.b.newCall(request).execute(); } }