/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/reset/ |
D | ResetDataJobService.java | 47 private static final long MILLIS = 1000; field in ResetDataJobService 62 .setMinimumLatency(flags.getResetDataDelaySeconds() * MILLIS) in schedule() 63 .setOverrideDeadline(flags.getResetDataDeadlineSeconds() * MILLIS) in schedule()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBEncryptionKeyTest.java | 118 .truncatedTo(ChronoUnit.MILLIS)) in testBuildEncryptionKey_expiryInstantSetCorrectly() 119 .isEqualTo(encryptionKey.getExpiryInstant().truncatedTo(ChronoUnit.MILLIS)); in testBuildEncryptionKey_expiryInstantSetCorrectly()
|
D | DBProtectedServersEncryptionConfigTest.java | 154 .truncatedTo(ChronoUnit.MILLIS)) in testBuildEncryptionKey_expiryInstantSetCorrectly() 155 .isEqualTo(encryptionKey.getExpiryInstant().truncatedTo(ChronoUnit.MILLIS)); in testBuildEncryptionKey_expiryInstantSetCorrectly()
|
D | DBAdSelectionInitializationTest.java | 36 private static final Instant CREATION_INSTANT_1 = Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
D | DBAdSelectionEntryTest.java | 45 private static final Instant ACTIVATION_TIME = CLOCK.instant().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/exceptions/ |
D | RetryableAdServicesNetworkExceptionTest.java | 40 private static final Duration VALID_RETRY_AFTER = Duration.of(1000, ChronoUnit.MILLIS); 42 private static final Duration NEGATIVE_RETRY_AFTER = Duration.of(-1, ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | DataHandlersFixture.java | 55 public static final Instant CREATION_INSTANT_1 = CLOCK.instant().truncatedTo(ChronoUnit.MILLIS); 57 CLOCK.instant().plusSeconds(10).truncatedTo(ChronoUnit.MILLIS); 72 Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 118 private static final Instant CREATION_TIME_1 = CURRENT_TIME.truncatedTo(ChronoUnit.MILLIS); 120 CURRENT_TIME.plus(Duration.ofDays(1)).truncatedTo(ChronoUnit.MILLIS); 122 CURRENT_TIME.plus(Duration.ofDays(3)).truncatedTo(ChronoUnit.MILLIS); 123 private static final Instant LAST_UPDATED_TIME_1 = CURRENT_TIME.truncatedTo(ChronoUnit.MILLIS); 125 CURRENT_TIME.minus(Duration.ofHours(36)).truncatedTo(ChronoUnit.MILLIS); 127 CURRENT_TIME.minus(Duration.ofDays(72)).truncatedTo(ChronoUnit.MILLIS); 129 CURRENT_TIME.plus(Duration.ofMinutes(1)).truncatedTo(ChronoUnit.MILLIS); 134 .truncatedTo(ChronoUnit.MILLIS); 139 .truncatedTo(ChronoUnit.MILLIS); 141 CURRENT_TIME.plus(Duration.ofMinutes(1)).truncatedTo(ChronoUnit.MILLIS); [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/ |
D | CommonFixture.java | 54 FIXED_NOW.truncatedTo(ChronoUnit.MILLIS); 58 Clock.fixed(FIXED_NOW.truncatedTo(ChronoUnit.MILLIS), ZoneOffset.UTC);
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/ |
D | HealthConnectChangeLogsTests.java | 46 import static java.time.temporal.ChronoUnit.MILLIS; 686 Instant yesterday = Instant.now().minus(1, ChronoUnit.DAYS).truncatedTo(MILLIS); in testChangeLogs_operationCombinations_expectCorrectChangeLogs() 794 Instant.now().minus(days, ChronoUnit.DAYS).truncatedTo(MILLIS), in getStepsRecord_minusDays() 798 .truncatedTo(MILLIS), in getStepsRecord_minusDays()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/ |
D | PermissionTypesFragmentTest.kt | 57 val now = Instant.now().truncatedTo(ChronoUnit.MILLIS) in setup()
|
D | HomeFragmentTest.kt | 57 val now = Instant.now().truncatedTo(ChronoUnit.MILLIS) in setup()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/ |
D | ProvisionedKey.java | 103 return original == null ? null : original.truncatedTo(ChronoUnit.MILLIS); in truncate()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/datahandlers/ |
D | ReportingDataTest.java | 42 Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | FledgeRoomConvertersTest.java | 51 Instant instant = CLOCK.instant().truncatedTo(ChronoUnit.MILLIS); in testSerializeDeserializeInstant()
|
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
D | ExerciseRouteTestHelper.java | 58 static final Instant START_TIME = yesterdayAt("11:00").truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | ProvisionedKeyTest.java | 121 Instant millisecondFloor = expected.expirationTime.truncatedTo(ChronoUnit.MILLIS); in testEqualityWithDifferingTimestampAccuracy()
|
D | SettingsTest.java | 224 Instant now = Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/ |
D | ScheduleCustomAudienceUpdateTest.java | 109 Duration.of(1, ChronoUnit.MILLIS), in testScheduleCustomAudienceUpdate_DelayLowerLimit_failure()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | MigrationEntityParcelTest.java | 49 private static final Instant END_TIME = Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectChangeLogsDeviceTests.java | 59 private static final Instant NOW = Instant.now().truncatedTo(ChronoUnit.MILLIS);
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | OnDeviceAdSelectionRunnerTest.java | 484 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionSuccess() 593 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 769 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionSuccessWithBuyerContextualSignals() 898 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionSuccessWithSellerDataVersionHeader() 1044 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionSuccessFilteringDisabled() 1155 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionRetriesAdSelectionIdGenerationAfterCollision() 1746 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionWithValidSubdomainsSuccess() 2595 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testmMockDBAdSeleciton() 2724 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelectionPerBuyerTimeout() 4138 Instant adSelectionCreationTs = Clock.systemUTC().instant().truncatedTo(ChronoUnit.MILLIS); in testRunAdSelection_withKAnonSignJoinEnabled_success() [all …]
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/ |
D | FledgeCtsDebuggableJetpackTest.java | 776 return Instant.now().truncatedTo(ChronoUnit.MILLIS).plus(maxActivationDelayIn.dividedBy(2)); in getValidDelayedActivationTime() 784 return Instant.now().truncatedTo(ChronoUnit.MILLIS); in getValidActivationTime()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/ |
D | Provisioner.java | 237 .truncatedTo(ChronoUnit.MILLIS); in checkAndDeleteBadKeys()
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | MainActivity.java | 56 Duration.of(2000, ChronoUnit.MILLIS);
|