Home
last modified time | relevance | path

Searched refs:loopSize (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DAbstractVibratorStep.java171 int loopSize = effectSize - repeatIndex; in nextSteps() local
173 getVibration().stats.reportRepetition(loopSegmentsPlayed / loopSize); in nextSteps()
174 nextSegmentIndex = repeatIndex + ((nextSegmentIndex - effectSize) % loopSize); in nextSteps()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3235 final int loopSize = 20; in testConcurrencyReadWrite() local
3238 for (int i = 0; i < loopSize; i++) { in testConcurrencyReadWrite()
3269 for (int i = 0; i < loopSize; i++) { in testConcurrencyReadWrite()
3290 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyReadWrite()
3292 + (writeTotalTime.doubleValue() / loopSize)); in testConcurrencyReadWrite()
3311 final int loopSize = 20; in testConcurrencyRead() local
3314 for (int i = 0; i < loopSize; i++) { in testConcurrencyRead()
3346 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyRead()