package androidx.slice;

import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.os.CancellationSignal;
import androidx.core.app.CoreComponentFactory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;

/* loaded from: classes.dex */
public abstract class c extends ContentProvider implements CoreComponentFactory.a {

    /* renamed from: r, reason: collision with root package name */
    private static Set f5614r;

    /* renamed from: s, reason: collision with root package name */
    private static j5.a f5615s;

    /* renamed from: p, reason: collision with root package name */
    private final String[] f5616p = new String[0];

    /* renamed from: q, reason: collision with root package name */
    private List f5617q;

    public static j5.a b() {
        return f5615s;
    }

    public static Set c() {
        return f5614r;
    }

    public static void l(Set set) {
        f5614r = set;
    }

    @Override // androidx.core.app.CoreComponentFactory.a
    public Object a() {
        return new m5.b(this, this.f5616p);
    }

    @Override // android.content.ContentProvider
    public final int bulkInsert(Uri uri, ContentValues[] contentValuesArr) {
        return 0;
    }

    @Override // android.content.ContentProvider
    public Bundle call(String str, String str2, Bundle bundle) {
        return null;
    }

    @Override // android.content.ContentProvider
    public final Uri canonicalize(Uri uri) {
        return null;
    }

    public void d(Uri uri) {
        if (this.f5617q.contains(uri)) {
            return;
        }
        this.f5617q.add(uri);
    }

    @Override // android.content.ContentProvider
    public final int delete(Uri uri, String str, String[] strArr) {
        return 0;
    }

    public void e(Uri uri) {
        if (this.f5617q.contains(uri)) {
            this.f5617q.remove(uri);
        }
    }

    public abstract Slice f(Uri uri);

    public abstract boolean g();

    @Override // android.content.ContentProvider
    public final String getType(Uri uri) {
        return "vnd.android.slice";
    }

    public Collection h(Uri uri) {
        return Collections.emptyList();
    }

    public Uri i(Intent intent) {
        throw new UnsupportedOperationException("This provider has not implemented intent to uri mapping");
    }

    @Override // android.content.ContentProvider
    public final Uri insert(Uri uri, ContentValues contentValues) {
        return null;
    }

    public void j(Uri uri) {
    }

    public void k(Uri uri) {
    }

    @Override // android.content.ContentProvider
    public final boolean onCreate() {
        this.f5617q = new ArrayList(j5.b.a(getContext()).b());
        return g();
    }

    @Override // android.content.ContentProvider
    public final Cursor query(Uri uri, String[] strArr, Bundle bundle, CancellationSignal cancellationSignal) {
        return null;
    }

    @Override // android.content.ContentProvider
    public final int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
        return 0;
    }

    @Override // android.content.ContentProvider
    public final Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
        return null;
    }

    @Override // android.content.ContentProvider
    public final Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2, CancellationSignal cancellationSignal) {
        return null;
    }
}
