Home
last modified time | relevance | path

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

/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java77 private static final UriMatcher sUriMatcher; field in DataProvider
90 sUriMatcher = new UriMatcher(0);
100 sUriMatcher.addURI( in sUriMatcher.addURI()
106 sUriMatcher.addURI( in sUriMatcher.addURI()
250 switch (sUriMatcher.match(uri)) { in query()
295 return sMimeTypes.get(sUriMatcher.match(uri)); in getType()
309 switch (sUriMatcher.match(uri)) { in insert()
355 switch (sUriMatcher.match(uri)) { in bulkInsert()
451 switch (sUriMatcher.match(uri)) { in update()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java57 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in FeedProvider
59 sUriMatcher.addURI(AUTHORITY, "entries", ROUTE_ENTRIES); in sUriMatcher.addURI()
60 sUriMatcher.addURI(AUTHORITY, "entries/*", ROUTE_ENTRIES_ID); in sUriMatcher.addURI()
74 final int match = sUriMatcher.match(uri); in getType()
96 int uriMatch = sUriMatcher.match(uri); in query()
125 final int match = sUriMatcher.match(uri); in insert()
151 final int match = sUriMatcher.match(uri); in delete()
183 final int match = sUriMatcher.match(uri); in update()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java97 private static final UriMatcher sUriMatcher; field in NotePadProvider
112 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
115 sUriMatcher.addURI(NotePad.AUTHORITY, "notes", NOTES); in sUriMatcher.addURI()
119 sUriMatcher.addURI(NotePad.AUTHORITY, "notes/#", NOTE_ID); in sUriMatcher.addURI()
236 switch (sUriMatcher.match(uri)) { in query()
307 switch (sUriMatcher.match(uri)) { in getType()
346 switch (sUriMatcher.match(uri)) { in getStreamTypes()
469 if (sUriMatcher.match(uri) != NOTES) { in insert()
559 switch (sUriMatcher.match(uri)) { in delete()
644 switch (sUriMatcher.match(uri)) { in update()