Home
last modified time | relevance | path

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

/cts/libs/vogar-expect/src/vogar/
DOutcome.java36 private final Date date; field in Outcome
42 this.date = new Date(); in Outcome()
45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { in Outcome() argument
49 this.date = date; in Outcome()
56 this.date = new Date(); in Outcome()
63 this.date = new Date(); in Outcome()
79 return date; in getDate()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java158 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods() local
159 String source = dateFormat.format(date); in testFormatMethods()
161 assertEquals(date.getYear(), parseDate.getYear()); in testFormatMethods()
162 assertEquals(date.getMonth(), parseDate.getMonth()); in testFormatMethods()
163 assertEquals(date.getDay(), date.getDay()); in testFormatMethods()
167 source = dateFormat.format(date); in testFormatMethods()
171 source = dateFormat.format(date); in testFormatMethods()
175 source = dateFormat.format(date); in testFormatMethods()
DDateUtilsTest.java149 Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatSameDayTime() local
150 long fixedTime = date.getTime(); in testFormatSameDayTime()
189 Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange() local
190 long fixedTime = date.getTime(); in testFormatDateRange()
DTimeTest.java101 final int date = 10; in testSet() local
103 time.set(date, month, year); in testSet()
106 assertEquals(date, time.monthDay); in testSet()
/cts/tests/tests/net/src/android/net/http/cts/
DSslCertificateTest.java44 String date = DateFormat.getInstance().format(new Date()); in testConstructor() local
45 new SslCertificate("c=129", "e=weji", date, date); in testConstructor()
60 public void checkValidity(Date date) throws CertificateExpiredException, in checkValidity() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java94 String date = dateFormat.format(new Date()); in getReportBaseName() local
96 + "-" + date in getReportBaseName()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java41 String date = format.format(new Date(System.currentTimeMillis())); in printXmlReport() local
42 out.println("<api-coverage generatedTime=\"" + date + "\" title=\"" + reportTitle +"\">"); in printXmlReport()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java95 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local
98 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates()
100 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
101 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
DKeyGenParameterSpecTest.java144 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local
147 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates()
149 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
150 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
/cts/tests/tests/calllog/src/android/calllog/cts/
DCallLogBackupTest.java82 long date; field in CallLogBackupTest.Call
155 assertEquals(CALL_START_TIME, call.date); in verifyCall()
242 call.date = cursor.getLong(cursor.getColumnIndex(Calls.DATE)); in getCalls()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java408 Date date = new Date(); in makeExpiringCookieMs() local
409 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs()
410 return cookie + "; expires=" + date.toGMTString(); in makeExpiringCookieMs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java254 String date = (new Date()).toString(); in beginNotification()
255 characteristic.setValue(date); in beginNotification()
/cts/tools/vm-tests-tf/etc/
Dstarttests65 curdate=`date`
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java866 Date date = new Date(System.currentTimeMillis()); in testJpegExifByCamera() local
867 String localDatetime = new SimpleDateFormat("yyyy:MM:dd HH:").format(date); in testJpegExifByCamera()
1108 String date = exif.getAttribute(ExifInterface.TAG_GPS_DATESTAMP); in getGpsDateTimeFromJpeg() local
1110 if (date == null || time == null) return -1; in getGpsDateTimeFromJpeg()
1112 String dateTimeString = date + ' ' + time; in getGpsDateTimeFromJpeg()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1970 Date date = new Date(currentTimeInMs); in verifyJpegExifExtraTags() local
1971 String localDatetime = new SimpleDateFormat("yyyy:MM:dd HH:").format(date); in verifyJpegExifExtraTags()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex35199 private java.util.Date date
78978 private final java.util.Date date
89479 private org.bouncycastle.asn1.DERGeneralizedTime date
89909 private org.bouncycastle.asn1.DERGeneralizedTime date
105159 java.util.Date date