/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 297 private static void verifyStringColumn(Cursor cursor, ContentValues expectedValues, in verifyStringColumn() argument 299 if (expectedValues.containsKey(columnName)) { in verifyStringColumn() 300 assertEquals(expectedValues.getAsString(columnName), in verifyStringColumn() 305 private static void verifyIntegerColumn(Cursor cursor, ContentValues expectedValues, in verifyIntegerColumn() argument 307 if (expectedValues.containsKey(columnName)) { in verifyIntegerColumn() 308 assertEquals(expectedValues.getAsInteger(columnName).intValue(), in verifyIntegerColumn() 313 private static void verifyLongColumn(Cursor cursor, ContentValues expectedValues, in verifyLongColumn() argument 315 if (expectedValues.containsKey(columnName)) { in verifyLongColumn() 316 assertEquals(expectedValues.getAsLong(columnName).longValue(), in verifyLongColumn() 321 private static void verifyBlobColumn(Cursor cursor, ContentValues expectedValues, in verifyBlobColumn() argument [all …]
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 146 ContentValues... expectedValues) { in assertStoredValuesInUriMatchExactly() argument 147 … assertStoredValuesInUriMatchExactly(resolver, uri, null, null, null, null, false, expectedValues); in assertStoredValuesInUriMatchExactly() 168 boolean inOrder, ContentValues... expectedValues) { in assertStoredValuesInUriMatchExactly() argument 172 assertCursorValuesMatchExactlyInOrder(cursor, expectedValues); in assertStoredValuesInUriMatchExactly() 174 assertCursorValuesMatchExactly(cursor, expectedValues); in assertStoredValuesInUriMatchExactly() 191 ContentValues... expectedValues) { in assertCursorValuesMatchExactly() argument 193 expectedValues.length, cursor.getCount()); in assertCursorValuesMatchExactly() 199 for (ContentValues v : expectedValues) { in assertCursorValuesMatchExactly() 225 ContentValues... expectedValues) { in assertCursorValuesMatchExactlyInOrder() argument 227 expectedValues.length, cursor.getCount()); in assertCursorValuesMatchExactlyInOrder() [all …]
|
D | ContactsContract_DataUsageTest.java | 121 private void assertDataUsageEquals(long[] dataIds, int... expectedValues) { in assertDataUsageEquals() argument 122 if (dataIds.length != expectedValues.length) { in assertDataUsageEquals() 127 assertDataUsageEquals(dataIds[i], expectedValues[i]); in assertDataUsageEquals()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | TrustAgentInfoTest.java | 158 Set<String> expectedValues = new HashSet<>(); in assertPersistableBundleListEquals() local 161 expectedValues.add(BUNDLE_CHILD_VALUE); in assertPersistableBundleListEquals() 164 expectedValues.add(BUNDLE_PARENT_VALUE); in assertPersistableBundleListEquals() 167 expectedValues.add(BUNDLE_PARENT_VALUE); in assertPersistableBundleListEquals() 168 expectedValues.add(BUNDLE_CHILD_VALUE); in assertPersistableBundleListEquals() 176 MoreAsserts.assertEquals(expectedValues, actualValues); in assertPersistableBundleListEquals()
|
/cts/tests/mediapc/common/src/android/mediapc/cts/common/ |
D | RequiredMeasurement.java | 55 public abstract ImmutableMap<Integer, T> expectedValues(); in expectedValues() method in RequiredMeasurement 87 if (!this.expectedValues().containsKey(mediaPerformanceClass)) { in meetsPerformanceClass() 90 this.expectedValues().get(mediaPerformanceClass))) { in meetsPerformanceClass() 102 for (Integer pc: this.expectedValues().keySet()) { in getPerformanceClass() 114 + "\n\tExpected Values: " + this.expectedValues(); in toString()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | MeanLargerThanVerification.java | 82 float[] expectedValues = new float[] {0.0f, 0.0f, 0.0f}; in getDefault() local 84 return new MeanLargerThanVerification(expectedValues, thresholds); in getDefault()
|
D | MeanVerification.java | 366 private ExpectedValuesAndThresholds(float[] expectedValues, in ExpectedValuesAndThresholds() argument 369 mExpectedValues = expectedValues; in ExpectedValuesAndThresholds()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/vibrator/ |
D | VibratorStatsTests.java | 158 private void assertValuesOccurredInOrder(List<Integer> expectedValues, in assertValuesOccurredInOrder() argument 162 expectedValues.stream().map(Arrays::asList).map(HashSet::new).collect(toList()), in assertValuesOccurredInOrder()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StorageOwnedFilesTest.java | 105 Set<File> expectedValues = Set.of(IMAGE_FILE_1, IMAGE_FILE_2_METADATA, VIDEO_FILE_1); in owned_listOwnership() local 108 assertFileAccess_listFiles(IMAGE_FILE_1.getParentFile(), expectedValues, notExpected); in owned_listOwnership() local 110 assertResolver_listFiles(Environment.DIRECTORY_DCIM, expectedValues, notExpected, in owned_listOwnership()
|
D | StorageOtherFilesTest.java | 131 Set<File> expectedValues = Set.of(IMAGE_FILE_READABLE, VIDEO_FILE_READABLE); in other_listMediaFiles() local 135 IMAGE_FILE_READABLE.getParentFile(), expectedValues, notExpected); in other_listMediaFiles() local 138 Environment.DIRECTORY_DCIM, expectedValues, notExpected, sContentResolver); in other_listMediaFiles()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeImageTransformTest.java | 251 float[] expectedValues = new float[9]; in verifyMatrixMatches() local 252 expected.getValues(expectedValues); in verifyMatrixMatches() 258 final float expectedValue = expectedValues[i]; in verifyMatrixMatches()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationSetTest.java | 358 final float[] expectedValues = new float[9]; in assertTransformationEquals() local 360 expected.getMatrix().getValues(expectedValues); in assertTransformationEquals() 362 for (int i = 0; i < expectedValues.length; i++) { in assertTransformationEquals() 363 assertEquals(expectedValues[i], actualValues[i], DELTA); in assertTransformationEquals()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 371 List<T> expectedValues, int numResultsWait) { in waitForAnyResultValue() argument 372 CameraTestUtils.waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, in waitForAnyResultValue()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | UidAtomTests.java | 612 List<Integer> expectedValues = Arrays.asList(47, 100); in testScreenBrightness() local 619 .filter(expectedValues::contains) in testScreenBrightness() 626 assertThat(data).containsExactlyElementsIn(expectedValues).inOrder(); in testScreenBrightness()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 577 const float expectedValues[] = { x * 11.f, y * 12.f, z * 13.f, 14.f, 583 EXPECT(row, col, rsMatrixGet(&m4, col, row), expectedValues[row * 4 + col]); 584 EXPECT(row, col, rsMatrixGet(&m4s, col, row), expectedValues[row * 4 + col]);
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 4172 CaptureResult.Key<T> resultKey, List<T> expectedValues, int numResultsWait, in waitForAnyResultValue() argument 4174 if (numResultsWait < 0 || listener == null || expectedValues == null) { in waitForAnyResultValue() 4185 for ( T expectedValue : expectedValues) { in waitForAnyResultValue() 4197 "Unable to get the expected result value " + expectedValues + " for key " + in waitForAnyResultValue() 4219 List<T> expectedValues = new ArrayList<T>(); in waitForResultValue() local 4220 expectedValues.add(expectedValue); in waitForResultValue() 4221 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait, timeout); in waitForResultValue()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigTest.java | 98 final int[] styleable, final String[] expectedValues) { in checkValue() argument 104 + expectedValues[i] + "', got '" + actual + "' from attr " in checkValue() 106 expectedValues[i], actual); in checkValue()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionSessionTest.java | 2039 Integer expectedValues[] = { in onCaptureResultAvailable() local 2045 + currentType, expectedValues, currentType); in onCaptureResultAvailable()
|