Home
last modified time | relevance | path

Searched refs:sUriMatcher (Results 1 – 9 of 9) sorted by relevance

/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java75 private static final UriMatcher sUriMatcher; field in UserDictionaryProvider
82 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
83 sUriMatcher.addURI(AUTHORITY, "words", WORDS); in sUriMatcher.addURI()
84 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID); in sUriMatcher.addURI()
152 switch (sUriMatcher.match(uri)) { in query()
192 switch (sUriMatcher.match(uri)) { in getType()
207 if (sUriMatcher.match(uri) != WORDS) { in insert()
257 switch (sUriMatcher.match(uri)) { in delete()
286 switch (sUriMatcher.match(uri)) { in update()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java245 protected static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in PhotoProvider
257 sUriMatcher.addURI(AUTHORITY, Photos.TABLE, MATCH_PHOTO); in sUriMatcher.addURI()
259 sUriMatcher.addURI(AUTHORITY, Photos.TABLE + "/#", MATCH_PHOTO_ID); in sUriMatcher.addURI()
260 sUriMatcher.addURI(AUTHORITY, Albums.TABLE, MATCH_ALBUM); in sUriMatcher.addURI()
262 sUriMatcher.addURI(AUTHORITY, Albums.TABLE + "/#", MATCH_ALBUM_ID); in sUriMatcher.addURI()
263 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE, MATCH_METADATA); in sUriMatcher.addURI()
265 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE + "/#", MATCH_METADATA_ID); in sUriMatcher.addURI()
266 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE, MATCH_ACCOUNT); in sUriMatcher.addURI()
268 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE + "/#", MATCH_ACCOUNT_ID); in sUriMatcher.addURI()
435 int match = sUriMatcher.match(uri); in matchUri()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java821 final int match = sUriMatcher.match(uri); in shouldSyncFor()
851 final int match = sUriMatcher.match(uri); in queryInternal()
1478 int match = sUriMatcher.match(url); in getType()
2102 final int match = sUriMatcher.match(uri); in insertInTransaction()
3079 final int match = sUriMatcher.match(uri); in deleteInTransaction()
3944 final int match = sUriMatcher.match(uri); in updateInTransaction()
4640 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CalendarProvider2
4653 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/when/*/*", INSTANCES); in sUriMatcher.addURI()
4654 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/whenbyday/*/*", INSTANCES_BY_DAY); in sUriMatcher.addURI()
4655 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/search/*/*/*", INSTANCES_SEARCH); in sUriMatcher.addURI()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java66 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in EmlAttachmentProvider
104 sUriMatcher.addURI(authority, "attachments/*/*", ATTACHMENT_LIST); in onCreate()
105 sUriMatcher.addURI(authority, "attachment/*/*/#", ATTACHMENT); in onCreate()
106 sUriMatcher.addURI(authority, "attachmentByCid/*/*/*", ATTACHMENT_BY_CID); in onCreate()
120 final int match = sUriMatcher.match(uri); in query()
172 final int match = sUriMatcher.match(uri); in getType()
203 final int match = sUriMatcher.match(uri); in delete()
224 final int match = sUriMatcher.match(uri); in update()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java104 private static final UriMatcher sUriMatcher; field in TvProvider
128 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
129 sUriMatcher.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL); in sUriMatcher.addURI()
130 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); in sUriMatcher.addURI()
131 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO); in sUriMatcher.addURI()
132 sUriMatcher.addURI(TvContract.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID); in sUriMatcher.addURI()
133 sUriMatcher.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM); in sUriMatcher.addURI()
134 sUriMatcher.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID); in sUriMatcher.addURI()
135 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM); in sUriMatcher.addURI()
136 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program/#", MATCH_WATCHED_PROGRAM_ID); in sUriMatcher.addURI()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java43 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CellBroadcastContentProvider
64 sUriMatcher.addURI(CB_AUTHORITY, null, CB_ALL); in sUriMatcher.addURI()
65 sUriMatcher.addURI(CB_AUTHORITY, "#", CB_ALL_ID); in sUriMatcher.addURI()
98 int match = sUriMatcher.match(uri); in query()
136 int match = sUriMatcher.match(uri); in getType()
/packages/apps/Browser/src/com/android/browser/homepages/
DRequestHandler.java50 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in RequestHandler
57 sUriMatcher.addURI(HomeProvider.AUTHORITY, "/", INDEX); in sUriMatcher.addURI()
58 sUriMatcher.addURI(HomeProvider.AUTHORITY, "res/*/*", RESOURCE); in sUriMatcher.addURI()
84 int match = sUriMatcher.match(mUri); in doHandleRequest()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java76 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in LegacyApiSupport
287 UriMatcher matcher = sUriMatcher;
781 final int match = sUriMatcher.match(uri); in insert()
947 int match = sUriMatcher.match(uri); in update()
1527 final int match = sUriMatcher.match(uri); in delete()
1614 final int match = sUriMatcher.match(uri); in query()
2039 int match = sUriMatcher.match(uri); in getType()
DContactsProvider2.java298 private static final ProfileAwareUriMatcher sUriMatcher = field in ContactsProvider2
1153 final UriMatcher matcher = sUriMatcher;
2119 return sUriMatcher.mapsToProfile(uri); in mapsToProfileDb()
2137 int match = sUriMatcher.match(uri); in mapsToProfileDbWithInsertedValues()
2523 final int match = sUriMatcher.match(uri); in insertInTransaction()
3453 final int match = sUriMatcher.match(uri); in deleteInTransaction()
3865 final int match = sUriMatcher.match(uri); in updateInTransaction()
5195 final int match = sUriMatcher.match(uri); in queryLocal()
7964 int match = sUriMatcher.match(uri); in openAssetFileInner()
8445 final int match = sUriMatcher.match(uri); in getType()
[all …]