Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DAugmentedHelper.java140 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument
144 assertAutofillValue(expectedValue.getTextValue().toString(), actualValue); in assertAutofillValue() local
148 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument
149 assertWithMessage("actual value is not text: %s", actualValue) in assertAutofillValue()
150 .that(actualValue.isText()).isTrue(); in assertAutofillValue()
152 assertWithMessage("wrong autofill value").that(actualValue.getTextValue().toString()) in assertAutofillValue()
DHelper.java1054 final String actualValue = getAttributeValue(info, attribute); in assertHasAttribute() local
1055 assertWithMessage("Attribute %s not found", attribute).that(actualValue).isNotNull(); in assertHasAttribute()
1057 .that(actualValue).isEqualTo(expectedValue); in assertHasAttribute()
1314 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument
1315 assertThat(actualValue).isWithin(1.0e-10f).of(expectedValue); in assertFloat()
/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java131 private void assertAnyOf(String label, String actualValue, Set<String> permittedValues) { in assertAnyOf() argument
132 if (!permittedValues.contains(actualValue)) { in assertAnyOf()
133 fail("For: " + label + ", the value: " + actualValue + in assertAnyOf()
DBuildTest.java199 private static void assertValueIsAllowed(Set<String> allowedValues, String actualValue) { in assertValueIsAllowed() argument
200 assertTrue("Expected one of " + allowedValues + ", but was: '" + actualValue + "'", in assertValueIsAllowed()
201 allowedValues.contains(actualValue)); in assertValueIsAllowed()
205 for (String actualValue : actualValues) { in assertValuesAreAllowed()
206 assertValueIsAllowed(allowedValues, actualValue); in assertValuesAreAllowed()
/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/provider/src/android/provider/cts/settings/
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/framework/base/windowmanager/src/android/server/wm/
DCompatScaleTests.java249 int actualValue) { in assertScaled() argument
252 final float actualScale = ((float) actualValue) / baseValue; in assertScaled()
/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/tests/time/src/android/app/time/cts/
DTimeManagerTest.java282 int expectedValue, AtomicInteger actualValue) throws Exception { in waitForListenerCallbackCount() argument
286 while (expectedValue != actualValue.get() in waitForListenerCallbackCount()
290 assertEquals(expectedValue, actualValue.get()); in waitForListenerCallbackCount()
/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/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/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()