Home
last modified time | relevance | path

Searched refs:MAXIMUM_ALLOWED_CURSOR_COUNT (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalResourceHelper.java19 import static android.health.connect.Constants.MAXIMUM_ALLOWED_CURSOR_COUNT;
192 if (cursor.getCount() > MAXIMUM_ALLOWED_CURSOR_COUNT) { in getMedicalResources()
195 + MAXIMUM_ALLOWED_CURSOR_COUNT); in getMedicalResources()
DRecordHelper.java21 import static android.health.connect.Constants.MAXIMUM_ALLOWED_CURSOR_COUNT;
448 if (cursor.getCount() > MAXIMUM_ALLOWED_CURSOR_COUNT) { in getInternalRecords()
450 "Too many records in the cursor. Max allowed: " + MAXIMUM_ALLOWED_CURSOR_COUNT); in getInternalRecords()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java19 import static android.health.connect.Constants.MAXIMUM_ALLOWED_CURSOR_COUNT;
117 List<RecordInternal<?>> records = new ArrayList<>(MAXIMUM_ALLOWED_CURSOR_COUNT + 1); in getInternalRecords_cursorHasTooManyData_throws()
118 for (int i = 0; i <= MAXIMUM_ALLOWED_CURSOR_COUNT; i++) { in getInternalRecords_cursorHasTooManyData_throws()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DConstants.java37 public static final int MAXIMUM_ALLOWED_CURSOR_COUNT = 100_000; field in Constants