Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp403 size_t maxCount = StatsdStats::kMaxTimestampCount; in TEST() local
404 EXPECT_EQ(maxCount, configStats->broadcast_sent_time_sec.size()); in TEST()
405 EXPECT_EQ(maxCount, configStats->data_drop_time_sec.size()); in TEST()
406 EXPECT_EQ(maxCount, configStats->dump_report_stats.size()); in TEST()
407 EXPECT_EQ(maxCount, configStats->activation_time_sec.size()); in TEST()
408 EXPECT_EQ(maxCount, configStats->deactivation_time_sec.size()); in TEST()
437 const int maxCount = StatsdStats::kMaxSystemServerRestarts; in TEST() local
438 EXPECT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
444 EXPECT_EQ(maxCount, (int)report.system_restart_sec_size()); in TEST()
445 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/native/services/sensorservice/
DSensorsWrapper.h82 virtual Return<void> poll(int32_t maxCount, ISensors::poll_cb _hidl_cb) { in poll() argument
83 (void)maxCount; in poll()
165 Return<void> poll(int32_t maxCount, in poll() argument
167 return mSensors->poll(maxCount, _hidl_cb); in poll()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java190 SortedIntArray(int maxCount) { in SortedIntArray() argument
191 mArray = new int[maxCount]; in SortedIntArray()
/frameworks/native/libs/gui/
DBufferQueueCore.cpp192 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
194 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
195 return maxCount; in getMaxBufferCountLocked()
/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.cpp410 status_t Camera3Stream::startPrepare(int maxCount, bool blockRequest) { in startPrepare() argument
415 if (maxCount < 0) { in startPrepare()
417 __FUNCTION__, mId, maxCount); in startPrepare()
443 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare()
444 pipelineMax : static_cast<size_t>(maxCount); in startPrepare()
445 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
DCamera3StreamInterface.h180 virtual status_t startPrepare(int maxCount, bool blockRequest) = 0;
DCamera3Stream.h250 status_t startPrepare(int maxCount, bool blockRequest);
DCamera3Device.h166 status_t prepare(int maxCount, int streamId) override;
1145 status_t prepare(int maxCount, sp<camera3::Camera3StreamInterface>& stream);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java215 int maxCount = 0; in getMccFromCellInfo() local
233 if (count > maxCount) { in getMccFromCellInfo()
234 maxCount = count; in getMccFromCellInfo()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl153 void prepare2(int maxCount, int streamId); in prepare2() argument
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java145 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
146 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java232 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument
234 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
DCameraConstrainedHighSpeedCaptureSessionImpl.java182 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
183 mSessionImpl.prepare(maxCount, surface); in prepare()
DCameraCaptureSessionImpl.java143 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
144 mDeviceImpl.prepare(maxCount, surface); in prepare()
DCameraDeviceImpl.java829 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
831 if (maxCount <= 0) throw new IllegalArgumentException("Invalid maxCount given: " + in prepare()
832 maxCount); in prepare()
846 mRemoteDevice.prepare2(maxCount, streamId); in prepare()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp223 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; in pickChannelMask() local
228 maxCount = UINT_MAX; in pickChannelMask()
237 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
/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.java188 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h365 virtual status_t prepare(int maxCount, int streamId) = 0;
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java644 ResponseQueue(int maxCount) { in ResponseQueue() argument
646 mMaxCount = maxCount; in ResponseQueue()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h145 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override;
DCameraDeviceClient.cpp1674 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { in prepare2() argument
1699 if (maxCount <= 0) { in prepare2()
1701 mCameraIdStr.string(), maxCount); in prepare2()
1708 status_t err = mDevice->prepare(maxCount, streamId); in prepare2()

12