Home
last modified time | relevance | path

Searched refs:sURIMatcher (Results 1 – 10 of 10) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java65 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in HbpcdLookupProvider
75 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_IDD, MCC_IDD); in sURIMatcher.addURI()
76 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI()
79 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI()
81 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_SID_RANGE, MCC_SID_RANGE); in sURIMatcher.addURI()
82 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_NANP_AREA_CODE, NANP_AREA_CODE); in sURIMatcher.addURI()
83 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI()
85 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_IDD + "/#", MCC_IDD_ID); in sURIMatcher.addURI()
86 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI()
88 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java106 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in ClockProvider
108 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS); in sURIMatcher.addURI()
109 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms/#", ALARMS_ID); in sURIMatcher.addURI()
110 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances", INSTANCES); in sURIMatcher.addURI()
111 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances/#", INSTANCES_ID); in sURIMatcher.addURI()
112 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms_with_instances", ALARMS_WITH_INSTANCES); in sURIMatcher.addURI()
146 int match = sURIMatcher.match(uri); in query()
186 int match = sURIMatcher.match(uri); in getType()
206 switch (sURIMatcher.match(uri)) { in update()
232 switch (sURIMatcher.match(uri)) { in insert()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java157 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in MessagingContentProvider
159 sURIMatcher.addURI(AUTHORITY, CONVERSATIONS_QUERY, CONVERSATIONS_QUERY_CODE); in sURIMatcher.addURI()
160 sURIMatcher.addURI(AUTHORITY, CONVERSATIONS_QUERY + "/*", CONVERSATION_QUERY_CODE); in sURIMatcher.addURI()
161 sURIMatcher.addURI(AUTHORITY, MESSAGES_QUERY + "/conversation/*", in sURIMatcher.addURI()
163 sURIMatcher.addURI(AUTHORITY, PARTICIPANTS_QUERY + "/conversation/*", in sURIMatcher.addURI()
165 sURIMatcher.addURI(AUTHORITY, PARTICIPANTS_QUERY, PARTICIPANTS_QUERY_CODE); in sURIMatcher.addURI()
166 sURIMatcher.addURI(AUTHORITY, CONVERSATION_IMAGES_QUERY + "/*", in sURIMatcher.addURI()
168 sURIMatcher.addURI(AUTHORITY, DRAFT_IMAGES_QUERY + "/*", in sURIMatcher.addURI()
275 final int match = sURIMatcher.match(uri); in query()
391 switch (sURIMatcher.match(uri)) { in getType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactMetadataProvider.java64 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in ContactMetadataProvider
67 sURIMatcher.addURI(MetadataSync.METADATA_AUTHORITY, "metadata_sync", METADATA_SYNC); in sURIMatcher.addURI()
68 sURIMatcher.addURI(MetadataSync.METADATA_AUTHORITY, "metadata_sync/#", METADATA_SYNC_ID); in sURIMatcher.addURI()
69 sURIMatcher.addURI(MetadataSync.METADATA_AUTHORITY, "metadata_sync_state", SYNC_STATE); in sURIMatcher.addURI()
135 final int match = sURIMatcher.match(uri); in query()
162 int match = sURIMatcher.match(uri); in getType()
186 final int matchedUriId = sURIMatcher.match(uri); in insert()
217 final int matchedUriId = sURIMatcher.match(uri); in delete()
265 final int matchedUriId = sURIMatcher.match(uri); in update()
346 final int matchUri = sURIMatcher.match(uri); in updateOrInsertDataToMetadataSync()
DCallLogProvider.java112 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CallLogProvider
114 sURIMatcher.addURI(CallLog.AUTHORITY, "calls", CALLS); in sURIMatcher.addURI()
115 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/#", CALLS_ID); in sURIMatcher.addURI()
116 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/filter/*", CALLS_FILTER); in sURIMatcher.addURI()
119 sURIMatcher.addURI(CallLog.SHADOW_AUTHORITY, "calls", CALLS); in sURIMatcher.addURI()
239 final int match = sURIMatcher.match(uri); in query()
311 int match = sURIMatcher.match(uri); in getType()
375 final int matchedUriId = sURIMatcher.match(uri); in update()
405 final int matchedUriId = sURIMatcher.match(uri); in delete()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java310 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in EmailProvider
370 int match = sURIMatcher.match(uri); in findMatch()
1075 synchronized (sURIMatcher) { in init()
1114 sURIMatcher.addURI(EmailContent.AUTHORITY, "account", ACCOUNT); in init()
1117 sURIMatcher.addURI(EmailContent.AUTHORITY, "account/#", ACCOUNT_ID); in init()
1118 sURIMatcher.addURI(EmailContent.AUTHORITY, "accountCheck/#", ACCOUNT_CHECK); in init()
1121 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox", MAILBOX); in init()
1125 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox/*", MAILBOX_ID); in init()
1126 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailboxNotification/#", in init()
1128 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailboxMostRecentMessage/#", in init()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java85 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in BluetoothOppProvider
94 sURIMatcher.addURI("com.android.bluetooth.opp", "btopp", SHARES);
95 sURIMatcher.addURI("com.android.bluetooth.opp", "btopp/#", SHARES_ID);
189 int match = sURIMatcher.match(uri); in getType()
229 if (sURIMatcher.match(uri) != SHARES) { in insert()
302 int match = sURIMatcher.match(uri); in query()
381 int match = sURIMatcher.match(uri); in update()
422 int match = sURIMatcher.match(uri); in delete()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java94 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in DownloadProvider
111 sURIMatcher.addURI("downloads", "my_downloads", MY_DOWNLOADS);
112 sURIMatcher.addURI("downloads", "my_downloads/#", MY_DOWNLOADS_ID);
113 sURIMatcher.addURI("downloads", "all_downloads", ALL_DOWNLOADS);
114 sURIMatcher.addURI("downloads", "all_downloads/#", ALL_DOWNLOADS_ID);
115 sURIMatcher.addURI("downloads",
118 sURIMatcher.addURI("downloads",
122 sURIMatcher.addURI("downloads", "download", MY_DOWNLOADS);
123 sURIMatcher.addURI("downloads", "download/#", MY_DOWNLOADS_ID);
124 sURIMatcher.addURI("downloads",
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java67 /* package */static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in TestProvider
128 int match = sURIMatcher.match(uri); in insert()
130 sURIMatcher.addURI(AUTHORITY, table, TABLE); in insert()
131 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD); in insert()
147 final int match = sURIMatcher.match(uri(uri)); in query()
185 final int match = sURIMatcher.match(uri(uri)); in update()
DTestProviderTests.java111 assertEquals(TestProvider.TABLE, TestProvider.sURIMatcher.match(TestProvider.uri(uri))); in testInsertQueryandDelete()
113 TestProvider.sURIMatcher.match(TestProvider.uri(results[0].uri))); in testInsertQueryandDelete()