HomeSort by relevance Sort by last modified time
    Searched refs:sUriMatcher (Results 1 - 16 of 16) sorted by null

  /frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
SampleProvider.java 25 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
29 sUriMatcher.addURI(PROVIDER_URI, "photos", PHOTOS);
30 sUriMatcher.addURI(PROVIDER_URI, "photos/1", PHOTO_INDIVIDUAL_1);
31 sUriMatcher.addURI(PROVIDER_URI, "photos/2", PHOTO_INDIVIDUAL_2);
32 sUriMatcher.addURI(PROVIDER_URI, "photos/3", PHOTO_INDIVIDUAL_3);
33 sUriMatcher.addURI(PROVIDER_URI, "photos/4", PHOTO_INDIVIDUAL_4);
69 switch (sUriMatcher.match(uri)) {
  /development/samples/training/threadsample/src/com/example/android/threadsample/
DataProvider.java 77 private static final UriMatcher sUriMatcher;
90 sUriMatcher = new UriMatcher(0);
100 sUriMatcher.addURI(
106 sUriMatcher.addURI(
250 switch (sUriMatcher.match(uri)) {
295 return sMimeTypes.get(sUriMatcher.match(uri));
309 switch (sUriMatcher.match(uri)) {
355 switch (sUriMatcher.match(uri)) {
451 switch (sUriMatcher.match(uri)) {
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 70 private static final UriMatcher sUriMatcher;
129 switch (sUriMatcher.match(uri)) {
164 switch (sUriMatcher.match(uri)) {
179 if (sUriMatcher.match(uri) != WORDS) {
224 switch (sUriMatcher.match(uri)) {
248 switch (sUriMatcher.match(uri)) {
269 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
270 sUriMatcher.addURI(AUTHORITY, "words", WORDS);
271 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID);
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java 39 // this ContentProvider is defined using sUriMatcher.addURI(), and associated with one of these
42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined
57 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
59 sUriMatcher.addURI(AUTHORITY, "entries", ROUTE_ENTRIES);
60 sUriMatcher.addURI(AUTHORITY, "entries/*", ROUTE_ENTRIES_ID);
74 final int match = sUriMatcher.match(uri);
96 int uriMatch = sUriMatcher.match(uri);
125 final int match = sUriMatcher.match(uri);
151 final int match = sUriMatcher.match(uri);
183 final int match = sUriMatcher.match(uri)
    [all...]
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java 39 // this ContentProvider is defined using sUriMatcher.addURI(), and associated with one of these
42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined
57 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
59 sUriMatcher.addURI(AUTHORITY, "entries", ROUTE_ENTRIES);
60 sUriMatcher.addURI(AUTHORITY, "entries/*", ROUTE_ENTRIES_ID);
74 final int match = sUriMatcher.match(uri);
96 int uriMatch = sUriMatcher.match(uri);
125 final int match = sUriMatcher.match(uri);
151 final int match = sUriMatcher.match(uri);
183 final int match = sUriMatcher.match(uri)
    [all...]
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
FeedProvider.java 39 // this ContentProvider is defined using sUriMatcher.addURI(), and associated with one of these
42 // When a incoming URI is run through sUriMatcher, it will be tested against the defined
57 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
59 sUriMatcher.addURI(AUTHORITY, "entries", ROUTE_ENTRIES);
60 sUriMatcher.addURI(AUTHORITY, "entries/*", ROUTE_ENTRIES_ID);
74 final int match = sUriMatcher.match(uri);
96 int uriMatch = sUriMatcher.match(uri);
125 final int match = sUriMatcher.match(uri);
151 final int match = sUriMatcher.match(uri);
183 final int match = sUriMatcher.match(uri)
    [all...]
  /frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
BrowserService.java 84 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
86 sUriMatcher.addURI(AUTHORITY, BROWSE_ROOT_BASE_PATH, BROWSE_ROOT);
87 sUriMatcher.addURI(AUTHORITY, NOW_PLAYING_PATH, NOW_PLAYING);
88 sUriMatcher.addURI(AUTHORITY, PIANO_BASE_PATH, PIANO);
89 sUriMatcher.addURI(AUTHORITY, VOICE_BASE_PATH, VOICE);
171 int match = sUriMatcher.match(uri);
  /development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java 105 private static final UriMatcher sUriMatcher;
120 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
123 sUriMatcher.addURI(NotePad.AUTHORITY, "notes", NOTES);
127 sUriMatcher.addURI(NotePad.AUTHORITY, "notes/#", NOTE_ID);
131 sUriMatcher.addURI(NotePad.AUTHORITY, "live_folders/notes", LIVE_FOLDER_NOTES);
262 switch (sUriMatcher.match(uri)) {
338 switch (sUriMatcher.match(uri)) {
378 switch (sUriMatcher.match(uri)) {
502 if (sUriMatcher.match(uri) != NOTES) {
592 switch (sUriMatcher.match(uri))
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastContentProvider.java 42 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
63 sUriMatcher.addURI(CB_AUTHORITY, null, CB_ALL);
64 sUriMatcher.addURI(CB_AUTHORITY, "#", CB_ALL_ID);
96 int match = sUriMatcher.match(uri);
134 int match = sUriMatcher.match(uri);
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
EmlAttachmentProvider.java 66 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
104 sUriMatcher.addURI(authority, "attachments/*/*", ATTACHMENT_LIST);
105 sUriMatcher.addURI(authority, "attachment/*/*/#", ATTACHMENT);
106 sUriMatcher.addURI(authority, "attachmentByCid/*/*/*", ATTACHMENT_BY_CID);
120 final int match = sUriMatcher.match(uri);
172 final int match = sUriMatcher.match(uri);
203 final int match = sUriMatcher.match(uri);
224 final int match = sUriMatcher.match(uri);
  /packages/apps/Gallery2/src/com/android/photos/data/
PhotoProvider.java 245 protected static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
257 sUriMatcher.addURI(AUTHORITY, Photos.TABLE, MATCH_PHOTO);
259 sUriMatcher.addURI(AUTHORITY, Photos.TABLE + "/#", MATCH_PHOTO_ID);
260 sUriMatcher.addURI(AUTHORITY, Albums.TABLE, MATCH_ALBUM);
262 sUriMatcher.addURI(AUTHORITY, Albums.TABLE + "/#", MATCH_ALBUM_ID);
263 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE, MATCH_METADATA);
265 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE + "/#", MATCH_METADATA_ID);
266 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE, MATCH_ACCOUNT);
268 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE + "/#", MATCH_ACCOUNT_ID);
435 int match = sUriMatcher.match(uri)
    [all...]
  /packages/apps/Browser/src/com/android/browser/homepages/
RequestHandler.java 50 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
57 sUriMatcher.addURI(HomeProvider.AUTHORITY, "/", INDEX);
58 sUriMatcher.addURI(HomeProvider.AUTHORITY, "res/*/*", RESOURCE);
84 int match = sUriMatcher.match(mUri);
  /packages/providers/TvProvider/src/com/android/providers/tv/
TvProvider.java 104 private static final UriMatcher sUriMatcher;
128 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
129 sUriMatcher.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL);
130 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID);
131 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO);
132 sUriMatcher.addURI(TvContract.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID);
133 sUriMatcher.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM);
134 sUriMatcher.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID);
135 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM);
136 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program/#", MATCH_WATCHED_PROGRAM_ID)
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LegacyApiSupport.java 76 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
287 UriMatcher matcher = sUriMatcher;
    [all...]
ContactsProvider2.java 281 private static final ProfileAwareUriMatcher sUriMatcher =
    [all...]

Completed in 950 milliseconds