/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | ReadRecordsRequestUsingIds.java | 19 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()
|
D | ReadMedicalResourcesRequest.java | 21 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()
|
D | ReadRecordsRequestUsingFilters.java | 21 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()
|
D | Constants.java | 36 public static final int MAXIMUM_PAGE_SIZE = 5000; field in Constants
|
D | HealthConnectManager.java | 20 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/ |
D | ChangeLogsRequest.java | 20 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/ |
D | DatabaseMerger.java | 20 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/ |
D | ReadMedicalResourcesRequestTest.java | 23 import static android.healthconnect.cts.utils.DataFactory.MAXIMUM_PAGE_SIZE; 93 .setPageSize(MAXIMUM_PAGE_SIZE + 1)); in testRequestBuilder_lowerThanMinPageSize_throws()
|
D | HealthConnectManagerTest.java | 34 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/ |
D | PaginationTests.java | 57 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/ |
D | RecordHelper.java | 22 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/ |
D | AggregateTableRequest.java | 64 private static final int MAX_NUMBER_OF_GROUPS = Constants.MAXIMUM_PAGE_SIZE;
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 74 public static final int MAXIMUM_PAGE_SIZE = 5000; field in DataFactory
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 211 …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);
|