Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java58 String timestamp; in shouldDelete() local
60 timestamp = FileUtil.readStringFromFile(retentionFile); in shouldDelete()
61 Date retentionDate = new SimpleDateFormat(RETENTION_DATE_FORMAT).parse(timestamp); in shouldDelete()
DXmlResultReporter.java97 String timestamp = getTimestamp(); in generateSummary() local
110 printTestResults(serializer, timestamp, elapsedTime); in generateSummary()
137 String timestamp = dateFormat.format(new Date()); in getTimestamp() local
138 return timestamp; in getTimestamp()
148 void printTestResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printTestResults() argument
157 serializer.attribute(NS, TIMESTAMP, timestamp); in printTestResults()
DMetricsXMLResultReporter.java94 String timestamp = getTimeStamp(); in generateResults() local
106 printRunResults(serializer, timestamp, elapsedTime); in generateResults()
127 private void printRunResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printRunResults() argument
134 serializer.attribute(NS, ATTR_TIMESTAMP, timestamp); in printRunResults()
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DHostMetric.java39 public HostMetric(String name, long timestamp, long value, Map<String, String> data) { in HostMetric() argument
41 mTimestamp = timestamp; in HostMetric()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DHermeticLaunchTest.java469 long timestamp = SEC_TO_MILLI in parseAtraceInfoFile() local
484 timestamp)); in parseAtraceInfoFile()
496 matchingBegin.timestamp, timestamp); in parseAtraceInfoFile()
503 matchingBegin.timestamp, timestamp); in parseAtraceInfoFile()
659 private double timestamp; field in HermeticLaunchTest.TraceRecord
664 public TraceRecord(String name, String processId, long timestamp) { in TraceRecord() argument
667 this.timestamp = timestamp; in TraceRecord()
687 return timestamp; in getTimestamp()
690 public void setTimestamp(long timestamp) { in setTimestamp() argument
691 this.timestamp = timestamp; in setTimestamp()
/tools/test/connectivity/acts/tests/google/ble/power/
DBleScanPowerTest.py116 for timestamp in json_data:
117 start_times.append(timestamp["StartTime"])
118 end_times.append(timestamp["EndTime"])
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java155 String timestamp = bandwidthTestMetrics.get(TIMESTAMP_LABEL); in run() local
157 Assert.assertNotNull("Failed to fetch timestamp from server", timestamp); in run()
158 Map<String, String> serverData = fetchDataFromTestServer(deviceId, timestamp); in run()
193 private Map<String, String> fetchDataFromTestServer(String deviceId, String timestamp) { in fetchDataFromTestServer() argument
197 params.put("timestamp", timestamp); in fetchDataFromTestServer()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogFileSaverTest.java138 String timestamp = StreamUtil.getStringFromStream(new FileInputStream(retentionFile)); in testGetFileDir_retention() local
140 Date retentionDate = formatter.parse(timestamp); in testGetFileDir_retention()
DFileSystemLogSaverTest.java153 String timestamp = StreamUtil.getStringFromStream(new FileInputStream(retentionFile)); in testGetFileDir_retention() local
155 Date retentionDate = formatter.parse(timestamp); in testGetFileDir_retention()
/tools/test/connectivity/acts/framework/acts/controllers/
Dmonsoon.py511 timestamp, value = l.split(' ')
512 t.append(int(timestamp))