Searched refs:expectedValue (Results 1 - 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java783 Object expectedValue = expectedArguments[i + 1];
784 if (expectedValue instanceof Uri) {
785 expectedValue = ContentUris.parseId((Uri) expectedValue);
787 if (expectedValue == null) {
790 if (expectedValue instanceof Long) {
792 expectedValue, actual.getAsLong(columnName));
793 } else if (expectedValue instanceof Integer) {
795 expectedValue, actual.getAsInteger(columnName));
796 } else if (expectedValue instanceo
895 assertStoredValue(Uri contentUri, long id, String column, Object expectedValue) argument
899 assertStoredValue(Uri rowUri, String column, Object expectedValue) argument
908 assertStoredValue(Uri rowUri, String selection, String[] selectionArgs, String column, Object expectedValue) argument
1114 assertCursorValue(Cursor cursor, String column, Object expectedValue) argument
[all...]
H A DContactsProvider2Test.java6344 private void assertVisibility(long rawContactId, String expectedValue) { argument
6346 null, Contacts.IN_VISIBLE_GROUP, expectedValue);
8167 boolean defaultValue, boolean expectedValue) {
8168 assertEquals(expectedValue, ContactsProvider2.readBooleanQueryParameter(
9794 private void assertQueryParameter(String uriString, String parameter, String expectedValue) { argument
9795 assertEquals(expectedValue, ContactsProvider2.getQueryParameter(
8166 assertBooleanUriParameter(String uriString, String parameter, boolean defaultValue, boolean expectedValue) argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpecTests.java304 final String[] moreKeys, final String[] expected, final boolean expectedValue) {
307 assertEquals(message + " [value]", expectedValue, actualValue);
344 final int expectedValue) {
347 assertEquals(message + " [value]", expectedValue, actualValue);
303 assertGetBooleanValue(final String message, final String key, final String[] moreKeys, final String[] expected, final boolean expectedValue) argument
342 assertGetIntValue(final String message, final String key, final int defaultValue, final String[] moreKeys, final String[] expected, final int expectedValue) argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
H A DLocationPreferenceControllerTest.java183 int expectedValue = Secure.LOCATION_MODE_BATTERY_SAVING;
185 Settings.Secure.putInt(resolver, Secure.LOCATION_MODE, expectedValue);
189 assertThat(newValue).isEqualTo(expectedValue);
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
H A DParentalControlsTest.java103 int minAge, int maxAge, int selectedAge, boolean expectedValue) {
118 expectedValue,
102 assertRatingViewIsChecked( int minAge, int maxAge, int selectedAge, boolean expectedValue) argument
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
H A DTetherServiceTest.java305 private boolean waitForProvisionResponse(int expectedValue) { argument
308 if (mLastReceiverResultCode == expectedValue) {
315 expectedValue, mLastReceiverResultCode));
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java2098 private void enforceDragParity(String event, int update, int expectedValue) { argument
2099 enforceDragParity(this, event, update, expectedValue);
2101 enforceDragParity(getChildAt(i), event, update, expectedValue);
2105 private void enforceDragParity(View v, String event, int update, int expectedValue) { argument
2111 if (value != expectedValue) {

Completed in 274 milliseconds