Home
last modified time | relevance | path

Searched refs:collection (Results 1 – 7 of 7) sorted by relevance

/cts/libs/commonutil/src/com/android/cts/util/
DStatisticsUtils.java42 Collection<TValue> collection) { in get95PercentileValue() argument
43 validateCollection(collection); in get95PercentileValue()
45 List<TValue> arrayCopy = new ArrayList<TValue>(collection); in get95PercentileValue()
59 public static <TValue extends Number> double getMean(Collection<TValue> collection) { in getMean() argument
60 validateCollection(collection); in getMean()
63 for(TValue value : collection) { in getMean()
66 return sum / collection.size(); in getMean()
74 public static <TValue extends Number> double getVariance(Collection<TValue> collection) { in getVariance() argument
75 validateCollection(collection); in getVariance()
77 double mean = getMean(collection); in getVariance()
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java46 Collection<TValue> collection) { in get95PercentileValue() argument
47 validateCollection(collection); in get95PercentileValue()
49 List<TValue> arrayCopy = new ArrayList<TValue>(collection); in get95PercentileValue()
63 public static <TValue extends Number> double getMean(Collection<TValue> collection) { in getMean() argument
64 validateCollection(collection); in getMean()
67 for(TValue value : collection) { in getMean()
70 return sum / collection.size(); in getMean()
78 public static <TValue extends Number> double getVariance(Collection<TValue> collection) { in getVariance() argument
79 validateCollection(collection); in getVariance()
81 double mean = getMean(collection); in getVariance()
[all …]
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/
DCtsUiAutomatorTest.java534 UiCollection collection = new UiCollection( in testCollectionCount() local
536 assertTrue("Collection layout not found", collection.waitForExists(WAIT_EXIST_TIMEOUT)); in testCollectionCount()
539 collection.getChildCount(new UiSelector().clickable(true)) == 6); in testCollectionCount()
550 UiCollection collection = new UiCollection( in testCollectionGetChildByText() local
552 assertTrue("Collection layout not found", collection.waitForExists(WAIT_EXIST_TIMEOUT)); in testCollectionGetChildByText()
554 UiObject item = collection.getChildByText( in testCollectionGetChildByText()
568 UiCollection collection = new UiCollection( in testCollectionGetChildByInstance() local
570 assertTrue("Collection layout not found", collection.waitForExists(WAIT_EXIST_TIMEOUT)); in testCollectionGetChildByInstance()
573 UiObject item = collection.getChildByInstance( in testCollectionGetChildByInstance()
587 UiCollection collection = new UiCollection( in testCollectionGetChildByDescription() local
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DAssertHelpers.java211 private static <T> String formatCollection(Collection<T> collection, int maxLen) { in formatCollection() argument
216 for (T elem : collection) { in formatCollection()
/cts/hostsidetests/theme/
DREADME47 A complete collection of reference images for a given API revision must include
/cts/tools/dasm/src/java_cup/
Dparser.cup45 Terminals, non terminals, and productions, are maintained as collection
/cts/tools/dex-tools/dex/
Dclasses0.out.dex35137 private final java.util.Collection collection