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()
1019 final List<Integer> counts = new ArrayList<>(colorCount.values()); in assertFourQuadrants() local1020 Collections.sort(counts); in assertFourQuadrants()1023 for (int i = counts.size() - expectedQuadrants; i < counts.size(); ++i) { in assertFourQuadrants()1024 quadrantsTotal += counts.get(i); in assertFourQuadrants()1028 for (int i = counts.size() - expectedQuadrants; i < counts.size(); ++i) { in assertFourQuadrants()1030 * Math.abs(expectedQuadrants * counts.get(i) - quadrantsTotal) / quadrantsTotal; in assertFourQuadrants()
274 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(RESIZEABLE_ACTIVITY); in testExternalDisplayActivityTurnPrimaryOff() local275 if (!Condition.waitFor(counts.countWithRetry(RESIZEABLE_ACTIVITY + " to be stopped", in testExternalDisplayActivityTurnPrimaryOff()278 + counts.getCount(ActivityCallback.ON_STOP) in testExternalDisplayActivityTurnPrimaryOff()
2239 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(activityName);2240 Condition.waitFor(counts.countWithRetry("waitForOnMultiWindowModeChanged", countSpec(2242 return counts;