/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | AugmentedHelper.java | 140 @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()
|
D | Helper.java | 1054 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/ |
D | BuildVersionTest.java | 131 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()
|
D | BuildTest.java | 199 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/ |
D | KeyframeTest.java | 114 Float actualValue = (Float) keyFrame.getValue(); in testSetValue() local 115 assertEquals(value, actualValue); in testSetValue()
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | SettingsTest.java | 252 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/ |
D | CompatScaleTests.java | 249 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/ |
D | TimeoutTest.java | 143 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/ |
D | TimeManagerTest.java | 282 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/ |
D | BNNMTest.java | 92 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/ |
D | CameraErrorCollector.java | 572 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/ |
D | IntentTest.java | 1824 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()
|