Home
last modified time | relevance | path

Searched refs:date (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DSplUtils.java48 public static String format(LocalDate date) { in format() argument
49 return date.format(formatter); in format()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DLogcatCollector.java179 Date date = new Date(System.currentTimeMillis()); in getLogcatStartTime() local
180 Log.i(getTag(), "Current Date:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()
182 date = new Date(System.currentTimeMillis() - (mBeforeLogcatDurationInSecs * 1000)); in getLogcatStartTime()
183 Log.i(getTag(), "Date including the before duration:" + DATE_FORMATTER.format(date)); in getLogcatStartTime()
185 return DATE_FORMATTER.format(date); in getLogcatStartTime()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoDateTimeSettingsHelper.java33 void setDate(LocalDate date); in setDate() argument
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/
DSystemSettingTest.java79 Date date = in testAndroidSecurityPatchLevel() local
86 date.equals(mSystemSettingsHelper.get().getAndroidSecurityPatchLevel())); in testAndroidSecurityPatchLevel()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsSystemHelperImpl.java170 private Date formatDate(Date date, String format) { in formatDate() argument
172 String dateString = dateFormatter.format(date); in formatDate()
180 private Date parseDate(String date, String format) { in parseDate() argument
184 parsedDate = dateFormatter.parse(date); in parseDate()
DSettingsDateTimeHelperImpl.java103 public void setDate(LocalDate date) { in setDate() argument
121 int year = date.getYear(); in setDate()
122 Month month = date.getMonth(); in setDate()
123 int day = date.getDayOfMonth(); in setDate()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DUtils.kt40 val date = Date(timestampMs) in <lambda>() constant
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatCollectorTest.java183 Date date = new Date(System.currentTimeMillis()); in testLogcatCollectionWithBeforeDuration() local
208 String.valueOf(date.getTime() - finallogcatSinceDate.getTime())); in testLogcatCollectionWithBeforeDuration()
209 assertTrue((date.getTime() - finallogcatSinceDate.getTime()) >= 4000); in testLogcatCollectionWithBeforeDuration()