Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 124) sorted by relevance

12345

/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java274 int match = matchUri(uri); in deleteInTransaction() local
275 selection = addIdToSelection(match, selection); in deleteInTransaction()
276 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); in deleteInTransaction()
277 return deleteCascade(uri, match, selection, selectionArgs); in deleteInTransaction()
293 int match = matchUri(uri); in insertInTransaction() local
294 validateMatchTable(match); in insertInTransaction()
295 String table = getTableFromMatch(match, uri); in insertInTransaction()
317 int match = matchUri(uri); in query() local
318 selection = addIdToSelection(match, selection); in query()
319 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); in query()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java169 int match = sURIMatcher.match(uri); in getType() local
170 switch (match) { in getType()
205 if (sURIMatcher.match(uri) != SHARES) { in insert()
273 int match = sURIMatcher.match(uri); in query() local
274 switch (match) { in query()
347 int match = sURIMatcher.match(uri); in update() local
348 switch (match) { in update()
353 if (match == SHARES) { in update()
361 if (match == SHARES_ID) { in update()
384 int match = sURIMatcher.match(uri); in delete() local
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java105 int match = sURLMatcher.match(uri); in query() local
107 Log.v(TAG, "Query uri=" + uri + ", match=" + match); in query()
110 switch (match) { in query()
137 + getMessageBoxByMatch(match)); in query()
263 int match = sURLMatcher.match(uri); in getType() local
264 switch (match) { in getType()
312 int match = sURLMatcher.match(uri); in insert() local
314 Log.v(TAG, "Insert uri=" + uri + ", match=" + match); in insert()
318 switch (match) { in insert()
435 if (match == MMS_MSG_PART) { in insert()
[all …]
DSmsProvider.java126 int match = sURLMatcher.match(url); in query() local
127 SQLiteDatabase db = getReadableDatabase(match); in query()
128 switch (match) { in query()
286 private SQLiteOpenHelper getDBOpenHelper(int match) { in getDBOpenHelper() argument
288 if (match == SMS_RAW_MESSAGE || match == SMS_RAW_MESSAGE_PERMANENT_DELETE) { in getDBOpenHelper()
433 final boolean notifyIfNotDefault = sURLMatcher.match(url) != SMS_RAW_MESSAGE; in bulkInsert()
452 final boolean notifyIfNotDefault = sURLMatcher.match(url) != SMS_RAW_MESSAGE; in insert()
465 int match = sURLMatcher.match(url); in insertInner() local
468 switch (match) { in insertInner()
524 SQLiteDatabase db = getWritableDatabase(match); in insertInner()
[all …]
DRcsProvider.java335 int match = URL_MATCHER.match(uri); in query() local
348 switch (match) { in query()
473 int match = URL_MATCHER.match(uri); in insert() local
476 switch (match) { in insert()
613 int match = URL_MATCHER.match(uri); in delete() local
616 switch (match) { in delete()
713 int match = URL_MATCHER.match(uri); in update() local
716 switch (match) { in update()
DCarrierIdProvider.java220 final int match = s_urlMatcher.match(uri); in query() local
221 switch (match) { in query()
242 final int match = s_urlMatcher.match(uri); in insert() local
243 switch (match) { in insert()
270 final int match = s_urlMatcher.match(uri); in delete() local
271 switch (match) { in delete()
297 final int match = s_urlMatcher.match(uri); in update() local
298 switch (match) { in update()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java154 int match = sURIMatcher.match(uri); in query() local
155 switch (match) { in query()
194 int match = sURIMatcher.match(uri); in getType() local
195 switch (match) { in getType()
214 switch (sURIMatcher.match(uri)) { in update()
240 switch (sURIMatcher.match(uri)) { in insert()
261 switch (sURIMatcher.match(uri)) { in delete()
300 final int match = sURIMatcher.match(uri); in notifyChange() local
302 if (match == ALARMS || match == INSTANCES || match == ALARMS_ID || match == INSTANCES_ID) { in notifyChange()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java94 int match = uriMatcher.match(uri); in query() local
95 switch (match) { in query()
152 int match = uriMatcher.match(uri); in insert() local
153 switch (match) { in insert()
194 final int match = uriMatcher.match(uri); in delete() local
195 switch (match) { in delete()
234 int match = uriMatcher.match(uri); in update() local
235 switch (match) { in update()
290 int match = uriMatcher.match(operation.getUri()); in applyBatch() local
291 switch (match) { in applyBatch()
/packages/apps/Messaging/build/
Dprocess_style_output.py29 match = PATTERN.match(line) variable
30 if match:
31 filename = match.group("file");
34 message = match.group("message")
37 …print " " + filename + ':' + match.group("line") + (match.group("column") if match.group("column"…
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java118 int match = sURIMatcher.match(uri); in insert() local
119 if (match == UriMatcher.NO_MATCH) { in insert()
137 final int match = sURIMatcher.match(uri); in query() local
139 switch (match) { in query()
175 final int match = sURIMatcher.match(uri); in update() local
178 switch (match) { in update()
216 switch(match) { in update()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java171 case 1: return sUriMatcherV1.match(uri); in matchUri()
172 case 2: return sUriMatcherV2.match(uri); in matchUri()
199 final int match = matchUri(uri); in getType() local
200 switch (match) { in getType()
231 final int match = matchUri(uri); in query() local
232 switch (match) { in query()
294 final int match = matchUri(uri); in openAssetFile() local
295 if (DICTIONARY_V1_DICT_INFO != match && DICTIONARY_V2_DATAFILE != match) { in openAssetFile()
437 final int match = matchUri(uri); in delete() local
438 if (DICTIONARY_V1_DICT_INFO == match || DICTIONARY_V2_DATAFILE == match) { in delete()
[all …]
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberProvider.java68 final int match = uriMatcher.match(uri); in query() local
69 switch (match) { in query()
125 final int match = uriMatcher.match(uri); in delete() local
126 switch (match) { in delete()
146 final int match = uriMatcher.match(uri); in update() local
147 switch (match) { in update()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileAwareUriMatcher.java115 int match = match(uri); in mapsToProfile() local
116 if (PROFILE_URIS.contains(match)) { in mapsToProfile()
118 } else if (PROFILE_URI_ID_MAP.containsKey(match)) { in mapsToProfile()
119 int idSegment = PROFILE_URI_ID_MAP.get(match); in mapsToProfile()
124 } else if (PROFILE_URI_LOOKUP_KEY_MAP.containsKey(match)) { in mapsToProfile()
125 int lookupKeySegment = PROFILE_URI_LOOKUP_KEY_MAP.get(match); in mapsToProfile()
DContactMetadataProvider.java135 final int match = sURIMatcher.match(uri); in query() local
136 switch (match) { in query()
162 int match = sURIMatcher.match(uri); in getType() local
163 switch (match) { 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()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java120 final int match = sUriMatcher.match(uri); in query() local
125 switch (match) { in query()
172 final int match = sUriMatcher.match(uri); in getType() local
173 switch (match) { in getType()
203 final int match = sUriMatcher.match(uri); in delete() local
204 switch (match) { in delete()
224 final int match = sUriMatcher.match(uri); in update() local
225 switch (match) { in update()
DSuggestionsProvider.java142 String match; in query() local
144 match = cursor.getString(nameIndex); in query()
145 match = !TextUtils.isEmpty(match) ? match : cursor.getString(addressIndex); in query()
148 addRow(new Object[] {0, match, createQuery(match), emptyIcon}); in query()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java79 final Matcher match = NAME_ADDR_EMAIL_PATTERN.matcher(address); in extractAddrSpec() local
81 if (match.matches()) { in extractAddrSpec()
82 return match.group(2); in extractAddrSpec()
99 final Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); in isEmailAddress() local
100 return match.matches(); in isEmailAddress()
114 final Matcher match = Patterns.PHONE.matcher(number); in isPhoneNumber() local
115 return match.matches(); in isPhoneNumber()
/packages/services/BuiltInPrintService/jni/lib/
Dplugin_db.c102 _plugin_db_t *match = NULL; in plugin_search() local
112 use = ((match == NULL) || (_plugin[i].priority < match->priority)); in plugin_search()
114 match = &_plugin[i]; in plugin_search()
123 return ((match != NULL) ? match->plugin : NULL); in plugin_search()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DTypedUriMatcherImpl.java53 public T match(Uri uri) { in match() method in TypedUriMatcherImpl
54 int match = mUriMatcher.match(uri); in match() local
55 if (match == UriMatcher.NO_MATCH) { in match()
58 return mValues[match]; in match()
/packages/providers/CalendarProvider/
Dmaketests.py56 m = TIME.match(s[0])
65 m = TIMEZ.match(s[0])
89 re_dtstart = DTSTART_TZID.match(s)
93 re_dtstart = DTSTART.match(s)
96 re_duration = DURATION.match(s)
99 re_rrule = RRULE.match(s)
/packages/apps/Email/src/com/android/email/mail/internet/
DEmailHtmlUtil.java36 Matcher match = pattern.matcher(text); in escapeCharacterToDisplay() local
38 if (match.find()) { in escapeCharacterToDisplay()
42 int start = match.start(); in escapeCharacterToDisplay()
44 end = match.end(); in escapeCharacterToDisplay()
61 } while (match.find()); in escapeCharacterToDisplay()
/packages/apps/TV/common/src/com/android/tv/common/
DCommonPreferenceProvider.java140 int match = sUriMatcher.match(uri); in query() local
141 if (match != MATCH_PREFERENCE && match != MATCH_PREFERENCE_KEY) { in query()
160 switch (sUriMatcher.match(uri)) { in getType()
181 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) { in insert()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java119 final int match = sUriMatcher.match(uri); in getType() local
120 switch (match) { in getType()
134 final int match = sUriMatcher.match(uri); in insert() local
135 switch (match) { in insert()
197 final int match = sUriMatcher.match(uri); in delete() local
199 switch (match) { in delete()
255 final int match = sUriMatcher.match(uri); in query() local
257 switch (match) { in query()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java379 public static CharMatcher is(final char match) { in is() argument
382 return c == match; in is()
387 return sequence.toString().replace(match, replacement); in is()
390 return other.matches(match) ? this : NONE; in is()
393 return other.matches(match) ? other : super.or(other); in is()
396 return isNot(match); in is()
399 table.set(match); in is()
413 public static CharMatcher isNot(final char match) {
416 return c != match;
420 return other.matches(match) ? super.and(other) : other;
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java134 int match = URI_MATCHER.match(uri); in purge() local
135 switch (match) { in purge()
153 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); in purge()
188 int match = URI_MATCHER.match(uri); in normalizeKey() local
191 switch (match) { in normalizeKey()

12345