/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/ |
D | TimeUtilsTest.kt | 63 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodDay_startTimeSameDateAsLocal() constant 77 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodDay_startTimeDiffDateToLocal() constant 90 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodWeek_usLocale_SundayStartOfWeek() constant 103 val startTime = Instant.parse("2021-09-18T20:00:00.000Z") in getPeriodStartDate_periodWeek_usLocale_startTimeSameDateAsLocal() constant 117 val startTime = Instant.parse("2021-09-18T20:00:00.000Z") in getPeriodStartDate_periodWeek_usLocale_startTimeDiffDateToLocal() constant 133 val startTime = Instant.parse("2021-09-20T20:00:00.000Z") in getPeriodStartDate_periodWeek_frenchLocale_mondayStartOfWeek() constant 149 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodWeek_frenchLocale_startTimeSameDateAsLocal() constant 166 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodWeek_frenchLocale_startTimeDiffDateToLocal() constant 178 val startTime = Instant.parse("2021-09-19T20:00:00.000Z") in getPeriodStartDate_periodMonth_startTimeSameDateAsLocal() constant 192 val startTime = Instant.parse("2021-09-30T20:00:00.000Z") in getPeriodStartDate_periodMonth_startTimeDiffDateToLocal() constant [all …]
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | GetAdSelectionDataLatency.java | 103 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1() local 130 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_10() local 157 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_100() local 185 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_500() local 214 long startTime = System.nanoTime(); in test_withoutFiltering_varyingBuyers_1000() local 242 long startTime = System.nanoTime(); in test_withoutFiltering_varyingCAs_1() local 269 long startTime = System.nanoTime(); in test_withoutFiltering_varyingCAs_10() local 296 long startTime = System.nanoTime(); in test_withoutFiltering_varyingCAs_100() local 324 long startTime = System.nanoTime(); in test_withoutFiltering_varyingCAs_500() local 356 long startTime = System.nanoTime(); in test_withoutFiltering_varyingCAs_1000() local [all …]
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/ |
D | ActivityIntensityRecordFactory.java | 38 Metadata metadata, Instant startTime, Instant endTime) { in newFullRecord() 48 Metadata metadata, Instant startTime, Instant endTime) { in anotherFullRecord() 58 Metadata metadata, Instant startTime, Instant endTime) { in newEmptyRecord() 87 Instant startTime, in newRecordFromValuesBundle() 100 public ActivityIntensityRecord newRecord(Instant startTime, Instant endTime, int type) { in newRecord() 106 Instant startTime, in newRecord()
|
D | MindfulnessSessionRecordFactory.java | 39 Metadata metadata, Instant startTime, Instant endTime) { in newFullRecord() 51 Metadata metadata, Instant startTime, Instant endTime) { in anotherFullRecord() 63 Metadata metadata, Instant startTime, Instant endTime) { in newEmptyRecord() 96 Instant startTime, in newRecordFromValuesBundle()
|
D | RecordFactory.java | 63 public abstract T newFullRecord(Metadata metadata, Instant startTime, Instant endTime); in newFullRecord() 72 public abstract T anotherFullRecord(Metadata metadata, Instant startTime, Instant endTime); in anotherFullRecord() 79 public abstract T newEmptyRecord(Metadata metadata, Instant startTime, Instant endTime); in newEmptyRecord() 105 Instant startTime, in newRecordFromValuesBundle()
|
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/ |
D | ExerciseRouteTestHelper.java | 86 static ExerciseSessionRecord getExerciseSessionWithRoute(Metadata metadata, Instant startTime) { in getExerciseSessionWithRoute() 99 Metadata metadata, Instant startTime) { in getExerciseSessionWithoutRoute() 104 Metadata metadata, Instant startTime, ExerciseRoute route) { in getExerciseSession() 114 static ExerciseRoute getRoute(Instant startTime) { in getRoute() 125 static ExerciseRoute getAnotherRoute(Instant startTime) { in getAnotherRoute()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 107 Instant startTime = Instant.now().minus(1, DAYS); in dataOriginFilter_noFilter_everythingIncluded() local 130 Instant startTime = Instant.now().minus(1, DAYS); in dataOriginFilter_validFilter_onlyDataFromFilteredApps() local 154 Instant startTime = Instant.now().minus(1, DAYS); in dataOriginFilter_invalidApp_noDataReturned() local 202 Instant startTime = Instant.now().minus(1, DAYS); in dataOriginFilter_appNotInPriorityList_noDataReturned() local 247 Instant startTime = Instant.now().minus(1, DAYS); in dataOriginFilter_noDataFromFilteredApps_noDataReturned() local 288 Instant startTime = Instant.now().minus(1, DAYS); in timeRangeFilter_noDataWithinTimeInterval_noDataReturned() local 326 Instant startTime = Instant.now().minus(1, DAYS); in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed() local 364 Instant startTime = Instant.now().minus(1, DAYS); in timeRangeFilter_nonPriorityType_outOfRangeNonPriorityDataExcluded() local 398 Instant startTime = Instant.now().minus(1, DAYS); in timeRangeFilter_nonPriorityType_expectPriorityListToBeIgnored() local 433 Instant startTime = Instant.now().minus(1, DAYS); in timeRangeFilter_priorityType_ifPriorityListHasMultipleItemsExpectMultipleSources() local [all …]
|
D | BaseDurationAggregationTest.java | 99 Instant startTime, in createRecord() 104 final RecordType createRecord(Instant startTime, Instant endTime) { in createRecord() 139 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_largeWindow_returnsRecordDuration() local 167 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_startsBeforeWindowStart_endsOnWindowEnd_returnsOverlapDuration() local 193 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_startsOnWindowStart_endsAfterWindowEnd_returnsOverlapDuration() local 219 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_startsBeforeWindowStart_endsAfterWindowEnd_returnsOverlapDuration() local 244 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_startsOnWindowEnd_returnsNull() local 265 Instant startTime = YESTERDAY_11AM.toInstant(); in oneRecord_endsOnWindowStart_returnsNull() local 286 Instant startTime = YESTERDAY_11AM.plusHours(1).plusMinutes(10).toInstant(); in aggregate_multipleOverlappingRecords_takesOverlapsIntoAccount() local 323 Instant startTime = YESTERDAY_11AM.plusMinutes(40).toInstant(); in aggregate_multipleNotOverlappingRecords_returnsSumOfDurations() local [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | PriorityAggregationTestDataFactory.java | 26 int startTime, in createSessionData() 35 int startTime, in createSessionData() 47 int startTime, int endTime, int priority) { in createSessionData() 53 int startTime, int endTime, int count, int priority, int lastModifiedTime) { in createStepsData() 60 long startTime, long endTime, int count, int priority, int lastModifiedTime) { in createStepsData()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | MindfulnessSessionRecordTest.java | 86 Instant startTime = endTime.minusSeconds(60); in mindfulnessSessionRecordBuilder_allFieldsSet() local 129 Instant startTime = endTime.minusSeconds(60); in mindfulnessSessionRecordBuilder_optionalFieldsUnset() local 164 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_allFieldsEqual_recordsEqual() local 194 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_metadataNotEqual_recordsNotEqual() local 257 Instant startTime = endTimeA.minusSeconds(60); in equals_hashCode_endTimeNotEqual_recordsNotEqual() local 287 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_sessionTypeNotEqual_recordsNotEqual() local 317 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_titleNotEqual_recordsNotEqual() local 347 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_notesNotEqual_recordsNotEqual() local 377 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_startZoneOffsetNotEqual_recordsNotEqual() local 408 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_endZoneOffsetNotEqual_recordsNotEqual() local
|
D | ActivityIntensityRecordTest.java | 95 Instant startTime = endTime.minusSeconds(60); in activityIntensityRecordBuilder_allFieldsSet() local 134 Instant startTime = endTime.minusSeconds(60); in activityIntensityRecordBuilder_optionalFieldsUnset() local 166 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_allFieldsEqual_recordsEqual() local 192 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_metadataNotEqual_recordsNotEqual() local 247 Instant startTime = endTimeA.minusSeconds(60); in equals_hashCode_endTimeNotEqual_recordsNotEqual() local 273 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_intensityTypeNotEqual_recordsNotEqual() local 299 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_startZoneOffsetNotEqual_recordsNotEqual() local 326 Instant startTime = endTime.minusSeconds(60); in equals_hashCode_endZoneOffsetNotEqual_recordsNotEqual() local
|
D | ExerciseSessionRecordTest.java | 427 var startTime = Instant.ofEpochSecond(123456789); in testRead_pagination_filteredCorrectly() local 931 Instant startTime = now.minusSeconds(i + 1); in insertAndReadRecords() local 998 private static ExerciseSessionRecord buildSession(Instant startTime, Instant endTime) { in buildSession() 1004 Instant startTime, Instant endTime, ZoneOffset zoneOffset) { in buildSession() 1017 Instant startTime, Instant endTime, String clientRecordId) { in buildSession() 1022 Instant startTime, Instant endTime, double lat, double lng) { in buildSession() 1027 String id, Instant startTime, Instant endTime, double lat, double lng) { in buildSession() 1038 Instant startTime, Instant endTime, String clientRecordId, double lat, double lng) { in buildSession() 1048 Instant startTime, Instant endTime, String clientRecordId, Location location) { in buildSession() 1054 Instant startTime, in buildSession() [all …]
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStatsManager.java | 249 long startTime, long endTime) { in querySummaryForDevice() 298 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForDevice() 343 long startTime, long endTime) throws SecurityException, RemoteException { in querySummaryForUser() 391 public NetworkStats querySummary(int networkType, @Nullable String subscriberId, long startTime, in querySummary() 424 public NetworkStats querySummary(@NonNull NetworkTemplate template, long startTime, in querySummary() 458 public NetworkStats queryTaggedSummary(@NonNull NetworkTemplate template, long startTime, in queryTaggedSummary() 495 long startTime, long endTime) { in queryDetailsForDevice() 539 long startTime, long endTime, int uid) throws SecurityException { in queryDetailsForUid() 547 long startTime, long endTime, int uid) throws SecurityException { in queryDetailsForUid() 595 long startTime, long endTime, int uid, int tag) throws SecurityException { in queryDetailsForUidTag() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 28 long id, String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithIdAndPeriod() 36 String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithPeriod() 42 long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithPriorityAndPeriod() 50 long id, long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithIdAndPriorityAndPeriod()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionService.java | 33 final long startTime = System.currentTimeMillis(); in onGetSuggestions() local 51 final long startTime = System.currentTimeMillis(); in onSuggestionDismissed() local 65 final long startTime = System.currentTimeMillis(); in onSuggestionLaunched() local
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | TimeRangeFilterTest.java | 44 LocalDateTime startTime = LocalDateTime.MIN; in testLocalTimeRangeFilter() local 59 Instant startTime = Instant.now(); in testTimeInstantRangeFilter() local 82 Instant startTime = Instant.now(); in testEndTimeInstantRangeFilter_endTimeNull() local 102 LocalDateTime startTime = LocalDateTime.MIN; in testEndTimeLocalRangeFilter_endTimeNull() local
|
/packages/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 91 final long startTime = 1; in testQueryDetails() local 181 final long startTime = 1; in runQueryDetailsAndCheckTemplate() local 230 final long startTime = 1; in testQueryTaggedSummary() local 251 final long startTime = 1; in testQueryDetailsForDevice() local
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | AbstractMobileNetworkSettings.java | 73 final long startTime = SystemClock.elapsedRealtime(); in onExpandButtonClick() local 103 final long startTime = SystemClock.elapsedRealtime(); in updatePreferenceStates() local 140 final long startTime = SystemClock.elapsedRealtime(); in redrawPreferenceControllers() local
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPRequestManagerTest.java | 203 long startTime = 0; in requestANQPElementsAfterRequestSendFailure() local 228 long startTime = 0; in requestANQPElementsAfterRequestSucceeded() local 257 long startTime = 0; in requestANQPElementsAfterRequestFailed() local
|
/packages/modules/Connectivity/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/ |
D | LogcatWaitMixin.java | 48 @NonNull String specificLog, @NonNull Date startTime, @NonNull Duration waitTime) { in waitForSpecificLog() 54 @NonNull String specificLog, @NonNull Date startTime) { in createWaitCondition()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | RunnerState.java | 79 long startTime = SystemClock.uptimeMillis(); in processMessage() local 104 long startTime = SystemClock.uptimeMillis(); in enter() local 125 long startTime = SystemClock.uptimeMillis(); in exit() local
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/testing/ |
D | TestUtils.java | 34 Instant startTime = Instant.now(); in waitForTaskToFinishSuccessfully() local 51 Instant startTime = Instant.now(); in waitForCondition() local
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/ |
D | EnrollmentDao.java | 218 final long startTime = mClock.currentTimeMillis(); in getAllEnrollmentData() local 283 final long startTime = mClock.currentTimeMillis(); in getEnrollmentData() local 342 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataFromMeasurementUrl() local 494 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataForFledgeByAdTechIdentifier() local 606 final long startTime = mClock.currentTimeMillis(); in getAllFledgeEnrolledAdTechs() local 694 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataForFledgeByMatchingAdTechIdentifier() local 855 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataFromSdkName() local 937 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataForPASByMatchingAdTechIdentifier() local 1082 final long startTime = mClock.currentTimeMillis(); in getEnrollmentDataForPASByAdTechIdentifier() local 1199 final long startTime = mClock.currentTimeMillis(); in getAllPASEnrolledAdTechs() local [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | DatabaseUtils.java | 161 final long startTime = System.currentTimeMillis(); in getAppUsageStartTimestampOfUser() local 190 final long startTime = System.currentTimeMillis(); in getAppUsageEventForUsers() local 230 final long startTime = System.currentTimeMillis(); in getBatteryEvents() local 265 final long startTime = System.currentTimeMillis(); in getBatteryUsageSlots() local 291 final long startTime = System.currentTimeMillis(); in getLastFullChargeTime() local 315 final long startTime = System.currentTimeMillis(); in getBatteryStateLatestTimestampBeforeQueryTimestamp() local 344 final long startTime = System.currentTimeMillis(); in getHistoryMapSinceQueryTimestamp() local 563 final long startTime = System.currentTimeMillis(); in sendAppUsageEventData() local 597 final long startTime = System.currentTimeMillis(); in sendBatteryEventData() local 616 final long startTime = System.currentTimeMillis(); in sendBatteryEventData() local [all …]
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/topics/ |
D | TopicsEpochComputationOnDeviceClassifier.java | 138 Instant startTime = Clock.systemUTC().instant(); in testEpochComputation() local 175 private void logEpochComputationDuration(Instant startTime) throws Exception { in logEpochComputationDuration() 182 public InputStream getMetricsEvents(Instant startTime) throws IOException { in getMetricsEvents()
|