Searched defs:maxCount (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/cmds/incidentd/src/
H A Dreport_directory.cpp119 clean_directory(const char* directory, off_t maxSize, size_t maxCount) argument
159 if (totalSize < maxSize && totalCount < maxCount) {
168 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) {
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyList.java44 public MtpPropertyList(int maxCount, int result) { argument
45 mMaxCount = maxCount;
47 mObjectHandles = new int[maxCount];
48 mPropertyCodes = new int[maxCount];
49 mDataTypes = new int[maxCount];
/frameworks/base/core/java/android/content/pm/
H A DBaseParceledListSlice.java143 public void setInlineCountLimit(int maxCount) { argument
144 mInlineCountLimit = maxCount;
/frameworks/base/core/java/android/os/health/
H A DHealthKeys.java190 SortedIntArray(int maxCount) { argument
191 mArray = new int[maxCount];
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp188 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + local
190 maxCount = std::min(maxBufferCount, maxCount);
191 return maxCount;
/frameworks/av/media/libnbaio/
H A DPerformanceAnalysis.cpp290 int maxCount = it->second; local
296 if (it->second > maxCount) {
297 maxCount = it->second;
300 int height = log2(maxCount) + 1; // maxCount > 0, safe to call log2
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java148 * <p>Pre-allocate at most maxCount buffers for an output Surface.</p>
152 * the maximum possible buffer count, this method allocates at most maxCount buffers.</p>
154 * <p>If maxCount is greater than the possible maximum count (which is the sum of the buffer
165 * is not additive in terms of buffer count. This means calling it twice with maxCount = 2
170 * @param maxCount the buffer count to try to allocate. If this is greater than the possible
172 * maxCount buffers are already allocated, then prepare will do nothing.
187 public abstract void prepare(int maxCount, @NonNull Surface surface) argument
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java145 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
146 mDeviceImpl.prepare(maxCount, surface);
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java177 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
178 mSessionImpl.prepare(maxCount, surface);
H A DICameraDeviceUserWrapper.java209 public void prepare2(int maxCount, int streamId) throws CameraAccessException { argument
211 mRemoteDevice.prepare2(maxCount, streamId);
H A DCameraDeviceImpl.java746 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
748 if (maxCount <= 0) throw new IllegalArgumentException("Invalid maxCount given: " +
749 maxCount);
763 mRemoteDevice.prepare2(maxCount, streamId);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp211 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; local
216 maxCount = UINT_MAX;
225 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) {
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java634 ResponseQueue(int maxCount) { argument
636 mMaxCount = maxCount;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp296 status_t Camera3Stream::startPrepare(int maxCount) { argument
301 if (maxCount < 0) {
303 __FUNCTION__, mId, maxCount);
331 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ?
332 pipelineMax : static_cast<size_t>(maxCount);
333 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ?
H A DCamera3Device.cpp1832 status_t Camera3Device::prepare(int maxCount, int streamId) { argument
1857 return mPreparerThread->prepare(maxCount, stream);
4844 status_t Camera3Device::PreparerThread::prepare(int maxCount, sp<Camera3StreamInterface>& stream) { argument
4851 res = stream->startPrepare(maxCount);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java704 public void prepare2(int maxCount, int streamId) { argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp1103 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { argument
1128 if (maxCount <= 0) {
1129 String8 msg = String8::format("Camera %s: maxCount (%d) must be greater than 0",
1130 mCameraIdStr.string(), maxCount);
1137 status_t err = mDevice->prepare(maxCount, streamId);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java1611 StateMachineSharedThread(String name, Looper looper, int maxCount) { argument
1613 mMaxCount = maxCount;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp843 staticInfo(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, /*minCount*/1, /*maxCount*/1);
1230 size_t minCount, size_t maxCount, bool required) const {
1246 (maxCount != 0 && entry.count > maxCount) ) ) {
1255 tagSection, tagName, tag, minCount, maxCount, entry.count);
1229 staticInfo(uint32_t tag, size_t minCount, size_t maxCount, bool required) const argument

Completed in 3731 milliseconds