/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | SleepSessionFormatterTest.kt | 92 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 103 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 114 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 125 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 136 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 147 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 158 val end = NOW.plus(1, ChronoUnit.HOURS) in <lambda>() 171 return SleepSessionRecord.Builder(getMetaData(), NOW, NOW.plus(8, ChronoUnit.HOURS)) in getRecord()
|
D | MenstruationPeriodFormatterTest.kt | 65 val end = NOW.plus(ofDays(5)) in <lambda>() 85 val end = NOW.plus(ofDays(5)) in format_lastDay_formatsMenstruationPeriod()
|
/packages/modules/Bluetooth/system/packet/tests/base/ |
D | iterator_test.cc | 183 Iterator plus = packet->begin(); in TEST_P() local 185 ASSERT_EQ(test_l2cap_data[i + GetLowerBound()], *plus) in TEST_P() 188 plus = plus + static_cast<size_t>(1); in TEST_P() 273 Iterator plus = packet->end(); in TEST_P() local 275 plus = plus + static_cast<size_t>(i); in TEST_P() 276 ASSERT_EQ(packet->end(), plus) in TEST_P()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/seed/ |
D | SeedData.kt | 65 getStepsRecord(count, start.plus(ofMinutes(count))) in <lambda>() 79 today.plus(ofDays(days.toLong())), in <lambda>() 99 Pair(getValidHeartRate(random), start.plus(ofMinutes(timeOffset + i)))) in <lambda>() 103 start.plus(ofMinutes(timeOffset)), in <lambda>() 104 start.plus(ofMinutes(timeOffset + 100))) in <lambda>()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | MatrixTest.java | 64 assertEquals(m3, m1.plus(m2)); in testAddition() 112 assertEquals(i3.plus(f), m12.plus(f)); in testInverse() 113 assertEquals(i3.plus(f), m21.plus(f)); in testInverse()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/ |
D | CustomAudienceFixture.java | 47 CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.plus( 50 CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.plus( 54 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_DEFAULT_EXPIRE_IN); 64 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_MAX_EXPIRE_IN.multipliedBy(2));
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | KalmanFilter.java | 38 mP = mF.dot(mP).dotTranspose(mF).plus(mQ); in predict() 46 Matrix tS = mH.dot(mP).dotTranspose(mH).plus(mR); in update() 48 mx = mx.plus(tK.dot(y)); in update()
|
D | Matrix.java | 102 public Matrix plus(Matrix that) { in plus() method in Matrix 103 return plus(that, new Matrix(n, m)); in plus() 115 public Matrix plus(Matrix that, Matrix result) { in plus() method in Matrix
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/ |
D | LoadMenstruationDataUseCase.kt | 72 val end = startDate.plus(ofHours(23)).plus(ofMinutes(59)) in <lambda>() 107 val end = start.plus(ofHours(23)).plus(ofMinutes(59)) in <lambda>()
|
D | LoadDataEntriesUseCase.kt | 67 val end = start.plus(ofHours(23)).plus(ofMinutes(59)) in <lambda>()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | StepsRecordTest.java | 91 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in tearDown() 198 time.plus(1, ChronoUnit.SECONDS), in getBaseStepsRecord() 264 .setEndTime(recordTime.plus(1, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFilters_timeFilterLocal() 285 recordTime.plus(1, ChronoUnit.SECONDS).toInstant(ZoneOffset.MIN)) in testReadStepsRecordUsingFilters_timeFilterLocal() 491 .setEndTime(recordTime.plus(2, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFiltersLocal_withPageSize() 496 recordTime.plus(1, ChronoUnit.SECONDS).toInstant(ZoneOffset.MIN), in testReadStepsRecordUsingFiltersLocal_withPageSize() 541 .setEndTime(recordTime.plus(2, ChronoUnit.SECONDS)) in testDeleteStepsRecord_time_filters_local() 700 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_StepsCountTotal() 716 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_StepsCountTotal() 739 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_StepsCountTotal() [all …]
|
D | FloorsClimbedRecordTest.java | 223 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testTotalAggregation_oneRecord_returnsItsTotal() 241 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_FloorsClimbedTotal() 253 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_FloorsClimbedTotal() 484 Instant.now().plus(30, ChronoUnit.MINUTES), in testCreateFloorsClimbedRecord_invalidValue() 494 Instant.now().plus(30, ChronoUnit.MINUTES), in testCreateFloorsClimbedRecord_invalidTime() 522 Instant.now().minus(days, ChronoUnit.DAYS).plus(30, ChronoUnit.MINUTES), in getBaseFloorsClimbedRecord()
|
D | TimeRangeFilterTest.java | 84 Instant.now().plus(1, ChronoUnit.DAYS).toEpochMilli() in testEndTimeInstantRangeFilter_endTimeNull() 105 - Instant.now().plus(1, ChronoUnit.DAYS).toEpochMilli()) in testEndTimeLocalRangeFilter_endTimeNull()
|
D | ActiveCaloriesBurnedRecordTest.java | 91 Instant.now().plus(1, ChronoUnit.HOURS), in testCreateActiveCaloriesBurnedRecord_invalidValue() 337 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_ActiveCaloriesBurntTotal() 350 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testAggregation_ActiveCaloriesBurntTotal() 630 time.plus(1, ChronoUnit.DAYS), in getBaseActiveCaloriesBurnedRecord() 640 time.plus(1, ChronoUnit.DAYS), in getBaseActiveCaloriesBurnedRecord() 651 Instant.now().minus(days, ChronoUnit.DAYS).plus(1, ChronoUnit.HOURS), in getBaseActiveCaloriesBurnedRecord()
|
D | HeartRateRecordTest.java | 333 time.plus(1, ChronoUnit.SECONDS), in getBaseHeartRateRecord() 346 .setEndTime(recordTime.plus(2, ChronoUnit.SECONDS)) in testDeleteStepsRecord_time_filters_local() 503 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testBpmAggregation_timeRange_all() 576 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testBpmAggregation_withDataOrigin_correct() 613 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testBpmAggregation_withDataOrigin_incorrect() 663 start = start.plus(1, ChronoUnit.SECONDS); in testBpmAggregation_groupBy_Duration() 670 Instant end = start.plus(3, ChronoUnit.DAYS); in testBpmAggregation_groupByDuration() 744 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testHeartAggregation_measurement_count() 760 .setEndTime(Instant.now().plus(1, ChronoUnit.DAYS)) in testHeartAggregation_measurement_count()
|
D | ExerciseDurationAggregationTest.java | 185 Instant endTime = SESSION_START_TIME.plus(10, ChronoUnit.HOURS); in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups() 247 Instant endTime = SESSION_START_TIME.plus(1, ChronoUnit.HOURS); in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | RegistrationBinderTest.java | 88 CERT_CHAIN, Instant.now().plus(5, ChronoUnit.DAYS)); 187 Instant minExpiry = Instant.now().plus(Settings.getExpiringBy(mContext)); 192 Instant maxExpiry = Instant.now().plus(Settings.getExpiringBy(mContext)); 204 Instant minExpiry = Instant.now().plus(Settings.getExpiringBy(mContext)); 205 Instant minFallbackExpiry = Instant.now().plus(RegistrationBinder.MIN_KEY_LIFETIME); 210 Instant maxExpiry = Instant.now().plus(Settings.getExpiringBy(mContext)); 211 Instant maxFallbackExpiry = Instant.now().plus(RegistrationBinder.MIN_KEY_LIFETIME); 324 Instant minExpiry = Instant.now().plus(RegistrationBinder.MIN_KEY_LIFETIME); 329 Instant maxExpiry = Instant.now().plus(RegistrationBinder.MIN_KEY_LIFETIME);
|
D | RkpdDatabaseTest.java | 56 private static final Instant TEST_KEY_EXPIRY = Instant.now().plus(Duration.ofHours(1)); 115 mProvisionedKey2.expirationTime = Instant.now().plus(1000, ChronoUnit.MINUTES); in testRemovingExpiredKeyFromTable() 183 final Instant future = Instant.now().plus(1000, ChronoUnit.MINUTES); in testGetTotalExpiringKeysForIrpc()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | DatePickerFactoryTest.kt | 44 val maxDate = NOW.plus(ofDays(10)) in create_respectSelectedDate() 60 val maxDate = NOW.plus(ofDays(10)) in create_respectMaxDate()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceTimestampValidator.java | 95 Instant maxActivationTime = currentTime.plus(mCustomAudienceMaxActivateIn); in addValidation() 115 calculatedActivationTime.plus(mCustomAudienceMaxExpireIn))) { in addValidation()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | TestHelperUtils.java | 107 Instant end = now.plus(Duration.ofHours(24)).truncatedTo(ChronoUnit.DAYS); in getDefaultTimeRangeFilter() 151 .setEndTime(Instant.now().plus(1200, ChronoUnit.SECONDS)) in deleteRecords()
|
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/ |
D | PerformanceTestingViewModel.kt | 204 val end = start.plus(Duration.ofHours(23)).plus(Duration.ofMinutes(59)) in getReadTimeRangeFilter()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | CustomAudienceSetupRule.java | 49 VALID_ACTIVATION_TIME.plus(CUSTOM_AUDIENCE_EXPIRE_IN); 94 Instant.now().plus(Duration.ofSeconds(ig.getInt("expirationTimeInSeconds"))); in customAudienceFromInterestGroup()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | DeviceCheckInHelperTest.java | 183 Instant.now().plus(TEST_CHECK_RETRY_DURATION)); in testHandleGetDeviceCheckInStatusResponse_retryCheckIn_shouldEnqueueNewCheckInWork() 199 Instant.now().plus(TEST_NEGATIVE_CHECK_RETRY_DURATION)); in handleGetDeviceCheckInStatusResponse_retryCheckIn_durationIsNegative_shouldRetry()
|
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/ |
D | RealLocationListeningAccountantTest.java | 232 MIN_ACTIVE_LISTENING_DURATION.plus(seconds(1))); 268 MIN_ACTIVE_LISTENING_DURATION.plus(seconds(1)));
|