Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java178 final int maxCount = -1; in setMaxEntriesCount_maxCountLessThenZero_doNothing() local
180 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountLessThenZero_doNothing()
189 final int maxCount = MAX_WIFI_ENTRY_COUNT - 1; in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount() local
191 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
194 assertThat(mInternetAdapter.mMaxEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
201 final int maxCount = MAX_WIFI_ENTRY_COUNT - 1; in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount() local
203 mInternetAdapter.setMaxEntriesCount(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
205 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
206 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/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java284 int maxCount = 0; in getMccFromCellInfo() local
295 if (count > maxCount) { in getMccFromCellInfo()
296 maxCount = count; in getMccFromCellInfo()
319 int maxCount = 0; in getMccMncFromCellInfo() local
333 if (count > maxCount) { in getMccMncFromCellInfo()
334 maxCount = count; in getMccMncFromCellInfo()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp141 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; in pickChannelMask() local
146 maxCount = UINT_MAX; in pickChannelMask()
155 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
/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.java238 int maxCount = 0; in promoteApp() local
240 maxCount = Math.max(maxCount, countFunc.apply(data)); in promoteApp()
242 if (maxCount > 0) { in promoteApp()
251 float curScore = baseScore * countFunc.apply(entry.getValue()) / maxCount; in promoteApp()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h286 size_t minCount=0, size_t maxCount=0, bool required=true) const;
500 size_t minCount=0, size_t maxCount=0) const {
501 return mParameters.staticInfo(tag, minCount, maxCount);
/frameworks/native/libs/gui/
DBufferQueueCore.cpp240 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
242 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
243 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/base/core/java/android/content/pm/
DBaseParceledListSlice.java148 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
149 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl159 void prepare2(int maxCount, int streamId); in prepare2() argument
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java235 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument
237 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()
DCameraCaptureSessionImpl.java150 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
153 mDeviceImpl.prepare(maxCount, surface); in prepare()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp463 status_t Camera3Stream::startPrepare(int maxCount, bool blockRequest) { in startPrepare() argument
468 if (maxCount < 0) { in startPrepare()
470 __FUNCTION__, mId, maxCount); in startPrepare()
496 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare()
497 pipelineMax : static_cast<size_t>(maxCount); in startPrepare()
498 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
DCamera3Stream.h271 status_t startPrepare(int maxCount, bool blockRequest);
DCamera3StreamInterface.h308 virtual status_t startPrepare(int maxCount, bool blockRequest) = 0;
/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/base/services/autofill/java/com/android/server/autofill/ui/
DDialogFillUi.java155 final int maxCount = AutofillManagerService.getVisibleDatasetsMaxCount(); in getVisibleDatasetsMaxCount() local
157 Slog.v(TAG, "overriding maximum visible datasets to " + maxCount); in getVisibleDatasetsMaxCount()
159 return maxCount; in getVisibleDatasetsMaxCount()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl194 AudioPatch[] listAudioPatches(int maxCount); in listAudioPatches() argument
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java192 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h392 virtual status_t prepare(int maxCount, int streamId) = 0;

12