Home
last modified time | relevance | path

Searched refs:actualValue (Results 1 – 12 of 12) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedHelper.java115 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument
119 assertAutofillValue(expectedValue.getTextValue().toString(), actualValue); in assertAutofillValue() local
123 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument
124 assertWithMessage("actual value is not text: %s", actualValue) in assertAutofillValue()
125 .that(actualValue.isText()).isTrue(); in assertAutofillValue()
127 assertWithMessage("wrong autofill value").that(actualValue.getTextValue().toString()) in assertAutofillValue()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java201 private static void assertValueIsAllowed(Set<String> allowedValues, String actualValue) { in assertValueIsAllowed() argument
202 assertTrue("Expected one of " + allowedValues + ", but was: '" + actualValue + "'", in assertValueIsAllowed()
203 allowedValues.contains(actualValue)); in assertValueIsAllowed()
207 for (String actualValue : actualValues) { in assertValuesAreAllowed()
208 assertValueIsAllowed(allowedValues, actualValue); in assertValuesAreAllowed()
DBuildVersionTest.java120 private void assertAnyOf(String label, String actualValue, Set<String> permittedValues) { in assertAnyOf() argument
121 if (!permittedValues.contains(actualValue)) { in assertAnyOf()
122 fail("For: " + label + ", the value: " + actualValue + in assertAnyOf()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java252 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess() local
254 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromSameProcess()
271 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromOtherProcess() local
273 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromOtherProcess()
295 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses() local
297 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromMultipleProcesses()
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java114 Float actualValue = (Float) keyFrame.getValue(); in testSetValue() local
115 assertEquals(value, actualValue); in testSetValue()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java92 byte actualValue = c_byte_output[i]; in testWithTolerance()
93 int delta = (expectedValue - actualValue); in testWithTolerance()
104 ", got " + (actualValue & 0xff)); in testWithTolerance()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DTimeoutTest.java143 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
144 assertThat(actualValue).isWithin(1.0e-10f).of(expectedValue); in assertFloat()
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DTimeoutTest.java143 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
144 assertThat(actualValue).isWithin(1.0e-10f).of(expectedValue); in assertFloat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java572 String formattedMsg, String tooSmall, String tooLarge, int actualValue, in expectSimilarValues() argument
576 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ; in expectSimilarValues()
578 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ; in expectSimilarValues()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DHelper.java995 final String actualValue = getAttributeValue(info, attribute); in assertHasAttribute() local
996 assertWithMessage("Attribute %s not found", attribute).that(actualValue).isNotNull(); in assertHasAttribute()
998 .that(actualValue).isEqualTo(expectedValue); in assertHasAttribute()
1232 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
1233 assertThat(actualValue).isWithin(1.0e-10f).of(expectedValue); in assertFloat()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java717 final int actualValue = mCm.getMultipathPreference(network); in assertMultipathPreferenceIsEventually() local
718 if (actualValue == expectedValue) { in assertMultipathPreferenceIsEventually()
721 if (actualValue != oldValue) { in assertMultipathPreferenceIsEventually()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java1824 String actualValue = intent.getExtras().getString(bundleKey); in testReplaceExtras() local
1825 assertEquals(bundleValue, actualValue); in testReplaceExtras()
1834 actualValue = intent.getExtras().getString(intentName); in testReplaceExtras()
1835 assertEquals(intentValue, actualValue); in testReplaceExtras()