• Home
  • Raw
  • Download

Lines Matching refs:uri

73     public String getType(Uri uri) {  in getType()  argument
74 final int match = sUriMatcher.match(uri); in getType()
81 throw new UnsupportedOperationException("Unknown uri: " + uri); in getType()
92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
96 int uriMatch = sUriMatcher.match(uri); in query()
100 String id = uri.getLastPathSegment(); in query()
111 c.setNotificationUri(ctx.getContentResolver(), uri); in query() local
114 throw new UnsupportedOperationException("Unknown uri: " + uri); in query()
122 public Uri insert(Uri uri, ContentValues values) { in insert() argument
125 final int match = sUriMatcher.match(uri); in insert()
133 throw new UnsupportedOperationException("Insert not supported on URI: " + uri); in insert()
135 throw new UnsupportedOperationException("Unknown uri: " + uri); in insert()
140 ctx.getContentResolver().notifyChange(uri, null, false); in insert()
148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
151 final int match = sUriMatcher.match(uri); in delete()
160 String id = uri.getLastPathSegment(); in delete()
167 throw new UnsupportedOperationException("Unknown uri: " + uri); in delete()
172 ctx.getContentResolver().notifyChange(uri, null, false); in delete()
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
183 final int match = sUriMatcher.match(uri); in update()
192 String id = uri.getLastPathSegment(); in update()
199 throw new UnsupportedOperationException("Unknown uri: " + uri); in update()
203 ctx.getContentResolver().notifyChange(uri, null, false); in update()