/packages/apps/Messaging/build/ |
H A D | process_style_output.py | 29 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") else "")
|
H A D | colorize_errors.py | 32 if ERROR.match(line): 34 elif WARNING.match(line): 36 elif STARTS_WITH_WS.match(line):
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | TypedUriMatcher.java | 26 public T match(Uri uri); method in interface:TypedUriMatcher
|
H A D | TypedUriMatcherImpl.java | 53 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 D | EmailHtmlUtil.java | 36 Matcher match = pattern.matcher(text); 38 if (match.find()) { 42 int start = match.start(); 44 end = match.end(); 61 } while (match.find());
|
/packages/services/Car/tools/io_analysis/ |
H A D | check_file_read.py | 242 match = self.re_open.match(line) 243 if match: 244 self.handle_open(match) 246 match = self.re_ext4_access.match(line) 247 if match: 248 self.handle_ext4_block_exit(match) 250 match = self.re_bio_remap.match(lin [all...] |
H A D | check_io_trace_all.py | 126 match = self.re_block.match(l) 127 if not match: 130 self.do_parse_bio_queue(l, match) 136 def do_parse_bio_queue(self, l, match): 137 pid = match.group(1) 138 start_time = float(match.group(2))*1000 #ms 139 major = int(match.group(3)) 140 minor = int(match.group(4)) 142 operation = match [all...] |
H A D | check_io_trace.py | 71 match = self.re_block_queue.match(l) 72 if not match: 74 start_time = int(float(match.group(1))*1000000) #us 75 major = int(match.group(2)) 76 minor = int(match.group(3)) 77 operation = match.group(4) 78 block_num = int(match.group(5)) 79 size = int(match.group(6)) 80 process = match [all...] |
H A D | check_verity.py | 83 match = self.re.match(line) 84 if not match: 86 time = int(float(match.group(1))*1000000) #us 87 step = match.group(2) 88 block_nr = int(match.group(5)) 89 size = int(match.group(6))
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ProfileAwareUriMatcher.java | 58 * @param code the code to match for the root URI 110 * 3. The URI contains lookup key references that match the special profile lookup key. 115 int match = match(uri); 116 if (PROFILE_URIS.contains(match)) { 118 } else if (PROFILE_URI_ID_MAP.containsKey(match)) { 119 int idSegment = PROFILE_URI_ID_MAP.get(match); 124 } else if (PROFILE_URI_LOOKUP_KEY_MAP.containsKey(match)) { 125 int lookupKeySegment = PROFILE_URI_LOOKUP_KEY_MAP.get(match);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SecureSource.java | 38 return (SECURE_ALBUM == mMatcher.match(Path.fromString(path))); 43 switch (mMatcher.match(path)) {
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoProvider.java | 258 // match against Photos._ID 261 // match against Albums._ID 264 // match against metadata/<Metadata._ID> 267 // match against Accounts._ID 274 int match = matchUri(uri); 275 selection = addIdToSelection(match, selection); 276 selectionArgs = addIdToSelectionArgs(match, uri, selectionArgs); 277 return deleteCascade(uri, match, selection, selectionArgs); 293 int match = matchUri(uri); 294 validateMatchTable(match); 350 addIdToSelection(int match, String selection) argument 364 addIdToSelectionArgs(int match, Uri uri, String[] selectionArgs) argument 390 getTableFromMatch(int match, Uri uri) argument 477 deleteCascade(Uri uri, int match, String selection, String[] selectionArgs) argument 506 validateMatchTable(int match) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
H A D | ClockProvider.java | 154 int match = sURIMatcher.match(uri); 155 switch (match) { 194 int match = sURIMatcher.match(uri); 195 switch (match) { 214 switch (sURIMatcher.match(uri)) { 240 switch (sURIMatcher.match(uri)) { 261 switch (sURIMatcher.match(uri)) { 300 final int match [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
H A D | AnnotatedCallLogContentProvider.java | 99 int match = uriMatcher.match(uri); 100 switch (match) { 146 int match = uriMatcher.match(uri); 147 switch (match) { 157 "_ID from values %d does not match ID from URI: %s", 188 final int match = uriMatcher.match(uri); 189 switch (match) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | TelephonyThreadsCompat.java | 153 Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); 154 return match.matches(); 161 Matcher match = NAME_ADDR_EMAIL_PATTERN.matcher(address); 163 if (match.matches()) { 164 return match.group(2);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | MmsSmsUtils.java | 79 final Matcher match = NAME_ADDR_EMAIL_PATTERN.matcher(address); 81 if (match.matches()) { 82 return match.group(2); 99 final Matcher match = Patterns.EMAIL_ADDRESS.matcher(s); 100 return match.matches(); 114 final Matcher match = Patterns.PHONE.matcher(number); 115 return match.matches();
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | SuggestionsProvider.java | 122 * match. 142 String match; 144 match = cursor.getString(nameIndex); 145 match = !TextUtils.isEmpty(match) ? match : cursor.getString(addressIndex); 148 addRow(new Object[] {0, match, createQuery(match), emptyIcon}); 165 // Append the match as well.
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | TestProvider.java | 118 int match = sURIMatcher.match(uri); 119 if (match == UriMatcher.NO_MATCH) { 137 final int match = sURIMatcher.match(uri); 139 switch (match) { 175 final int match = sURIMatcher.match(uri); 178 switch (match) { 216 switch(match) { [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | Romkan.java | 183 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 D | RomkanFullKatakana.java | 187 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 D | BluetoothOppProvider.java | 184 int match = sURIMatcher.match(uri); 185 switch (match) { 224 if (sURIMatcher.match(uri) != SHARES) { 297 int match = sURIMatcher.match(uri); 298 switch (match) { 376 int match = sURIMatcher.match(uri); 377 switch (match) { [all...] |
/packages/apps/TV/src/com/android/tv/tuner/ |
H A D | TunerPreferenceProvider.java | 138 int match = sUriMatcher.match(uri); 139 if (match != MATCH_PREFERENCE && match != MATCH_PREFERENCE_KEY) { 151 switch (sUriMatcher.match(uri)) { 171 if (sUriMatcher.match(uri) != MATCH_PREFERENCE) {
|
/packages/providers/CalendarProvider/ |
H A D | maketests.py | 56 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/services/BuiltInPrintService/jni/lib/ |
H A D | plugin_db.c | 102 _plugin_db_t *match = NULL; local 112 use = ((match == NULL) || (_plugin[i].priority < match->priority)); 114 match = &_plugin[i]; 123 return ((match != NULL) ? match->plugin : NULL);
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | SmartDialNumberListAdapter.java | 77 for (SmartDialMatchPosition match : nameMatches) { 78 view.addNameHighlightSequence(match.start, match.end); 86 + String.valueOf(match.start));
|