Searched refs:match (Results 1 - 25 of 60) sorted by relevance

123

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DTypedUriMatcher.java26 public T match(Uri uri); method in interface:TypedUriMatcher
H A DTypedUriMatcherImpl.java53 public T match(Uri uri) { method in class:TypedUriMatcherImpl
54 int match = mUriMatcher.match(uri);
55 if (match == UriMatcher.NO_MATCH) {
58 return mValues[match];
/packages/apps/Email/src/com/android/email/mail/internet/
H A DEmailHtmlUtil.java36 Matcher match = pattern.matcher(text);
38 if (match.find()) {
42 int start = match.start();
44 end = match.end();
61 } while (match.find());
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmProvider.java58 int match = sURLMatcher.match(url);
59 switch (match) {
87 int match = sURLMatcher.match(url);
88 switch (match) {
102 int match = sURLMatcher.match(url);
104 switch (match) {
123 if (sURLMatcher.match(ur
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DProfileAwareUriMatcher.java58 * @param code the code to match for the root URI
104 * 3. The URI contains lookup key references that match the special profile lookup key.
109 int match = match(uri);
110 if (PROFILE_URIS.contains(match)) {
112 } else if (PROFILE_URI_ID_MAP.containsKey(match)) {
113 int idSegment = PROFILE_URI_ID_MAP.get(match);
118 } else if (PROFILE_URI_LOOKUP_KEY_MAP.containsKey(match)) {
119 int lookupKeySegment = PROFILE_URI_LOOKUP_KEY_MAP.get(match);
H A DCallLogProvider.java134 final int match = sURIMatcher.match(uri);
135 switch (match) {
200 int match = sURIMatcher.match(uri);
201 switch (match) {
252 final int matchedUriId = sURIMatcher.match(uri);
275 final int matchedUriId = sURIMatcher.match(uri);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSecureSource.java38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path)));
43 switch (mMatcher.match(path)) {
H A DComboSource.java44 switch (mMatcher.match(path)) {
/packages/providers/DrmProvider/src/com/android/providers/drm/
H A DDrmProvider.java144 switch (URI_MATCHER.match(uri)) {
187 switch (URI_MATCHER.match(url)) {
232 int match = URI_MATCHER.match(uri);
240 switch (match) {
280 private void getTableAndWhere(Uri uri, int match, String userWhere, argument
283 switch (match) {
348 int match = URI_MATCHER.match(uri);
352 getTableAndWhere(uri, match, userWher
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DRomkan.java183 String match = Romkan.romkanTable.get(key.toString().toLowerCase());
184 if (match != null) {
186 match = match.toUpperCase();
189 if (match.length() == 1) {
191 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to);
195 out[0] = new StrSegment(match.substring(0, match.length() - 1),
197 out[1] = new StrSegment(match.substring(match
[all...]
H A DRomkanFullKatakana.java187 String match = table.get(key.toString().toLowerCase());
188 if (match != null) {
190 match = match.toUpperCase();
193 if (match.length() == 1) {
195 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to);
199 out[0] = new StrSegment(match.substring(0, match.length() - 1),
201 out[1] = new StrSegment(match.substring(match
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java202 int match = sURIMatcher.match(uri);
203 switch (match) {
235 if (sURIMatcher.match(uri) != SHARES) {
309 int match = sURIMatcher.match(uri);
310 switch (match) {
396 int match = sURIMatcher.match(uri);
397 switch (match) {
[all...]
/packages/providers/CalendarProvider/
H A 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/Gallery2/tests/src/com/android/gallery3d/data/
H A DMockSource.java39 switch (mMatcher.match(path)) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestionProvider.java75 int match = mUriMatcher.match(uri);
77 if (match == SEARCH_SUGGEST) {
81 } else if (match == SEARCH_SHORTCUT) {
/packages/apps/Browser/src/com/android/browser/provider/
H A DSnapshotProvider.java157 final int match = URI_MATCHER.match(uri);
160 switch (match) {
191 int match = URI_MATCHER.match(uri);
193 switch (match) {
240 int match = URI_MATCHER.match(uri);
242 switch (match) {
H A DBrowserProvider.java78 // shared suggestion array index, make sure to match COLUMNS
114 // make sure that these match the index of TABLE_NAMES
117 // (id % 10) should match the table name index
452 * 2. If bookmark/history entries has a match, "Search the web" shows up at
756 int match = URI_MATCHER.match(url);
757 if (match == -1) {
761 if (match == URI_MATCH_SUGGEST || match == URI_MATCH_BOOKMARKS_SUGGEST) {
763 return doSuggestQuery(selection, selectionArgs, match
[all...]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
H A DMockProvider.java125 int match = sURIMatcher.match(uri);
126 if (match == UriMatcher.NO_MATCH) {
144 final int match = sURIMatcher.match(uri(uri));
146 switch(match) {
182 final int match = sURIMatcher.match(uri(uri));
185 switch(match) {
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProvider.java125 int match = sURIMatcher.match(uri);
126 if (match == UriMatcher.NO_MATCH) {
144 final int match = sURIMatcher.match(uri(uri));
146 switch(match) {
182 final int match = sURIMatcher.match(uri(uri));
185 switch(match) {
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java76 int match = sURLMatcher.match(uri);
78 Log.v(TAG, "Query uri=" + uri + ", match=" + match);
81 switch (match) {
108 + getMessageBoxByMatch(match));
224 int match = sURLMatcher.match(uri);
225 switch (match) {
271 int match
507 getMessageBoxByMatch(int match) argument
[all...]
H A DTelephonyProvider.java184 throw new IllegalStateException("Internal APNS file version doesn't match "
434 int match = s_urlMatcher.match(url);
435 switch (match) {
474 switch (s_urlMatcher.match(url)) {
498 int match = s_urlMatcher.match(url);
500 switch (match)
616 int match = s_urlMatcher.match(ur
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java422 * @param uri the Uri to match
423 * @return the match value
426 int match = sURIMatcher.match(uri);
427 if (match < 0) {
430 Log.v(TAG, methodName + ": uri=" + uri + ", match is " + match);
432 return match;
692 final int match = findMatch(uri, "delete");
699 int table = match >> BASE_SHIF
1652 getBaseNotificationUri(int match) argument
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastContentProvider.java96 int match = sUriMatcher.match(uri);
97 switch (match) {
134 int match = sUriMatcher.match(uri);
135 switch (match) {
176 * @param selection an optional filter to match rows to update.
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java129 switch (sUriMatcher.match(uri)) {
164 switch (sUriMatcher.match(uri)) {
179 if (sUriMatcher.match(uri) != WORDS) {
224 switch (sUriMatcher.match(uri)) {
248 switch (sUriMatcher.match(uri)) {
/packages/apps/Mms/src/com/android/mms/
H A DTempFileProvider.java99 int match = sURLMatcher.match(uri);
105 switch (match) {

Completed in 1134 milliseconds

123