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

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/view/
H A DViewGroupAttributesTest.java79 fail("expected setting wrong flag to throw an exception");
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java68 fail();
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
H A DFakeSettingsProviderTest.java52 fail("FakeSettingsProvider should start off empty.");
/frameworks/native/cmds/installd/
H A Dinstalld.cpp202 goto fail;
234 goto fail;
273 goto fail;
280 fail:
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java275 fail("Creating same stream twice");
290 fail("Allowed bad stream delete");
306 fail("Created same stream twice");
333 fail("Exception expected");
344 fail("Exception expected");
384 fail("Expected exception");
392 fail("Expected exception");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
H A DEuiccConnectorTest.java22 import static org.junit.Assert.fail;
119 fail("Command should have failed");
140 fail("Command should have failed");
216 fail("Callback called twice");
223 fail("Command should have succeeded");
241 fail("Command should have failed");
263 fail("Unexpected command success callback");
/frameworks/wilhelm/src/
H A DThreadPool.cpp101 goto fail;
106 goto fail;
111 goto fail;
131 goto fail;
144 goto fail;
153 goto fail;
162 fail:
334 // fail if thread pool is shutting down
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DMultiLayoutVerificationTest.java35 import static org.junit.Assert.fail;
87 fail("unexpected error file");
128 fail("unexpected error file");
181 fail("unexpected error file");
238 fail("unexpected error file");
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java110 fail(errMsg);
122 Log.i(TAG, "sdcard not mounted? Some of these tests might fail");
257 fail("Error: failed to write; " + e.getMessage());
285 fail("Installation should have succeeded, but got code " + status);
289 fail("Installation should have failed");
305 fail("Timed out waiting for PACKAGE_ADDED notification");
309 fail("Failed to install package; path=" + inPath + ", e=" + e);
335 fail("Failed to install package; path=" + inPath + ", e=" + e);
490 fail("Can't read " + nativeLibDir.getPath());
518 fail("Ca
734 installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
773 installFromRawResource(String outFileName, int rawResId, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
1575 moveFromRawResource(String outFileName, int rawResId, int installFlags, int moveFlags, boolean cleanUp, boolean fail, int result) argument
1621 sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail, int result) argument
2682 replaceCerts(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode) argument
3331 checkSharedSignatures(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode, int expMatchResult) argument
[all...]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DMediaBrowserCompatTest.java26 import static junit.framework.Assert.fail;
166 fail();
184 fail();
278 fail("Unexpected InterruptedException occurred.");
291 fail();
329 fail("Unexpected InterruptedException occurred.");
385 fail("Unexpected InterruptedException occurred.");
470 fail("Unexpected InterruptedException occurred.");
522 fail("Unexpected InterruptedException occurred.");
/frameworks/support/media-compat-test-client/tests/src/android/support/mediacompat/client/
H A DMediaBrowserCompatTest.java35 import static junit.framework.Assert.fail;
138 fail();
226 fail("Unexpected InterruptedException occurred.");
239 fail();
280 fail("Unexpected InterruptedException occurred.");
334 fail("Unexpected InterruptedException occurred.");
413 fail("Unexpected InterruptedException occurred.");
464 fail("Unexpected InterruptedException occurred.");
537 fail("Browser failed to connect!");
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkScoreServiceTest.java24 import static junit.framework.Assert.fail;
204 fail("REQUEST_NETWORK_SCORES not enforced.");
265 fail("SecurityException expected");
328 fail("SecurityException expected");
375 fail("SecurityException expected");
397 fail("SecurityException expected");
419 fail("SecurityException expected");
441 fail("SecurityException expected");
455 fail("SecurityException expected");
527 fail("SecurityExceptio
[all...]
/frameworks/support/core-utils/tests/java/android/support/v4/content/
H A DFileProviderTest.java23 import static org.junit.Assert.fail;
85 fail("somehow got uri for file outside roots?");
98 fail("file escaped!");
144 fail("file escaped!");
288 fail("Somehow read missing file?");
314 fail("Somehow read missing file?");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java292 Assert.fail("unexpected exception thrown" + ex.getMessage());
310 Assert.fail("unexpected exception thrown" + ex.getMessage());
327 Assert.fail("unexpected exception thrown" + ex.getMessage());
346 Assert.fail("unexpected exception thrown" + ex.getMessage());
363 Assert.fail("unexpected exception thrown" + ex.getMessage());
390 Assert.fail("unexpected exception thrown" + cse.getMessage());
429 Assert.fail("unexpected exception thrown" + cse.getMessage());
432 Assert.fail("unexpected exception thrown" + ie.getMessage());
449 Assert.fail("unexpected exception thrown" + ex.getMessage());
476 Assert.fail("unexpecte
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkPolicyManagerTest.java33 import static org.junit.Assert.fail;
146 fail(actual + " not in " + Arrays.toString(expectedOptions));
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java194 fail("couldn't find first button off screen");
212 fail("couldn't find first button off screen");
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java56 fail("Method \""+fName+"\" not found");
60 fail("Method \""+fName+"\" should be public");
94 * Typically bandwidth profiling would fail when a lower level
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java26 import static junit.framework.Assert.fail;
198 fail(String.format("%s : No elements from %s in %s", message,
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityManagerTest.java23 import static org.junit.Assert.fail;
155 fail("No accessibility events are sent if accessibility is disabled");
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifRecyclerLayoutTest.java23 import static org.junit.Assert.fail;
142 fail("Creating GlifRecyclerLayout with no recycler view should throw exception");
H A DSetupWizardRecyclerLayoutTest.java23 import static org.junit.Assert.fail;
146 fail("Creating SetupWizardRecyclerLayout with no recycler view should throw exception");
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifListLayoutTest.java23 import static org.junit.Assert.fail;
70 fail("Adding view to ListLayout should throw");
H A DSetupWizardListLayoutTest.java22 import static org.junit.Assert.fail;
70 fail("Adding view to ListLayout should throw");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcControllerTest.java27 import static org.junit.Assert.fail;
93 fail(e.toString());
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
H A DScanRecordTest.java68 fail("expected:<" + Arrays.toString(expected) +

Completed in 748 milliseconds

1234567891011>>