Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteBufferReaderTest.java147 String actualValue = ByteBufferReader.readString( in readString() local
149 assertEquals(expectedValue, actualValue); in readString()
166 String actualValue = in readStringWithByteLength() local
168 assertEquals(expectedValue, actualValue); in readStringWithByteLength()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java108 String actualValue = get(namespace, key); in assertNewValue() local
109 if (!Objects.equals(actualValue, expectedValue)) { in assertNewValue()
111 + actualValue + "' , got '" + expectedValue + "'"); in assertNewValue()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java227 final Object actualValue = actual.get(key); in equalsForContentValues() local
229 if (!Arrays.equals((byte[])value, (byte[])actualValue)) { in equalsForContentValues()
231 byte[] a = (byte[])actualValue; in equalsForContentValues()
234 } else if (!value.equals(actualValue) && in equalsForContentValues()
235 !value.toString().equals(actualValue.toString())) { in equalsForContentValues()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBNNMTest.java134 byte actualValue = c_byte_output[i]; in testWithTolerance()
135 int delta = (expectedValue - actualValue); in testWithTolerance()
146 ", got " + (actualValue & 0xff)); in testWithTolerance()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java605 final String actualValue = getSettingValueFromDump(KEY_TRACK_CPU_TIMES_BY_PROC_STATE); in assertTrackPerProcStateCpuTimesSetting()
606 return expectedValue.equals(actualValue) in assertTrackPerProcStateCpuTimesSetting()
607 ? null : "expected=" + expectedValue + ", actual=" + actualValue; in assertTrackPerProcStateCpuTimesSetting()
640 private void assertApproximateValue(String errorPrefix, long expectedValue, long actualValue) { in assertApproximateValue() argument
641 assertValueRange(errorPrefix, actualValue, expectedValue * 0.5, expectedValue * 1.5); in assertApproximateValue()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java915 String actualValue = SystemProperties.get(key); in assertPropertyValue() local
916 if (expectedValue.equals(actualValue)) { in assertPropertyValue()
919 Log.d(TAG, "Value of property " + key + " (" + actualValue in assertPropertyValue()
925 String actualValue = SystemProperties.get(key); in assertPropertyValue() local
926 assertEquals("Wrong value for property '" + key + "'", expectedValue, actualValue); in assertPropertyValue()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraErrorCollector.java586 String formattedMsg, String tooSmall, String tooLarge, int actualValue, in expectSimilarValues() argument
590 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ; in expectSimilarValues()
592 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ; in expectSimilarValues()