Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java269 private static void verifyStringColumn(Cursor cursor, ContentValues expectedValues, in verifyStringColumn() argument
271 if (expectedValues.containsKey(columnName)) { in verifyStringColumn()
272 assertEquals(expectedValues.getAsString(columnName), in verifyStringColumn()
277 private static void verifyIntegerColumn(Cursor cursor, ContentValues expectedValues, in verifyIntegerColumn() argument
279 if (expectedValues.containsKey(columnName)) { in verifyIntegerColumn()
280 assertEquals(expectedValues.getAsInteger(columnName).intValue(), in verifyIntegerColumn()
285 private static void verifyLongColumn(Cursor cursor, ContentValues expectedValues, in verifyLongColumn() argument
287 if (expectedValues.containsKey(columnName)) { in verifyLongColumn()
288 assertEquals(expectedValues.getAsLong(columnName).longValue(), in verifyLongColumn()
293 private static void verifyBlobColumn(Cursor cursor, ContentValues expectedValues, in verifyBlobColumn() argument
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java146 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 …]
DContactsContract_DataUsageTest.java165 private void assertDataUsageEquals(long[] dataIds, int... expectedValues) { in assertDataUsageEquals() argument
166 if (dataIds.length != expectedValues.length) { in assertDataUsageEquals()
171 assertDataUsageEquals(dataIds[i], expectedValues[i]); in assertDataUsageEquals()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTrustAgentInfoTest.java158 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/sensor/src/android/hardware/cts/helpers/sensorverification/
DMeanVerification.java193 private ExpectedValuesAndThresholds(float[] expectedValues, in ExpectedValuesAndThresholds() argument
196 mExpectedValues = expectedValues; in ExpectedValuesAndThresholds()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java336 List<T> expectedValues = new ArrayList<T>(); in waitForResultValue() local
337 expectedValues.add(expectedValue); in waitForResultValue()
338 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait); in waitForResultValue()
359 List<T> expectedValues, int numResultsWait) { in waitForAnyResultValue() argument
360 if (numResultsWait < 0 || listener == null || expectedValues == null) { in waitForAnyResultValue()
371 for ( T expectedValue : expectedValues) { in waitForAnyResultValue()
383 "Unable to get the expected result value " + expectedValues + " for key " + in waitForAnyResultValue()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java218 float[] expectedValues = new float[9]; in verifyMatrixMatches() local
219 expected.getValues(expectedValues); in verifyMatrixMatches()
225 final float expectedValue = expectedValues[i]; in verifyMatrixMatches()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationSetTest.java346 final float[] expectedValues = new float[9]; in assertTransformationEquals() local
348 expected.getMatrix().getValues(expectedValues); in assertTransformationEquals()
350 for (int i = 0; i < expectedValues.length; i++) { in assertTransformationEquals()
351 assertEquals(expectedValues[i], actualValues[i], DELTA); in assertTransformationEquals()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rs577 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/tests/content/src/android/content/res/cts/
DConfigTest.java76 final int[] styleable, final String[] expectedValues) { in checkValue() argument
82 + expectedValues[i] + "', got '" + actual + "' from attr " in checkValue()
84 actual, expectedValues[i]); in checkValue()
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...