Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferenceProvider.java45 private static final UriMatcher sUriMatcher; field in TunerPreferenceProvider
50 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
51 sUriMatcher.addURI(AUTHORITY, "preferences", MATCH_PREFERENCE); in sUriMatcher.addURI()
52 sUriMatcher.addURI(AUTHORITY, "preferences/*", MATCH_PREFERENCE_KEY); in sUriMatcher.addURI()
138 int match = sUriMatcher.match(uri); in query()
151 switch (sUriMatcher.match(uri)) { in getType()
171 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) { in insert()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java78 private static final UriMatcher sUriMatcher; field in UserDictionaryProvider
85 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
86 sUriMatcher.addURI(AUTHORITY, "words", WORDS); in sUriMatcher.addURI()
87 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID); in sUriMatcher.addURI()
162 switch (sUriMatcher.match(uri)) { in query()
197 switch (sUriMatcher.match(uri)) { in getType()
212 if (sUriMatcher.match(uri) != WORDS) { in insert()
267 switch (sUriMatcher.match(uri)) { in delete()
296 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/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java41 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in FilteredNumberProvider
50 sUriMatcher.addURI( in onCreate()
54 sUriMatcher.addURI( in onCreate()
67 final int match = sUriMatcher.match(uri); in query()
124 final int match = sUriMatcher.match(uri); in delete()
145 final int match = sUriMatcher.match(uri); in update()
/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/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java69 private static final UriMatcher sUriMatcher; field in BlockedNumberProvider
81 sUriMatcher = new UriMatcher(0);
82 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked", BLOCKED_LIST); in sUriMatcher.addURI()
83 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked/#", BLOCKED_ID); in sUriMatcher.addURI()
115 final int match = sUriMatcher.match(uri); in getType()
130 final int match = sUriMatcher.match(uri); in insert()
193 final int match = sUriMatcher.match(uri); in delete()
251 final int match = sUriMatcher.match(uri); in query()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java43 private static final ProfileAwareUriMatcher sUriMatcher = ContactsProvider2.sUriMatcher; field in EnterprisePolicyGuard
60 final int uriCode = sUriMatcher.match(uri); in isCrossProfileAllowed()
123 final int uriCode = sUriMatcher.match(uri); in isCrossProfileDirectorySupported()
128 final int uriCode = sUriMatcher.match(uri); in isValidEnterpriseUri()
DEnterpriseContactsCursorWrapper.java46 private static final UriMatcher sUriMatcher = ContactsProvider2.sUriMatcher; field in EnterpriseContactsCursorWrapper
176 final int uriCode = sUriMatcher.match(Uri.parse(thumbnailUri)); in getCorpThumbnailUri()
201 final int uriCode = sUriMatcher.match(Uri.parse(photoUri)); in getCorpDisplayPhotoUri()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java123 private static final UriMatcher sUriMatcher; field in TvProvider
154 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
155 sUriMatcher.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL); in sUriMatcher.addURI()
156 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); in sUriMatcher.addURI()
157 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO); in sUriMatcher.addURI()
158 sUriMatcher.addURI(TvContract.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID); in sUriMatcher.addURI()
159 sUriMatcher.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM); in sUriMatcher.addURI()
160 sUriMatcher.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID); in sUriMatcher.addURI()
161 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM); in sUriMatcher.addURI()
162 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/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java799 final int match = sUriMatcher.match(uri); in shouldSyncFor()
829 final int match = sUriMatcher.match(uri); in queryInternal()
1456 int match = sUriMatcher.match(url); in getType()
2080 final int match = sUriMatcher.match(uri); in insertInTransaction()
3057 final int match = sUriMatcher.match(uri); in deleteInTransaction()
3922 final int match = sUriMatcher.match(uri); in updateInTransaction()
4593 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CalendarProvider2
4606 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/when/*/*", INSTANCES); in sUriMatcher.addURI()
4607 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/whenbyday/*/*", INSTANCES_BY_DAY); in sUriMatcher.addURI()
4608 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/search/*/*/*", INSTANCES_SEARCH); in sUriMatcher.addURI()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java76 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in LegacyApiSupport
265 UriMatcher matcher = sUriMatcher;
752 final int match = sUriMatcher.match(uri); in insert()
918 int match = sUriMatcher.match(uri); in update()
1466 final int match = sUriMatcher.match(uri); in delete()
1553 final int match = sUriMatcher.match(uri); in query()
1960 int match = sUriMatcher.match(uri); in getType()
DContactsProvider2.java310 public static final ProfileAwareUriMatcher sUriMatcher = field in ContactsProvider2
1207 final UriMatcher matcher = sUriMatcher;
2183 return sUriMatcher.mapsToProfile(uri); in mapsToProfileDb()
2201 int match = sUriMatcher.match(uri); in mapsToProfileDbWithInsertedValues()
2674 final int match = sUriMatcher.match(uri); in insertInTransaction()
3618 final int match = sUriMatcher.match(uri); in deleteInTransaction()
4031 final int match = sUriMatcher.match(uri); in updateInTransaction()
5823 final int match = sUriMatcher.match(uri); in queryLocal()
8720 int match = sUriMatcher.match(uri); in openAssetFileInner()
9293 final int match = sUriMatcher.match(uri); in getType()
[all …]