Home
last modified time | relevance | path

Searched refs:MAX_ALLOWED_TIME_MILLIS (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/
DPageTokenWrapper.java41 private static final long MAX_ALLOWED_TIME_MILLIS = (1L << 44) - 1; field in PageTokenWrapper
88 checkArgument(timeMillis <= MAX_ALLOWED_TIME_MILLIS, "timestamp too large"); in of()
132 long mask = MAX_ALLOWED_TIME_MILLIS << TIMESTAMP_START_BIT; in getTimestamp()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DPageTokenWrapperTest.java35 private static final long MAX_ALLOWED_TIME_MILLIS = (1L << 44) - 1; field in PageTokenWrapperTest
86 isAscending, MAX_ALLOWED_TIME_MILLIS + 1, /* offset= */ 0)); in of_invalidArgument_throws()
194 /* isAscending= */ false, MAX_ALLOWED_TIME_MILLIS, /* offset= */ 0); in encodeAndFromToken_maxTimestamps_expectCorrectTime()
198 assertThat(result.timeMillis()).isEqualTo(MAX_ALLOWED_TIME_MILLIS); in encodeAndFromToken_maxTimestamps_expectCorrectTime()