Searched refs:counts (Results 1 – 6 of 6) sorted by relevance
35 int[] counts = deviceInfo.getChannelCounts(); in calcMaxChannelCount() local36 for (int chanCount : counts) { in calcMaxChannelCount()
85 static public String buildChannelCountsStr(int counts[]) { in buildChannelCountsStr() argument86 return makeIntList(counts); in buildChannelCountsStr()
89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in testContactCounts_correctCountsReturned() local90 assertTrue(Arrays.equals(expectedCounts, counts)); in testContactCounts_correctCountsReturned()
1009 final List<Integer> counts = new ArrayList<>(colorCount.values()); in assertFourQuadrants() local1010 Collections.sort(counts); in assertFourQuadrants()1013 for (int i = counts.size() - expectedQuadrants; i < counts.size(); ++i) { in assertFourQuadrants()1014 quadrantsTotal += counts.get(i); in assertFourQuadrants()1018 for (int i = counts.size() - expectedQuadrants; i < counts.size(); ++i) { in assertFourQuadrants()1020 * Math.abs(expectedQuadrants * counts.get(i) - quadrantsTotal) / quadrantsTotal; in assertFourQuadrants()
267 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(RESIZEABLE_ACTIVITY); in testExternalDisplayActivityTurnPrimaryOff() local268 if (!Condition.waitFor(counts.countWithRetry(RESIZEABLE_ACTIVITY + " to be stopped", in testExternalDisplayActivityTurnPrimaryOff()271 + counts.getCount(ActivityCallback.ON_STOP) in testExternalDisplayActivityTurnPrimaryOff()
2133 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(activityName);2134 Condition.waitFor(counts.countWithRetry("waitForOnMultiWindowModeChanged", countSpec(2136 return counts;