package androidx.documentfile.provider; import android.content.Context; import android.net.Uri; import android.provider.DocumentsContract; /* loaded from: classes.dex */ class SingleDocumentFile extends DocumentFile { private Context mContext; private Uri mUri; @Override // androidx.documentfile.provider.DocumentFile public Uri getUri() { return this.mUri; } /* JADX INFO: Access modifiers changed from: package-private */ public SingleDocumentFile(DocumentFile documentFile, Context context, Uri uri) { super(documentFile); this.mContext = context; this.mUri = uri; } @Override // androidx.documentfile.provider.DocumentFile public DocumentFile createFile(String str, String str2) { throw new UnsupportedOperationException(); } @Override // androidx.documentfile.provider.DocumentFile public DocumentFile createDirectory(String str) { throw new UnsupportedOperationException(); } @Override // androidx.documentfile.provider.DocumentFile public String getName() { return DocumentsContractApi19.getName(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public String getType() { return DocumentsContractApi19.getType(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean isDirectory() { return DocumentsContractApi19.isDirectory(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean isFile() { return DocumentsContractApi19.isFile(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean isVirtual() { return DocumentsContractApi19.isVirtual(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public long lastModified() { return DocumentsContractApi19.lastModified(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public long length() { return DocumentsContractApi19.length(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean canRead() { return DocumentsContractApi19.canRead(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean canWrite() { return DocumentsContractApi19.canWrite(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public boolean delete() { try { return DocumentsContract.deleteDocument(this.mContext.getContentResolver(), this.mUri); } catch (Exception unused) { return false; } } @Override // androidx.documentfile.provider.DocumentFile public boolean exists() { return DocumentsContractApi19.exists(this.mContext, this.mUri); } @Override // androidx.documentfile.provider.DocumentFile public DocumentFile[] listFiles() { throw new UnsupportedOperationException(); } @Override // androidx.documentfile.provider.DocumentFile public boolean renameTo(String str) { throw new UnsupportedOperationException(); } }