/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferenceProvider.java | 45 private static final UriMatcher sUriMatcher; field in CommonPreferenceProvider 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() 140 int match = sUriMatcher.match(uri); in query() 160 switch (sUriMatcher.match(uri)) { in getType() 181 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) { in insert()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 71 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CellBroadcastProvider 140 sUriMatcher.addURI(AUTHORITY, null, ALL); in sUriMatcher.addURI() 141 sUriMatcher.addURI(AUTHORITY, "history", MESSAGE_HISTORY); in sUriMatcher.addURI() 166 int match = sUriMatcher.match(uri); in getType() 199 int match = sUriMatcher.match(uri); in query() 226 switch (sUriMatcher.match(uri)) { in insert() 256 switch (sUriMatcher.match(uri)) { in delete() 278 switch (sUriMatcher.match(uri)) { in update() 347 int match = sUriMatcher.match(uri); in checkReadPermission()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 78 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/ |
D | PhotoProvider.java | 245 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/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuard.java | 43 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()
|
D | EnterpriseContactsCursorWrapper.java | 46 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/apps/TV/tests/common/src/com/android/tv/testing/fakes/ |
D | FakeTvProvider.java | 124 private static final UriMatcher sUriMatcher; field in FakeTvProvider 158 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 159 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "channel", MATCH_CHANNEL); in sUriMatcher.addURI() 160 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); in sUriMatcher.addURI() 161 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO); in sUriMatcher.addURI() 162 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID); in sUriMatcher.addURI() 163 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "program", MATCH_PROGRAM); in sUriMatcher.addURI() 164 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "program/#", MATCH_PROGRAM_ID); in sUriMatcher.addURI() 165 sUriMatcher.addURI(TvContractCompat.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM); in sUriMatcher.addURI() 166 sUriMatcher.addURI( in sUriMatcher.addURI() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 845 final int match = sUriMatcher.match(uri); in shouldSyncFor() 982 final int match = sUriMatcher.match(uri); in queryInternal() 1639 int match = sUriMatcher.match(url); in getType() 2331 final int match = sUriMatcher.match(uri); in insertInTransactionInner() 3321 final int match = sUriMatcher.match(uri); in deleteInTransactionInner() 4200 final int match = sUriMatcher.match(uri); in updateInTransactionInner() 4879 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CalendarProvider2 4892 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/when/*/*", INSTANCES); in sUriMatcher.addURI() 4893 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/whenbyday/*/*", INSTANCES_BY_DAY); in sUriMatcher.addURI() 4894 sUriMatcher.addURI(CalendarContract.AUTHORITY, "instances/search/*/*/*", INSTANCES_SEARCH); in sUriMatcher.addURI() [all …]
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 72 private static final UriMatcher sUriMatcher; field in BlockedNumberProvider 85 sUriMatcher = new UriMatcher(0); 86 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked", BLOCKED_LIST); in sUriMatcher.addURI() 87 sUriMatcher.addURI(BlockedNumberContract.AUTHORITY, "blocked/#", BLOCKED_ID); in sUriMatcher.addURI() 119 final int match = sUriMatcher.match(uri); in getType() 134 final int match = sUriMatcher.match(uri); in insert() 197 final int match = sUriMatcher.match(uri); in delete() 255 final int match = sUriMatcher.match(uri); in query()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 45 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CellBroadcastContentProvider 66 sUriMatcher.addURI(CB_AUTHORITY, null, CB_ALL); in sUriMatcher.addURI() 67 sUriMatcher.addURI(CB_AUTHORITY, "#", CB_ALL_ID); in sUriMatcher.addURI() 126 int match = sUriMatcher.match(uri); in query() 164 int match = sUriMatcher.match(uri); in getType()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 129 private static final UriMatcher sUriMatcher; field in TvProvider 160 sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); 161 sUriMatcher.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL); in sUriMatcher.addURI() 162 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); in sUriMatcher.addURI() 163 sUriMatcher.addURI(TvContract.AUTHORITY, "channel/#/logo", MATCH_CHANNEL_ID_LOGO); in sUriMatcher.addURI() 164 sUriMatcher.addURI(TvContract.AUTHORITY, "passthrough/*", MATCH_PASSTHROUGH_ID); in sUriMatcher.addURI() 165 sUriMatcher.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM); in sUriMatcher.addURI() 166 sUriMatcher.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID); in sUriMatcher.addURI() 167 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program", MATCH_WATCHED_PROGRAM); in sUriMatcher.addURI() 168 sUriMatcher.addURI(TvContract.AUTHORITY, "watched_program/#", MATCH_WATCHED_PROGRAM_ID); in sUriMatcher.addURI() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | DataMigrationContentProvider.java | 27 private static final UriMatcher sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in DataMigrationContentProvider 42 sUriMatcher.addURI(CB_AUTHORITY, null, CB_ALL); in sUriMatcher.addURI() 61 final int match = sUriMatcher.match(uri); in query()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 76 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()
|
D | ContactsProvider2.java | 287 public static final ProfileAwareUriMatcher sUriMatcher = field in ContactsProvider2 1150 final UriMatcher matcher = sUriMatcher; 2126 return sUriMatcher.mapsToProfile(uri); in mapsToProfileDb() 2144 int match = sUriMatcher.match(uri); in mapsToProfileDbWithInsertedValues() 2617 final int match = sUriMatcher.match(uri); in insertInTransaction() 3561 final int match = sUriMatcher.match(uri); in deleteInTransaction() 3973 final int match = sUriMatcher.match(uri); in updateInTransaction() 5752 final int match = sUriMatcher.match(uri); in queryLocal() 8577 int match = sUriMatcher.match(uri); in openAssetFileInner() 9150 final int match = sUriMatcher.match(uri); in getType() [all …]
|