Home
last modified time | relevance | path

Searched refs:date (Results 1 – 13 of 13) 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/webkit/src/android/webkit/cts/
DCookieManagerTest.java161 Date date = new Date(); in testRemoveCookies() local
162 date.setTime(date.getTime() + 1000 * 600); in testRemoveCookies()
163 String value2 = cookie2 + "; expires=" + date.toGMTString(); in testRemoveCookies()
167 date = new Date(); in testRemoveCookies()
168 date.setTime(date.getTime() + expiration); in testRemoveCookies()
169 String value3 = cookie3 + "; expires=" + date.toGMTString(); in testRemoveCookies()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods() local
129 String source = dateFormat.format(date); in testFormatMethods()
131 assertEquals(date.getYear(), parseDate.getYear()); in testFormatMethods()
132 assertEquals(date.getMonth(), parseDate.getMonth()); in testFormatMethods()
133 assertEquals(date.getDay(), date.getDay()); in testFormatMethods()
137 source = dateFormat.format(date); in testFormatMethods()
141 source = dateFormat.format(date); in testFormatMethods()
145 source = dateFormat.format(date); in testFormatMethods()
DTimeTest.java75 final int date = 10; in testSet() local
77 time.set(date, month, year); in testSet()
80 assertEquals(date, time.monthDay); in testSet()
570 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); in testSet0() local
571 date.setTimeInMillis(time); in testSet0()
573 assertEquals(date.get(Calendar.YEAR), t.year); in testSet0()
574 assertEquals(date.get(Calendar.MONTH), t.month); in testSet0()
575 assertEquals(date.get(Calendar.DAY_OF_MONTH), t.monthDay); in testSet0()
576 assertEquals(date.get(Calendar.HOUR_OF_DAY), t.hour); in testSet0()
577 assertEquals(date.get(Calendar.MINUTE), t.minute); in testSet0()
[all …]
DDateUtilsTest.java170 Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatSameDayTime() local
171 long fixedTime = date.getTime(); in testFormatSameDayTime()
210 Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange() local
211 long fixedTime = date.getTime(); in testFormatDateRange()
/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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java223 String date = (new Date()).toString(); in beginNotification()
224 characteristic.setValue(date); in beginNotification()
/cts/tests/tests/provider/src/android/provider/cts/
DBrowserTest.java187 long date = cursor.getLong(Browser.SEARCHES_PROJECTION_DATE_INDEX); in testAccessSearches() local
188 assertTrue(date > oldDate); in testAccessSearches()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java829 Date date = new Date(System.currentTimeMillis()); in testJpegExifByCamera() local
830 String localDatetime = new SimpleDateFormat("yyyy:MM:dd HH:").format(date); in testJpegExifByCamera()
/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
Dclasses.out.dex112286 public static final int date