OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sUriMatcher
(Results
1 - 12
of
12
) 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/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/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/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
64
private static final UriMatcher
sUriMatcher
= new UriMatcher(UriMatcher.NO_MATCH);
101
sUriMatcher
.addURI(authority, "*/*", ATTACHMENT_LIST);
102
sUriMatcher
.addURI(authority, "*/*/#", ATTACHMENT);
116
final int match =
sUriMatcher
.match(uri);
145
final int match =
sUriMatcher
.match(uri);
176
final int match =
sUriMatcher
.match(uri);
197
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/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
246
private static final ProfileAwareUriMatcher
sUriMatcher
=
[
all
...]
Completed in 1322 milliseconds