Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java775 Object expectedValue = expectedArguments[i + 1]; in assertDataRow() local
776 if (expectedValue instanceof Uri) { in assertDataRow()
777 expectedValue = ContentUris.parseId((Uri) expectedValue); in assertDataRow()
779 if (expectedValue == null) { in assertDataRow()
782 if (expectedValue instanceof Long) { in assertDataRow()
784 expectedValue, actual.getAsLong(columnName)); in assertDataRow()
785 } else if (expectedValue instanceof Integer) { in assertDataRow()
787 expectedValue, actual.getAsInteger(columnName)); in assertDataRow()
788 } else if (expectedValue instanceof String) { in assertDataRow()
790 expectedValue, actual.getAsString(columnName)); in assertDataRow()
[all …]
DContactsProvider2Test.java6245 private void assertVisibility(long rawContactId, String expectedValue) { in assertVisibility() argument
6247 null, Contacts.IN_VISIBLE_GROUP, expectedValue); in assertVisibility()
8025 boolean defaultValue, boolean expectedValue) { in assertBooleanUriParameter() argument
8026 assertEquals(expectedValue, ContactsProvider2.readBooleanQueryParameter( in assertBooleanUriParameter()
9627 private void assertQueryParameter(String uriString, String parameter, String expectedValue) { in assertQueryParameter() argument
9628 assertEquals(expectedValue, ContactsProvider2.getQueryParameter( in assertQueryParameter()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java304 final String[] moreKeys, final String[] expected, final boolean expectedValue) { in assertGetBooleanValue() argument
307 assertEquals(message + " [value]", expectedValue, actualValue); in assertGetBooleanValue()
344 final int expectedValue) { in assertGetIntValue() argument
347 assertEquals(message + " [value]", expectedValue, actualValue); in assertGetIntValue()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DTetherServiceTest.java249 private boolean waitForProvisionResponse(int expectedValue) { in waitForProvisionResponse() argument
252 if (mLastReceiverResultCode == expectedValue) { in waitForProvisionResponse()
259 expectedValue, mLastReceiverResultCode)); in waitForProvisionResponse()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DParentalControlsTest.java84 boolean expectedValue) { in assertRatingViewIsChecked() argument
93 assertEquals("The rating for age " + selectedAge + " isBlocked ", expectedValue, in assertRatingViewIsChecked()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java3038 private void enfoceDragParity(String event, int update, int expectedValue) {
3039 enfoceDragParity(this, event, update, expectedValue);
3041 enfoceDragParity(getChildAt(i), event, update, expectedValue);
3045 private void enfoceDragParity(View v, String event, int update, int expectedValue) {
3051 if (value != expectedValue) {