Home
last modified time | relevance | path

Searched refs:EMPTY_PAGE_TOKEN (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DPageTokenWrapperTest.java20 import static android.health.connect.PageTokenWrapper.EMPTY_PAGE_TOKEN;
230 assertThat(EMPTY_PAGE_TOKEN.encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong()
237 assertThat(EMPTY_PAGE_TOKEN.isEmpty()).isTrue(); in emptyPageToken_isEmpty_expectTrue()
277 assertThat(EMPTY_PAGE_TOKEN.equals(ascWrapper)).isFalse(); in equals_nonEmptyAndEmpty_expectFalse()
278 assertThat(EMPTY_PAGE_TOKEN.equals(descWrapper)).isFalse(); in equals_nonEmptyAndEmpty_expectFalse()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java20 import static android.health.connect.PageTokenWrapper.EMPTY_PAGE_TOKEN;
185 assertThat(page2.second).isEqualTo(EMPTY_PAGE_TOKEN); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
272 assertThat(page2.second).isEqualTo(EMPTY_PAGE_TOKEN); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
292 assertThat(result.second).isEqualTo(EMPTY_PAGE_TOKEN); in getNextInternalRecordsPageAndToken_wrongOffsetPageToken_skipSameStartTimeRecords()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java21 import static android.health.connect.PageTokenWrapper.EMPTY_PAGE_TOKEN;
175 PageTokenWrapper currentToken = EMPTY_PAGE_TOKEN; in mergeRecordsOfType()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DPageTokenWrapper.java39 public static final PageTokenWrapper EMPTY_PAGE_TOKEN = new PageTokenWrapper(); field in PageTokenWrapper
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java171 private static final long EMPTY_PAGE_TOKEN = 0; field in AppSearchImpl
1757 if (nextPageToken != EMPTY_PAGE_TOKEN in getNextPage()
1758 && searchResultProto.getNextPageToken() == EMPTY_PAGE_TOKEN) { in getNextPage()
1802 if (nextPageToken == EMPTY_PAGE_TOKEN) { in invalidateNextPageToken()
2594 if (nextPageToken == EMPTY_PAGE_TOKEN) { in addNextPageToken()
2610 if (nextPageToken == EMPTY_PAGE_TOKEN) { in checkNextPageToken()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelper.java24 import static android.health.connect.PageTokenWrapper.EMPTY_PAGE_TOKEN;
520 PageTokenWrapper nextPageToken = EMPTY_PAGE_TOKEN; in getNextInternalRecordsPageAndToken()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DTransactionManager.java21 import static android.health.connect.PageTokenWrapper.EMPTY_PAGE_TOKEN;
442 return Pair.create(recordInternalList, EMPTY_PAGE_TOKEN); in readRecordsAndPageToken()