/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | TimeChangeTests.java | 89 private void setTime(long rtcToSet) { in setTime() method in TimeChangeTests 91 SystemUtil.runWithShellPermissionIdentity(() -> mAlarmManager.setTime(rtcToSet)); in setTime() 124 setTime(newRtc); in elapsedAlarmsUnaffected() 139 setTime(newRtc); in rtcAlarmsRescheduled() 153 setTime(expectedCorrectRtc); in tearDown()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 138 assertTrue(mMovie.setTime(1000)); in testSetTime() 139 assertFalse(mMovie.setTime(Integer.MAX_VALUE)); in testSetTime() 140 assertFalse(mMovie.setTime(Integer.MIN_VALUE)); in testSetTime() 141 assertFalse(mMovie.setTime(-1)); in testSetTime()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGenParameterSpecTest.java | 297 certNotBeforeDate.setTime(1234567890L); in testImmutabilityViaSetterParams() 301 certNotAfterDate.setTime(1234567890L); in testImmutabilityViaSetterParams() 321 keyValidityStartDate.setTime(1234567890L); in testImmutabilityViaSetterParams() 326 keyValidityEndDateForOrigination.setTime(1234567890L); in testImmutabilityViaSetterParams() 332 keyValidityEndDateForConsumption.setTime(1234567890L); in testImmutabilityViaSetterParams() 373 spec.getCertificateNotBefore().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 377 spec.getCertificateNotAfter().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 390 spec.getKeyValidityStart().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 395 spec.getKeyValidityForOriginationEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 401 spec.getKeyValidityForConsumptionEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues()
|
D | KeyProtectionTest.java | 243 keyValidityStartDate.setTime(1234567890L); in testImmutabilityViaSetterParams() 248 keyValidityEndDateForOrigination.setTime(1234567890L); in testImmutabilityViaSetterParams() 254 keyValidityEndDateForConsumption.setTime(1234567890L); in testImmutabilityViaSetterParams() 302 spec.getKeyValidityStart().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 307 spec.getKeyValidityForOriginationEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 313 spec.getKeyValidityForConsumptionEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues()
|
D | KeyInfoTest.java | 88 info.getKeyValidityStart().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 93 info.getKeyValidityForOriginationEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues() 99 info.getKeyValidityForConsumptionEnd().setTime(1234567890L); in testImmutabilityViaGetterReturnValues()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackUtils.java | 145 setTime(System.currentTimeMillis() + offsetMillis); in forwardTimeBy() 230 private static void setTime(long millis) { in setTime() method in RollbackUtils 233 am.setTime(millis); in setTime()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationTest.java | 69 l.setTime(1); in testSet() 98 l.setTime(1); in testValues() 100 l.setTime(Long.MAX_VALUE); in testValues() 379 l.setTime(1); in testParcelRoundtrip()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | LocationUtils.java | 61 location.setTime(System.currentTimeMillis()); in createLocation()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 68 timer.setTime(5000); in testSetTime()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/location/ |
D | LocationProvider.java | 101 location.setTime(System.currentTimeMillis()); in createLocation()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | TimePickerTestCase.java | 82 mActivity.setTime(10, 40); in testAutoFillAndSave()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | JarBuildStep.java | 85 entry.setTime(absoluteInputFile.lastModified()); in build()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | TimeTest.java | 379 .setTime(sDeviceState.dpc().componentName(), MILLIS_SINCE_EPOCH); in setTime_timeIsSet() 404 .setTime(sDeviceState.dpc().componentName(), MILLIS_SINCE_EPOCH); in setTime_doesNotApply_timeIsNotSet() 425 .setTime(sDeviceState.dpc().componentName(), MILLIS_SINCE_EPOCH); in setTime_autoTimeIsEnabled_returnsFalse() 441 .setTime(sDeviceState.dpc().componentName(), MILLIS_SINCE_EPOCH)); in setTime_notAllowed_throwsException() 455 .setTime(sDeviceState.dpc().componentName(), MILLIS_SINCE_EPOCH); in setTime_logsEvent()
|
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsSyncAdapter.java | 73 .setTime(SystemClock.elapsedRealtime()) in onPerformSync()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractTimePickerActivity.java | 125 public void setTime(int hour, int minute) { in setTime() method in AbstractTimePickerActivity
|
/cts/tests/location/location_coarse/src/android/location/cts/coarse/ |
D | LocationManagerCoarseTest.java | 328 location.setTime(1); in testGnssProvidedClock() 333 location.setTime(java.lang.System.currentTimeMillis()); in testGnssProvidedClock()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RcsContactUceCapabilityTest.java | 129 .setTime(Instant.now()) in createPresenceMmtelTuple()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | ApiMap.java | 207 newEntry.setTime(entry.getTime()); in scanJarFile()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/ |
D | SystemUpdatePolicyTest.java | 449 mDevicePolicyManager.setTime(ADMIN_RECEIVER_COMPONENT, c.getTimeInMillis()); in setSystemDate()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 471 date.setTime(date.getTime() + millisecondsTillExpiry); in makeExpiringCookieMs()
|
D | GeolocationTest.java | 306 location.setTime(java.lang.System.currentTimeMillis()); in updateLocation()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 71 doAnswer(answer).when(spy).setTime(any(), anyLong()); in getWrapper()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 381 l.setTime(GPS_CALENDAR.getTimeInMillis()); in testSingleImageThumbnail()
|
D | StillCaptureTest.java | 746 sTestLocation.setTime(1199145600000L); in focalLengthTestByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 177 sTestLocation0.setTime(1199145600000L); 182 sTestLocation1.setTime(1199145601000L); 187 sTestLocation2.setTime(1199145602000L);
|