Searched defs:maxCount (Results 1 - 18 of 18) 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.cpp180 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + local
182 maxCount = std::min(maxBufferCount, maxCount);
183 return maxCount;
/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.java173 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
174 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.cpp260 status_t Camera3Stream::startPrepare(int maxCount) { argument
265 if (maxCount < 0) {
267 __FUNCTION__, mId, maxCount);
295 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ?
296 pipelineMax : static_cast<size_t>(maxCount);
297 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ?
H A DCamera3Device.cpp1756 status_t Camera3Device::prepare(int maxCount, int streamId) { argument
1781 return mPreparerThread->prepare(maxCount, stream);
4544 status_t Camera3Device::PreparerThread::prepare(int maxCount, sp<Camera3StreamInterface>& stream) { argument
4550 res = stream->startPrepare(maxCount);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java697 public void prepare2(int maxCount, int streamId) { argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp1102 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { argument
1127 if (maxCount <= 0) {
1128 String8 msg = String8::format("Camera %s: maxCount (%d) must be greater than 0",
1129 mCameraIdStr.string(), maxCount);
1136 status_t err = mDevice->prepare(maxCount, streamId);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java1551 StateMachineSharedThread(String name, Looper looper, int maxCount) { argument
1553 mMaxCount = maxCount;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp843 staticInfo(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, /*minCount*/1, /*maxCount*/1);
1229 size_t minCount, size_t maxCount, bool required) const {
1245 (maxCount != 0 && entry.count > maxCount) ) ) {
1254 tagSection, tagName, tag, minCount, maxCount, entry.count);
1228 staticInfo(uint32_t tag, size_t minCount, size_t maxCount, bool required) const argument

Completed in 2657 milliseconds