/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | BaseBroadcastTest.java | 256 final Object actualValue = actual.get(key); in compareExtras() local 257 if (expectedValue == actualValue) { in compareExtras() 259 } else if (expectedValue == null || actualValue == null) { in compareExtras() 262 if (actualValue.getClass() != expectedValue.getClass()) { in compareExtras() 266 if (Array.getLength(actualValue) != Array.getLength(expectedValue)) { in compareExtras() 270 if (!Objects.equal(Array.get(actualValue, i), Array.get(expectedValue, i))) { in compareExtras() 276 final ArrayList<?> actualList = (ArrayList<?>) actualValue; in compareExtras() 286 if (!Objects.equal(actualValue, expectedValue)) { in compareExtras()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | AugmentedHelper.java | 155 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument 159 assertAutofillValue(expectedValue.getTextValue().toString(), actualValue); in assertAutofillValue() local 163 @NonNull AutofillValue actualValue) { in assertAutofillValue() argument 164 assertWithMessage("actual value is not text: %s", actualValue) in assertAutofillValue() 165 .that(actualValue.isText()).isTrue(); in assertAutofillValue() 167 assertWithMessage("wrong autofill value").that(actualValue.getTextValue().toString()) in assertAutofillValue()
|
D | Helper.java | 1119 final String actualValue = getAttributeValue(info, attribute); in assertHasAttribute() local 1120 assertWithMessage("Attribute %s not found", attribute).that(actualValue).isNotNull(); in assertHasAttribute() 1122 .that(actualValue).isEqualTo(expectedValue); in assertHasAttribute() 1402 public static void assertFloat(float actualValue, float expectedValue) { in assertFloat() argument 1403 assertThat(actualValue).isWithin(1.0e-10f).of(expectedValue); in assertFloat()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 187 private static void assertValueIsAllowed(Set<String> allowedValues, String actualValue) { in assertValueIsAllowed() argument 188 assertTrue("Expected one of " + allowedValues + ", but was: '" + actualValue + "'", in assertValueIsAllowed() 189 allowedValues.contains(actualValue)); in assertValueIsAllowed() 193 for (String actualValue : actualValues) { in assertValuesAreAllowed() 194 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 | 260 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess() local 262 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromSameProcess() 279 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromOtherProcess() local 281 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromOtherProcess() 304 final int actualValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses() local 306 assertSame("Settings write must be atomic", expectedValue, actualValue); in testNoStaleValueModifiedFromMultipleProcesses()
|
/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/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/tests/time/src/android/app/time/cts/ |
D | TimeManagerTest.java | 680 int minValue, AtomicInteger actualValue) throws Exception { in waitForListenerCallbackCountAtLeast() argument 684 while (actualValue.get() < minValue in waitForListenerCallbackCountAtLeast() 688 assertTrue(actualValue.get() >= minValue); in waitForListenerCallbackCountAtLeast()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | CompatScaleTests.java | 436 private void checkScaled(String message, int baseValue, double expectedScale, int actualValue) { in checkScaled() argument 439 final double actualScale = ((double) actualValue) / baseValue; in checkScaled()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 639 String formattedMsg, String tooSmall, String tooLarge, int actualValue, in expectSimilarValues() argument 643 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ; in expectSimilarValues() 645 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ; in expectSimilarValues()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 2194 String actualValue = intent.getExtras().getString(bundleKey); in testReplaceExtras() local 2195 assertEquals(bundleValue, actualValue); in testReplaceExtras() 2204 actualValue = intent.getExtras().getString(intentName); in testReplaceExtras() 2205 assertEquals(intentValue, actualValue); in testReplaceExtras()
|
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/ |
D | BroadcastResponseStatsTest.java | 2027 final String actualValue = PollingCheck.waitFor(DEFAULT_TIMEOUT_MS, in updateFlagWithDelay() local 2030 assertEquals("Error changing the value of " + key, value, actualValue); in updateFlagWithDelay()
|