Home
last modified time | relevance | path

Searched refs:collection (Results 1 – 10 of 10) 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.java189 private void doMediaNone(Uri collection, Callable<Uri> create) throws Exception { in doMediaNone() argument
198 try (Cursor c = mContentResolver.query(collection, in doMediaNone()
227 private void doMediaRead(Uri collection, Callable<Uri> create) throws Exception { in doMediaRead() argument
235 try (Cursor c = mContentResolver.query(collection, in doMediaRead()
262 private void doMediaWrite(Uri collection, Callable<Uri> create) throws Exception { in doMediaWrite() argument
270 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.java389 private static<T> void assertContains(Collection<T> collection, T element) { in assertContains() argument
390 assertTrue(element + " not found in " + collection, collection.contains(element)); in assertContains()
/cts/hostsidetests/theme/
DREADME86 A complete collection of reference images for a given API revision must include
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityMetricsLoggerTests.java68 import org.hamcrest.collection.IsIn;