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.java114 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in ClockProvider
116 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS); in sURIMatcher.addURI()
117 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms/#", ALARMS_ID); in sURIMatcher.addURI()
118 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances", INSTANCES); in sURIMatcher.addURI()
119 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances/#", INSTANCES_ID); in sURIMatcher.addURI()
120 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms_with_instances", ALARMS_WITH_INSTANCES); in sURIMatcher.addURI()
154 int match = sURIMatcher.match(uri); in query()
194 int match = sURIMatcher.match(uri); in getType()
214 switch (sURIMatcher.match(uri)) { in update()
240 switch (sURIMatcher.match(uri)) { in insert()
[all …]
/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.java114 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in CallLogProvider
116 sURIMatcher.addURI(CallLog.AUTHORITY, "calls", CALLS); in sURIMatcher.addURI()
117 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/#", CALLS_ID); in sURIMatcher.addURI()
118 sURIMatcher.addURI(CallLog.AUTHORITY, "calls/filter/*", CALLS_FILTER); in sURIMatcher.addURI()
121 sURIMatcher.addURI(CallLog.SHADOW_AUTHORITY, "calls", CALLS); in sURIMatcher.addURI()
317 final int match = sURIMatcher.match(uri); in queryInternal()
413 int match = sURIMatcher.match(uri); in getType()
515 final int matchedUriId = sURIMatcher.match(uri); in updateInternal()
544 final int matchedUriId = sURIMatcher.match(uri); in deleteInternal()
/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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java79 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in BluetoothOppProvider
88 sURIMatcher.addURI("com.android.bluetooth.opp", "btopp", SHARES);
89 sURIMatcher.addURI("com.android.bluetooth.opp", "btopp/#", SHARES_ID);
169 int match = sURIMatcher.match(uri); in getType()
205 if (sURIMatcher.match(uri) != SHARES) { in insert()
273 int match = sURIMatcher.match(uri); in query()
347 int match = sURIMatcher.match(uri); in update()
384 int match = sURIMatcher.match(uri); in delete()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java66 /* package */static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in TestProvider
118 int match = sURIMatcher.match(uri); in insert()
120 sURIMatcher.addURI(AUTHORITY, table, TABLE); in insert()
121 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD); in insert()
137 final int match = sURIMatcher.match(uri); in query()
175 final int match = sURIMatcher.match(uri); in update()
DTestProviderTests.java107 assertEquals(TestProvider.TABLE, TestProvider.sURIMatcher.match(uri)); in testInsertQueryandDelete()
108 assertEquals(TestProvider.RECORD, TestProvider.sURIMatcher.match(results[0].uri)); in testInsertQueryandDelete()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java311 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in EmailProvider
371 int match = sURIMatcher.match(uri); in findMatch()
1076 synchronized (sURIMatcher) { in init()
1115 sURIMatcher.addURI(EmailContent.AUTHORITY, "account", ACCOUNT); in init()
1118 sURIMatcher.addURI(EmailContent.AUTHORITY, "account/#", ACCOUNT_ID); in init()
1119 sURIMatcher.addURI(EmailContent.AUTHORITY, "accountCheck/#", ACCOUNT_CHECK); in init()
1122 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox", MAILBOX); in init()
1126 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox/*", MAILBOX_ID); in init()
1127 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailboxNotification/#", in init()
1129 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailboxMostRecentMessage/#", in init()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java119 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in DownloadProvider
133 sURIMatcher.addURI("downloads", "my_downloads", MY_DOWNLOADS);
134 sURIMatcher.addURI("downloads", "my_downloads/#", MY_DOWNLOADS_ID);
135 sURIMatcher.addURI("downloads", "all_downloads", ALL_DOWNLOADS);
136 sURIMatcher.addURI("downloads", "all_downloads/#", ALL_DOWNLOADS_ID);
137 sURIMatcher.addURI("downloads",
140 sURIMatcher.addURI("downloads",
144 sURIMatcher.addURI("downloads", "download", MY_DOWNLOADS);
145 sURIMatcher.addURI("downloads", "download/#", MY_DOWNLOADS_ID);
146 sURIMatcher.addURI("downloads",
[all …]