Searched refs:queueSize (Results 1 – 7 of 7) sorted by relevance
70 public void setUp(int queueSize, int hitRate) throws Exception { in setUp() argument75 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() argument105 setUp(queueSize, hitRate); in timeRemove()109 int resizingThreshold = queueSize / 10; in timeRemove()
73 uint32_t queueSize; in waitOnInputConsumption() local77 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()
111 int queueSize; in writeVibrationReportedAsync() local114 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()
160 public void anrRecordPlacingOnQueueWithSize(int queueSize) { in anrRecordPlacingOnQueueWithSize() argument164 mAnrQueueSize = queueSize; in anrRecordPlacingOnQueueWithSize()167 Trace.traceCounter(TRACE_TAG_ACTIVITY_MANAGER, "anrRecordsQueueSize", queueSize + 1); in anrRecordPlacingOnQueueWithSize()408 public void anrRecordsQueueSizeWhenPopped(int queueSize) { in anrRecordsQueueSizeWhenPopped() argument409 Trace.traceCounter(TRACE_TAG_ACTIVITY_MANAGER, "anrRecordsQueueSize", queueSize); in anrRecordsQueueSizeWhenPopped()
112 uint32_t queueSize; in waitOnInputConsumption() local116 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()
515 uint32_t queueSize; in TEST_P() local518 queueSize = mWorkQueue.size(); in TEST_P()519 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()
642 uint32_t queueSize; in TEST_P() local645 queueSize = mWorkQueue.size(); in TEST_P()646 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()