Home
last modified time | relevance | path

Searched refs:queueSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DPriorityQueuePerfTest.java70 public void setUp(int queueSize, int hitRate) throws Exception { in setUp() argument
75 int numShared = (int) (queueSize * ((double) hitRate / 100)); in setUp()
77 int totalElements = 2 * queueSize - numShared; in setUp()
89 for (int i = numShared; i < queueSize; i++) { in setUp()
93 for (int i = queueSize; i < totalElements; i++) { in setUp()
104 public void timeRemove(int queueSize, int hitRate) throws Exception { in timeRemove() argument
105 setUp(queueSize, hitRate); in timeRemove()
109 int resizingThreshold = queueSize / 10; in timeRemove()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.cpp73 uint32_t queueSize; in waitOnInputConsumption() local
77 queueSize = mWorkQueue.size(); in waitOnInputConsumption()
79 while ((maxRetry < MAX_RETRY) && (queueSize < MAX_INPUT_BUFFERS)) { in waitOnInputConsumption()
81 if (queueSize != mWorkQueue.size()) { in waitOnInputConsumption()
82 queueSize = mWorkQueue.size(); in waitOnInputConsumption()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorFrameworkStatsLogger.java111 int queueSize; in writeVibrationReportedAsync() local
114 queueSize = mVibrationStatsQueue.size(); in writeVibrationReportedAsync()
115 needsScheduling = (queueSize == 0); in writeVibrationReportedAsync()
117 if (queueSize < mVibrationReportedQueueMaxSize) { in writeVibrationReportedAsync()
126 if ((queueSize + 1) == VIBRATION_REPORTED_WARNING_QUEUE_SIZE) { in writeVibrationReportedAsync()
/frameworks/base/core/java/com/android/internal/os/anr/
DAnrLatencyTracker.java160 public void anrRecordPlacingOnQueueWithSize(int queueSize) { in anrRecordPlacingOnQueueWithSize() argument
164 mAnrQueueSize = queueSize; in anrRecordPlacingOnQueueWithSize()
167 Trace.traceCounter(TRACE_TAG_ACTIVITY_MANAGER, "anrRecordsQueueSize", queueSize + 1); in anrRecordPlacingOnQueueWithSize()
408 public void anrRecordsQueueSizeWhenPopped(int queueSize) { in anrRecordsQueueSizeWhenPopped() argument
409 Trace.traceCounter(TRACE_TAG_ACTIVITY_MANAGER, "anrRecordsQueueSize", queueSize); in anrRecordsQueueSizeWhenPopped()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp112 uint32_t queueSize; in waitOnInputConsumption() local
116 queueSize = workQueue.size(); in waitOnInputConsumption()
118 while ((maxRetry < MAX_RETRY) && (queueSize < bufferCount)) { in waitOnInputConsumption()
120 if (queueSize != workQueue.size()) { in waitOnInputConsumption()
121 queueSize = workQueue.size(); in waitOnInputConsumption()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp515 uint32_t queueSize; in TEST_P() local
518 queueSize = mWorkQueue.size(); in TEST_P()
519 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp642 uint32_t queueSize; in TEST_P() local
645 queueSize = mWorkQueue.size(); in TEST_P()
646 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()