Home
last modified time | relevance | path

Searched refs:setLimit (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsPacketReaderTests.java51 packetReader.setLimit(0); in testLimits()
60 packetReader.setLimit(data.length); in testLimits()
64 packetReader.setLimit(-10); in testLimits()
68 packetReader.setLimit(data.length / 2); in testLimits()
75 packetReader.setLimit(data.length * 2 + 1); in testLimits()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataLimitPreferenceControllerTest.java189 ArgumentCaptor<Long> setLimit = ArgumentCaptor.forClass(Long.class); in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier() local
190 verify(mMockPolicyEditor).setPolicyLimitBytes(eq(mMockNetworkTemplate), setLimit.capture()); in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier()
192 long setValue = setLimit.getValue(); in onDialogConfirm_hasWarningThreshold_setsLimitToWithMultiplier()
/packages/apps/Contacts/src/com/android/contacts/compat/
DAggregationSuggestionsCompat.java72 public Builder setLimit(int limit) { in setLimit() method in AggregationSuggestionsCompat.Builder
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/
DSelectSQLiteQueryBuilder.java111 public SelectSQLiteQueryBuilder setLimit(@Nullable Integer limit) { in setLimit() method in SelectSQLiteQueryBuilder
DPickerDataLayerV2.java421 .setLimit(query.getPageSize()); in getMediaPageQuery()
460 .setLimit(1) in getMediaNextPageKeyQuery()
498 ).setLimit(query.getPageSize()); in getMediaPreviousPageQuery()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeriveBasalCaloriesBurnedHelper.java155 .setLimit(1) in derivedBasalCaloriesViaReadBack()
338 .setLimit(1) in getReadCursorForDerivingBMR()
DAccessLogsHelper.java106 .setLimit(1); in getLatestAccessLogTimeStamp()
DChangeLogsHelper.java125 new ReadTableRequest(TABLE_NAME).setWhereClause(whereClause).setLimit(pageSize + 1); in getChangeLogs()
DRecordHelper.java349 .setLimit(getLimitSize(request)) in getReadTableRequest()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java161 .setLimit(pageSize + 1); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
179 .setLimit(pageSize + 1 + expectedOffset); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDigitalWellBeingToast.java125 private void setLimit(long appUsageLimitTimeMs, long appRemainingTimeMs) { in setLimit() method in DigitalWellBeingToast
173 setLimit(appUsageLimitTimeMs, appRemainingTimeMs); in initialize()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java220 .setLimit(SUGGESTIONS_LIMIT) in buildAggregationSuggestionUri()
234 .setLimit(SUGGESTIONS_LIMIT) in buildAggregationSuggestionUri()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DReadTableRequest.java174 public ReadTableRequest setLimit(int limit) { in setLimit() method in ReadTableRequest
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacketReader.java68 public void setLimit(int limit) throws IOException { in setLimit() method in MdnsPacketReader
DMdnsRecord.java90 reader.setLimit(dataLength); in MdnsRecord()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java660 carVolumeGroup.setLimit(limitedGainIndex); in handleActivationVolume_withActivationVolumeOverLimitOverCurrentGain()
676 carVolumeGroup.setLimit(limitedGainIndex); in resetLimit_withActivationVolumeOverLimitOverCurrentGainAndResetLimit()
692 carVolumeGroup.setLimit(limitedGainIndex); in handleActivationVolume_withActivationVolumeOverCurrentGainOverLimit()
708 carVolumeGroup.setLimit(limitedGainIndex); in resetLimit_withActivationVolumeOverCurrentGainOverLimit()
723 carVolumeGroup.setLimit(limitedGainIndex); in handleActivationVolume_withActivationVolumeBelowLimit()
844 carVolumeGroup.setLimit(carVolumeGroup.getMaxGainIndex() - 1); in setLimited_withGain_thenBackToMaxGain()
910 carVolumeGroup.setLimit(limitedGainIndex); in getCurrentGainIndex_whileLimited_thenUnlimited()
992 carVolumeGroup.setLimit(limitedGainIndex); in setCurrentGainIndex_whileLimited_under_then_over_limit()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1470 Uri uri = AggregationSuggestions.builder().setContactId(12).setLimit(7).build(); in testAggregationSuggestionsQueryBuilderWithContactId()
1479 .setLimit(7) in testAggregationSuggestionsQueryBuilderWithValues()
DContactAggregator2Test.java1468 Uri uri = AggregationSuggestions.builder().setContactId(12).setLimit(7).build(); in testAggregationSuggestionsQueryBuilderWithContactId()
1477 .setLimit(7) in testAggregationSuggestionsQueryBuilderWithValues()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java306 void setLimit(int limitIndex) { in setLimit() method in CarVolumeGroup
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...