/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 | 205 final long minDate = minCalendar.getTime().getTime(); in verifyMinMaxDate() 206 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 | 139 private String getTime() throws Exception { in getTime() method in CtsRootlessGpuDebugHostTest 353 String appStartTime = getTime(); in testDebugLayerLoadVulkan() 384 String appStartTime = getTime(); in testLayerNotLoadedVulkan() 430 String appStartTime = getTime(); in testDebugNotEnabledVulkan() 458 String appStartTime = getTime(); in testDebugWrongAppVulkan() 486 String appStartTime = getTime(); in testDebugNoLayersEnabledVulkan() 508 String appStartTime = getTime(); in testSystemPropertyEnableVulkan() 543 String appStartTime = getTime(); in testSystemPropertyIgnoreVulkan() 566 String appStartTime = getTime(); in testLayerLoadExternalVulkan() 637 String appStartTime = getTime(); in testDebugLayerLoadGLES() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 244 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_NoChallenge() 245 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_NoChallenge() 286 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 287 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 325 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersion() 326 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersion() 378 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersionStrongBox() 379 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersionStrongBox() 534 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation_NoChallenge() 535 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation_NoChallenge() [all …]
|
D | KeyGenParameterSpecTest.java | 204 Date originalCertNotBeforeDate = new Date(certNotBeforeDate.getTime()); in testImmutabilityViaSetterParams() 206 Date originalCertNotAfterDate = new Date(certNotAfterDate.getTime()); in testImmutabilityViaSetterParams() 208 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 211 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 214 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
D | KeyProtectionTest.java | 158 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 161 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 164 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
D | AndroidKeyStoreTest.java | 1038 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1039 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1055 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1056 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1937 Date now = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() 1941 Date end = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
|
D | KeyStoreTest.java | 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() 787 assertTrue(before <= date.getTime()); in test_KeyStore_getCreationDate() 788 assertTrue(date.getTime() <= after); in test_KeyStore_getCreationDate()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssLocationUpdateIntervalTest.java | 201 / MILLIS_PER_NANO) - activeLocations.get(0).getTime(); in validateTimeDriftBetweenUtcTimeAndElapsedRealtime() 204 - activeLocations.get(i).getTime(); in validateTimeDriftBetweenUtcTimeAndElapsedRealtime() 224 minFirstFixTimestamp = activeLocations.get(0).getTime(); in validateLocationUpdateInterval() 246 final long fixTimestamp = location.getTime(); in getTimeBetweenFixes()
|
D | GnssLocationValuesTest.java | 192 assertTrue(location.getTime() > 0); in checkLocationRegularFields()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationTest.java | 407 assertEquals(0, location.getTime()); in testAccessTime() 410 assertEquals(Long.MAX_VALUE, location.getTime()); in testAccessTime() 413 assertEquals(12000, location.getTime()); in testAccessTime() 464 assertEquals(0, location.getTime()); in testSet() 519 assertEquals(TEST_TIME, l.getTime()); in assertTestLocation()
|
/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/signature/tests/src/android/signature/cts/tests/ |
D | LineSpliteratorTestBase.java | 77 final long seed = new Date().getTime(); in testSplit()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RcsContactUceCapabilityTest.java | 155 assertEquals(unparceledTuple.getTime(), expectedTuple.getTime()); in verifyUnparceledTuple()
|
D | EabControllerTest.java | 480 .format(date.getTime()); in getPidfXmlData() 559 assertNotNull("Timestamp should not be null!", presenceTuple.getTime()); in verifyCapabilityResult()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssLocationValuesTest.java | 157 assertTrue(location.getTime() > 0); in checkLocationRegularFields()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 214 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods() 259 assertEquals(expected, sdf.format(c.getTime())); in checkFormat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MagneticFieldMeasurementTestActivity.java | 126 location.getTime()); in testNorm()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 439 long captureTimeMs = dateTime.getTime(); in testSingleImageThumbnail() 442 Log.i(TAG, "Before capture time: " + beforeCaptureDate.getTime()); in testSingleImageThumbnail() 444 Log.i(TAG, "After capture time: " + afterCaptureDate.getTime()); in testSingleImageThumbnail() 448 long beforeCaptureTimeMs = beforeCaptureDate.getTime() - 1000; in testSingleImageThumbnail() 449 long afterCaptureTimeMs = afterCaptureDate.getTime(); in testSingleImageThumbnail()
|
/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/contactsprovider/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 | 471 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs()
|