Home
last modified time | relevance | path

Searched refs:URI_MATCHER (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/
DTvUriMatcher.java30 private static final UriMatcher URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in TvUriMatcher
62 URI_MATCHER.addURI(TvContract.AUTHORITY, "channel", MATCH_CHANNEL); in URI_MATCHER.addURI()
63 URI_MATCHER.addURI(TvContract.AUTHORITY, "channel/#", MATCH_CHANNEL_ID); in URI_MATCHER.addURI()
64 URI_MATCHER.addURI(TvContract.AUTHORITY, "program", MATCH_PROGRAM); in URI_MATCHER.addURI()
65 URI_MATCHER.addURI(TvContract.AUTHORITY, "program/#", MATCH_PROGRAM_ID); in URI_MATCHER.addURI()
66 URI_MATCHER.addURI(TvContract.AUTHORITY, "recorded_program", MATCH_RECORDED_PROGRAM); in URI_MATCHER.addURI()
67 URI_MATCHER.addURI(TvContract.AUTHORITY, "recorded_program/#", MATCH_RECORDED_PROGRAM_ID); in URI_MATCHER.addURI()
68 URI_MATCHER.addURI(TvContract.AUTHORITY, "watched_program/#", MATCH_WATCHED_PROGRAM_ID); in URI_MATCHER.addURI()
69 URI_MATCHER.addURI( in URI_MATCHER.addURI()
85 return URI_MATCHER.match(uri); in match()
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java47 private static final UriMatcher URI_MATCHER; field in PduCache
53 URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH);
54 URI_MATCHER.addURI("mms", null, MMS_ALL);
55 URI_MATCHER.addURI("mms", "#", MMS_ALL_ID);
56 URI_MATCHER.addURI("mms", "inbox", MMS_INBOX);
57 URI_MATCHER.addURI("mms", "inbox/#", MMS_INBOX_ID);
58 URI_MATCHER.addURI("mms", "sent", MMS_SENT);
59 URI_MATCHER.addURI("mms", "sent/#", MMS_SENT_ID);
60 URI_MATCHER.addURI("mms", "drafts", MMS_DRAFTS);
61 URI_MATCHER.addURI("mms", "drafts/#", MMS_DRAFTS_ID);
[all …]
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/
DChatProvider.java44 private static final UriMatcher URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in ChatProvider
50 URI_MATCHER.addURI(AUTHORITY, "chat", URI_CHAT); in URI_MATCHER.addURI()
51 URI_MATCHER.addURI(AUTHORITY, "summary", URI_SUMMARY); in URI_MATCHER.addURI()
67 int match = URI_MATCHER.match(uri); in query()
86 int match = URI_MATCHER.match(uri); in insert()
118 int match = URI_MATCHER.match(uri); in update()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java84 private static final UriMatcher URI_MATCHER = field in MmsSmsProvider
253 URI_MATCHER.addURI(AUTHORITY, "conversations", URI_CONVERSATIONS); in URI_MATCHER.addURI()
254 URI_MATCHER.addURI(AUTHORITY, "complete-conversations", URI_COMPLETE_CONVERSATIONS); in URI_MATCHER.addURI()
257 URI_MATCHER.addURI( in URI_MATCHER.addURI()
259 URI_MATCHER.addURI( in URI_MATCHER.addURI()
263 URI_MATCHER.addURI( in URI_MATCHER.addURI()
268 URI_MATCHER.addURI(AUTHORITY, "conversations/obsolete", URI_OBSOLETE_THREADS); in URI_MATCHER.addURI()
270 URI_MATCHER.addURI( in URI_MATCHER.addURI()
277 URI_MATCHER.addURI(AUTHORITY, "threadID", URI_THREAD_ID); in URI_MATCHER.addURI()
280 URI_MATCHER.addURI(AUTHORITY, "canonical-address/#", URI_CANONICAL_ADDRESS); in URI_MATCHER.addURI()
[all …]
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java109 private static final UriMatcher URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in SimPhonebookProvider
117 URI_MATCHER.addURI(SimPhonebookContract.AUTHORITY, in URI_MATCHER.addURI()
119 URI_MATCHER.addURI( in URI_MATCHER.addURI()
124 URI_MATCHER.addURI(SimPhonebookContract.AUTHORITY, in URI_MATCHER.addURI()
126 URI_MATCHER.addURI(SimPhonebookContract.AUTHORITY, in URI_MATCHER.addURI()
253 switch (URI_MATCHER.match(uri)) { in query()
456 switch (URI_MATCHER.match(uri)) { in getType()
479 switch (URI_MATCHER.match(uri)) { in insert()
544 switch (URI_MATCHER.match(uri)) { in delete()
579 switch (URI_MATCHER.match(uri)) { in update()
/packages/modules/Bluetooth/android/BluetoothLegacyMigration/
DBluetoothLegacyMigration.kt62 private val URI_MATCHER = UriMatcher(UriMatcher.NO_MATCH).apply { in <lambda>() constant
96 val database = UriId.values().firstOrNull { it.ordinal == URI_MATCHER.match(uri) } in getType()
120 val database = UriId.values().firstOrNull { it.ordinal == URI_MATCHER.match(uri) } in query()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardContentProvider.java60 private static final UriMatcher URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in CardContentProvider
65 URI_MATCHER.addURI(CARD_AUTHORITY, CardDatabaseHelper.CARD_TABLE, MATCH_CARDS); in URI_MATCHER.addURI()
201 final int match = URI_MATCHER.match(uri); in getTableFromMatch()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java82 private static final UriMatcher URI_MATCHER = new UriMatcher(UriMatcher.NO_MATCH); field in PartnerBookmarksProvider
100 final UriMatcher matcher = URI_MATCHER;
360 final int match = URI_MATCHER.match(uri); in query()
431 final int match = URI_MATCHER.match(uri); in getType()