Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DAssertions.java112 Optional<Long> timestamp = assertionResults.stream().map(p -> p.timestamp).findFirst(); in apply() local
114 return timestamp in apply()
129 public final long timestamp; field in Assertions.Result
133 public Result(boolean success, long timestamp, String assertionName, String reason) { in Result() argument
135 this.timestamp = timestamp; in Result()
144 this.timestamp = 0; in Result()
155 return new Result(!this.success, this.timestamp, negatedAssertionName, this.reason); in negate()
169 + prettyTimestamp(timestamp) in toString()
DLayersTrace.java131 public Entry getEntry(long timestamp) { in getEntry() argument
133 mEntries.stream().filter(e -> e.getTimestamp() == timestamp).findFirst(); in getEntry()
135 throw new RuntimeException("Entry does not exist for timestamp " + timestamp); in getEntry()
154 private Entry(long timestamp, List<Layer> rootLayers) { in Entry() argument
155 this.mTimestamp = timestamp; in Entry()
187 public static Entry fromFlattenedLayers(long timestamp, LayerProto[] protos, in fromFlattenedLayers() argument
241 return new Entry(timestamp, rootLayer.mChildren); in fromFlattenedLayers()
DWindowManagerTrace.java85 public Entry getEntry(long timestamp) { in getEntry() argument
87 mEntries.stream().filter(e -> e.getTimestamp() == timestamp).findFirst(); in getEntry()
89 throw new RuntimeException("Entry does not exist for timestamp " + timestamp); in getEntry()
/platform_testing/tests/functional/devicehealthtests/src/com/android/devicehealth/tests/
DHealthCheckBase.java53 long timestamp = 0; in checkCrash() local
57 while (null != (entry = dropbox.getNextEntry(label, timestamp))) { in checkCrash()
76 timestamp = entry.getTimeMillis(); in checkCrash()
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DCrashCheckBase.java54 long timestamp = 0; in checkCrash() local
58 while (null != (entry = dropbox.getNextEntry(label, timestamp))) { in checkCrash()
77 timestamp = entry.getTimeMillis(); in checkCrash()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DAssertionsCheckerTest.java72 assertThat(failures.get(0).timestamp).isEqualTo(0); in canCheckFirstEntry()
84 assertThat(failures.get(0).timestamp).isEqualTo(4); in canCheckLastEntry()
186 SimpleEntry(long timestamp, int data) { in SimpleEntry() argument
187 this.mTimestamp = timestamp; in SimpleEntry()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScheduledRunCollectionListenerTest.java212 long timestamp = Long.parseLong(m.group("timestamp")); in testRun() local
214 assertEquals((i - 1) * TEST_INTERVAL, timestamp, delta); in testRun()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
Dprofile.proto33 string at = 1; // A timestamp (HH:MM:SS) for when to run the scenario.
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java100 String timestamp = simpleDateFormat.format(new Date()); in startTestSuite() local
101 mRootElement.setAttribute(ATTR_TESTSUITE_TIME, timestamp); in startTestSuite()