Home
last modified time | relevance | path

Searched refs:MAXIMUM_PAGE_SIZE (Results 1 – 14 of 14) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/
DReadRecordsRequestUsingIds.java19 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
101 if (mRecordIdFiltersList.size() >= MAXIMUM_PAGE_SIZE) { in addId()
103 "Maximum allowed pageSize is " + MAXIMUM_PAGE_SIZE); in addId()
122 if (mRecordIdFiltersList.size() >= MAXIMUM_PAGE_SIZE) { in addClientRecordId()
124 "Maximum allowed pageSize is " + MAXIMUM_PAGE_SIZE); in addClientRecordId()
DReadMedicalResourcesRequest.java21 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
52 @IntRange(from = MINIMUM_PAGE_SIZE, to = MAXIMUM_PAGE_SIZE) int pageSize, in ReadMedicalResourcesRequest()
55 requireInRange(pageSize, MINIMUM_PAGE_SIZE, MAXIMUM_PAGE_SIZE, "pageSize"); in ReadMedicalResourcesRequest()
97 @IntRange(from = MINIMUM_PAGE_SIZE, to = MAXIMUM_PAGE_SIZE)
204 @IntRange(from = MINIMUM_PAGE_SIZE, to = MAXIMUM_PAGE_SIZE) int pageSize) { in setPageSize()
205 requireInRange(pageSize, MINIMUM_PAGE_SIZE, MAXIMUM_PAGE_SIZE, "pageSize"); in setPageSize()
DReadRecordsRequestUsingFilters.java21 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
167 if (pageSize < MINIMUM_PAGE_SIZE || pageSize > MAXIMUM_PAGE_SIZE) { in setPageSize()
172 + MAXIMUM_PAGE_SIZE in setPageSize()
DConstants.java36 public static final int MAXIMUM_PAGE_SIZE = 5000; field in Constants
DHealthConnectManager.java20 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
2153 if (ids.size() >= MAXIMUM_PAGE_SIZE) {
2154 throw new IllegalArgumentException("Maximum allowed pageSize is " + MAXIMUM_PAGE_SIZE);
/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/
DChangeLogsRequest.java20 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
110 if (pageSize > MAXIMUM_PAGE_SIZE) { in setPageSize()
112 "Maximum page size: " + MAXIMUM_PAGE_SIZE + ", requested: " + pageSize); in setPageSize()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java20 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
250 .setPageSize(MAXIMUM_PAGE_SIZE) in getRecordsToMerge()
278 readTransactionRequest.getPageSize().orElse(MAXIMUM_PAGE_SIZE), in getRecordsToMerge()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DReadMedicalResourcesRequestTest.java23 import static android.healthconnect.cts.utils.DataFactory.MAXIMUM_PAGE_SIZE;
93 .setPageSize(MAXIMUM_PAGE_SIZE + 1)); in testRequestBuilder_lowerThanMinPageSize_throws()
DHealthConnectManagerTest.java34 import static android.healthconnect.cts.utils.DataFactory.MAXIMUM_PAGE_SIZE;
1957 List<MedicalIdFilter> ids = new ArrayList<>(MAXIMUM_PAGE_SIZE + 1); in testReadMedicalResources_byIds_exceedsMaxPageSize_throws()
1958 for (int i = 0; i < MAXIMUM_PAGE_SIZE + 1; i++) { in testReadMedicalResources_byIds_exceedsMaxPageSize_throws()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DPaginationTests.java57 private static final int MAXIMUM_PAGE_SIZE = 5000; field in PaginationTests
230 () -> request.setPageSize(MAXIMUM_PAGE_SIZE + 1)); in readRequest_pageSizeOutOfRange_throws()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelper.java22 import static android.health.connect.Constants.MAXIMUM_PAGE_SIZE;
696 return MAXIMUM_PAGE_SIZE; in getLimitSize()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DAggregateTableRequest.java64 private static final int MAX_NUMBER_OF_GROUPS = Constants.MAXIMUM_PAGE_SIZE;
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DDataFactory.java74 public static final int MAXIMUM_PAGE_SIZE = 5000; field in DataFactory
/packages/modules/HealthFitness/framework/api/
Dcurrent.txt211 …ct.Constants.MINIMUM_PAGE_SIZE, to=android.health.connect.Constants.MAXIMUM_PAGE_SIZE) public int …
223 …h.connect.Constants.MINIMUM_PAGE_SIZE, to=android.health.connect.Constants.MAXIMUM_PAGE_SIZE) int);