Home
last modified time | relevance | path

Searched refs:maxCount (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java165 final int maxCount = -1; in setMaxEntriesCount_maxCountLessThenZero_doNothing() local
167 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountLessThenZero_doNothing()
176 final int maxCount = MAX_WIFI_ENTRY_COUNT - 1; in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount() local
178 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
181 assertThat(mInternetAdapter.mMaxEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
188 final int maxCount = MAX_WIFI_ENTRY_COUNT - 1; in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount() local
190 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
192 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
193 assertThat(mInternetAdapter.mMaxEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp41 void clean_directory(const char* directory, off_t maxSize, size_t maxCount) { in clean_directory() argument
81 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory()
90 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
Dreport_directory.h29 void clean_directory(const char* directory, off_t maxSize, size_t maxCount);
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DDecorProvider.kt130 var maxCount = 0 in getProperBound() variable
140 if (boundCount[bound] > maxCount) { in getProperBound()
142 maxCount = boundCount[bound] in getProperBound()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java178 int maxCount = 3; in testReadNotificationsWithNumberFilter() local
186 if (i <= maxCount) { in testReadNotificationsWithNumberFilter()
205 .setMaxNotifications(maxCount) in testReadNotificationsWithNumberFilter()
222 int maxCount = 3; in testReadNotificationsWithNumberFilter_preExistingNotifs() local
238 if (i <= (maxCount - 2)) { in testReadNotificationsWithNumberFilter_preExistingNotifs()
257 .setMaxNotifications(maxCount) in testReadNotificationsWithNumberFilter_preExistingNotifs()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp131 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; in pickChannelMask() local
136 maxCount = UINT_MAX; in pickChannelMask()
145 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java290 int maxCount = 0; in getMccFromCellInfo() local
301 if (count > maxCount) { in getMccFromCellInfo()
302 maxCount = count; in getMccFromCellInfo()
325 int maxCount = 0; in getMccMncFromCellInfo() local
339 if (count > maxCount) { in getMccMncFromCellInfo()
340 maxCount = count; in getMccMncFromCellInfo()
DSmsStorageMonitor.java148 public void setMaxRetries(int maxCount) { in setMaxRetries() argument
149 mMaxRetryCount = maxCount; in setMaxRetries()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java190 SortedIntArray(int maxCount) { in SortedIntArray() argument
191 mArray = new int[maxCount]; in SortedIntArray()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DSharesheetModelScorer.java236 int maxCount = 0; in promoteApp() local
238 maxCount = Math.max(maxCount, countFunc.apply(data)); in promoteApp()
240 if (maxCount > 0) { in promoteApp()
249 float curScore = baseScore * countFunc.apply(entry.getValue()) / maxCount; in promoteApp()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h287 size_t minCount=0, size_t maxCount=0, bool required=true) const;
501 size_t minCount=0, size_t maxCount=0) const {
502 return mParameters.staticInfo(tag, minCount, maxCount);
/frameworks/native/libs/gui/
DBufferQueueCore.cpp239 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
241 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
242 return maxCount; in getMaxBufferCountLocked()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBaseParceledListSlice.java142 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
143 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl159 void prepare2(int maxCount, int streamId); in prepare2() argument
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp470 status_t Camera3Stream::startPrepare(int maxCount, bool blockRequest) { in startPrepare() argument
475 if (maxCount < 0) { in startPrepare()
477 __FUNCTION__, mId, maxCount); in startPrepare()
503 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare()
504 pipelineMax : static_cast<size_t>(maxCount); in startPrepare()
505 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
DCamera3Stream.h271 status_t startPrepare(int maxCount, bool blockRequest);
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java241 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument
243 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
DCameraConstrainedHighSpeedCaptureSessionImpl.java217 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
218 mSessionImpl.prepare(maxCount, surface); in prepare()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java158 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
159 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp115 const unsigned maxCount = *std::max_element(mBins.begin(), mBins.end()); in asciiArtString() local
116 const size_t maxIncrements = log2(maxCount) + 1; in asciiArtString()
/frameworks/av/media/libstagefright/renderfright/fuzzer/
Dlibstagefright_renderfright_fuzzer.cpp201 int32_t maxCount = mFdp.ConsumeIntegralInRange<size_t>(0, kMaxTextureCount); in process() local
202 for (size_t i = 0; i < maxCount; ++i) { in process()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java2631 int maxCount = 10; in addImsRegistrationFeatureTagStats_tooManyEntries() local
2632 for (int i = 0; i < maxCount; i++) { in addImsRegistrationFeatureTagStats_tooManyEntries()
2650 maxCount * 3600L); in addImsRegistrationFeatureTagStats_tooManyEntries()
2826 final int maxCount = 5; in addRcsAcsProvisioningStats_updateExistingEntries() local
2835 for (int i = 0; i < maxCount; i++) { in addRcsAcsProvisioningStats_updateExistingEntries()
2855 result, mRcsAcsProvisioningStats1Proto, 5, duration * maxCount); in addRcsAcsProvisioningStats_updateExistingEntries()
2858 result, mRcsAcsProvisioningStats2Proto, 6, duration * (maxCount + 1)); in addRcsAcsProvisioningStats_updateExistingEntries()
4488 int maxCount = 15 + 1; in addSatelliteSessionStats_tooManyEntries() local
4489 for (int i = 0; i < maxCount; i++) { in addSatelliteSessionStats_tooManyEntries()
4565 int maxCount = 15 + 1; in addSatelliteIncomingDatagramStats_tooManyEntries() local
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DDialogFillUi.java160 final int maxCount = AutofillManagerService.getVisibleDatasetsMaxCount(); in getVisibleDatasetsMaxCount() local
162 Slog.v(TAG, "overriding maximum visible datasets to " + maxCount); in getVisibleDatasetsMaxCount()
164 return maxCount; in getVisibleDatasetsMaxCount()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java192 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl197 AudioPatchFw[] listAudioPatches(int maxCount); in listAudioPatches() argument

12