Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DStatsdEventMetricPostProcessor.java122 for (String formatter : formatters) { in getMetricsByFormatters()
123 String keyFormatter = formatter.split("=")[0]; in getMetricsByFormatters()
124 String valueFormatter = formatter.split("=")[1]; in getMetricsByFormatters()
139 atomField.getName(), formatter); in getMetricsByFormatters()
195 String formatter, EventMetricData eventMetric, Message atomContent) { in fillInPlaceholders() argument
196 Matcher matcher = FIELD_REF_PATTERN.matcher(formatter); in fillInPlaceholders()
197 List<String> results = Arrays.asList(formatter); in fillInPlaceholders()
228 formatter); in fillInPlaceholders()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java375 Formatter formatter = new Formatter(message); in runSinglePythonFile()
377 formatter.format( in runSinglePythonFile()
383 formatter.format( in runSinglePythonFile()
/tools/test/openhst/
Dstress_test.py1020 formatter = logging.Formatter(
1028 file_handler.setFormatter(formatter)
1032 console_handler.setFormatter(formatter)
/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java57 SimpleDateFormat formatter = new SimpleDateFormat("MM-dd HH:mm:ss"); in getLogFormatString() local
58 return String.format("%s %c/%s: %s\n", formatter.format(new Date()), in getLogFormatString()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedRemoteDevice.java140 SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss"); in logDebugFiles() local
150 toLog.getName(), username, formatter.format(new Date())), in logDebugFiles()
/tools/test/connectivity/acts/framework/acts/controllers/
Dpacket_capture.py25 from acts.controllers.utils_lib.ssh import formatter
272 cmd = formatter.SshFormatter().format_command(
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py26 from acts.controllers.utils_lib.ssh import formatter
77 self._formatter = formatter.SshFormatter()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java139 SimpleDateFormat formatter = new SimpleDateFormat(RetentionFileSaver.RETENTION_DATE_FORMAT); in testGetFileDir_retention() local
140 Date retentionDate = formatter.parse(timestamp); in testGetFileDir_retention()
DFileSystemLogSaverTest.java154 SimpleDateFormat formatter = new SimpleDateFormat(RetentionFileSaver.RETENTION_DATE_FORMAT); in testGetFileDir_retention() local
155 Date retentionDate = formatter.parse(timestamp); in testGetFileDir_retention()
/tools/loganalysis/src/com/android/loganalysis/parser/
DBugreportParser.java306 DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in parseTime() local
308 return formatter.parse(timeStr); in parseTime()
DLogcatParser.java433 DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in parseTime() local
435 return formatter.parse(String.format("%s-%s", mYear, timeStr)); in parseTime()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DBugreportParserTest.java763 DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in parseTime() local
764 return formatter.parse(timeStr); in parseTime()
DMonkeyLogParserTest.java782 DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); in parseTime() local
783 return formatter.parse(timeStr); in parseTime()
DLogcatParserTest.java842 DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in parseTime() local
843 return formatter.parse(timeStr); in parseTime()
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py3547 def phone_number_formatter(input_string, formatter=None): argument
3569 if not formatter:
3583 and formatter == PHONE_NUMBER_STRING_FORMAT_7_DIGIT):
3588 if formatter == PHONE_NUMBER_STRING_FORMAT_12_DIGIT:
3590 elif formatter == PHONE_NUMBER_STRING_FORMAT_11_DIGIT:
3592 elif formatter == PHONE_NUMBER_STRING_FORMAT_10_DIGIT:
3594 elif formatter == PHONE_NUMBER_STRING_FORMAT_7_DIGIT:
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationRunner.java221 HelpFormatter formatter = new HelpFormatter(); in parseFlags() local
/tools/repohooks/
DREADME.md164 some cat = formatter --cat-commit ${PREUPLOAD_COMMIT}