Home
last modified time | relevance | path

Searched refs:batchSize (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java248 public void setConfig(final boolean enable, final int batchSize, final float threshold, in setConfig() argument
264 if (batchSize == mTotalInputSize && Math.abs(threshold - mThreshold) < EPSILON) { in setConfig()
273 int inputSize = batchSize; in setConfig()
275 inputSize = (int) (batchSize * (1 - validationRatio)); in setConfig()
278 sketch.setConfig(batchSize, capacity); in setConfig()
282 + batchSize + ", " + capacity); in setConfig()
286 resetInternalLocked(listener, sketch, inputSize, batchSize, threshold, capacity); in setConfig()
293 final int batchSize, final float threshold, final int capacity) { in resetInternalLocked() argument
301 mTotalInputSize = batchSize; in resetInternalLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerLogger.kt35 fun logEmitBatch(groupKey: String, batchSize: Int, batchAgeMs: Long) { in logEmitBatch()
38 int1 = batchSize in logEmitBatch()
/frameworks/av/services/camera/virtualcamera/util/
DJpegUtil.cc226 const uint32_t batchSize = DCTSIZE * 2; in compress() local
230 uint32_t done = jpeg_write_raw_data(&mCompressStruct, planes, batchSize); in compress()
232 if (done != batchSize) { in compress()
234 __FUNCTION__, done, batchSize, mCompressStruct.next_scanline, in compress()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp806 size_t batchSize = mBatchSize.load(); in getBufferLockedCommon() local
807 if (batchSize == 1) { in getBufferLockedCommon()
818 if (batchSize > remainingBuffers) { in getBufferLockedCommon()
819 batchSize = remainingBuffers; in getBufferLockedCommon()
824 batchedBuffers.resize(batchSize); in getBufferLockedCommon()
1306 status_t Camera3OutputStream::setBatchSize(size_t batchSize) { in setBatchSize() argument
1308 if (batchSize == 0) { in setBatchSize()
1323 if (camera_stream::max_buffers < batchSize) { in setBatchSize()
1326 batchSize = camera_stream::max_buffers; in setBatchSize()
1330 if (!mBatchSize.compare_exchange_strong(defaultBatchSize, batchSize)) { in setBatchSize()
[all …]
DCamera3OutputStreamInterface.h110 virtual status_t setBatchSize(size_t batchSize = 1) = 0;
DCamera3FakeStream.h101 virtual status_t setBatchSize(size_t batchSize) override;
DCamera3OutputStream.h254 virtual status_t setBatchSize(size_t batchSize = 1) override;
DCamera3Device.cpp3376 size_t batchSize = mNextRequests.size(); in sendRequestsBatch() local
3377 std::vector<camera_capture_request_t*> requests(batchSize); in sendRequestsBatch()
3379 for (size_t i = 0; i < batchSize; i++) { in sendRequestsBatch()
4480 const size_t batchSize = nextRequest.captureRequest->mBatchSize; in waitForNextRequestBatch() local
4482 for (size_t i = 1; i < batchSize; i++) { in waitForNextRequestBatch()
4494 if (mNextRequests.size() < batchSize) { in waitForNextRequestBatch()
4496 mNextRequests.size(), batchSize); in waitForNextRequestBatch()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp228 size_t batchSize = 1; in processEventsLocked() local
231 while (batchSize < count) { in processEventsLocked()
232 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT || in processEventsLocked()
233 rawEvent[batchSize].deviceId != deviceId) { in processEventsLocked()
236 batchSize += 1; in processEventsLocked()
239 ALOGD("BatchSize: %zu Count: %zu", batchSize, count); in processEventsLocked()
241 out += processEventsForDeviceLocked(deviceId, rawEvent, batchSize); in processEventsLocked()
258 count -= batchSize; in processEventsLocked()
259 rawEvent += batchSize; in processEventsLocked()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3Device.cpp1227 size_t batchSize = requests.size(); in processBatchCaptureRequests() local
1228 if (batchSize > INT_MAX) { in processBatchCaptureRequests()
1230 batchSize); in processBatchCaptureRequests()
1233 captureRequests.resize(batchSize); in processBatchCaptureRequests()
1238 for (size_t i = 0; i < batchSize; i++) { in processBatchCaptureRequests()
1264 for (size_t i = 0; i < batchSize; i++) { in processBatchCaptureRequests()
1339 if (res == OK && *numRequestProcessed == batchSize) { in processBatchCaptureRequests()
1646 int batchSize = requestList->size(); in applyMaxBatchSizeLocked() local
1649 (*requestList->begin())->mBatchSize = batchSize; in applyMaxBatchSizeLocked()
1650 stream->setBatchSize(batchSize); in applyMaxBatchSizeLocked()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.cpp708 int batchSize = requestList->size(); in applyMaxBatchSizeLocked() local
710 (*requestList->begin())->mBatchSize = batchSize; in applyMaxBatchSizeLocked()
711 stream->setBatchSize(batchSize); in applyMaxBatchSizeLocked()
1517 size_t batchSize = requests.size(); in processBatchCaptureRequests() local
1519 captureRequests_3_7.resize(batchSize); in processBatchCaptureRequests()
1521 captureRequests_3_4.resize(batchSize); in processBatchCaptureRequests()
1523 captureRequests.resize(batchSize); in processBatchCaptureRequests()
1529 for (size_t i = 0; i < batchSize; i++) { in processBatchCaptureRequests()
1563 for (size_t i = 0; i < batchSize; i++) { in processBatchCaptureRequests()
1657 if (status == common::V1_0::Status::OK && *numRequestProcessed != batchSize) { in processBatchCaptureRequests()
[all …]
/frameworks/base/native/android/
Dperformance_hint.cpp132 void traceBatchSize(size_t batchSize);
438 void APerformanceHintSession::traceBatchSize(size_t batchSize) { in traceBatchSize() argument
440 ATrace_setCounter((mSessionName + " batch size").c_str(), batchSize); in traceBatchSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DNotifCollectionLogger.kt77 fun logNotifGroupPosted(groupKey: String, batchSize: Int) { in logNotifGroupPosted()
80 int1 = batchSize in logNotifGroupPosted()
/frameworks/base/core/java/android/os/
DBinder.java1557 final int batchSize, final float threshold, in setHeavyHitterWatcherConfig() argument
1560 + enabled + ", " + batchSize + ", " + threshold); in setHeavyHitterWatcherConfig()
1571 watcher.setConfig(true, batchSize, threshold, listener); in setHeavyHitterWatcherConfig()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/
DFakeGnssHal.java289 public void setBatchSize(int batchSize) { in setBatchSize() argument
290 mBatchSize = batchSize; in setBatchSize()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssLocationProvider.java1316 long batchSize = batchLengthMs / mFixInterval; in startBatching() local
1324 if (batchSize < getBatchSize()) { in startBatching()