Lines Matching refs:url
53 public Cursor query(Uri url, String[] projectionIn, String selection,
58 int match = sURLMatcher.match(url);
66 qb.appendWhere(url.getPathSegments().get(1));
69 throw new IllegalArgumentException("Unknown URL " + url);
79 ret.setNotificationUri(getContext().getContentResolver(), url);
86 public String getType(Uri url) {
87 int match = sURLMatcher.match(url);
94 throw new IllegalArgumentException("Unknown URL");
99 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
102 int match = sURLMatcher.match(url);
106 String segment = url.getPathSegments().get(1);
113 "Cannot update URL: " + url);
116 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url);
117 getContext().getContentResolver().notifyChange(url, null);
122 public Uri insert(Uri url, ContentValues initialValues) {
123 if (sURLMatcher.match(url) != ALARMS) {
124 throw new IllegalArgumentException("Cannot insert into URL: " + url);
132 public int delete(Uri url, String where, String[] whereArgs) {
136 switch (sURLMatcher.match(url)) {
141 String segment = url.getPathSegments().get(1);
151 throw new IllegalArgumentException("Cannot delete from URL: " + url);
154 getContext().getContentResolver().notifyChange(url, null);