package ඓ.ῲ.K.ᕣ.㳳;

import android.content.ContentResolver;
import android.content.res.AssetFileDescriptor;
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import java.io.InputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import ඓ.ῲ.K.ؿ.C0821;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㿎.AbstractC1146;
import ඓ.ῲ.K.ᕣ.㿎.C1134;
import ඓ.ῲ.K.ᕣ.㿎.C1137;
import ඓ.ῲ.K.ᕣ.㿎.C1139;

/* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᓆ  reason: contains not printable characters */
/* compiled from: UriLoader */
public class C1067<Data> implements AbstractC1033<Uri, Data> {

    /* renamed from: ῲ  reason: contains not printable characters */
    public static final Set<String> f4520 = Collections.unmodifiableSet(new HashSet(Arrays.asList("file", "android.resource", "content")));

    /* renamed from: K  reason: contains not printable characters */
    public final AbstractC1068<Data> f4521;

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᓆ$ʬ  reason: contains not printable characters */
    /* compiled from: UriLoader */
    public interface AbstractC1068<Data> {
        /* renamed from: K  reason: contains not printable characters */
        AbstractC1146<Data> m2902(Uri uri);
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᓆ$ῲ  reason: contains not printable characters */
    /* compiled from: UriLoader */
    public static class C1069 implements AbstractC1091<Uri, ParcelFileDescriptor>, AbstractC1068<ParcelFileDescriptor> {

        /* renamed from: K  reason: contains not printable characters */
        public final ContentResolver f4522;

        public C1069(ContentResolver contentResolver) {
            this.f4522 = contentResolver;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.C1067.AbstractC1068
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1146<ParcelFileDescriptor> m2904(Uri uri) {
            return new C1134(this.f4522, uri);
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, ParcelFileDescriptor> m2903(C1092 r1) {
            return new C1067(this);
        }
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᓆ$K  reason: contains not printable characters */
    /* compiled from: UriLoader */
    public static final class C1070 implements AbstractC1091<Uri, AssetFileDescriptor>, AbstractC1068<AssetFileDescriptor> {

        /* renamed from: K  reason: contains not printable characters */
        public final ContentResolver f4523;

        public C1070(ContentResolver contentResolver) {
            this.f4523 = contentResolver;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, AssetFileDescriptor> m2905(C1092 r1) {
            return new C1067(this);
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.C1067.AbstractC1068
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1146<AssetFileDescriptor> m2906(Uri uri) {
            return new C1137(this.f4523, uri);
        }
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᓆ$㸾  reason: contains not printable characters */
    /* compiled from: UriLoader */
    public static class C1071 implements AbstractC1091<Uri, InputStream>, AbstractC1068<InputStream> {

        /* renamed from: K  reason: contains not printable characters */
        public final ContentResolver f4524;

        public C1071(ContentResolver contentResolver) {
            this.f4524 = contentResolver;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.C1067.AbstractC1068
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1146<InputStream> m2908(Uri uri) {
            return new C1139(this.f4524, uri);
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, InputStream> m2907(C1092 r1) {
            return new C1067(this);
        }
    }

    public C1067(AbstractC1068<Data> r1) {
        this.f4521 = r1;
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, int, int, ඓ.ῲ.K.ᕣ.㸾] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public AbstractC1033.C1034 m2900(Uri uri, int i, int i2, C1121 r4) {
        Uri uri2 = uri;
        return new AbstractC1033.C1034(new C0821(uri2), this.f4521.m2902(uri2));
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public boolean m2901(Uri uri) {
        return f4520.contains(uri.getScheme());
    }
}
