Searched refs:fail (Results 276 - 300 of 396) sorted by relevance

<<111213141516

/frameworks/base/tests/net/java/android/net/nsd/
H A DNsdManagerTest.java21 import static org.junit.Assert.fail;
306 fail();
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java59 import static org.junit.Assert.fail;
181 fail("unexpected exception " + exception.getBareMessage());
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java136 * @see #fail(String)
152 * @see #fail(String)
180 * @see #fail(String)
280 public boolean fail(@Nullable String error) { method in class:PrintJob
330 * {@link #setStatus(int)}, {@link #block(String)}, or {@link #fail(String)},
349 * {@link #setStatus(int)}, {@link #block(String)}, or {@link #fail(String)},
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DConnectivityManagerMobileTest.java63 fail("Device is not connected to Mobile, setUp failed");
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java109 fail("Sleep timeout " + e);
/frameworks/base/core/tests/coretests/src/android/app/
H A DApplicationPackageManagerTest.java140 fail("Wrong volumes returned.\n Expected: " + Arrays.toString(exptectedVols)
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java194 //fail();
227 fail();
248 fail();
279 fail("Adding wlan0 route to LP with no interface, expect exception");
289 fail("Adding wlan0 route to rmnet0 LP, expect exception");
H A DScoredNetworkTest.java57 fail("Should have thrown UnsupportedOperationException");
/frameworks/base/core/tests/coretests/src/android/os/
H A DPatternMatcherTest.java232 fail("'" + format + "' was erroneously created");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java190 fail("couldn't move down to bottom button within "
/frameworks/base/legacy-test/src/junit/framework/
H A DTestSuite.java91 * Returns a test which will fail and log a warning message.
97 fail(message);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java121 fail("Expected a type reference with type variables to fail");
176 // FIXME: Equality will fail: b/14590652
219 // FIXME: Equality will fail: b/14590652
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java328 int fail,
327 glStencilOp( int fail, int zfail, int zpass ) argument
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsStateTest.java74 fail("NullPointerException expected");
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java58 public static void fail(String message, Object ... args) { method in class:Utils
178 Log.w(TAG, "close fail ", t);
206 Log.w(TAG, "fail to close", t);
214 Log.w(TAG, "fail to close", t);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java115 fail("Failed to load resource with id: " + rawResId);
H A DNetworkPolicyManagerServiceTest.java52 import static org.junit.Assert.fail;
1532 fail("expected " + formatTime(expected) + " but was actually " + formatTime(actual));
1544 fail("value " + formatTime(actual) + " is outside [" + formatTime(low) + ","
1551 fail("found duplicate time " + value + " in series " + seen.toString());
1563 fail("Wrong policy for UID " + uid + ": expected " + uidPoliciesToString(expected)
1610 fail("assertContainsInAnyOrder(expected=" + Arrays.toString(expected)
1692 fail("Thread interrupted before callback called");
H A DDropBoxTest.java563 // and fail all operations (this is how it survives a full disk).
604 fail("IllegalArgumentException expected for non-null byte[] and IS_EMPTY flags");
611 fail("IllegalArgumentException expected for null byte[] and non-IS_EMPTY flags");
630 fail("IOException expected for nonexistent file");
638 fail("IllegalArgumentException expected for non-null file and IS_EMPTY flags");
645 fail("IllegalArgumentException expected for null PFD and non-IS_EMPTY flags");
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskSnapshotPersisterLoaderTest.java24 import static org.junit.Assert.fail;
/frameworks/base/tools/bit/
H A Dmake.cpp144 if (stream.fail()) {
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DCompositeCursorAdapterTest.java66 fail("Invalid position:" + partition + " " + cursor.getColumnNames()[0] + " "
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES20.spec105 void glStencilOp ( GLenum fail, GLenum zfail, GLenum zpass )
106 void glStencilOpSeparate ( GLenum face, GLenum fail, GLenum zfail, GLenum zpass )
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceSetTest.java230 fail("Expected: " + expected[i] + " but not found in Actual: "
/frameworks/support/exifinterface/tests/src/android/support/media/
H A DExifInterfaceTest.java24 import static junit.framework.Assert.fail;
433 fail("Should not reach here!");
491 fail();
507 fail();
596 fail("Rotate with 108 degree should throw IllegalArgumentException");
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp560 if (!packet.getString(buffer)) goto fail;
563 if (!readLongValue(type, packet, longValue)) goto fail;
571 fail:
663 if (!packet.getString(buffer)) goto fail;
666 if (!readLongValue(type, packet, longValue)) goto fail;
674 fail:

Completed in 4595 milliseconds

<<111213141516