/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | Preconditions.java | 61 String expectedName, T expectedValue) { in checkEquals() argument 62 if (!Objects.equals(arg, expectedValue)) { in checkEquals() 66 argName, expectedName, arg, expectedValue)); in checkEquals()
|
D | CameraErrorCollector.java | 583 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/ |
D | DatabaseAsserts.java | 247 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/ |
D | ResourcesTest.java | 137 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()
|
D | ConfigTest.java | 59 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/ |
D | ContactsContract_DataUsageTest.java | 139 private void assertDataUsageEquals(long dataId, int expectedValue) { in assertDataUsageEquals() argument 149 assertEquals(expectedValue, actual); in assertDataUsageEquals()
|
D | MediaStore_FilesTest.java | 517 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/ |
D | StepCounterTestActivity.java | 306 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/ |
D | BNNMTest.java | 91 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/ |
D | Camera2SurfaceViewTestCase.java | 305 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/ |
D | LayoutInflaterTest.java | 404 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/ |
D | NetworkSecurityPolicyTestBase.java | 60 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/ |
D | ArraySetTest.java | 345 int expectedValue = ((i >= indexToDelete) ? (i + 1) : i) * 10; 346 assertEquals(expectedValue, set.valueAt(i).intValue());
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 1496 for (int expectedValue : expected) { in assertOneOf() 1497 if (actual == expectedValue) { in assertOneOf()
|