/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 74 final int match = sUriMatcher.match(uri); in getType() local 75 switch (match) { in getType() 96 int uriMatch = sUriMatcher.match(uri); in query() 125 final int match = sUriMatcher.match(uri); in insert() local 127 switch (match) { in insert() 151 final int match = sUriMatcher.match(uri); in delete() local 153 switch (match) { in delete() 183 final int match = sUriMatcher.match(uri); in update() local 185 switch (match) { in update()
|
/development/scripts/ |
D | stack_core.py | 191 if self.trace_line.match(line): 192 match = self.trace_line.match(line) 193 return {"frame": match.group("frame"), 194 "offset": match.group("offset"), 195 "so_offset": match.group("so_offset"), 196 "dso": match.group("dso"), 197 "symbol_present": bool(match.group("symbolpresent")), 198 "symbol_name": match.group("symbol")} 199 if self.sanitizer_trace_line.match(line): 200 match = self.sanitizer_trace_line.match(line) [all …]
|
D | battery_simulator.py | 61 if re.match("\d+", val):
|
/development/tools/findunused/ |
D | findunusedtranslations | 55 for $match (@matches) { 56 print "Rewriting $match\n"; 61 open(IN, "<$match"); 97 open(OUT, ">$match");
|
/development/gsi/gsi_util/gsi_util/dumpers/ |
D | prop_dumper.py | 43 match = re.search('%s=(.*)' % (lookup_key), self._content) 44 return match.group(1) if match else None
|
/development/tools/repo_diff/ |
D | repo_diff_trees.py | 221 if re.match(exclusion_pattern, name): 255 lambda match: stats_from_match( 258 match, 264 def stats_from_match(upstream_projects, downstream_projects, match): argument 289 upstream_project_name = match['upstream'] 290 downstream_project_name = match['downstream'] 304 project_stats.update(match) 380 downstream_stats = {match['downstream']: match for match in project_stats}
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 240 FeedParser.Entry match = entryMap.get(entryId); in updateLocalFeedData() local 241 if (match != null) { in updateLocalFeedData() 247 if ((match.title != null && !match.title.equals(title)) || in updateLocalFeedData() 248 (match.link != null && !match.link.equals(link)) || in updateLocalFeedData() 249 (match.published != published)) { in updateLocalFeedData() 253 .withValue(FeedContract.Entry.COLUMN_NAME_TITLE, match.title) in updateLocalFeedData() 254 .withValue(FeedContract.Entry.COLUMN_NAME_LINK, match.link) in updateLocalFeedData() 255 .withValue(FeedContract.Entry.COLUMN_NAME_PUBLISHED, match.published) in updateLocalFeedData()
|
/development/vndk/tools/sourcedr/ninja/ |
D | list_installed_file_from_source.py | 77 if source_filter.match(path): 79 if out_pattern.match(path): 98 matched = bool(source_filter.match(path)) 104 if installed_filter.match(path) and is_from_vendor(path)]
|
D | ninja.py | 254 def match(self, buf, pos): member in TokenMatcher 255 match = self._matcher.match(buf, pos) 256 if not match: 258 return (self._kinds[match.lastindex - 1], match.start(), match.end()) 321 match = self._COMMENT_MATCHER.match(self._line_buf) 322 if not match: 325 self._line_pos = match.end() 332 match = self._SPACE_MATCHER.match(self._line_buf, self._line_pos) 333 if match: 334 self._line_pos = match.end() [all …]
|
D | list_source_file.py | 56 if not out_dir_pattern.match(cur): 66 if out_host_dir_pattern.match(dep): 111 matched_files = [path for path in graph if installed_filter.match(path)]
|
/development/tools/logblame/ |
D | logs.py | 64 m = CHATTY_IDENTICAL.match(logLine.text) 103 m = BUFFER_BEGIN.match(line) 112 m = BUFFER_SWITCH.match(line) 121 m = HEADER.match(line) 139 m = HEADER_TYPE2.match(line)
|
D | ps.py | 116 m = HEADER_RE.match(line) 119 m = PROCESS_RE.match(line) 133 m = ANDROID_UID_RE.match(text) 137 m = UID_RE.match(text)
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | DataProvider.java | 250 switch (sUriMatcher.match(uri)) { in query() 295 return sMimeTypes.get(sUriMatcher.match(uri)); in getType() 309 switch (sUriMatcher.match(uri)) { in insert() 355 switch (sUriMatcher.match(uri)) { in bulkInsert() 451 switch (sUriMatcher.match(uri)) { in update()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | MetadataParser.java | 67 if ((m = Utils.match(mDumpstateLineRe, text)) != null) { in parseHeader() 69 } else if ((m = Utils.match(mHeaderLineRe, text)) != null) { in parseHeader()
|
/development/testrunner/test_defs/ |
D | native_test.py | 148 def _FindFileRecursively(self, path, match): argument 159 if f == match: 162 found = self._FindFileRecursively(os.path.join(root, d), match)
|
/development/vndk/tools/sourcedr/blueprint/ |
D | analyze_manifest_split.py | 57 match = self._matcher.match(path) 58 if match: 59 return self._projects[match.lastindex - 1][1]
|
D | list_vndk_module.py | 64 if select and not select.match(path): 66 if exclude and exclude.match(path):
|
D | blueprint.py | 253 match = cls.UNICODE_CHARS_PATTERN.match(buf, pos) 254 if match: 255 literal += match.group(0) 256 pos = match.end() 361 match = cls.LEXER_MATCHER.match(buf, offset) 362 if not match: 364 token = cls.LEXER_PATTERNS[match.lastindex - 1][0] 369 end = match.end() 992 match = path_matcher.match(attrs['_path']) 993 attrs['_namespace'] = namespaces[match.lastindex - 1]
|
/development/vndk/tools/definition-tool/tests/ |
D | ndk_toolchain.py | 37 match = pattern.match(name) 38 if match: 39 apis.append(int(match.group(1)))
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
D | LogcatParser.java | 59 if ((m = Utils.match(mBufferBeginRe, text)) != null) { in parse() 68 } else if ((m = Utils.match(mLogLineRe, text)) != null) { in parse()
|
/development/vndk/tools/definition-tool/tools/ |
D | update_dataset.py | 44 match = patt.match(path) 45 if not match: 47 path = match.group(1)
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 236 switch (sUriMatcher.match(uri)) { in query() 307 switch (sUriMatcher.match(uri)) { in getType() 346 switch (sUriMatcher.match(uri)) { in getStreamTypes() 469 if (sUriMatcher.match(uri) != NOTES) { in insert() 559 switch (sUriMatcher.match(uri)) { in delete() 644 switch (sUriMatcher.match(uri)) { in update()
|
/development/testrunner/ |
D | android_mk.py | 53 m = self._RE_INCLUDE.match(line) 98 m = self._RE_VARIABLE_REF.match(variable_value)
|
D | am_instrument_parser.py | 92 if re_result.match(line): 104 elif re_code.match(line):
|
/development/samples/browseable/BasicContactables/ |
D | _index.jd | 9 … \n\nQuery strings sent to the Contactables table will match both contact names and phone numbers,
|