Lines Matching defs:uri
26 import android.net.Uri;
41 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY);
82 * @see android.content.ContentProvider#insert(android.net.Uri,
86 public Uri insert(Uri uri, ContentValues values) {
87 String tbName = getTableName(uri);
93 getContext().getContentResolver().notifyChange(uri, null);
94 return uri;
99 * @see android.content.ContentProvider#query(android.net.Uri,
104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
106 String tbName = getTableName(uri);
112 c.setNotificationUri(getContext().getContentResolver(), uri);
116 private String getTableName(Uri uri) {
117 switch (sMatcher.match(uri)) {
127 * @see android.content.ContentProvider#update(android.net.Uri,
131 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
132 String tbName = getTableName(uri);
138 getContext().getContentResolver().notifyChange(uri, null);
144 * @see android.content.ContentProvider#delete(android.net.Uri,
148 public int delete(Uri uri, String selection, String[] selectionArgs) {
149 String tbName = getTableName(uri);
155 getContext().getContentResolver().notifyChange(uri, null);
161 * @see android.content.ContentProvider#getType(android.net.Uri)
164 public String getType(Uri uri) {