Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 16 of 16) 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.java6241 private void assertVisibility(long rawContactId, String expectedValue) { in assertVisibility() argument
6243 null, Contacts.IN_VISIBLE_GROUP, expectedValue); in assertVisibility()
8155 boolean defaultValue, boolean expectedValue) { in assertBooleanUriParameter() argument
8156 assertEquals(expectedValue, ContactsProvider2.readBooleanQueryParameter( in assertBooleanUriParameter()
9757 private void assertQueryParameter(String uriString, String parameter, String expectedValue) { in assertQueryParameter() argument
9758 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/modules/ExtServices/tests/src/android/ext/services/autofill/
DEditDistanceScorerTest.java82 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
83 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
DCreditCardMatcherTest.java94 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
95 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
DExactMatchTest.java96 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
97 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DEnableContentCapturePreferenceControllerTest.java98 private void assertProperty(int expectedValue) throws SettingNotFoundException { in assertProperty() argument
101 .isEqualTo(expectedValue); in assertProperty()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java235 final Long expectedValue = 100L; in testLongProperty() local
239 expectedValue); in testLongProperty()
245 assertEquals(expectedValue, actualValue); in testLongProperty()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java256 Object[] expectedValue = {"MIXED property", false, 5, 4, 3.2f}; in testMixedTypeProperty() local
257 propertyManager.setProperty(Object[].class, MIXED_TYPE_PROPERTY, 0, expectedValue); in testMixedTypeProperty()
262 assertArrayEquals(expectedValue, result.getValue()); in testMixedTypeProperty()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DTetherServiceTest.java284 private boolean waitForProvisionResponse(int expectedValue) { in waitForProvisionResponse() argument
287 if (mLastReceiverResultCode == expectedValue) { in waitForProvisionResponse()
294 expectedValue, mLastReceiverResultCode)); in waitForProvisionResponse()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DParentalControlsTest.java103 int minAge, int maxAge, int selectedAge, boolean expectedValue) { in assertRatingViewIsChecked() argument
118 expectedValue, in assertRatingViewIsChecked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java158 String expectedValue = Integer.toString(DEFAULT_UNIT.getId()); in onCarServiceConnected_setsUnitBeingUsedAsPreferenceValue() local
160 assertThat(mPreference.getValue()).isEqualTo(expectedValue); in onCarServiceConnected_setsUnitBeingUsedAsPreferenceValue()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java1015 void testSetGetA2dpOptionalCodecsCase(int test, boolean stored, int value, int expectedValue) { in testSetGetA2dpOptionalCodecsCase() argument
1023 Assert.assertEquals(expectedValue, in testSetGetA2dpOptionalCodecsCase()
1027 Assert.assertEquals(expectedValue, in testSetGetA2dpOptionalCodecsCase()
1046 Assert.assertEquals(expectedValue, in testSetGetA2dpOptionalCodecsCase()
1049 Assert.assertEquals(expectedValue, in testSetGetA2dpOptionalCodecsCase()
/packages/apps/TV/libs/
Dtruth-0.45.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1987 private void enforceDragParity(String event, int update, int expectedValue) {
1988 enforceDragParity(this, event, update, expectedValue);
1990 enforceDragParity(getChildAt(i), event, update, expectedValue);
1994 private void enforceDragParity(View v, String event, int update, int expectedValue) {
2000 if (value != expectedValue) {
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DUserHalHelperTest.java1334 int expectedType, int expectedValue) { in assertAssociation() argument
1343 + UserIdentificationAssociationValue.toString(expectedValue) + ", got " in assertAssociation()