/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 | 185 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/ |
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 | 355 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/ |
D | ActivityMetricsLoggerTests.java | 68 import org.hamcrest.collection.IsIn;
|
/cts/hostsidetests/theme/ |
D | README | 86 A complete collection of reference images for a given API revision must include
|
/cts/tools/dasm/src/java_cup/ |
D | parser.cup | 45 Terminals, non terminals, and productions, are maintained as collection
|