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.h199 * up to maxCount buffers, or the maximum number of buffers needed by the
200 * pipeline if maxCount is ALLOCATE_PIPELINE_MAX.
216 status_t startPrepare(int maxCount);
H A DCamera3Device.h152 virtual status_t prepare(int maxCount, int streamId);
756 * order. Pre-allocate up to maxCount buffers for the stream, or the maximum number needed
757 * for the pipeline if maxCount is ALLOCATE_PIPELINE_MAX.
759 status_t prepare(int maxCount, sp<camera3::Camera3StreamInterface>& stream);
H A DCamera3Device.cpp1607 status_t Camera3Device::prepare(int maxCount, int streamId) { argument
1632 return mPreparerThread->prepare(maxCount, stream);
3745 status_t Camera3Device::PreparerThread::prepare(int maxCount, sp<Camera3StreamInterface>& stream) { argument
3750 res = stream->startPrepare(maxCount);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DICameraDeviceUserWrapper.java209 public void prepare2(int maxCount, int streamId) throws CameraAccessException { argument
211 mRemoteDevice.prepare2(maxCount, streamId);
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java172 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
173 mSessionImpl.prepare(maxCount, surface);
H A DCameraCaptureSessionImpl.java149 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
150 mDeviceImpl.prepare(maxCount, surface);
H A DCameraDeviceImpl.java707 public void prepare(int maxCount, Surface surface) throws CameraAccessException { argument
709 if (maxCount <= 0) throw new IllegalArgumentException("Invalid maxCount given: " +
710 maxCount);
724 mRemoteDevice.prepare2(maxCount, streamId);
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp184 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + local
186 maxCount = std::min(maxBufferCount, maxCount);
187 return maxCount;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h248 // Get entry from camera static characteristics information. min/maxCount
253 size_t minCount=0, size_t maxCount=0, bool required=true) const;
434 size_t minCount=0, size_t maxCount=0) const {
435 return mParameters.staticInfo(tag, minCount, maxCount);
H A DParameters.cpp816 staticInfo(ANDROID_SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, /*minCount*/1, /*maxCount*/1);
1159 size_t minCount, size_t maxCount, bool required) const {
1172 (maxCount != 0 && entry.count > maxCount) ) ) {
1179 tagSection, tagName, tag, minCount, maxCount, entry.count);
1158 staticInfo(uint32_t tag, size_t minCount, size_t maxCount, bool required) const argument
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java142 * <p>Pre-allocate at most maxCount buffers for an output Surface.</p>
146 * the maximum possible buffer count, this method allocates at most maxCount buffers.</p>
148 * <p>If maxCount is greater than the possible maximum count (which is the sum of the buffer
159 * is not additive in terms of buffer count. This means calling it twice with maxCount = 2
164 * @param maxCount the buffer count to try to allocate. If this is greater than the possible
166 * maxCount buffers are already allocated, then prepare will do nothing.
181 public abstract void prepare(int maxCount, @NonNull Surface surface) argument
/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.h306 * Prepare stream by preallocating up to maxCount buffers for it asynchronously.
309 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.cpp848 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { argument
873 if (maxCount <= 0) {
874 String8 msg = String8::format("Camera %d: maxCount (%d) must be greater than 0",
875 mCameraId, maxCount);
882 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.java673 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 499 milliseconds

12