/cts/tests/tests/widget/src/android/widget/cts/ |
D | CalendarViewTest.java | 75 final long currentDate = new GregorianCalendar().getTime().getTime(); in setup() 105 final long yearAgoDate = newCalendar.getTime().getTime(); in testAccessDate() 112 final long yearHenceDate = newCalendar.getTime().getTime(); in testAccessDate() 127 final long minDate = minCalendar.getTime().getTime(); in testAccessMinMaxDate() 128 final long maxDate = maxCalendar.getTime().getTime(); in testAccessMinMaxDate() 145 final long minDate = minCalendar.getTime().getTime(); in testMinMaxRangeRestrictionsHolo() 146 final long maxDate = maxCalendar.getTime().getTime(); in testMinMaxRangeRestrictionsHolo() 172 final long minDate = minCalendar.getTime().getTime(); in testMinMaxRangeClampingMaterial() 173 final long maxDate = maxCalendar.getTime().getTime(); in testMinMaxRangeClampingMaterial() 222 () -> calendarView.setDate(calendar.getTime().getTime(), false, true)); in verifyOnDateChangeListener() [all …]
|
D | DatePickerTest.java | 198 final long minDate = minCalendar.getTime().getTime(); in verifyMinMaxDate() 199 final long maxDate = maxCalendar.getTime().getTime(); in verifyMinMaxDate()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 38 Assert.assertEquals(0, timer.getTime()); in testEmptyConstructor() 53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testSetCount() 68 Assert.assertEquals(5000, timer.getTime()); in testSetTime() 79 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testParceling() 90 Assert.assertEquals(Long.MAX_VALUE, readback.getTime()); in testParceling()
|
D | HealthStatsTest.java | 89 Assert.assertEquals(Long.MAX_VALUE, readback.getTimer(TIMER_1).getTime()); in checkHealthStats() 128 Assert.assertEquals(400, timers.get("b").getTime()); in checkHealthStats()
|
/cts/hostsidetests/gputools/src/android/gputools/cts/ |
D | CtsRootlessGpuDebugHostTest.java | 130 private String getTime() throws Exception { in getTime() method in CtsRootlessGpuDebugHostTest 330 String appStartTime = getTime(); in testDebugLayerLoadVulkan() 366 String appStartTime = getTime(); in testReleaseLayerLoadVulkan() 396 String appStartTime = getTime(); in testDebugNotEnabledVulkan() 426 String appStartTime = getTime(); in testDebugWrongAppVulkan() 456 String appStartTime = getTime(); in testDebugNoLayersEnabledVulkan() 480 String appStartTime = getTime(); in testSystemPropertyEnableVulkan() 520 String appStartTime = getTime(); in testSystemPropertyIgnoreVulkan() 548 String appStartTime = getTime(); in testDebugLayerLoadExternalVulkan() 583 String appStartTime = getTime(); in testDebugLayerLoadGLES() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 213 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_NoChallenge() 214 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_NoChallenge() 246 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 247 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 382 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation_NoChallenge() 383 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation_NoChallenge() 415 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation_DeviceLocked() 416 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation_DeviceLocked() 527 Date originationEnd = new Date(startTime.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation() 528 Date consumptionEnd = new Date(startTime.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation() [all …]
|
D | KeyGenParameterSpecTest.java | 191 Date originalCertNotBeforeDate = new Date(certNotBeforeDate.getTime()); in testImmutabilityViaSetterParams() 193 Date originalCertNotAfterDate = new Date(certNotAfterDate.getTime()); in testImmutabilityViaSetterParams() 195 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 198 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 201 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
D | KeyProtectionTest.java | 146 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 149 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 152 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
D | AndroidKeyStoreTest.java | 1034 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1035 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1051 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1052 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1896 Date now = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() 1900 Date end = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
|
D | KeyStoreTest.java | 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() 786 assertTrue(before <= date.getTime()); in test_KeyStore_getCreationDate() 787 assertTrue(date.getTime() <= after); in test_KeyStore_getCreationDate()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateUtilsTest.java | 200 final long fixedTime = date.getTime(); in testFormatDateRange() 213 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatter() 229 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatterAndTimezone() 245 final long fixedTime = date.getTime(); in testFormatDateTime()
|
D | DateFormatTest.java | 214 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods() 259 assertEquals(expected, sdf.format(c.getTime())); in checkFormat()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | LocationTest.java | 403 assertEquals(0, location.getTime()); in testAccessTime() 406 assertEquals(Long.MAX_VALUE, location.getTime()); in testAccessTime() 409 assertEquals(12000, location.getTime()); in testAccessTime() 449 assertEquals(0, location.getTime()); in testSet() 554 assertEquals(TEST_TIME, l.getTime()); in assertTestLocation()
|
D | GnssLocationUpdateIntervalTest.java | 124 minFirstFixTimestamp = activeLocations.get(0).getTime(); in validateLocationUpdateInterval() 146 final long fixTimestamp = location.getTime(); in getTimeBetweenFixes()
|
D | GnssLocationValuesTest.java | 190 assertTrue(location.getTime() > 0); in checkLocationRegularFields()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ProtectedConfirmationTest.java | 130 Date validityStart = calendar.getTime(); in createKey() 132 Date validityEnd = calendar.getTime(); in createKey()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 315 long captureTimeMs = dateTime.getTime(); in testSingleImageThumbnail() 318 Log.i(TAG, "Before capture time: " + beforeCaptureDate.getTime()); in testSingleImageThumbnail() 320 Log.i(TAG, "After capture time: " + afterCaptureDate.getTime()); in testSingleImageThumbnail() 324 long beforeCaptureTimeMs = beforeCaptureDate.getTime() - 1000; in testSingleImageThumbnail() 325 long afterCaptureTimeMs = afterCaptureDate.getTime(); in testSingleImageThumbnail()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | LineSpliteratorTestBase.java | 77 final long seed = new Date().getTime(); in testSplit()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 227 notification.condition.awaitUntil(deadline.getTime()); in testHwBinder()
|
D | SeccompTest.java | 346 long time = (new Date()).getTime();
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsTest.java | 117 long now = new Date().getTime(); in testPeopleTable() 460 int insertDate = (int) new Date().getTime(); in testCallsTable() 491 int now = (int) new Date().getTime(); in testCallsTable()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 411 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | JobSchedulerIncidentTest.java | 321 StateControllerProto.TimeController tc = sc.getTime(); in testStateControllerProto()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2422 return a.getTime() == b.getTime() && a.getLatitude() == b.getLatitude() && in areGpsFieldsEqual() 2503 new SimpleDateFormat("yyyy:MM:dd HH:mm:ss").parse(dateTime).getTime() / 1000; in verifyJpegExifExtraTags() 2658 Date expected = new Date(expectedExifData.gpsLocation.getTime()); in verifyJpegExifExtraTags()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 975 long captureFinishTime = exifDateTime.getTime(); in testJpegExifByCamera() 1217 return datetime.getTime(); in getGpsDateTimeFromJpeg()
|