Searched refs:expectedValue (Results 1 - 14 of 14) sorted by relevance

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNoVariablesTest.java31 String expectedValue = getActivity().getResources().getString(R.string.app_name);
32 assertEquals(expectedValue, mBinder.textView.getText().toString());
H A DNoVariableIncludeTest.java33 String expectedValue = getActivity().getResources().getString(R.string.app_name);
34 assertEquals(expectedValue, mBinder.included.textView.getText().toString());
36 assertEquals(expectedValue, noIdInclude.getText().toString());
H A DNoIdTest.java71 String expectedValue = view.getResources().getString(R.string.app_name);
72 assertEquals(expectedValue, view.getTag());
79 String expectedValue = view.getResources().getString(android.R.string.ok);
80 assertEquals(expectedValue, view.getTag());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DExifInterfaceTest.java241 private void assertIntTag(ExifInterface exifInterface, String tag, int expectedValue) { argument
243 assertEquals(expectedValue, intValue);
246 private void assertDoubleTag(ExifInterface exifInterface, String tag, float expectedValue) { argument
248 assertEquals(expectedValue, doubleValue, DIFFERENCE_TOLERANCE);
251 private void assertStringTag(ExifInterface exifInterface, String tag, String expectedValue) { argument
257 assertEquals(expectedValue, stringValue);
261 ExpectedValue expectedValue, String verboseTag) {
266 assertEquals(expectedValue.hasThumbnail, exifInterface.hasThumbnail());
267 if (expectedValue.hasThumbnail) {
273 assertEquals(expectedValue
260 compareWithExpectedValue(ExifInterface exifInterface, ExpectedValue expectedValue, String verboseTag) argument
316 testExifInterfaceCommon(File imageFile, ExpectedValue expectedValue) argument
357 testSaveAttributes_withFileName(File imageFile, ExpectedValue expectedValue) argument
379 testSaveAttributes_withFileDescriptor(File imageFile, ExpectedValue expectedValue) argument
412 testSaveAttributes_withInputStream(File imageFile, ExpectedValue expectedValue) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DPreconditions.java59 * @param expectedValue Expected value
65 String expectedName, T expectedValue) {
66 if (!Objects.equals(arg, expectedValue)) {
70 argName, expectedName, arg, expectedValue));
64 checkEquals(String argName, T arg, String expectedName, T expectedValue) argument
H A DCameraErrorCollector.java587 int expectedValue, float errorPercent) {
590 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ;
592 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ;
585 expectSimilarValues( String formattedMsg, String tooSmall, String tooLarge, int actualValue, int expectedValue, float errorPercent) argument
/frameworks/support/design/tests/src/android/support/design/widget/
H A DAppBarLayoutBaseTest.java127 protected void assertAppBarElevation(float expectedValue) { argument
129 assertEquals(expectedValue, ViewCompat.getElevation(mAppBar), 0.05f);
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBNNMTest.java133 byte expectedValue = c_byte[i];
135 int delta = (expectedValue - actualValue);
145 ": expected " + (expectedValue & 0xff) +
/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp399 int expectedValue = mLockedBuffer.data[midRGBOffset + c]; local
401 ASSERT_PRED2(withinTolerance, expectedValue, actualValue);
480 int expectedValue = rgbAsSRGB * 255.0f + 0.5f; local
482 ASSERT_PRED2(withinTolerance, expectedValue, actualValue);
/frameworks/rs/driver/runtime/
H A Drs_core.c44 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { argument
45 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
48 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { argument
49 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java332 final String expectedValue = values.getAsString(projection[i]);
333 if (!TextUtils.equals(cursorValue, expectedValue)) {
337 + " when expected " + expectedValue + " for column "
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewTestCase.java340 * @param expectedValue The result value need to be waited for
348 T expectedValue, int numResultsWait) {
350 expectedValues.add(expectedValue);
384 for ( T expectedValue : expectedValues) {
389 if (value.equals(expectedValue)) {
346 waitForResultValue(SimpleCaptureCallback listener, CaptureResult.Key<T> resultKey, T expectedValue, int numResultsWait) argument
/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp225 void testU16StringToInt(const char16_t* str, uint32_t expectedValue, argument
248 ASSERT_EQ(expectedValue, out.data) << "Failed with " << s;
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java817 private void assertPropertyValue(String key, String expectedValue) { argument
819 assertEquals("Wrong value for property '" + key + "'", expectedValue, actualValue);

Completed in 1695 milliseconds