Home
last modified time | relevance | path

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

12

/cts/libs/vogar-expect/src/vogar/expect/
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.java185 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods() local
186 String source = dateFormat.format(date); in testFormatMethods()
188 assertEquals(date.getYear(), parseDate.getYear()); in testFormatMethods()
189 assertEquals(date.getMonth(), parseDate.getMonth()); in testFormatMethods()
190 assertEquals(date.getDay(), date.getDay()); in testFormatMethods()
194 source = dateFormat.format(date); in testFormatMethods()
198 source = dateFormat.format(date); in testFormatMethods()
202 source = dateFormat.format(date); in testFormatMethods()
324 Date date = new Date(YEAR_FROM_1900, MONTH, DAY); in test_ContextLocaleIsUsed() local
327 java.text.DateFormat.LONG).format(date); in test_ContextLocaleIsUsed()
[all …]
/cts/tests/tests/apache-http/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java434 private MonthDay parseMonthDay(String date) { in parseMonthDay() argument
435 return MonthDay.of(Integer.parseInt(date.substring(0, 2)), in parseMonthDay()
436 Integer.parseInt(date.substring(3, 5))); in parseMonthDay()
443 private void setSystemDate(LocalDate date) throws Exception { in setSystemDate() argument
446 c.set(Calendar.YEAR, date.getYear()); in setSystemDate()
447 c.set(Calendar.MONTH, date.getMonthValue() - 1); in setSystemDate()
448 c.set(Calendar.DAY_OF_MONTH, date.getDayOfMonth()); in setSystemDate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java93 String date = dateFormat.format(new Date()); in getReportBaseName() local
95 + "-" + date in getReportBaseName()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractDatePickerActivity.java81 final String date = year + "/" + month + "/" + day; in updateOutputWithDate() local
82 mOutput.setText(date); in updateOutputWithDate()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DThreadsTest.java107 private Uri addMessageToTelephonyWithDate(long date, String messageBody, long threadId) { in addMessageToTelephonyWithDate() argument
111 contentValues.put(Telephony.Sms.DATE, date); in addMessageToTelephonyWithDate()
/cts/tools/release-parser/tests/resources/
Dbuild.prop15 ro.build.date=Fri Jul 20 20:55:13 UTC 2018
16 ro.build.date.utc=1532120113
Dbuild.prop.pb.txt26 key: "ro.build.date"
34 key: "ro.build.date.utc"
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java114 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local
117 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates()
119 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
120 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
DKeyGenParameterSpecTest.java160 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local
163 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates()
165 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
166 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
DKeyStoreTest.java771 Date date = keyStore.getCreationDate(ALIAS_CERTIFICATE); in test_KeyStore_getCreationDate() local
772 assertNotNull(date); in test_KeyStore_getCreationDate()
773 assertTrue("date should be after start time: " + date.getTime() + " >= " + before, in test_KeyStore_getCreationDate()
774 before <= date.getTime()); in test_KeyStore_getCreationDate()
775 assertTrue("date should be before expiry time: " + date.getTime() + " <= " + after, in test_KeyStore_getCreationDate()
776 date.getTime() <= after); in test_KeyStore_getCreationDate()
786 Date date = keyStore.getCreationDate(ALIAS_ALT_CASE_CERTIFICATE); in test_KeyStore_getCreationDate() local
787 assertTrue(before <= date.getTime()); in test_KeyStore_getCreationDate()
788 assertTrue(date.getTime() <= after); in test_KeyStore_getCreationDate()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dpoc.c38 ver.date = (char*)malloc(ver.date_len); in drm_version()
Dlocal_poc.h70 char* date; member
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DXmlReport.java43 String date = format.format(new Date(System.currentTimeMillis())); in printXmlReport() local
44 out.println("<api-coverage generatedTime=\"" + date + "\" title=\"" + reportTitle +"\">"); in printXmlReport()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java470 Date date = new Date(); in makeExpiringCookieMs() local
471 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs()
472 return cookie + "; expires=" + date.toGMTString(); in makeExpiringCookieMs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java219 String date = dateFormat.format(new Date()); in getReportName() local
221 date, suiteName, Build.MANUFACTURER, Build.PRODUCT, Build.DEVICE, Build.ID); in getReportName()
/cts/tools/vm-tests-tf/etc/
Dstarthosttests63 curdate=`date`
Dstarttests65 curdate=`date`
/cts/tests/tests/apache-http/src/org/apache/http/conn/ssl/cts/
DAbstractVerifierTest.java224 public void checkValidity(Date date) in createStubCertificate() argument
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
DAndroid.bp132 // Using the up-to-date version of the interface
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DEabBulkCapabilityUpdaterTest.java574 GregorianCalendar date = new GregorianCalendar(); in getPidfXmlData() local
575 date.add(Calendar.DATE, 120); in getPidfXmlData()
578 .format(date.getTime()); in getPidfXmlData()
DEabControllerTest.java478 GregorianCalendar date = new GregorianCalendar(); in getPidfXmlData() local
480 .format(date.getTime()); in getPidfXmlData()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DAtomTestCase.java156 protected boolean didIncidentdFireSince(String date) throws Exception { in didIncidentdFireSince() argument
161 String log = getLogcatSince(date, String.format( in didIncidentdFireSince()
915 protected String getLogcatSince(String date, String logcatParams) throws Exception { in getLogcatSince() argument
917 "logcat -v threadtime -t '%s' -d %s", date, logcatParams)); in getLogcatSince()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java524 private static String formatDate(Date date) { in formatDate() argument
525 return DateFormat.getDateTimeInstance().format(date); in formatDate()

12