Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DUSBDeviceInfoHelper.java35 int[] counts = deviceInfo.getChannelCounts(); in calcMaxChannelCount() local
36 for (int chanCount : counts) { in calcMaxChannelCount()
DAudioStringsHelper.java85 static public String buildChannelCountsStr(int counts[]) { in buildChannelCountsStr() argument
86 return makeIntList(counts); in buildChannelCountsStr()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_ContactCountsTest.java89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in testContactCounts_correctCountsReturned() local
90 assertTrue(Arrays.equals(expectedCounts, counts)); in testContactCounts_correctCountsReturned()
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java1009 final List<Integer> counts = new ArrayList<>(colorCount.values()); in assertFourQuadrants() local
1010 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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayPolicyTests.java267 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(RESIZEABLE_ACTIVITY); in testExternalDisplayActivityTurnPrimaryOff() local
268 if (!Condition.waitFor(counts.countWithRetry(RESIZEABLE_ACTIVITY + " to be stopped", in testExternalDisplayActivityTurnPrimaryOff()
271 + counts.getCount(ActivityCallback.ON_STOP) in testExternalDisplayActivityTurnPrimaryOff()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2133 final ActivityLifecycleCounts counts = new ActivityLifecycleCounts(activityName);
2134 Condition.waitFor(counts.countWithRetry("waitForOnMultiWindowModeChanged", countSpec(
2136 return counts;