Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vibrator/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3346 final int loopSize = 20; in testConcurrencyReadWrite() local
3349 for (int i = 0; i < loopSize; i++) { in testConcurrencyReadWrite()
3380 for (int i = 0; i < loopSize; i++) { in testConcurrencyReadWrite()
3401 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyReadWrite()
3403 + (writeTotalTime.doubleValue() / loopSize)); in testConcurrencyReadWrite()
3422 final int loopSize = 20; in testConcurrencyRead() local
3425 for (int i = 0; i < loopSize; i++) { in testConcurrencyRead()
3457 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyRead()