/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | BasalMetabolicRateRecordTest.java | 167 .setStartTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testReadBasalMetabolicRateRecordUsingFilters_timeFilter() 239 .setStartTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testDeleteBasalMetabolicRateRecord_time_filters() 312 .setStartTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testDeleteBasalMetabolicRateRecord_time_range() 341 Instant.now().minus(2, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_noRecord() 342 .setEndTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_noRecord() 362 Instant.now().minus(2, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 363 .setEndTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 375 Instant.now().minus(2, ChronoUnit.DAYS), 50000)); in testAggregation_BasalCaloriesBurntTotal_lbm() 381 Instant.now().minus(2, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 382 .setEndTime(Instant.now().minus(1, ChronoUnit.DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() [all …]
|
D | TotalCaloriesBurnedRecordTest.java | 486 getBaseTotalCaloriesBurnedRecord(now.minus(1, ChronoUnit.DAYS)), in testAggregation_totalCaloriesBurnt() 487 getBaseTotalCaloriesBurnedRecord(now.minus(2, ChronoUnit.DAYS))); in testAggregation_totalCaloriesBurnt() 492 .setStartTime(now.minus(5, ChronoUnit.DAYS)) in testAggregation_totalCaloriesBurnt() 504 getBaseTotalCaloriesBurnedRecord(now.minus(3, ChronoUnit.DAYS)), in testAggregation_totalCaloriesBurnt() 505 getBaseTotalCaloriesBurnedRecord(now.minus(4, ChronoUnit.DAYS))); in testAggregation_totalCaloriesBurnt() 510 .setStartTime(now.minus(5, ChronoUnit.DAYS)) in testAggregation_totalCaloriesBurnt() 544 getBaseTotalCaloriesBurnedRecord(now.minus(1, ChronoUnit.DAYS)), in testAggregation_totalCaloriesBurnt_activeCalories() 545 getBaseTotalCaloriesBurnedRecord(now.minus(2, ChronoUnit.DAYS)), in testAggregation_totalCaloriesBurnt_activeCalories() 547 now.minus(4, ChronoUnit.DAYS), 20)); in testAggregation_totalCaloriesBurnt_activeCalories() 552 .setStartTime(now.minus(5, ChronoUnit.DAYS)) in testAggregation_totalCaloriesBurnt_activeCalories() [all …]
|
D | StepsRecordTest.java | 263 .setStartTime(recordTime.minus(1, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFilters_timeFilterLocal() 283 recordTime.minus(1, ChronoUnit.SECONDS).toInstant(ZoneOffset.MIN)) in testReadStepsRecordUsingFilters_timeFilterLocal() 487 LocalDateTime recordTime = LocalDateTime.now(ZoneOffset.MIN).minus(10, ChronoUnit.SECONDS); in testReadStepsRecordUsingFiltersLocal_withPageSize() 490 .setStartTime(recordTime.minus(2, ChronoUnit.SECONDS)) in testReadStepsRecordUsingFiltersLocal_withPageSize() 502 recordTime.minus(1, ChronoUnit.SECONDS).toInstant(ZoneOffset.MIN), in testReadStepsRecordUsingFiltersLocal_withPageSize() 540 .setStartTime(recordTime.minus(1, ChronoUnit.SECONDS)) in testDeleteStepsRecord_time_filters_local() 775 Instant start = Instant.now().minus(1, ChronoUnit.DAYS); in testAggregation_recordStartsBeforeAggWindow_returnsRescaledStepsCountInResult() 802 Instant start = end.minus(5, ChronoUnit.DAYS); in testStepsCountAggregation_groupByDurationWithInstantFilter() 827 Instant start = end.minus(3, ChronoUnit.DAYS); in testStepsCountAggregation_groupByDuration() 852 Instant start = Instant.now().minus(1, ChronoUnit.DAYS); in testAggregation_insertForEveryHour_returnsAggregateForHourAndHalfHours() [all …]
|
D | HeartRateRecordTest.java | 224 TestUtils.getHeartRateRecord(72, Instant.now().minus(1, ChronoUnit.DAYS)), in testReadHeartRateRecordUsingFilters_withPageSize() 225 TestUtils.getHeartRateRecord(72, Instant.now().minus(2, ChronoUnit.DAYS))); in testReadHeartRateRecordUsingFilters_withPageSize() 345 .setStartTime(recordTime.minus(1, ChronoUnit.SECONDS)) in testDeleteStepsRecord_time_filters_local() 669 Instant start = Instant.now().minus(3, ChronoUnit.DAYS); in testBpmAggregation_groupByDuration() 1004 71, Instant.now().minus(i, ChronoUnit.DAYS)), in insertHeartRateRecordsInPastDays() 1006 72, Instant.now().minus(i, ChronoUnit.DAYS)), in insertHeartRateRecordsInPastDays() 1008 73, Instant.now().minus(i, ChronoUnit.DAYS))); in insertHeartRateRecordsInPastDays()
|
/packages/modules/Bluetooth/system/packet/tests/base/ |
D | iterator_test.cc | 230 Iterator minus = packet->end(); in TEST_P() local 231 minus = minus - static_cast<size_t>(1); in TEST_P() 233 ASSERT_EQ(test_l2cap_data[static_cast<size_t>(i) + GetLowerBound()], *minus) in TEST_P() 236 minus = minus - static_cast<size_t>(1); in TEST_P() 314 Iterator minus = packet->begin(); in TEST_P() local 316 minus = minus - static_cast<size_t>(i); in TEST_P() 317 ASSERT_EQ(test_l2cap_data[GetLowerBound()], *minus) in TEST_P()
|
/packages/modules/Connectivity/Tethering/tests/unit/ |
D | Android.bp | 32 // TODO(b/147200698) change sdk_version to module-current and remove framework-minus-apex 35 "framework-minus-apex", 56 "mockito-target-extended-minus-junit4", 61 // remove framework-minus-apex, ext, and framework-res 68 "framework-minus-apex",
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/ |
D | DeletionParameters.kt | 115 ChosenRange.DELETE_RANGE_LAST_24_HOURS -> endTime.minus(ofDays(1)) in getStartTimeInstant() 116 ChosenRange.DELETE_RANGE_LAST_7_DAYS -> endTime.minus(ofDays(7)) in getStartTimeInstant() 117 ChosenRange.DELETE_RANGE_LAST_30_DAYS -> endTime.minus(ofDays(30)) in getStartTimeInstant()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | FrequencyCapDaoTest.java | 1002 .minus(1, ChronoUnit.DAYS))) in testDeleteHistogramEventDataBeforeTime() 1014 .minus(1, ChronoUnit.DAYS))) in testDeleteHistogramEventDataBeforeTime() 1283 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataDeletesIdentifiers() 1296 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataDeletesIdentifiers() 1376 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() 1395 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() 1408 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() 1436 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() 1461 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() 1480 .minus(1, ChronoUnit.DAYS))) in testDeleteAllExpiredHistogramDataMultipleDeletes() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/ |
D | DateNavigationViewTest.kt | 86 dateNavigationView.setDate(NOW.minus(Duration.ofDays(1))) in setDate_changesSelectedDateView() 93 dateNavigationView.setDate(NOW.minus(Duration.ofDays(1))) in setDate_withValidFutureDates_nextButtonIsEnabled() 102 val newDate = NOW.minus(Duration.ofDays(1)) in onDateChanged_listenerIsCalled()
|
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/ |
D | RealLocationListeningAccountantTest.java | 154 assertActiveListeningBudget(balanceBeforeCall.minus(instruction.duration)); in getNextListeningInstruction_withSmallActiveBudget_noLastLocationResult() 173 assertActiveListeningBudget(balanceBeforeCall.minus(instruction.duration)); in getNextListeningInstruction_withLargeActiveBudget_noLastLocationResult() 225 MIN_ACTIVE_LISTENING_DURATION.minus(seconds(1))); 291 assertActiveListeningBudget(balanceBeforeCall.minus(instruction.duration));
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | KalmanFilter.java | 45 Matrix y = z.minus(mH.dot(mx)); in update() 49 mP = mP.minus(tK.dot(mH).dot(mP)); in update()
|
D | Matrix.java | 132 public Matrix minus(Matrix that) { in minus() method in Matrix 133 return minus(that, new Matrix(n, m)); in minus() 144 public Matrix minus(Matrix that, Matrix result) { in minus() method in Matrix
|
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/ |
D | RealLocationListeningAccountant.java | 184 Duration budgetRequired = mMinActiveListeningDuration.minus(activeListeningBudget); in calculateAdditionalActiveListeningBudgetRequired() 203 mLocationKnownAgeThreshold.minus(lastLocationListeningResultAge); in calculateTimeBeforeLastResultIsTooOld() 208 mLocationNotKnownAgeThreshold.minus(lastLocationListeningResultAge); in calculateTimeBeforeLastResultIsTooOld()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/ |
D | TestHelperUtils.java | 80 Instant startTime = endTime.minus(1, ChronoUnit.HOURS); in getStepsRecord() 86 Instant startTime = endTime.minus(1, ChronoUnit.HOURS); in getHeartRateRecord() 106 Instant start = now.minus(Duration.ofHours(24)).truncatedTo(ChronoUnit.DAYS); in getDefaultTimeRangeFilter()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/ |
D | Android.bp | 24 "mockito-target-minus-junit4", 55 "mockito-target-minus-junit4",
|
/packages/services/Iwlan/ |
D | Android.bp | 87 "mockito-target-inline-minus-junit4", 88 "mockito-target-extended-minus-junit4",
|
/packages/modules/CaptivePortalLogin/tests/ |
D | Android.bp | 37 "mockito-target-minus-junit4", 39 "android.test.runner-minus-junit",
|
/packages/modules/Connectivity/Tethering/tests/mts/ |
D | Android.bp | 38 // mockito-target-extended-minus-junit4 used in this lib have dependency with 51 // (mockito-target-extended-minus-junit4).
|
/packages/modules/AdServices/sdksandbox/tests/unittest/ |
D | Android.bp | 29 "compatibility-device-util-axt-minus-dexmaker", 30 "mockito-target-extended-minus-junit4",
|
/packages/modules/Bluetooth/system/gd/packet/ |
D | packet_view_unittest.cc | 243 auto minus = this->packet->end(); in TYPED_TEST() local 244 minus = minus - 1; in TYPED_TEST() 246 …ASSERT_EQ(count_all[i], *minus) << "- test: Dereferenced iterator does not equal expected at index… in TYPED_TEST() 247 minus = minus - 1; in TYPED_TEST()
|
/packages/modules/AdServices/adservices/apk/tests/settings/ |
D | Android.bp | 42 "mockito-target-extended-minus-junit4", 89 "mockito-target-extended-minus-junit4",
|
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/permissions/ |
D | GrantTimeIntegrationTest.java | 163 assertThat(currentTime.minus(lowerBound).isAfter(firstGrantTime)).isTrue(); in assertStartAccessDateIsAdequate() 164 assertThat(currentTime.minus(upperBound).isBefore(firstGrantTime)).isTrue(); in assertStartAccessDateIsAdequate()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | RkpdDatabaseTest.java | 114 mProvisionedKey1.expirationTime = Instant.now().minus(1000, ChronoUnit.MINUTES); in testRemovingExpiredKeyFromTable() 154 .minus(1000, ChronoUnit.MINUTES); in testUpdate() 182 final Instant past = Instant.now().minus(1000, ChronoUnit.MINUTES); in testGetTotalExpiringKeysForIrpc()
|
/packages/providers/ContactsProvider/tests/ |
D | Android.bp | 11 "mockito-target-minus-junit4",
|
/packages/providers/BlockedNumberProvider/tests/ |
D | Android.bp | 9 "mockito-target-minus-junit4",
|