/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
EphemeralProvider.java | 32 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 34 sUriMatcher.addURI("com.android.cts.ephemeralapp1.provider", "table", 1); 50 return (sUriMatcher.match(uri) != 1) ? null : sCursor;
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
NormalProvider.java | 32 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 34 sUriMatcher.addURI("com.android.cts.normalapp.provider", "table", 1); 50 return (sUriMatcher.match(uri) != 1) ? null : sCursor;
|
ExposedProvider.java | 36 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 38 sUriMatcher.addURI("com.android.cts.normalapp.exposed.provider", "table", 1); 71 return (sUriMatcher.match(uri) != 1) ? null : sCursor;
|
/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)) {
|
/packages/apps/TV/src/com/android/tv/tuner/ |
TunerPreferenceProvider.java | 45 private static final UriMatcher sUriMatcher; 50 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 51 sUriMatcher.addURI(AUTHORITY, "preferences", MATCH_PREFERENCE); 52 sUriMatcher.addURI(AUTHORITY, "preferences/*", MATCH_PREFERENCE_KEY); 138 int match = sUriMatcher.match(uri); 151 switch (sUriMatcher.match(uri)) { 171 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) {
|
/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)) {
|
/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);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
EnterprisePolicyGuard.java | 43 private static final ProfileAwareUriMatcher sUriMatcher = ContactsProvider2.sUriMatcher; 60 final int uriCode = sUriMatcher.match(uri); 123 final int uriCode = sUriMatcher.match(uri); 128 final int uriCode = sUriMatcher.match(uri);
|
EnterpriseContactsCursorWrapper.java | 46 private static final UriMatcher sUriMatcher = ContactsProvider2.sUriMatcher; 176 final int uriCode = sUriMatcher.match(Uri.parse(thumbnailUri)); 201 final int uriCode = sUriMatcher.match(Uri.parse(photoUri));
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 76 private static final UriMatcher sUriMatcher; 83 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 84 sUriMatcher.addURI(AUTHORITY, "words", WORDS); 85 sUriMatcher.addURI(AUTHORITY, "words/#", WORD_ID); 153 switch (sUriMatcher.match(uri)) { 193 switch (sUriMatcher.match(uri)) { 208 if (sUriMatcher.match(uri) != WORDS) { 258 switch (sUriMatcher.match(uri)) { 287 switch (sUriMatcher.match(uri)) {
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
FilteredNumberProvider.java | 41 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 50 sUriMatcher.addURI( 54 sUriMatcher.addURI( 67 final int match = sUriMatcher.match(uri); 124 final int match = sUriMatcher.match(uri); 145 final int match = sUriMatcher.match(uri);
|
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageProvider.kt | 55 val match = sUriMatcher.match(uri) 116 val match = sUriMatcher.match(uri) 217 private val sUriMatcher = UriMatcher(UriMatcher.NO_MATCH) 220 sUriMatcher.addURI(ImageContract.AUTHORITY, "images", IMAGES) 221 sUriMatcher.addURI(ImageContract.AUTHORITY, "images/#", IMAGE_ID)
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/ |
ImageProvider.kt | 55 val match = sUriMatcher.match(uri) 116 val match = sUriMatcher.match(uri) 217 private val sUriMatcher = UriMatcher(UriMatcher.NO_MATCH) 220 sUriMatcher.addURI(ImageContract.AUTHORITY, "images", IMAGES) 221 sUriMatcher.addURI(ImageContract.AUTHORITY, "images/#", IMAGE_ID)
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePadProvider.java | 97 private static final UriMatcher sUriMatcher; 112 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 115 sUriMatcher.addURI(NotePad.AUTHORITY, "notes", NOTES); 119 sUriMatcher.addURI(NotePad.AUTHORITY, "notes/#", NOTE_ID); 236 switch (sUriMatcher.match(uri)) { 307 switch (sUriMatcher.match(uri)) { 346 switch (sUriMatcher.match(uri)) { 469 if (sUriMatcher.match(uri) != NOTES) { 559 switch (sUriMatcher.match(uri)) { 644 switch (sUriMatcher.match(uri)) [all...] |
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
ImageProvider.java | 53 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 56 sUriMatcher.addURI(ImageContract.AUTHORITY, "images", IMAGES); 57 sUriMatcher.addURI(ImageContract.AUTHORITY, "images/#", IMAGE_ID); 89 int match = sUriMatcher.match(uri); 141 int match = sUriMatcher.match(uri);
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
ImageProvider.java | 53 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 56 sUriMatcher.addURI(ImageContract.AUTHORITY, "images", IMAGES); 57 sUriMatcher.addURI(ImageContract.AUTHORITY, "images/#", IMAGE_ID); 89 int match = sUriMatcher.match(uri); 141 int match = sUriMatcher.match(uri);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastContentProvider.java | 43 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 64 sUriMatcher.addURI(CB_AUTHORITY, null, CB_ALL); 65 sUriMatcher.addURI(CB_AUTHORITY, "#", CB_ALL_ID); 98 int match = sUriMatcher.match(uri); 136 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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 69 private static final UriMatcher sUriMatcher; 81 sUriMatcher = new UriMatcher(0); 82 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked", BLOCKED_LIST); 83 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked/#", BLOCKED_ID); 115 final int match = sUriMatcher.match(uri); 130 final int match = sUriMatcher.match(uri); 193 final int match = sUriMatcher.match(uri); 251 final int match = sUriMatcher.match(uri);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 799 final int match = sUriMatcher.match(uri); [all...] |
/packages/providers/TvProvider/src/com/android/providers/tv/ |
TvProvider.java | 122 private static final UriMatcher sUriMatcher; 153 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 154 sUriMatcher.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL); 155 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); 156 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO); 157 sUriMatcher.addURI(TvContract.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID); 158 sUriMatcher.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM); 159 sUriMatcher.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID); 160 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM); 161 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program/#", MATCH_WATCHED_PROGRAM_ID) [all...] |