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.java783 Object expectedValue = expectedArguments[i + 1]; in assertDataRow() local
784 if (expectedValue instanceof Uri) { in assertDataRow()
785 expectedValue = ContentUris.parseId((Uri) expectedValue); in assertDataRow()
787 if (expectedValue == null) { in assertDataRow()
790 if (expectedValue instanceof Long) { in assertDataRow()
792 expectedValue, actual.getAsLong(columnName)); in assertDataRow()
793 } else if (expectedValue instanceof Integer) { in assertDataRow()
795 expectedValue, actual.getAsInteger(columnName)); in assertDataRow()
796 } else if (expectedValue instanceof String) { in assertDataRow()
798 expectedValue, actual.getAsString(columnName)); in assertDataRow()
[all …]
DContactsProvider2Test.java6337 private void assertVisibility(long rawContactId, String expectedValue) { in assertVisibility() argument
6339 null, Contacts.IN_VISIBLE_GROUP, expectedValue); in assertVisibility()
8131 boolean defaultValue, boolean expectedValue) { in assertBooleanUriParameter() argument
8132 assertEquals(expectedValue, ContactsProvider2.readBooleanQueryParameter( in assertBooleanUriParameter()
9758 private void assertQueryParameter(String uriString, String parameter, String expectedValue) { in assertQueryParameter() argument
9759 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.java309 private boolean waitForProvisionResponse(int expectedValue) { in waitForProvisionResponse() argument
312 if (mLastReceiverResultCode == expectedValue) { in waitForProvisionResponse()
319 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.java2800 private void enforceDragParity(String event, int update, int expectedValue) {
2801 enforceDragParity(this, event, update, expectedValue);
2803 enforceDragParity(getChildAt(i), event, update, expectedValue);
2807 private void enforceDragParity(View v, String event, int update, int expectedValue) {
2813 if (value != expectedValue) {