Lines Matching refs:url
113 public Cursor query(Uri url, String[] projectionIn, String selection,
119 public String getType(Uri url) {
120 int match = sURLMatcher.match(url);
132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException {
133 int match = sURLMatcher.match(url);
136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1);
137 return getBlobColumnAsFile(url, mode, sql);
142 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString());
148 throw new FileNotFoundException("No files supported by provider at " + url);
152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql)
155 throw new FileNotFoundException("Mode " + mode + " not supported for " + url);
163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
168 public Uri insert(Uri url, ContentValues initialValues) {
173 public int delete(Uri url, String where, String[] whereArgs) {