Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java44 public MtpPropertyList(int maxCount, int result) { in MtpPropertyList() argument
45 mMaxCount = maxCount; in MtpPropertyList()
47 mObjectHandles = new int[maxCount]; in MtpPropertyList()
48 mPropertyCodes = new int[maxCount]; in MtpPropertyList()
49 mDataTypes = new int[maxCount]; in MtpPropertyList()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp119 clean_directory(const char* directory, off_t maxSize, size_t maxCount) in clean_directory() argument
159 if (totalSize < maxSize && totalCount < maxCount) { in clean_directory()
168 it != files.end() && totalSize >= maxSize && totalCount >= maxCount; it++) { in clean_directory()
Dreport_directory.h27 void clean_directory(const char* directory, off_t maxSize, size_t maxCount);
/frameworks/av/media/libnbaio/
DPerformanceAnalysis.cpp290 int maxCount = it->second; in reportPerformance() local
296 if (it->second > maxCount) { in reportPerformance()
297 maxCount = it->second; in reportPerformance()
300 int height = log2(maxCount) + 1; // maxCount > 0, safe to call log2 in reportPerformance()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java190 SortedIntArray(int maxCount) { in SortedIntArray() argument
191 mArray = new int[maxCount]; in SortedIntArray()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp296 status_t Camera3Stream::startPrepare(int maxCount) { in startPrepare() argument
301 if (maxCount < 0) { in startPrepare()
303 __FUNCTION__, mId, maxCount); in startPrepare()
331 size_t clampedCount = (pipelineMax < static_cast<size_t>(maxCount)) ? in startPrepare()
332 pipelineMax : static_cast<size_t>(maxCount); in startPrepare()
333 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? in startPrepare()
DCamera3StreamInterface.h153 virtual status_t startPrepare(int maxCount) = 0;
DCamera3Stream.h229 status_t startPrepare(int maxCount);
DCamera3Device.h166 status_t prepare(int maxCount, int streamId) override;
970 status_t prepare(int maxCount, sp<camera3::Camera3StreamInterface>& stream);
/frameworks/native/libs/gui/
DBufferQueueCore.cpp188 int maxCount = mMaxAcquiredBufferCount + mMaxDequeuedBufferCount + in getMaxBufferCountLocked() local
190 maxCount = std::min(maxBufferCount, maxCount); in getMaxBufferCountLocked()
191 return maxCount; in getMaxBufferCountLocked()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.h270 size_t minCount=0, size_t maxCount=0, bool required=true) const;
462 size_t minCount=0, size_t maxCount=0) const {
463 return mParameters.staticInfo(tag, minCount, maxCount);
DParameters.cpp1230 size_t minCount, size_t maxCount, bool required) const { in staticInfo() argument
1246 (maxCount != 0 && entry.count > maxCount) ) ) { in staticInfo()
1255 tagSection, tagName, tag, minCount, maxCount, entry.count); in staticInfo()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java209 public void prepare2(int maxCount, int streamId) throws CameraAccessException { in prepare2() argument
211 mRemoteDevice.prepare2(maxCount, streamId); in prepare2()
DCameraConstrainedHighSpeedCaptureSessionImpl.java177 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
178 mSessionImpl.prepare(maxCount, surface); in prepare()
DCameraCaptureSessionImpl.java145 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
146 mDeviceImpl.prepare(maxCount, surface); in prepare()
DCameraDeviceImpl.java746 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() argument
748 if (maxCount <= 0) throw new IllegalArgumentException("Invalid maxCount given: " + in prepare()
749 maxCount); in prepare()
763 mRemoteDevice.prepare2(maxCount, streamId); in prepare()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl141 void prepare2(int maxCount, int streamId); in prepare2() argument
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java143 public void setInlineCountLimit(int maxCount) { in setInlineCountLimit() argument
144 mInlineCountLimit = maxCount; in setInlineCountLimit()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp211 uint32_t maxCount = MAX_MIXER_CHANNEL_COUNT; in pickChannelMask() local
216 maxCount = UINT_MAX; in pickChannelMask()
225 if ((cnlCount > channelCount) && (cnlCount <= maxCount)) { in pickChannelMask()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java187 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() argument
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h344 virtual status_t prepare(int maxCount, int streamId) = 0;
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java634 ResponseQueue(int maxCount) { in ResponseQueue() argument
636 mMaxCount = maxCount; in ResponseQueue()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h132 virtual binder::Status prepare2(int32_t maxCount, int32_t streamId) override;
DCameraDeviceClient.cpp1103 binder::Status CameraDeviceClient::prepare2(int maxCount, int streamId) { in prepare2() argument
1128 if (maxCount <= 0) { in prepare2()
1130 mCameraIdStr.string(), maxCount); in prepare2()
1137 status_t err = mDevice->prepare(maxCount, streamId); in prepare2()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java704 public void prepare2(int maxCount, int streamId) { in prepare2() argument

12