Home
last modified time | relevance | path

Searched refs:sURIMatcher (Results 1 – 8 of 8) 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 …]
DClockProvider.kt76 private val sURIMatcher: UriMatcher = UriMatcher(UriMatcher.NO_MATCH) constant
119 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS)
120 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms/#", ALARMS_ID)
121 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances", INSTANCES)
122 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances/#", INSTANCES_ID)
123 sURIMatcher.addURI(ClockContract.AUTHORITY,
160 when (sURIMatcher.match(uri)) { in query()
192 return when (sURIMatcher.match(uri)) { in getType()
210 when (sURIMatcher.match(uri)) { in update()
234 val rowId: Long = when (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()
331 final int match = sURIMatcher.match(uri); in queryInternal()
428 int match = sURIMatcher.match(uri); in getType()
530 final int matchedUriId = sURIMatcher.match(uri); in updateInternal()
559 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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java122 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); field in DownloadProvider
136 sURIMatcher.addURI("downloads", "my_downloads", MY_DOWNLOADS);
137 sURIMatcher.addURI("downloads", "my_downloads/#", MY_DOWNLOADS_ID);
138 sURIMatcher.addURI("downloads", "all_downloads", ALL_DOWNLOADS);
139 sURIMatcher.addURI("downloads", "all_downloads/#", ALL_DOWNLOADS_ID);
140 sURIMatcher.addURI("downloads",
143 sURIMatcher.addURI("downloads",
147 sURIMatcher.addURI("downloads", "download", MY_DOWNLOADS);
148 sURIMatcher.addURI("downloads", "download/#", MY_DOWNLOADS_ID);
149 sURIMatcher.addURI("downloads",
[all …]