Searched refs:maxCount (Results 1 - 25 of 29) sorted by relevance

12

/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/packages/DocumentsUI/src/com/android/documentsui/
H A DRootCursorWrapper.java41 public RootCursorWrapper(String authority, String rootId, Cursor cursor, int maxCount) { argument
47 if (maxCount > 0 && count > maxCount) {
48 mCount = maxCount;
/frameworks/av/camera/aidl/android/hardware/camera2/
H A DICameraDeviceUser.aidl123 void prepare2(int maxCount, int streamId);
/frameworks/base/core/java/android/os/health/
H A DHealthKeys.java190 SortedIntArray(int maxCount) { argument
191 mArray = new int[maxCount];
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamInterface.h126 * up to maxCount buffers, or the maximum number of buffers needed by the
127 * pipeline if maxCount is ALLOCATE_PIPELINE_MAX.
141 virtual status_t startPrepare(int maxCount) = 0;
H A DCamera3Stream.cpp267 status_t Camera3Stream::startPrepare(int maxCount) { argument
272 if (maxCount < 0) {
274 __FUNCTION__, mId, maxCount);
302 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ?
303 pipelineMax : static_cast<size_t>(maxCount);
304 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ?
H A DCamera3Stream.h200 * up to maxCount buffers, or the maximum number of buffers needed by the
201 * pipeline if maxCount is ALLOCATE_PIPELINE_MAX.
217 status_t startPrepare(int maxCount);
H A DCamera3Device.h156 virtual status_t prepare(int maxCount, int streamId);
765 * order. Pre-allocate up to maxCount buffers for the stream, or the maximum number needed
766 * for the pipeline if maxCount is ALLOCATE_PIPELINE_MAX.
768 status_t prepare(int maxCount, sp<camera3::Camera3StreamInterface>& stream);
H A DCamera3Device.cpp1639 status_t Camera3Device::prepare(int maxCount, int streamId) { argument
1664 return mPreparerThread->prepare(maxCount, stream);
3854 status_t Camera3Device::PreparerThread::prepare(int maxCount, sp<Camera3StreamInterface>& stream) { argument
3860 res = stream->startPrepare(maxCount);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h254 // Get entry from camera static characteristics information. min/maxCount
259 size_t minCount=0, size_t maxCount=0, bool required=true) const;
451 size_t minCount=0, size_t maxCount=0) const {
452 return mParameters.staticInfo(tag, minCount, maxCount);
H A DParameters.cpp823 staticInfo(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, /*minCount*/1, /*maxCount*/1);
1187 size_t minCount, size_t maxCount, bool required) const {
1200 (maxCount != 0 && entry.count > maxCount) ) ) {
1207 tagSection, tagName, tag, minCount, maxCount, entry.count);
1186 staticInfo(uint32_t tag, size_t minCount, size_t maxCount, bool required) const argument
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java143 * <p>Pre-allocate at most maxCount buffers for an output Surface.</p>
147 * the maximum possible buffer count, this method allocates at most maxCount buffers.</p>
149 * <p>If maxCount is greater than the possible maximum count (which is the sum of the buffer
160 * is not additive in terms of buffer count. This means calling it twice with maxCount = 2
165 * @param maxCount the buffer count to try to allocate. If this is greater than the possible
167 * maxCount buffers are already allocated, then prepare will do nothing.
182 public abstract void prepare(int maxCount, @NonNull Surface surface) argument
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp184 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + local
186 maxCount = std::min(maxBufferCount, maxCount);
187 return maxCount;
/frameworks/base/core/java/android/hardware/camera2/impl/
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 DCameraCaptureSessionImpl.java150 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
151 mDeviceImpl.prepare(maxCount, surface);
H A DCameraDeviceImpl.java710 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
712 if (maxCount <= 0) throw new IllegalArgumentException("Invalid maxCount given: " +
713 maxCount);
727 mRemoteDevice.prepare2(maxCount, streamId);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp210 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; local
215 maxCount = UINT_MAX;
224 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) {
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraDeviceBase.h307 * Prepare stream by preallocating up to maxCount buffers for it asynchronously.
310 virtual status_t prepare(int maxCount, int streamId) = 0;
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h131 // Prepare stream by preallocating up to maxCount of its buffers
132 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId);
H A DCameraDeviceClient.cpp933 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { argument
958 if (maxCount <= 0) {
959 String8 msg = String8::format("Camera %d: maxCount (%d) must be greater than 0",
960 mCameraId, maxCount);
967 status_t err = mDevice->prepare(maxCount, streamId);
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java634 ResponseQueue(int maxCount) { argument
636 mMaxCount = maxCount;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java680 public void prepare2(int maxCount, int streamId) { argument
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java1552 StateMachineSharedThread(String name, Looper looper, int maxCount) { argument
1554 mMaxCount = maxCount;
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h441 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
584 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);

Completed in 540 milliseconds

12