Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java51 Collection<TValue> collection, float lowPecentile, float highPercentile) { in getPercentileValue() argument
52 validateCollection(collection); in getPercentileValue()
58 List<TValue> arrayCopy = new ArrayList<TValue>(collection); in getPercentileValue()
82 public static <TValue extends Number> double getMean(Collection<TValue> collection) { in getMean() argument
83 validateCollection(collection); in getMean()
86 for(TValue value : collection) { in getMean()
89 return sum / collection.size(); in getMean()
97 public static <TValue extends Number> double getVariance(Collection<TValue> collection) { in getVariance() argument
98 validateCollection(collection); in getVariance()
100 double mean = getMean(collection); in getVariance()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DCertBlacklistTest.java92 Collection<? extends Certificate> collection = factory.generateCertificates(is); in loadCertificates() local
93 X509Certificate[] certs = new X509Certificate[collection.size()]; in loadCertificates()
95 for (Certificate cert : collection) { in loadCertificates()
/cts/tests/tests/util/src/android/util/cts/
DTimeUtilsTest.java186 private static <T> void assertCollectionContains(Collection<? super T> collection, T value) { in assertCollectionContains() argument
187 assertTrue(collection + " should contain " + value, collection.contains(value)); in assertCollectionContains()
/cts/tests/tests/view/src/android/view/inspector/cts/
DIntFlagMappingTest.java96 private static void assertEmpty(Collection collection) { in assertEmpty() argument
97 assertTrue(collection.isEmpty()); in assertEmpty()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java185 private void doMediaNone(Uri collection, Callable<Uri> create) throws Exception { in doMediaNone() argument
194 try (Cursor c = mContentResolver.query(collection, in doMediaNone()
223 private void doMediaRead(Uri collection, Callable<Uri> create) throws Exception { in doMediaRead() argument
231 try (Cursor c = mContentResolver.query(collection, in doMediaRead()
258 private void doMediaWrite(Uri collection, Callable<Uri> create) throws Exception { in doMediaWrite() argument
266 try (Cursor c = mContentResolver.query(collection, in doMediaWrite()
/cts/tests/camera/utils/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/tests/security/src/android/keystore/cts/
DAuthorizationList.java387 private static String joinStrings(Collection<String> collection) { in joinStrings() argument
390 .append(Joiner.on(", ").join(collection)) in joinStrings()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java355 private static<T> void assertContains(Collection<T> collection, T element) { in assertContains() argument
356 assertTrue(element + " not found in " + collection, collection.contains(element)); in assertContains()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityMetricsLoggerTests.java68 import org.hamcrest.collection.IsIn;
/cts/hostsidetests/theme/
DREADME86 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