/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 | 186 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods() local 187 String source = dateFormat.format(date); in testFormatMethods() 189 assertEquals(date.getYear(), parseDate.getYear()); in testFormatMethods() 190 assertEquals(date.getMonth(), parseDate.getMonth()); in testFormatMethods() 191 assertEquals(date.getDay(), date.getDay()); in testFormatMethods() 195 source = dateFormat.format(date); in testFormatMethods() 199 source = dateFormat.format(date); in testFormatMethods() 203 source = dateFormat.format(date); in testFormatMethods() 325 Date date = new Date(YEAR_FROM_1900, MONTH, DAY); in test_ContextLocaleIsUsed() local 328 java.text.DateFormat.LONG).format(date); in test_ContextLocaleIsUsed() [all …]
|
D | DateUtilsTest.java | 209 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange() local 210 final long fixedTime = date.getTime(); in testFormatDateRange() 222 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange_withFormatter() local 223 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatter() 238 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateRange_withFormatterAndTimezone() local 239 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatterAndTimezone() 254 final Date date = new Date(109, 0, 19, 3, 30, 15); in testFormatDateTime() local 255 final long fixedTime = date.getTime(); in testFormatDateTime()
|
/cts/tools/mcts/ |
D | download_mcts.sh | 94 file_download_time=$(date -d "@$(stat -c %W ${file})" +%s ) 96 url_link_time_stamp=$(date -d "${url_link_last_modified_string}" +%s )
|
/cts/tests/tests/apache-http/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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/ |
D | SystemUpdatePolicyTest.java | 434 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/ |
D | ReportExporter.java | 93 String date = dateFormat.format(new Date()); in getReportBaseName() local 95 + "-" + date in getReportBaseName()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractDatePickerActivity.java | 81 final String date = year + "/" + month + "/" + day; in updateOutputWithDate() local 82 mOutput.setText(date); in updateOutputWithDate()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ThreadsTest.java | 110 private Uri addMessageToTelephonyWithDate(long date, String messageBody, long threadId) { in addMessageToTelephonyWithDate() argument 114 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/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/ |
D | poc.c | 38 ver.date = (char*)malloc(ver.date_len); in drm_version()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 142 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local 145 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates() 147 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates() 148 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
|
D | KeyGenParameterSpecTest.java | 206 Date date = new Date(System.currentTimeMillis() + 555555); in testSetKeyValidityEndDateAppliesToBothEndDates() local 209 .setKeyValidityEnd(date) in testSetKeyValidityEndDateAppliesToBothEndDates() 211 assertEquals(date, spec.getKeyValidityForOriginationEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates() 212 assertEquals(date, spec.getKeyValidityForConsumptionEnd()); in testSetKeyValidityEndDateAppliesToBothEndDates()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | XmlReport.java | 50 String date = format.format(new Date(System.currentTimeMillis())); in printXmlReport() local 51 out.println("<api-coverage generatedTime=\"" + date + "\" title=\"" + reportTitle +"\">"); in printXmlReport()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/hostside/src/com/android/tests/loadingprogress/host/ |
D | IncrementalLoadingProgressTest.java | 187 Date date = df.parse(dateString); in getLoadingCompletedTimeSecondsFromDumpsys() local 188 return Math.floorDiv(date.getTime(), 1000); in getLoadingCompletedTimeSecondsFromDumpsys()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 470 Date date = new Date(); in makeExpiringCookieMs() local 471 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs() 472 return cookie + "; expires=" + date.toGMTString(); in makeExpiringCookieMs()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 99 public Integer date; field in CallLogTest.LogEntry 120 date = Integer.valueOf(value); in setValue() 540 private ContentValues getDefaultValues(int type, String number, int date, int duration) { in getDefaultValues() argument 545 values.put(Calls.DATE, date); in getDefaultValues()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ReportExporter.java | 251 String date = dateFormat.format(new Date()); in getReportName() local 254 date, suiteName, Build.MANUFACTURER, Build.PRODUCT, Build.DEVICE, Build.ID); in getReportName()
|
/cts/tools/vm-tests-tf/etc/ |
D | starthosttests | 63 curdate=`date`
|
D | starttests | 65 curdate=`date`
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | XmlWriter.java | 72 String date = format.format(new Date(System.currentTimeMillis())); in XmlWriter() local 74 mRootElement.setAttribute("generatedTime", date); in XmlWriter()
|
/cts/tests/tests/apache-http/src/org/apache/http/conn/ssl/cts/ |
D | AbstractVerifierTest.java | 224 public void checkValidity(Date date) in createStubCertificate() argument
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | Android.bp | 142 // Using the up-to-date version of the interface
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | EabBulkCapabilityUpdaterTest.java | 572 GregorianCalendar date = new GregorianCalendar(); in getPidfXmlData() local 573 date.add(Calendar.DATE, 120); in getPidfXmlData() 576 .format(date.getTime()); in getPidfXmlData()
|