/cts/libs/vogar-expect/src/vogar/expect/ |
D | Outcome.java | 36 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/ |
D | DateFormatTest.java | 185 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 …]
|
D | DateUtilsTest.java | 199 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange() local 200 final long fixedTime = date.getTime(); in testFormatDateRange() 212 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange_withFormatter() local 213 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatter() 228 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange_withFormatterAndTimezone() local 229 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatterAndTimezone() 244 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateTime() local 245 final long fixedTime = date.getTime(); in testFormatDateTime()
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslCertificateTest.java | 44 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/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SystemUpdatePolicyTest.java | 435 private MonthDay parseMonthDay(String date) { in parseMonthDay() argument 436 return MonthDay.of(Integer.parseInt(date.substring(0, 2)), in parseMonthDay() 437 Integer.parseInt(date.substring(3, 5))); in parseMonthDay() 444 private void setSystemDate(LocalDate date) throws Exception { in setSystemDate() argument 447 c.set(Calendar.YEAR, date.getYear()); in setSystemDate() 448 c.set(Calendar.MONTH, date.getMonthValue() - 1); in setSystemDate() 449 c.set(Calendar.DAY_OF_MONTH, date.getDayOfMonth()); in setSystemDate()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 102 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local 105 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates() 107 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates() 108 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
|
D | KeyGenParameterSpecTest.java | 147 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local 150 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates() 152 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates() 153 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
|
D | KeyStoreTest.java | 770 Date date = keyStore.getCreationDate(ALIAS_CERTIFICATE); in test_KeyStore_getCreationDate() local 771 assertNotNull(date); in test_KeyStore_getCreationDate() 772 assertTrue("date should be after start time: " + date.getTime() + " >= " + before, in test_KeyStore_getCreationDate() 773 before <= date.getTime()); in test_KeyStore_getCreationDate() 774 assertTrue("date should be before expiry time: " + date.getTime() + " <= " + after, in test_KeyStore_getCreationDate() 775 date.getTime() <= after); in test_KeyStore_getCreationDate() 785 Date date = keyStore.getCreationDate(ALIAS_ALT_CASE_CERTIFICATE); in test_KeyStore_getCreationDate() local 786 assertTrue(before <= date.getTime()); in test_KeyStore_getCreationDate() 787 assertTrue(date.getTime() <= after); in test_KeyStore_getCreationDate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | ReportExporter.java | 93 String date = dateFormat.format(new Date()); in getReportBaseName() local 95 + "-" + date in getReportBaseName()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractDatePickerActivity.java | 77 final String date = year + "/" + month + "/" + day; in updateOutputWithDate() local 78 mOutput.setText(date); in updateOutputWithDate()
|
D | CannedFillResponse.java | 668 public Builder setField(String id, long date) { in setField() argument 669 return setField(id, AutofillValue.forDate(date)); in setField()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 410 Date date = new Date(); in makeExpiringCookieMs() local 411 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs() 412 return cookie + "; expires=" + date.toGMTString(); in makeExpiringCookieMs()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ThreadsTest.java | 107 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/ |
D | build.prop | 15 ro.build.date=Fri Jul 20 20:55:13 UTC 2018 16 ro.build.date.utc=1532120113
|
D | build.prop.pb.txt | 26 key: "ro.build.date" 34 key: "ro.build.date.utc"
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | XmlReport.java | 43 String date = format.format(new Date(System.currentTimeMillis())); in printXmlReport() local 44 out.println("<api-coverage generatedTime=\"" + date + "\" title=\"" + reportTitle +"\">"); in printXmlReport()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ReportExporter.java | 163 String date = dateFormat.format(new Date()); in getReportName() local 165 date, suiteName, Build.MANUFACTURER, Build.PRODUCT, Build.DEVICE, Build.ID); in getReportName()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | poc.c | 38 ver.date = (char*)malloc(ver.date_len); in drm_version()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 137 protected boolean didIncidentdFireSince(String date) throws Exception { in didIncidentdFireSince() argument 142 String log = getLogcatSince(date, String.format( in didIncidentdFireSince() 913 protected String getLogcatSince(String date, String logcatParams) throws Exception { in getLogcatSince() argument 915 "logcat -v threadtime -t '%s' -d %s", date, logcatParams)); in getLogcatSince()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | Android.bp | 98 // Using the up-to-date version of the interface
|
/cts/tools/vm-tests-tf/etc/ |
D | starthosttests | 63 curdate=`date`
|
D | starttests | 65 curdate=`date`
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PermissionPolicyTest.java | 433 private static Date parseDate(String date) { in parseDate() argument 437 patchDate = template.parse(date); in parseDate()
|
/cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/ |
D | AbstractVerifierTest.java | 224 public void checkValidity(Date date) in createStubCertificate() argument
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 395 private static String formatDate(Date date) { in formatDate() argument 396 return DateFormat.getDateTimeInstance().format(date); in formatDate()
|