Searched refs:fail (Results 126 - 150 of 290) sorted by relevance

1234567891011>>

/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java403 private double measureCompositionScore(Measurement ok, Measurement fail, int pixelFormat) { argument
404 if (ok.mSurfaceCnt + 1 == fail.mSurfaceCnt) {
406 double fraction = (mTargetFPS - fail.mFPS) / (ok.mFPS - fail.mFPS);
410 int medianSurfaceCnt = (ok.mSurfaceCnt + fail.mSurfaceCnt) / 2;
415 return measureCompositionScore(median, fail, pixelFormat);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java35 // Temporarily suppress, this test is causing unit test suite run to fail
226 fail("Expected security exception when starting " + service);
367 fail("Expected security exception when binding " + service);
464 fail("No exception thrown on second unbind");
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStatementTest.java107 fail("shouldn't get here");
119 fail("shouldn't get here");
305 fail("expected exception not thrown");
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java162 fail("SecurityException should be thrown for nonexistent user");
171 fail("SecurityException should be thrown for other user");
236 // Note this will fail if DO already sets those restrictions.
254 fail("Timeout waiting for removeUser. userId = " + userId);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java37 import static org.junit.Assert.fail;
50 * Normally, this test will fail when there is a missing thumbnail. However, when
72 fail(message);
191 fail(error);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java125 fail(message);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DMacAuthenticatedInputStreamTest.java113 fail("read too many bytes");
H A DPackageHelperTests.java62 fail(errMsg);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraPairwiseTest.java82 fail("Failed to start the looper.");
99 fail("Failed to stop the looper.");
119 fail("Failed to run the command on the looper.");
492 fail("Test case failed");
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DDocumentsProviderHelper.java26 import static junit.framework.Assert.fail;
175 fail("Could not find file named=" + name + " in children " + children);
194 fail("Could not find name=" + name + " in children " + children);
210 fail("Found name=" + name + " in children " + children);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DPipeManagerTest.java101 fail();
H A DDocumentLoaderTest.java120 fail();
223 fail();
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java178 fail("HandlerThread " + getName() +
219 fail("expected race condition at least once in " + attempts + " attempts");
464 fail("Can't add requests while expecting requests to be removed");
481 fail("Can't remove requests while expecting requests to be added");
496 fail("Can't add expectation, " + mExpectations.getCount() + " already pending");
544 fail("Attempting to send msg more than " + UNREASONABLY_LONG_WAIT +
662 if (++delays == 10) fail();
965 // Reevaluate WiFi (it'll instantly fail DNS).
975 // Reevaluate cellular (it'll instantly fail DNS).
1005 // Reevaluate cellular (it'll instantly fail DN
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java98 fail("Error creating binder: " + sw.toString());
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DButtonItemTest.java55 fail("Calling onBindView on ButtonItem should throw UnsupportedOperationException");
H A DGlifListLayoutTest.java59 fail("Adding view to ListLayout should throw");
H A DSetupWizardListLayoutTest.java56 fail("Adding view to ListLayout should throw");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaCallTest.java101 fail("Exception " + e + " not expected");
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifierElem.java227 TestCase.fail("Expected property " + Arrays.toString(expectedProps.toArray())
265 TestCase.fail("Unexpected property \"" + propName + "\" exists.");
280 TestCase.fail("Unexpected property \"" + propName + "\" exists.");
326 TestCase.fail("Property \"" + propName + "\" has wrong value.\n"
/frameworks/support/v4/tests/java/android/support/v4/testutils/
H A DTestUtils.java68 * this method will call <code>Assert.fail</code> with detailed description of the mismatch.
89 * <code>Assert.fail</code> with detailed description of the mismatch.
120 Assert.fail(mismatchDescription);
/frameworks/av/services/audiopolicy/utilities/convert/
H A Dconvert.h142 return ss.eof() && !ss.fail() && !ss.bad();
157 return !oss.fail() && !oss.bad();
225 * string streams is bugged and does not fail when giving overflowed values.
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java171 fail("Method \""+fName+"\" not found");
175 fail("Method \""+fName+"\" should be public");
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerIntegrationTest.java189 fail("Timed out waiting for file file to be opened on OBB!");
208 fail("Timed out waiting for file on OBB to be opened...");
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DDirectoryListBot.java69 Assert.fail("Expected documents " + Arrays.asList(labels)
82 Assert.fail("Expected documents not present" + Arrays.asList(labels)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java113 return LoaderResult.fail();
204 static LoaderResult fail() { method in class:LockscreenWallpaper.LoaderResult

Completed in 5230 milliseconds

1234567891011>>