Home
last modified time | relevance | path

Searched refs:getTime (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DBaseSubjectsParserTestParse.kt45 protected abstract fun getTime(timestamp: Timestamp): Long in getTime() method in android.tools.flicker.assertions.BaseSubjectsParserTestParse
71 .that(getTime(subject.subjects.first().timestamp)) in parseTraceSubject()
72 .isEqualTo(getTime(expectedStartTime)) in parseTraceSubject()
74 .that(getTime(subject.subjects.last().timestamp)) in parseTraceSubject()
75 .isEqualTo(getTime(expectedEndTime)) in parseTraceSubject()
107 .that(getTime(subject.timestamp)) in doParseStateSubjectAndValidate()
108 .isEqualTo(getTime(expectedTime)) in doParseStateSubjectAndValidate()
DSubjectsParserTestParseLayers.kt34 override fun getTime(timestamp: Timestamp) = timestamp.systemUptimeNanos method in android.tools.flicker.assertions.SubjectsParserTestParseLayers
DSubjectsParserTestParseWM.kt34 override fun getTime(timestamp: Timestamp) = timestamp.elapsedNanos method in android.tools.flicker.assertions.SubjectsParserTestParseWM
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DBaseResultReaderTestParseTrace.kt51 protected abstract fun getTime(traceTime: Timestamp): Long in <lambda>() method in android.tools.io.BaseResultReaderTestParseTrace
73 .that(getTime(trace.entries.first().timestamp)) in <lambda>()
74 .isEqualTo(getTime(startTimeTrace)) in <lambda>()
76 .that(getTime(trace.entries.last().timestamp)) in <lambda>()
77 .isEqualTo(getTime(endTimeTrace)) in <lambda>()
102 .that(getTime(trace.entries.first().timestamp)) in <lambda>()
103 .isEqualTo(getTime(startTimeTrace)) in <lambda>()
DResultReaderTestParseLayers.kt34 override fun getTime(traceTime: Timestamp) = traceTime.systemUptimeNanos method in android.tools.io.ResultReaderTestParseLayers
DResultReaderTestParseWM.kt34 override fun getTime(traceTime: Timestamp) = traceTime.elapsedNanos method in android.tools.io.ResultReaderTestParseWM
DResultReaderTestParseTransactions.kt35 override fun getTime(traceTime: Timestamp) = traceTime.elapsedNanos method in android.tools.io.ResultReaderTestParseTransactions
DResultReaderTestParseEventLog.kt38 override fun getTime(traceTime: Timestamp) = traceTime.unixNanos method in android.tools.io.ResultReaderTestParseEventLog
DResultReaderTestParseTransitions.kt42 override fun getTime(traceTime: Timestamp) = traceTime.elapsedNanos method in android.tools.io.ResultReaderTestParseTransitions
DResultReaderTestParseProtoLog.kt44 override fun getTime(traceTime: Timestamp) = traceTime.elapsedNanos in doParse() method in android.tools.io.ResultReaderTestParseProtoLog
DResultReaderTestParseLegacyTransitions.kt48 override fun getTime(traceTime: Timestamp) = traceTime.elapsedNanos in doParse() method in android.tools.io.ResultReaderTestParseLegacyTransitions
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/
DDateTimeSettingTest.java79 assertTrue(mDateTimeSettingsHelper.get().getTime().matches(FULL_TIME_TWELVE_REGEX)); in testSetTimeTwelveHourFormat()
85 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWENTYFOUR)); in testSetTimeTwentyFourHourFormat()
99 String currentUiTime = mDateTimeSettingsHelper.get().getTime(); in testSetTwentyFourHourFormat()
108 String currentUiTime = mDateTimeSettingsHelper.get().getTime(); in testSetTwelveHourFormat()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoDateTimeSettingsHelper.java70 String getTime(); in getTime() method
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatCollectorTest.java208 String.valueOf(date.getTime() - finallogcatSinceDate.getTime())); in testLogcatCollectionWithBeforeDuration()
209 assertTrue((date.getTime() - finallogcatSinceDate.getTime()) >= 4000); in testLogcatCollectionWithBeforeDuration()
442 DATE_FORMATTER.parse(year + " " + firstLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()
444 DATE_FORMATTER.parse(year + " " + lastLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java125 TIMESTAMP_FORMATTER.parse(orderedScenarios.get(0).getAt()).getTime(); in Profile()
227 TIMESTAMP_FORMATTER.parse(nextScenario.getAt()).getTime() in getTimeUntilNextScenarioMs()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java187 String currentTime = getTime(); in setTimeInTwelveHourFormat()
227 String currentTime = getTime(); in setTimeInTwentyFourHourFormat()
404 public String getTime() { in getTime() method in SettingsDateTimeHelperImpl
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneUtils.java156 return !f.getTime().equals(excludeFile.getTime());
/platform_testing/host_runners/boot/src/com/android/boot/
DBootTimeTest.java1175 unlockInMillis = time.getTime(); in analyzeUnlockBootInfo()
1182 mBootInfo.get(UNLOCK_TIME).add(time.getTime() - unlockInMillis); in analyzeUnlockBootInfo()
1185 screenUnlockTime.add(time.getTime() - unlockInMillis); in analyzeUnlockBootInfo()
1188 mBootIterationInfo.put(UNLOCK_TIME, time.getTime() - unlockInMillis); in analyzeUnlockBootInfo()