Home | History | Annotate | Download | only in alarmclock

Lines Matching refs:url

96     public Cursor query(Uri url, String[] projectionIn, String selection,
101 int match = sURLMatcher.match(url);
109 qb.appendWhere(url.getPathSegments().get(1));
112 throw new IllegalArgumentException("Unknown URL " + url);
122 ret.setNotificationUri(getContext().getContentResolver(), url);
129 public String getType(Uri url) {
130 int match = sURLMatcher.match(url);
137 throw new IllegalArgumentException("Unknown URL");
142 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
145 int match = sURLMatcher.match(url);
149 String segment = url.getPathSegments().get(1);
156 "Cannot update URL: " + url);
159 if (Log.LOGV) Log.v("*** notifyChange() rowId: " + rowId + " url " + url);
160 getContext().getContentResolver().notifyChange(url, null);
165 public Uri insert(Uri url, ContentValues initialValues) {
166 if (sURLMatcher.match(url) != ALARMS) {
167 throw new IllegalArgumentException("Cannot insert into URL: " + url);
203 throw new SQLException("Failed to insert row into " + url);
212 public int delete(Uri url, String where, String[] whereArgs) {
216 switch (sURLMatcher.match(url)) {
221 String segment = url.getPathSegments().get(1);
231 throw new IllegalArgumentException("Cannot delete from URL: " + url);
234 getContext().getContentResolver().notifyChange(url, null);