/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceLineTest.kt | 32 line -> in <lambda>() method 33 assertEquals("atrace", line.task) in <lambda>() 34 assertEquals(7100, line.pid) in <lambda>() 35 assertEquals(7100, line.tgid) in <lambda>() 36 assertEquals(1, line.cpu) in <lambda>() 37 assertEquals(4492.047432, line.timestamp, .1) in <lambda>() 38 assertEquals("sched_switch", line.function.toString()) in <lambda>() 40 " next_pid=0 next_prio=120", line.functionDetailsReader.stringTo { end() }) in <lambda>() 48 line -> in <lambda>() method 49 assertNull(line.task) in <lambda>() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_parse_utils.py | 237 for line in logcat: 238 if line['message_id']: 239 if SET_PREFERRED_DATA_MODEM in line['log_message']: 240 set_preferred_data_modem['message'] = line['log_message'] 241 set_preferred_data_modem['time_stamp'] = line['time_stamp'] 243 'datetime_obj'] = line['datetime_obj'] 245 if SETUP_DATA_CALL_REQUEST in line['log_message']: 246 found_apn = get_apn_from_logcat(line['log_message']) 250 phone = get_slot_from_logcat(line['log_message']) 258 msg_id = line['message_id'] [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | cmd_input.py | 78 def do_EOF(self, line): argument 82 def do_reset_mac_address(self, line): argument 93 def do_gattc_socket_conn_begin_connect_thread_psm(self, line): argument 96 self.pri_dut.gattc.socket_conn_begin_connect_thread_psm(line) 100 def do_gattc_socket_conn_begin_accept_thread_psm(self, line): argument 103 self.pri_dut.gattc.socket_conn_begin_accept_thread_psm(line) 107 def do_gattc_request_le_connection_parameters(self, line): argument 114 def do_gattc_connect_over_le(self, line): argument 119 if line: 120 autoconnect = bool(line) [all …]
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 224 my $line = $_; 226 $line =~ s/\s*\n?$//g; 227 $line =~ s/^\s*//g; 228 $line =~ s/\s+/ /g; 230 next if ($line =~ m/^\s*#/); 231 next if ($line =~ m/^\s*$/); 233 my @words = split(" ", $line); 253 my $line = $_; 254 $line =~ s/\s+$//; 256 if ($line =~ /^\s*\*\*(.+)\*\*$/) { [all …]
|
D | cpplint.py | 997 for line in lines: 998 if _SEARCH_C_FILE.search(line): 1001 if _SEARCH_KERNEL_FILE.search(line): 1749 def IsCppString(line): argument 1762 line = line.replace(r'\\', 'XX') # after this, \\" does not match to \" 1763 return ((line.count('"') - line.count(r'\"') - line.count("'\"'")) & 1) == 1 1788 for line in raw_lines: 1791 end = line.find(delimiter) 1796 leading_space = Match(r'^(\s*)\S', line) 1797 line = leading_space.group(1) + '""' + line[end + len(delimiter):] [all …]
|
/tools/dexter/testdata/expected/ |
D | mi.asm | 5 .line 1 7 .line 1 16 .line 3 18 .line 3 31 .line 15 33 .line 15 35 .line 16 37 .line 17 39 .line 18 47 .line 21 [all …]
|
D | mi.rewrite | 5 .line 1 7 .line 1 16 .line 3 18 .line 3 31 .line 15 33 .line 15 35 .line 16 37 .line 17 39 .line 18 47 .line 21 [all …]
|
D | try_catch.asm | 5 .line 2 7 .line 2 18 .line 6 20 .line 6 31 .line 10 33 .line 10 45 .line 27 47 .line 27 52 .line 28 55 .line 31 [all …]
|
D | mi.object_exit_hook | 5 .line 1 7 .line 1 16 .line 3 18 .line 3 31 .line 15 33 .line 15 35 .line 16 37 .line 17 39 .line 18 47 .line 21 [all …]
|
D | mi.compact_cfg | 6 .line 1 8 .line 1 19 .line 3 21 .line 3 36 .line 15 38 .line 15 40 .line 16 42 .line 17 44 .line 18 54 .line 21 [all …]
|
D | method_handles.asm | 5 .line 18 6 .line 18 17 .line 21 18 .line 21 29 .line 23 49 .line 25 54 .line 24 65 .line 26 74 .line 24 75 .line 24 [all …]
|
D | medium.compact_cfg | 14 .line 178 16 .line 178 18 .line 1 28 .line 180 30 .line 180 42 .line 179 44 .line 179 56 .line 184 58 .line 184 69 .line 183 [all …]
|
D | exit_hooks.asm | 5 .line 28 7 .line 28 19 .line 32 21 .line 32 27 .line 33 29 .line 34 33 .line 35 40 .line 39 42 .line 39 49 .line 40 [all …]
|
D | mi.sign_exit_hook | 5 .line 1 7 .line 1 16 .line 3 18 .line 3 31 .line 15 33 .line 15 35 .line 16 37 .line 17 39 .line 18 47 .line 21 [all …]
|
D | try_catch.rewrite | 5 .line 2 7 .line 2 18 .line 6 20 .line 6 31 .line 10 33 .line 10 45 .line 27 47 .line 27 52 .line 28 55 .line 31 [all …]
|
D | try_catch.exit_hook | 5 .line 2 7 .line 2 19 .line 6 21 .line 6 33 .line 10 35 .line 10 48 .line 27 50 .line 27 55 .line 28 58 .line 31 [all …]
|
D | mi.verbose_cfg | 6 .line 1 8 .line 1 21 .line 3 23 .line 3 38 .line 15 40 .line 15 44 .line 16 48 .line 17 52 .line 18 62 .line 21 [all …]
|
D | mi.mi | 5 .line 1 7 .line 1 16 .line 3 18 .line 3 31 .line 15 33 .line 15 35 .line 16 37 .line 17 39 .line 18 47 .line 21 [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | PythonUnitTestResultParser.java | 236 for (String line : lines) { in processNewLines() 237 parse(line); in processNewLines() 262 void parse(String line) throws PythonUnitTestParseException { in parse() argument 263 CLog.v(line); in parse() 266 processTestCase(line); in parse() 269 processTraceback(line); in parse() 272 processRunSummary(line); in parse() 275 processFailMessage(line); in parse() 283 void processTestCase(String line) throws PythonUnitTestParseException { in processTestCase() argument 285 mCurrentTestCaseString = mCurrentTestCaseString + "\n" + line; in processTestCase() [all …]
|
D | NativeBenchmarkTestParser.java | 65 for (String line : lines) { in processNewLines() 66 parseLine(line); in processNewLines() 70 private void parseLine(String line) { in parseLine() argument 71 CLog.d(line); in parseLine() 72 Matcher matcher = COMPLETE_PATTERN.matcher(line); in parseLine() 74 CLog.i("Found result for benchmark %s: %s", getRunName(), line); in parseLine() 75 mMinOpTime = parseDoubleValue(line, matcher.group(1)); in parseLine() 76 mAvgOpTime = parseDoubleValue(line, matcher.group(2)); in parseLine() 77 mMaxOpTime = parseDoubleValue(line, matcher.group(3)); in parseLine() 81 private double parseDoubleValue(String line, String valueString) { in parseDoubleValue() argument [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DumpsysPackageReceiver.java | 58 ParserState parse(String line) throws ParseException; in parse() argument 70 public ParserState parse(String line) throws ParseException { in parse() argument 71 Matcher matcher = PACKAGE_PATTERN.matcher(line); in parse() 104 public ParserState parse(String line) throws ParseException { in parse() argument 106 Matcher matcher = PACKAGE_PATTERN.matcher(line); in parse() 111 if (line.startsWith(HIDDEN_SYSTEM_PACKAGES_PREFIX)) { in parse() 115 Matcher userStateMatcher = USER_PATTERN.matcher(line); in parse() 121 parseAttributes(line); in parse() 125 private void parseAttributes(String line) { in parseAttributes() argument 126 String[] prop = line.split("="); in parseAttributes() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 100 def do_EOF(self, line): argument 179 def do_tool_refresh_unique_id(self, line): argument 192 def do_tool_refresh_unique_id_using_bt_control(self, line): argument 205 def do_tool_set_target_device_name(self, line): argument 214 self.log.info("Setting target_device_name to: {}".format(line)) 215 self.target_device_name = line 217 def do_tool_set_unique_mac_addr_id(self, line): argument 226 self.unique_mac_addr_id = line 230 def complete_ble_adv_data_include_name(self, text, line, begidx, endidx): argument 238 def do_ble_adv_data_include_name(self, line): argument [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 206 private static boolean isLineMacro(CommandLine line) { in isLineMacro() argument 207 return line.size() >= 4 && "MACRO".equals(line.get(0)) && "=".equals(line.get(2)); in isLineMacro() 216 private static boolean isLineLongMacro(CommandLine line) { in isLineLongMacro() argument 217 return line.size() == 3 && "LONG".equals(line.get(0)) && "MACRO".equals(line.get(1)); in isLineLongMacro() 225 private static boolean isLineIncludeDirective(CommandLine line) { in isLineIncludeDirective() argument 226 return line.size() == 2 && "INCLUDE".equals(line.get(0)); in isLineIncludeDirective() 236 private static boolean shouldParseLine(String line) { in shouldParseLine() argument 237 line = line.trim(); in shouldParseLine() 238 return !(line.isEmpty() || line.startsWith("#")); in shouldParseLine() 306 CommandLine line = new CommandLine(Arrays.asList( in scanFile() local [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/ |
D | bokeh_figure.py | 115 for line in self.figure_data: 116 hover_set.extend(line['hover_text'].keys()) 246 for line in self.figure_data: 247 data_dict = {'x': line['x_data'], 'y': line['y_data']} 248 for key, value in line['hover_text'].items(): 251 if line['width'] > 0: 252 self.plot.line(x='x', 254 legend_label=line['legend'], 255 line_width=line['width'], 256 color=line['color'], [all …]
|
/tools/asuite/atest/ |
D | cc_test_filter_generator.py | 73 line = lines.popleft() 74 comment_type, index = _get_comment_type(line) 77 trimed_lines.append(line.rstrip()) 79 trimed_line = line[0:index] if index > 0 else '' 85 line[index + 2 :] if index + 2 < len(line) else '' 104 def _handle_block_comment_line(line): argument 105 if not line: 110 index_end = len(line) - 1 111 if '*/' in line: 112 index_end = line.index('*/') + 1 [all …]
|