Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 67) sorted by relevance

123

/tools/loganalysis/src/com/android/loganalysis/parser/
DLogcatParser.java108 public LogcatData(Integer pid, Integer tid, Date time, String level, String tag, in LogcatData() argument
114 mTag = tag; in LogcatData()
227 String tag = null; in parseLine() local
237 tag = m.group(5); in parseLine()
242 tag = tm.group(3); in parseLine()
255 if ("I".equals(level) && "ShutdownThread".equals(tag) && in parseLine()
278 if ("E".equals(level) && "ActivityManager".equals(tag)) { in parseLine()
279 String key = encodeLine(pid, tid, level, tag); in parseLine()
282 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine()
295 if (anyNativeCrashTagMatches(level, tag)) { in parseLine()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/log/
DBaseStreamLogger.java70 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument
71 internalPrintLog(logLevel, tag, message, true /* force print to stdout */); in printAndPromptLog()
75 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument
76 internalPrintLog(logLevel, tag, message, false /* don't force stdout */); in printLog()
84 LogLevel logLevel, String tag, String message, boolean forceStdout) { in internalPrintLog() argument
85 String outMessage = LogUtil.getLogFormatString(logLevel, tag, message); in internalPrintLog()
86 if (shouldDisplay(forceStdout, mLogLevelDisplay, logLevel, tag)) { in internalPrintLog()
89 if (shouldWrite(tag, logLevel, mLogLevel)) { in internalPrintLog()
99 private boolean shouldWrite(String tag, LogLevel messageLogLevel, LogLevel invocationLogLevel) { in shouldWrite() argument
100 LogLevel forcedLevel = getForcedVerbosityMap().get(tag); in shouldWrite()
DStdoutLogger.java40 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument
41 printLog(logLevel, tag, message); in printAndPromptLog()
49 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument
50 LogUtil.printLog(logLevel, tag, message); in printLog()
DBaseLeveledLogOutput.java87 String tag) { in shouldDisplay() argument
92 if (mVerbosityMap.get(tag) != null) { in shouldDisplay()
93 if (messageLogLevel.getPriority() >= mVerbosityMap.get(tag).getPriority()) { in shouldDisplay()
DHistoryLogger.java42 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument
48 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument
DLogRegistry.java165 public void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument
169 log.printLog(logLevel, tag, message); in printLog()
177 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { in printAndPromptLog() argument
178 getLogger().printAndPromptLog(logLevel, tag, message); in printAndPromptLog()
/tools/tradefederation/core/src/com/android/tradefed/util/
DLogcatEventParser.java91 private void put(String tag, String partialMessage, LogcatEventType response) { in put() argument
92 mResponses.put(tag, new AbstractMap.SimpleEntry<>(partialMessage, response)); in put()
96 private LogcatEventType get(String tag, String message) { in get() argument
97 for (Map.Entry<String, LogcatEventType> entry : mResponses.get(tag)) { in get()
132 public void registerEventTrigger(String tag, String msg, LogcatEventType response) { in registerEventTrigger() argument
133 mEventTriggerMap.put(tag, msg, response); in registerEventTrigger()
134 if (mLogcatTags.add(tag)) { in registerEventTrigger()
137 mInternalParser.addPattern(null, "I", tag, CUSTOM_CATEGORY); in registerEventTrigger()
193 for (String tag : mLogcatTags) { in start()
194 logcatCmdBuilder.append(" ").append(tag).append(":I"); in start()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultHandlerFactory.java61 private String tag; field in MoblyYamlResultHandlerFactory.Type
64 Type(String tag, Class handlerClass) { in Type() argument
65 this.tag = tag; in Type()
70 return tag; in getTag()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java131 void print(String tag, ApiElement parentElement, String indent, PrintStream stream) { in print() argument
132 print(tag, true, parentElement, indent, stream); in print()
147 void print(String tag, boolean closeTag, ApiElement parentElement, String indent, in print() argument
151 stream.print(tag); in print()
182 …void print(Collection<? extends ApiElement> elements, String tag, String indent, PrintStream strea… in print() argument
184 element.print(tag, this, indent, stream); in print()
201 static void printClosingTag(String tag, String indent, PrintStream stream) { in printClosingTag() argument
204 stream.print(tag); in printClosingTag()
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_client.py100 def _get_full_file_path(tag=''): argument
115 tags = ['IPerfClient', tag, IPerfClientBase.__log_file_counter]
122 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
142 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
164 full_out_path = self._get_full_file_path(tag)
188 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
210 full_out_path = self._get_full_file_path(tag)
269 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
302 full_out_path = self._get_full_file_path(tag)
Diperf_server.py278 def start(self, extra_args='', tag=''): argument
297 def _get_full_file_path(self, tag=None): argument
309 tags = [tag, IPerfServerBase.__log_file_counter]
359 def start(self, extra_args='', tag=''): argument
371 self._current_log_file = self._get_full_file_path(tag)
488 def start(self, extra_args='', tag='', iperf_binary=None): argument
517 self._current_tag = tag
614 def start(self, extra_args='', tag='', iperf_binary=None): argument
647 self._current_tag = tag
/tools/asuite/aidegen/sdk/
Djdk_table.py138 if (not self._xml or self._xml.getroot().tag != self._APPLICATION
140 or self._xml.find(self._COMPONENT).tag != self._COMPONENT):
195 for tag in self._xml.iter(self._JDK):
196 _name = tag.find(self._NAME)
197 _type = tag.find(self._TYPE)
198 _homepath = tag.find(self._HOMEPATH)
199 _additional = tag.find(self._ADDITIONAL)
/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java45 public static void printLog(LogLevel logLevel, String tag, String message) { in printLog() argument
46 System.out.print(LogUtil.getLogFormatString(logLevel, tag, message)); in printLog()
56 public static String getLogFormatString(LogLevel logLevel, String tag, String message) { in getLogFormatString() argument
59 logLevel.getPriorityLetter(), tag, message); in getLogFormatString()
264 String tag = findCallerClassName(); in wtf() local
271 Log.logAndDisplay(LogLevel.ASSERT, tag, logMessage); in wtf()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dota_sniffer.py74 def stop_capture(self, tag=""): argument
86 def _get_full_file_path(self, tag=None): argument
95 tags = [tag, "count", OtaSnifferBase._log_file_counter]
340 def _process_tshark_dump(self, temp_dump_file, tag): argument
353 log_file = self._get_full_file_path(tag)
401 def stop_capture(self, tag=""): argument
420 log_file = self._process_tshark_dump(temp_dump_path, tag)
/tools/asuite/aidegen/lib/
Dclion_project_file_gen.py475 hfile=(TextIOWrapper, StringIO), rel_paths_dict=dict, tag=str)
477 def _write_all_relative_file_path_flags(hfile, rel_paths_dict, tag): argument
488 _SET_RELATIVE_PATH.format(tag, _add_dollar_sign(tag), flag,
492 @common_util.check_args(hfile=(TextIOWrapper, StringIO), flags=list, tag=str)
494 def _write_all_flags(hfile, flags, tag): argument
503 hfile.write(_SET_ALL_FLAGS.format(tag, _add_dollar_sign(tag), flag))
506 def _add_dollar_sign(tag): argument
515 return ''.join(['${', tag, '}'])
518 def _build_cmake_path(path, tag=''): argument
528 return ''.join([tag, _ANDROID_ROOT_SYMBOL, os.path.sep, path])
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerWiFiBaseTest.py119 tag = ''
122 tag = '_RSSI_{0:d}dBm_Throughput_{1:.2f}Mbps'.format(
124 wputils.monsoon_data_plot(self.mon_info, result, tag=tag)
DPowerGnssBaseTest.py51 self.monsoon_data_plot_power(self.mon_info, result, tag='_Power')
54 def monsoon_data_plot_power(self, mon_info, monsoon_results, tag=''): argument
116 os.path.splitext(monsoon_results[0].tag)[0])
117 + tag)
/tools/metalava/src/main/java/com/android/resources/
DResourceType.java236 T tag, in fromXmlTag() argument
239 String tagName = nameFunction.apply(tag); in fromXmlTag()
244 String typeAttribute = attributeFunction.apply(tag, SdkConstants.ATTR_TYPE); in fromXmlTag()
260 Element tag = (Element) domNode; in fromXmlTag() local
262 tag, in fromXmlTag()
/tools/tradefederation/core/tests/res/config/suite/
Dsuite.md19 "run-suite-tag", which defines the name of the suite. Any test configuration
20 file has option "test-suite-tag" set to that value will be included in that
29 <option name="run-suite-tag" value="framework-base-presubmit" />
43 The test configuration file should also have option "test-suite-tag" set to the
47 <option name="test-suite-tag" value="framework-base-presubmit" />
75 --template:map test=suite/framework-base-presubmit --test-tag SUITE \
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py601 for tag in option_tags:
603 name = tag.attrib[_XML_NAME].strip()
604 value = tag.attrib[_XML_VALUE].strip()
672 for tag in option_tags:
673 value = tag.attrib[_XML_VALUE].strip()
674 name = tag.attrib[_XML_NAME].strip()
735 for tag in option_tags:
736 name = tag.attrib[_XML_NAME].strip()
766 for tag in option_tags:
767 value = tag.attrib[_XML_VALUE].strip()
[all …]
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py612 for tag in option_tags:
614 name = tag.attrib[_XML_NAME].strip()
615 value = tag.attrib[_XML_VALUE].strip()
683 for tag in option_tags:
684 value = tag.attrib[_XML_VALUE].strip()
685 name = tag.attrib[_XML_NAME].strip()
746 for tag in option_tags:
747 name = tag.attrib[_XML_NAME].strip()
777 for tag in option_tags:
778 value = tag.attrib[_XML_VALUE].strip()
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTetheringPowerTest.py87 tag = self.current_test_name
90 tag=tag,
93 "Got empty measurement data set in %s." % tag)
95 data_path = os.path.join(self.mon_data_path, "%s.txt" % tag)
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexBaseTest.py112 self.tag = 0
205 self.iperf_server.start(tag=self.tag)
219 self.tag = self.tag + 1
221 self.iperf_client.start(ip, iperf_args, self.tag))
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java86 public synchronized void addHostEvent(HostMetricType tag, HostDataPoint event) { in addHostEvent() argument
87 if (getTag().equals(tag)) { in addHostEvent()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/
Dcommon.py100 self.tag = datafile_path
115 return MonsoonDataIterator(self.tag)

123