/cts/tests/tests/widget/src/android/widget/cts/ |
D | CalendarViewTest.java | 86 final long currentDate = new GregorianCalendar().getTime().getTime(); in setup() 116 final long yearAgoDate = newCalendar.getTime().getTime(); in testAccessDate() 123 final long yearHenceDate = newCalendar.getTime().getTime(); in testAccessDate() 138 final long minDate = minCalendar.getTime().getTime(); in testAccessMinMaxDate() 139 final long maxDate = maxCalendar.getTime().getTime(); in testAccessMinMaxDate() 156 final long minDate = minCalendar.getTime().getTime(); in testMinMaxRangeRestrictionsHolo() 157 final long maxDate = maxCalendar.getTime().getTime(); in testMinMaxRangeRestrictionsHolo() 183 final long minDate = minCalendar.getTime().getTime(); in testMinMaxRangeClampingMaterial() 184 final long maxDate = maxCalendar.getTime().getTime(); in testMinMaxRangeClampingMaterial() 233 () -> calendarView.setDate(calendar.getTime().getTime(), false, true)); in verifyOnDateChangeListener() [all …]
|
D | DatePickerTest.java | 215 final long minDate = minCalendar.getTime().getTime(); in verifyMinMaxDate() 216 final long maxDate = maxCalendar.getTime().getTime(); in verifyMinMaxDate()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 41 Assert.assertEquals(0, timer.getTime()); in testEmptyConstructor() 56 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testSetCount() 71 Assert.assertEquals(5000, timer.getTime()); in testSetTime() 82 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testParceling() 93 Assert.assertEquals(Long.MAX_VALUE, readback.getTime()); in testParceling()
|
D | HealthStatsTest.java | 92 Assert.assertEquals(Long.MAX_VALUE, readback.getTimer(TIMER_1).getTime()); in checkHealthStats() 131 Assert.assertEquals(400, timers.get("b").getTime()); in checkHealthStats()
|
/cts/hostsidetests/gputools/src/android/gputools/cts/ |
D | CtsRootlessGpuDebugHostTest.java | 141 private String getTime() throws Exception { in getTime() method in CtsRootlessGpuDebugHostTest 356 String appStartTime = getTime(); in testDebugLayerLoadVulkan() 387 String appStartTime = getTime(); in testLayerNotLoadedVulkan() 436 String appStartTime = getTime(); in testDebugNotEnabledVulkan() 465 String appStartTime = getTime(); in testDebugWrongAppVulkan() 494 String appStartTime = getTime(); in testDebugNoLayersEnabledVulkan() 517 String appStartTime = getTime(); in testSystemPropertyEnableVulkan() 553 String appStartTime = getTime(); in testSystemPropertyIgnoreVulkan() 576 String appStartTime = getTime(); in testLayerLoadExternalVulkan() 651 String appStartTime = getTime(); in testDebugLayerLoadGLES() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyAttestationTest.java | 375 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_NoChallenge() 376 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_NoChallenge() 416 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 417 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testEcAttestation_DeviceLocked() 495 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersion() 496 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testAttestationKmVersionMatchesFeatureVersion() 803 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation_NoChallenge() 804 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation_NoChallenge() 842 Date originationEnd = new Date(now.getTime() + ORIGINATION_TIME_OFFSET); in testRsaAttestation_DeviceLocked() 843 Date consumptionEnd = new Date(now.getTime() + CONSUMPTION_TIME_OFFSET); in testRsaAttestation_DeviceLocked() [all …]
|
D | KeyGenParameterSpecTest.java | 252 Date originalCertNotBeforeDate = new Date(certNotBeforeDate.getTime()); in testImmutabilityViaSetterParams() 254 Date originalCertNotAfterDate = new Date(certNotAfterDate.getTime()); in testImmutabilityViaSetterParams() 256 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 259 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 262 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
D | KeyProtectionTest.java | 188 Date originalKeyValidityStartDate = new Date(keyValidityStartDate.getTime()); in testImmutabilityViaSetterParams() 191 new Date(keyValidityEndDateForOrigination.getTime()); in testImmutabilityViaSetterParams() 194 new Date(keyValidityEndDateForConsumption.getTime()); in testImmutabilityViaSetterParams()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssLocationUpdateIntervalTest.java | 220 / MILLIS_PER_NANO) - activeLocations.get(0).getTime(); in validateTimeDriftBetweenUtcTimeAndElapsedRealtime() 223 - activeLocations.get(i).getTime(); in validateTimeDriftBetweenUtcTimeAndElapsedRealtime() 243 minFirstFixTimestamp = activeLocations.get(0).getTime(); in validateLocationUpdateInterval() 265 final long fixTimestamp = location.getTime(); in getTimeBetweenFixes()
|
D | GnssLocationValuesTest.java | 194 assertTrue(location.getTime() > 0); in checkLocationRegularFields()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateUtilsTest.java | 210 final long fixedTime = date.getTime(); in testFormatDateRange() 223 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatter() 239 final long fixedTime = date.getTime(); in testFormatDateRange_withFormatterAndTimezone() 255 final long fixedTime = date.getTime(); in testFormatDateTime()
|
D | DateFormatTest.java | 215 actual = DateFormat.format(format, formatDate.getTime()); in testFormatMethods() 260 assertEquals(expected, sdf.format(c.getTime())); in checkFormat()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/ |
D | MediaStoreWriteOperation.java | 42 displayName + "_" + Calendar.getInstance().getTime() + ".jpg"); in createImageFileToMediaStoreReturnUri()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationTest.java | 47 assertThat(l.getTime()).isEqualTo(0); in testConstructor_Defaults() 99 assertThat(l.getTime()).isEqualTo(1); in testValues() 101 assertThat(l.getTime()).isEqualTo(Long.MAX_VALUE); in testValues()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ProtectedConfirmationTest.java | 174 Date validityStart = calendar.getTime(); in createKey() 176 Date validityEnd = calendar.getTime(); in createKey()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RcsContactUceCapabilityTest.java | 157 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/signature/tests/src/android/signature/cts/tests/ |
D | LineSpliteratorTestBase.java | 77 final long seed = new Date().getTime(); in testSplit()
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssLocationValuesTest.java | 159 assertTrue(location.getTime() > 0); in checkLocationRegularFields()
|
/cts/hostsidetests/packagemanager/packagesetting/src/com/android/tests/packagesetting/host/ |
D | PackageSettingTest.java | 105 final long firstInstallTs = sdf.parse(firstInstallTime).getTime(); in testFirstInstallTimeMatchesDumpsys()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/hostside/src/com/android/tests/loadingprogress/host/ |
D | IncrementalLoadingProgressTest.java | 188 return Math.floorDiv(date.getTime(), 1000); in getLoadingCompletedTimeSecondsFromDumpsys()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 430 long captureTimeMs = dateTime.getTime(); in testSingleImageThumbnail() 433 Log.i(TAG, "Before capture time: " + beforeCaptureDate.getTime()); in testSingleImageThumbnail() 435 Log.i(TAG, "After capture time: " + afterCaptureDate.getTime()); in testSingleImageThumbnail() 439 long beforeCaptureTimeMs = beforeCaptureDate.getTime() - 1000; in testSingleImageThumbnail() 440 long afterCaptureTimeMs = afterCaptureDate.getTime(); in testSingleImageThumbnail()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MagneticFieldMeasurementTestActivity.java | 146 (float) location.get().getAltitude(), location.get().getTime()); in testNorm()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 237 notification.condition.awaitUntil(deadline.getTime()); in testHwBinder()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | ApiMap.java | 207 newEntry.setTime(entry.getTime()); in scanJarFile()
|