Home
last modified time | relevance | path

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

12

/tools/asuite/atest/
Dbanner.py19 from datetime import date
61 def set_last_banner_prompt_date(self, date: str):
63 self._history[BannerHistory._LAST_BANNER_PROMPT_DATE] = date
92 date_supplier = lambda: str(date.today())
Datest_utils.py1248 date = datetime.datetime.strptime(raw_date, '%Y-%m-%d %H:%M:%S %z').date()
1252 date = datetime.datetime.today().date()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/
DPrettyTestEventLogger.java49 Date date = new Date(); in testStarted() local
54 test.toString(), date.toString()); in testStarted()
66 Date date = new Date(); in testEnded() local
70 test.toString(), date.toString()); in testEnded()
/tools/external_updater/
Dfileutils.py216 date = metadata.third_party.last_upgrade_date
218 date.year = now.year
219 date.month = now.month
220 date.day = now.day
DREADME.md67 --keep-date Run update and do not change date in METADATA.
182 date
/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java43 Date date = new Date(deleteTimeEpoch); in writeRetentionFile() local
45 FileUtil.writeToFile(new SimpleDateFormat(RETENTION_DATE_FORMAT).format(date), in writeRetentionFile()
/tools/loganalysis/javatests/com/android/loganalysis/item/
DGenericItemTest.java221 Date date = new Date(); in testToJson() local
226 item.setAttribute("date", date); in testToJson()
241 assertEquals(date.toString(), output.get("date")); in testToJson()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DDelegatingX509Certificate.java80 public void checkValidity(Date date) in checkValidity() argument
82 mDelegate.checkValidity(date); in checkValidity()
/tools/acloud/
Dgen_version.sh7 DATETIME=$(TZ='UTC' date +'%Y.%m.%d')
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DNativeDeviceTest.java1424 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer()
1455 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_timeOffset()
1487 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_fails()
2093 Date date = new Date(1476958891000L); in testGetDeviceTimeOffset() local
2094 assertEquals(10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset()
2112 Date date = new Date(1476958881000L); in testGetDeviceTimeOffset_delay() local
2113 assertEquals(-10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset_delay()
2122 Date date = new Date(1476958881000L); in testSetDate() local
2131 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate()
2144 mTestDevice.setDate(date); in testSetDate()
[all …]
/tools/carrier_settings/
Dmain.sh56 EPOCH=$(date -d '2018-06-01T00:00:00Z' +%s)
57 NOW=$(date +%s)
/tools/test/connectivity/acts/framework/acts/
Dlogger.py105 date, time = t.split(' ')
106 year, month, day = date.split('-')
/tools/asuite/
D.gitignore27 # folder, as fake date for testing. Add the path to gitignore exception.
/tools/aadevtools/dev/
Dclone_proj.sh43 TODAY=$(date +"%y%m%d")
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1056 public InputStreamSource getLogcatSince(long date); in getLogcatSince() argument
1470 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException; in getDeviceTimeOffset() argument
1479 public void setDate(Date date) throws DeviceNotAvailableException; in setDate() argument
/tools/test/connectivity/tools/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/test/connectivity/acts/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/test/connectivity/acts_tests/
D.gitignore30 # before PyInstaller builds the exe, so as to inject date/other infos into it.
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/
Dgnss_testlog_utils.py268 lambda row: datetime.datetime.strptime(row.date + '-' + row.time,
346 lambda row: datetime.datetime.strptime(row.date + '-' + row.time,
/tools/tradefederation/core/javatests/com/android/tradefed/result/resultdb/
DInvocationSimulator.java147 ZonedDateTime date = formatter.parse(in, LocalDateTime::from).atZone(ZoneId.of("UTC")); in getStartTime() local
148 return date.toInstant().toEpochMilli(); in getStartTime()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAuthorizationList.java354 private static String formatDate(Date date) { in formatDate() argument
355 return DateFormat.getDateTimeInstance().format(date); in formatDate()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2961 public InputStreamSource getLogcatSince(long date) { in getLogcatSince() argument
2978 dateFormatted = String.format(Locale.US, "%d.%03d", date / 1000, date % 1000); in getLogcatSince()
2983 dateFormatted = format.format(new Date(date)); in getLogcatSince()
4903 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in getDeviceTimeOffset() argument
4906 if (date == null) { in getDeviceTimeOffset()
4907 date = new Date(); in getDeviceTimeOffset()
4910 long offset = date.getTime() - deviceTime; in getDeviceTimeOffset()
4919 public void setDate(Date date) throws DeviceNotAvailableException { in setDate() argument
4920 if (date == null) { in setDate()
4921 date = new Date(); in setDate()
[all …]
/tools/dexter/testdata/expected/
Dmedium.rewrite29037 .local v10, "date", java.lang.String
29624 .local v8, "date", java.lang.String
29655 .local v8, "date", java.lang.String
29682 .local v8, "date", java.lang.String
29713 .local v8, "date", java.lang.String
29807 .local v10, "date", java.lang.String
29918 .local v0, "date", android.widget.TextView
30075 .local v0, "date", android.widget.TextView
39217 .params "date", "dayIndex", "top", "canvas", "p"
40056 .local v3, "date", int
[all …]
Dmedium.wrap_invoke29037 .local v10, "date", java.lang.String
29624 .local v8, "date", java.lang.String
29655 .local v8, "date", java.lang.String
29682 .local v8, "date", java.lang.String
29713 .local v8, "date", java.lang.String
29807 .local v10, "date", java.lang.String
29918 .local v0, "date", android.widget.TextView
30075 .local v0, "date", android.widget.TextView
39217 .params "date", "dayIndex", "top", "canvas", "p"
40056 .local v3, "date", int
[all …]
/tools/security/sanitizer-status/
DNOTICE100 as of the date such litigation is filed.

12