Searched refs:collection (Results 1 – 10 of 10) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 51 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/ |
D | CertBlacklistTest.java | 92 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/ |
D | TimeUtilsTest.java | 186 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/ |
D | IntFlagMappingTest.java | 96 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/ |
D | MediaStorageTest.java | 189 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/ |
D | AssertHelpers.java | 211 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/ |
D | AuthorizationList.java | 387 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/ |
D | ConnectivityManagerTest.java | 389 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/ |
D | README | 86 A complete collection of reference images for a given API revision must include
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityMetricsLoggerTests.java | 68 import org.hamcrest.collection.IsIn;
|