Home
last modified time | relevance | path

Searched refs:setPageSize (Results 1 – 21 of 21) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DPaginationTests.java103 .setPageSize(2) in readAllData_moreThanOnePage_allPagesReturnedCorrectly()
114 .setPageSize(2) in readAllData_moreThanOnePage_allPagesReturnedCorrectly()
125 .setPageSize(2) in readAllData_moreThanOnePage_allPagesReturnedCorrectly()
148 .setPageSize(2) in readAllData_multiplePagesSameStartTimeRecords_paginatedCorrectly()
157 .setPageSize(2) in readAllData_multiplePagesSameStartTimeRecords_paginatedCorrectly()
178 .setPageSize(1) in readOnePage_pageTokenSpecified_returnsCorrectPage()
184 .setPageSize(1) in readOnePage_pageTokenSpecified_returnsCorrectPage()
192 .setPageSize(1) in readOnePage_pageTokenSpecified_returnsCorrectPage()
201 .setPageSize(1) in readOnePage_pageTokenSpecified_returnsCorrectPage()
230 () -> request.setPageSize(MAXIMUM_PAGE_SIZE + 1)); in readRequest_pageSizeOutOfRange_throws()
[all …]
DOrderingTests.java180 .setPageSize(1) in ordering_pageTokenProvided_retrieveAscOrderFromPageToken()
211 .setPageSize(1) in ordering_pageTokenProvided_retrieveDecOrderFromPageToken()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DReadMedicalResourcesRequestTest.java52 .setPageSize(100) in testRequestBuilder_setAllFields()
93 .setPageSize(MAXIMUM_PAGE_SIZE + 1)); in testRequestBuilder_lowerThanMinPageSize_throws()
102 .setPageSize(MINIMUM_PAGE_SIZE - 1)); in testRequestBuilder_exceedsMaxPageSize_throws()
109 .setPageSize(100) in testMedicalResource_toString()
126 .setPageSize(100) in testRequest_equals()
131 .setPageSize(100) in testRequest_equals()
148 new ReadMedicalResourcesRequest.Builder(request).setPageSize(100).build(); in testRequest_equals_comparesAllValues()
DSharedMemoryTest.java115 .setPageSize(records.size()) in insertRecordsAndReadRecordsByFilter_viaSharedMemory_recordsEqual()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java218 .setPageSize(5001) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
227 .setPageSize(0) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
236 .setPageSize(-1) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
249 .setPageSize(1) in testGetChangeLogsRequest_pageSizeWithinBounds_succeeds()
255 .setPageSize(5000) in testGetChangeLogsRequest_pageSizeWithinBounds_succeeds()
597 new ChangeLogsRequest.Builder(tokenResponse.getToken()).setPageSize(1).build(); in testChangeLogs_noOperations_withPageSize_returnsEmptyChangeLogs()
610 new ChangeLogsRequest.Builder(tokenResponse.getToken()).setPageSize(1).build(); in testChangeLogs_insert_withPageSize_doesNotExceedPageSize()
624 new ChangeLogsRequest.Builder(tokenResponse.getToken()).setPageSize(1).build(); in testChangeLogs_insert_withPageSize_paginatesThroughAllChangeLogs()
640 .setPageSize(1) in testChangeLogs_insert_withPageSize_paginatesThroughAllChangeLogs()
675 .setPageSize(2) in testChangeLogs_checkToken_hasMorePages_False()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/request/
DReadTransactionRequestTest.java54 .setPageSize(500) in createReadByFilterRequest_noPageToken_correctPaginationInfo()
71 .setPageSize(500) in createReadByFilterRequest_hasPageToken_correctPaginationInfo()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java282 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageSize()
340 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken()
351 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken()
375 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageTokenReverse()
382 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageTokenReverse()
422 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken_NewOrder()
429 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken_NewOrder()
454 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken_SameOrder()
461 .setPageSize(1) in testReadStepsRecordUsingFilters_withPageToken_SameOrder()
521 .setPageSize(1) in testReadStepsRecordUsingFiltersLocal_withPageSize()
[all …]
DHeartRateRecordTest.java248 .setPageSize(1) in testReadHeartRateRecordUsingFilters_withPageSize()
265 .setPageSize(1) in testReadHeartRateRecordUsingFilters_withPageToken()
272 .setPageSize(2) in testReadHeartRateRecordUsingFilters_withPageToken()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DRouteRequestViewModel.kt46 .setPageSize(10) in readExerciseSessionRecords()
/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/
DChangeLogsRequest.java109 public Builder setPageSize(@IntRange(from = 1, to = 5000) int pageSize) { in setPageSize() method in ChangeLogsRequest.Builder
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java242 .setPageSize(pageSize) in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
260 .setPageSize(pageSize) in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java169 .setPageSize(1) in testHealthConnectReadRecords()
195 .setPageSize(1) in testHealthConnectReadRecordsError()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DReadRecordsRequestUsingFilters.java166 public Builder<T> setPageSize(@IntRange(from = 1, to = 5000) int pageSize) { in setPageSize() method in ReadRecordsRequestUsingFilters.Builder
DReadMedicalResourcesRequest.java203 public Builder setPageSize( in setPageSize() method in ReadMedicalResourcesRequest.Builder
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DGeneralUtils.kt117 .setPageSize(numberOfRecordsPerBatch.toInt()) in <lambda>()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerTest.java165 .setPageSize(1) in readRecordsById_readByFilterRequest_throws()
191 .setPageSize(1) in readRecordsAndPageToken_returnsRecordsAndPageToken()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadEntriesHelper.kt238 .setPageSize(pageSize) in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java193 qfb.setPageSize(mPageSize); in toQueryFilter()
DPickerDbFacade.java875 public QueryFilterBuilder setPageSize(int pageSize) { in setPageSize() method in PickerDbFacade.QueryFilterBuilder
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java250 .setPageSize(MAXIMUM_PAGE_SIZE) in getRecordsToMerge()
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt223 …method @NonNull public android.health.connect.ReadMedicalResourcesRequest.Builder setPageSize(@Int…
252 …ublic android.health.connect.ReadRecordsRequestUsingFilters.Builder<T> setPageSize(@IntRange(from=…
351 …method @NonNull public android.health.connect.changelog.ChangeLogsRequest.Builder setPageSize(@Int…