Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DPreconditions.java61 String expectedName, T expectedValue) { in checkEquals() argument
62 if (!Objects.equals(arg, expectedValue)) { in checkEquals()
66 argName, expectedName, arg, expectedValue)); in checkEquals()
DCameraErrorCollector.java583 int expectedValue, float errorPercent) { in expectSimilarValues() argument
586 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ; in expectSimilarValues()
588 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ; in expectSimilarValues()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java247 Object expectedValue = expectedValues.get(column); in equalsWithExpectedValues() local
249 expectedValue = expectedValues.getAsString(column); in equalsWithExpectedValues()
251 if (expectedValue != null && !expectedValue.equals(value) || value != null in equalsWithExpectedValues()
252 && !value.equals(expectedValue)) { in equalsWithExpectedValues()
257 .append(expectedValue) in equalsWithExpectedValues()
/cts/tests/tests/content/src/android/content/res/cts/
DResourcesTest.java137 final String expectedValue) { in checkGetText1() argument
141 expectedValue); in checkGetText1()
142 assertEquals("Returned wrong configuration-based simple value: expected " + expectedValue in checkGetText1()
144 expectedValue, actual); in checkGetText1()
148 final String expectedValue) { in checkGetText2() argument
152 expectedValue); in checkGetText2()
153 assertEquals("Returned wrong configuration-based simple value: expected " + expectedValue in checkGetText2()
155 expectedValue, actual); in checkGetText2()
DConfigTest.java59 final String expectedValue) { in checkValue() argument
64 expectedValue); in checkValue()
66 + expectedValue + "', got '" + actual + "' from resource 0x" in checkValue()
67 + Integer.toHexString(resId), expectedValue, actual); in checkValue()
70 + expectedValue + "\"", expectedValue); in checkValue()
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_DataUsageTest.java139 private void assertDataUsageEquals(long dataId, int expectedValue) { in assertDataUsageEquals() argument
149 assertEquals(expectedValue, actual); in assertDataUsageEquals()
DMediaStore_FilesTest.java517 private void assertStringColumn(Uri fileUri, String columnName, String expectedValue) { in assertStringColumn() argument
522 assertEquals(expectedValue, cursor.getString(index)); in assertStringColumn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java306 final float expectedValue = 1.0f; in verifyStepDetectorMeasurements() local
309 getString(R.string.snsr_event_value, expectedValue, value0, sensorName); in verifyStepDetectorMeasurements()
310 Assert.assertEquals(eventValueMessage, expectedValue, value0); in verifyStepDetectorMeasurements()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DBNNMTest.java91 byte expectedValue = c_byte[i]; in testWithTolerance()
93 int delta = (expectedValue - actualValue); in testWithTolerance()
103 ": expected " + (expectedValue & 0xff) + in testWithTolerance()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java305 T expectedValue, int numResultsWait) { in waitForResultValue() argument
307 expectedValues.add(expectedValue); in waitForResultValue()
341 for ( T expectedValue : expectedValues) { in waitForAnyResultValue()
346 if (value.equals(expectedValue)) { in waitForAnyResultValue()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java404 final CharSequence expectedValue = targetContext.getString(valueResId); in checkViewTag() local
405 assertEquals(tagId + " has tag " + expectedValue, expectedValue, tag); in checkViewTag()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java60 int expectedValue = (mCleartextTrafficExpectedToBePermitted) in testApplicationInfoFlag() local
62 assertEquals(expectedValue, appInfo.flags & ApplicationInfo.FLAG_USES_CLEARTEXT_TRAFFIC); in testApplicationInfoFlag()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java345 int expectedValue = ((i >= indexToDelete) ? (i + 1) : i) * 10;
346 assertEquals(expectedValue, set.valueAt(i).intValue());
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1496 for (int expectedValue : expected) { in assertOneOf()
1497 if (actual == expectedValue) { in assertOneOf()