Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp418 size_t maxCount = StatsdStats::kMaxTimestampCount; in TEST() local
419 ASSERT_EQ(maxCount, configStats->broadcast_sent_time_sec.size()); in TEST()
420 ASSERT_EQ(maxCount, configStats->data_drop_time_sec.size()); in TEST()
421 ASSERT_EQ(maxCount, configStats->dump_report_stats.size()); in TEST()
422 ASSERT_EQ(maxCount, configStats->activation_time_sec.size()); in TEST()
423 ASSERT_EQ(maxCount, configStats->deactivation_time_sec.size()); in TEST()
452 const int maxCount = StatsdStats::kMaxSystemServerRestarts; in TEST() local
453 ASSERT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
459 ASSERT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
460 EXPECT_EQ(StatsdStats::kMaxSystemServerRestarts + 1, report.system_restart_sec(maxCount - 1)); in TEST()
[all …]
/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/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/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java76 int maxCount = Math.min(MAX_ADDITIONAL_PACKAGES, packageNames.size());
77 ArraySet<String> allPackages = new ArraySet<>(maxCount + 1);
79 if (packageNames.size() >= maxCount) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java293 int maxCount = 0; in getMccFromCellInfo() local
304 if (count > maxCount) { in getMccFromCellInfo()
305 maxCount = count; in getMccFromCellInfo()
328 int maxCount = 0; in getMccMncFromCellInfo() local
342 if (count > maxCount) { in getMccMncFromCellInfo()
343 maxCount = count; in getMccMncFromCellInfo()
/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/base/core/java/android/os/health/
DHealthKeys.java190 SortedIntArray(int maxCount) { in SortedIntArray() argument
191 mArray = new int[maxCount]; in SortedIntArray()
/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/av/services/camera/libcameraservice/api1/client2/
DParameters.h283 size_t minCount=0, size_t maxCount=0, bool required=true) const;
492 size_t minCount=0, size_t maxCount=0) const {
493 return mParameters.staticInfo(tag, minCount, maxCount);
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp416 status_t Camera3Stream::startPrepare(int maxCount, bool blockRequest) { in startPrepare() argument
421 if (maxCount < 0) { in startPrepare()
423 __FUNCTION__, mId, maxCount); in startPrepare()
449 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare()
450 pipelineMax : static_cast<size_t>(maxCount); in startPrepare()
451 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
DCamera3StreamInterface.h188 virtual status_t startPrepare(int maxCount, bool blockRequest) = 0;
DCamera3Stream.h253 status_t startPrepare(int maxCount, bool blockRequest);
/frameworks/native/libs/gui/
DBufferQueueCore.cpp241 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
243 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
244 return maxCount; in getMaxBufferCountLocked()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java145 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
146 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl156 void prepare2(int maxCount, int streamId); in prepare2() argument
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java234 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument
236 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
DCameraConstrainedHighSpeedCaptureSessionImpl.java184 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
185 mSessionImpl.prepare(maxCount, surface); in prepare()
DCameraCaptureSessionImpl.java149 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
152 mDeviceImpl.prepare(maxCount, surface); in prepare()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java977 int maxCount = mContext.getResources().getInteger( in setScanChannels() local
979 freqs = fetchChannelSetForPartialScan(maxCount, ageInMillis); in setScanChannels()
1007 @NonNull WifiConfiguration config, int maxCount, long ageInMillis) { in addChannelFromWifiScoreCard() argument
1010 if (maxCount > 0 && channelSet.size() >= maxCount) { in addChannelFromWifiScoreCard()
1046 public Set<Integer> fetchChannelSetForPartialScan(int maxCount, long ageInMillis) { in fetchChannelSetForPartialScan() argument
1058 if (!addChannelFromWifiScoreCard(channelSet, config, maxCount, ageInMillis)) { in fetchChannelSetForPartialScan()
/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/core/java/android/hardware/camera2/
DCameraCaptureSession.java191 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h322 virtual status_t prepare(int maxCount, int streamId) = 0;
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java645 ResponseQueue(int maxCount) { in ResponseQueue() argument
647 mMaxCount = maxCount; in ResponseQueue()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h151 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override;

12