Home
last modified time | relevance | path

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

1234

/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/test/openhst/resources/
Ddevice_config.common.ascii_proto71 setup_command: "shell setprop log.tag.AlwaysOnHotwordDetector DEBUG"
72 setup_command: "shell setprop log.tag.ClockworkHomeGoogle DEBUG"
73 setup_command: "shell setprop log.tag.DSPMicrophoneIS DEBUG"
74 setup_command: "shell setprop log.tag.DSPMicrophoneInputStrea DEBUG"
75 setup_command: "shell setprop log.tag.GsaVoiceInteractionSrv DEBUG"
76 setup_command: "shell setprop log.tag.HotwordAudioProvider DEBUG"
77 setup_command: "shell setprop log.tag.HotwordConfig DEBUG"
78 setup_command: "shell setprop log.tag.HotwordConfigController DEBUG"
79 setup_command: "shell setprop log.tag.HotwordDetector DEBUG"
80 setup_command: "shell setprop log.tag.HotwordHelper DEBUG"
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DAndroidApiChecks.kt83 private fun getDocumentation(item: Item, tag: String?): String { in getDocumentation()
84 return if (item === cachedDocumentationItem && cachedDocumentationTag == tag) { in getDocumentation()
88 cachedDocumentationTag = tag in getDocumentation()
89 cachedDocumentation = findDocumentation(item, tag) in getDocumentation()
94 private fun findDocumentation(item: Item, tag: String?): String { in findDocumentation()
104 if (tag == null) { in findDocumentation()
109 if (tag == "@return") { in findDocumentation()
115 begin = doc.indexOf(tag, begin) in findDocumentation()
137 begin += tag.length in findDocumentation()
253 tag: String?, in checkVariable()
[all …]
/tools/asuite/aidegen/lib/
Dclion_project_file_gen.py502 hfile=(TextIOWrapper, StringIO), rel_paths_dict=dict, tag=str)
504 def _write_all_relative_file_path_flags(hfile, rel_paths_dict, tag): argument
515 _SET_RELATIVE_PATH.format(tag, _add_dollar_sign(tag), flag,
519 @common_util.check_args(hfile=(TextIOWrapper, StringIO), flags=list, tag=str)
521 def _write_all_flags(hfile, flags, tag): argument
530 hfile.write(_SET_ALL_FLAGS.format(tag, _add_dollar_sign(tag), flag))
533 def _add_dollar_sign(tag): argument
542 return ''.join(['${', tag, '}'])
545 def _build_cmake_path(path, tag=''): argument
555 return ''.join([tag, _ANDROID_ROOT_SYMBOL, os.path.sep, path])
Dclion_project_file_gen_unittest.py308 tag = '_CMAKE_C_FLAGS'
310 hfile, {flag: path}, tag)
314 tag, clion_project_file_gen._add_dollar_sign(tag), flag,
337 tag = '_CMAKE_C_FLAGS'
338 clion_project_file_gen._write_all_flags(hfile, [flag], tag)
342 tag, clion_project_file_gen._add_dollar_sign(tag), flag)
356 tag = ' '
359 result = clion_project_file_gen._build_cmake_path(param, tag)
/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()
/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/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/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/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)
185 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
207 full_out_path = self._get_full_file_path(tag)
288 def start(self, ip, iperf_args, tag, timeout=3600, iperf_binary=None): argument
321 full_out_path = self._get_full_file_path(tag)
Diperf_server.py279 def start(self, extra_args='', tag=''): argument
317 def _get_full_file_path(self, tag=None): argument
329 tags = [tag, IPerfServerBase.__log_file_counter]
379 def start(self, extra_args='', tag=''): argument
391 self._current_log_file = self._get_full_file_path(tag)
536 def start(self, extra_args='', tag='', iperf_binary=None): argument
567 self._current_tag = tag
684 def start(self, extra_args='', tag='', iperf_binary=None): argument
717 self._current_tag = tag
/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/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/test/connectivity/acts/framework/acts/test_utils/power/
Dplot_utils.py29 def monsoon_data_plot(mon_info, monsoon_results, tag=''): argument
101 os.path.basename(os.path.splitext(monsoon_results[0].tag)[0]) + tag)
179 plot_title = (os.path.basename(os.path.splitext(monsoon_result.tag)[0]) +
203 def monsoon_tx_power_sweep_plot(mon_info, tag, currents, txs): argument
211 plot_title = tag + '_tx_power_sweep'
/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/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/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/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java480 private static Pair<Result, String> handleError(String fmt, String tag, int arg1) { in handleError() argument
481 final String err = String.format(fmt, tag, arg1); in handleError()
487 String fmt, String tag, int arg1, int arg2, int arg3) { in handleError() argument
488 final String err = String.format(fmt, tag, arg1, arg2, arg3); in handleError()
494 String fmt, String tag, float arg1, float arg2, float arg3) { in handleError() argument
495 final String err = String.format(fmt, tag, arg1, arg2, arg3); in handleError()
/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/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/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/external_updater/
DREADME.md43 be either a version tag, or SHA. The tool will find the latest
44 version tag or sha based on it.
46 When upgrade, the tool will simply run `git merge tag/sha`.
59 #### Version tag
92 If the tag of latest release is not equal to version in METADATA file, a
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dota_sniffer.py81 def stop_capture(self, tag=''): argument
96 def _get_full_file_path(self, tag=None): argument
105 tags = [tag, 'count', OtaSnifferBase._log_file_counter]
421 def stop_capture(self, tag=''): argument
437 log_file = self._get_full_file_path(tag)
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt201 fun findTagEnd(tag: PsiDocTag): Int { in findTagEnd()
202 var curr: PsiElement? = tag.nextSibling in findTagEnd()
213 return tag.textRange.endOffset in findTagEnd()
1016 private fun extractReference(tag: PsiDocTag): PsiReference? { in extractReference()
1017 val valueElement = tag.valueElement in extractReference()
1023 val dataElements = tag.dataElements in extractReference()

1234