Searched refs:fail (Results 26 - 50 of 146) sorted by relevance

123456

/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java97 fail("expected security exception for " + permission);
116 fail("expected SecurityException requiring " + permission);
135 fail("expected SecurityException requiring " + permission);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DLimitedLengthInputStreamTest.java43 fail("Should throw IOException on negative index");
53 fail("Should throw IOException on negative length");
63 fail("Should throw IOException on null input stream");
74 fail("Should fail when offset + length is > Long.MAX_VALUE");
H A DVerifierDeviceIdentityTest.java192 fail("Parsing should fail when device identifier is too short");
201 fail("Parsing should fail when device identifier is too short");
210 fail("Parsing should fail when device identifier is too long");
219 fail("Parsing should fail when the value will overflow");
H A DPackageManagerTests.java66 fail(errMsg);
77 Log.i(TAG, "sdcard not mounted? Some of these tests might fail");
192 fail("Timed out waiting for packageInstalled callback");
197 fail("Package installation should have succeeded, but got code "
202 fail("Package installation should fail");
223 fail("Timed out waiting for PACKAGE_ADDED notification");
248 fail("Timed out waiting for packageInstalled callback");
412 fail("Can't read " + nativeLibDir.getPath());
446 fail("Ca
590 installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
632 installFromRawResource(String outFileName, int rawResId, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
1509 moveFromRawResource(String outFileName, int rawResId, int installFlags, int moveFlags, boolean cleanUp, boolean fail, int result) argument
1561 sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail, int result) argument
2768 replaceCerts(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode) argument
2954 checkSharedSignatures(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode, int expMatchResult) argument
[all...]
H A DAppCacheTest.java104 fail(errMsg);
135 fail("Could not successfully invoke PackageManager free app cache API");
152 fail("Could not successfully invoke PackageManager free app cache API");
254 fail("Error when creating outputstream "+e);
257 fail("Error when writing output "+e);
338 fail("Exception when sleeping "+e);
376 fail("Error when creating outputstream "+e);
379 fail("Error when writing output "+e);
385 fail("Exception when sleeping "+e);
399 fail("File
[all...]
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java51 fail("this app was signed by a different cert and should crash/fail to run by now");
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfTest.java27 fail("test interrupted.");
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifier.java44 TestCase.fail("Insufficient number of LineVerifier (" + index + ")");
H A DImportTestProvider.java62 TestCase.fail("There is no operation.");
88 TestCase.fail("Unregistered MimeType " + mimeType);
118 TestCase.fail("ContentValues for MimeType " + mimeType
145 TestCase.fail(builder.toString());
148 TestCase.fail("Unexpected Uri has come: " + uri);
170 TestCase.fail(failMsg);
/frameworks/base/core/tests/coretests/src/android/os/
H A DPowerManagerTest.java87 fail("Bad WakeLock flag was not caught.");
135 fail("setBacklights did not throw SecurityException as expected");
H A DMemoryFileTest.java49 // This will fail if the process runs out of file descriptors before
112 fail();
132 fail(msg);
208 fail("readBytes() after close() did not throw IOException.");
223 fail("writeBytes() after close() did not throw IOException.");
239 fail("allowPurging() after close() did not throw IOException.");
H A DFileUtilsTest.java74 Assert.fail("File was removed durning test" + e);
76 Assert.fail("Unexpected IOException: " + e);
100 Assert.fail("File was removed durning test" + e);
102 Assert.fail("Unexpected IOException: " + e);
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java135 void fail(int msg) { method in class:ExternalStorageFormatter
207 fail(R.string.media_bad_removal);
209 fail(R.string.media_checking);
211 fail(R.string.media_removed);
213 fail(R.string.media_shared);
215 fail(R.string.media_unknown_state);
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java126 fail("Failed to close file on OBB due to error: " + e.toString());
335 fail("Timed out waiting for OBB state to change!");
349 * @return true if the listener was signaled of a state change by the system; else a fail()
474 fail("Unexpected value read in OBB file");
482 fail("File " + inFile + " not found: " + e.toString());
484 fail("IOError with file " + inFile + ":" + e.toString());
508 fail("File " + filename + " in OBB " + path + " does not match expected value");
515 fail("IOError with file " + inFile + ":" + e.toString());
541 fail("Unexpected value read in OBB file" + filename);
551 fail("IOErro
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DRequestAPITest.java78 fail("expected exception not thrown");
208 fail("expectPassed was false " + testEventHandler.getFailureMessage());
248 fail();
280 fail("expectPassed was false " + testEventHandler.getFailureMessage());
307 fail("expectPassed was false " + testEventHandler.getFailureMessage());
340 fail("expectPassed was false " + testEventHandler.getFailureMessage());
359 fail("expectPassed was false " + testEventHandler.getFailureMessage());
412 fail();
442 fail("expectPassed was false " + testEventHandler.getFailureMessage());
480 fail("expectPasse
[all...]
H A DSocketTest.java186 // proxy makes it fail.
199 // fail("timeout was not accurate. expected: " + timeout
216 * not fail - sdk m5 seems only to accept dns names instead of ip numbers.
232 fail("connection problem:" + e.getClass().getName() + ": "
275 Assert.assertNull("Connect must not fail immediately. Maybe try different address.", error);
283 fail("Socket connect still ongoing");
285 fail("Socket connect interrupted with wrong error: " + error.toString());
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DProcFileReaderTest.java36 fail("somehow finished line beyond end of stream?");
134 fail("somehow read a string value?");
148 fail("somehow finished line?");
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java76 fail("Failed to load class: " + e.getMessage());
78 fail("Failed to load class: " + e.getMessage());
144 fail(String.format("Missing %1$s.%2$s", delegateClass.getName(), name));
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiApStress.java114 fail("thread in sleep is interrupted");
124 fail("thread in sleep is interrupted");
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java363 fail("Did not parse all-day date correctly");
370 fail("Did not parse timezone-offset-less date correctly");
377 fail("Did not parse UTC date correctly");
384 fail("Did not parse UTC date correctly");
391 fail("Did not parse UTC date correctly");
398 fail("Did not parse UTC date correctly");
406 fail("Did not parse timezone-offset date correctly");
414 fail("Did not parse timezone-offset date correctly");
419 fail("Did not throw error on truncated input length");
426 fail("Di
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java120 fail(buf.toString());
155 fail("offset[" + i + "] to right of: " + n + " expected: " +
171 fail("offset[" + i + "] to left of: " + n + " expected: " +
239 fail("expected: " + hexArray(expected.mDirections) +
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewGroupAttributesTest.java79 fail("expected setting wrong flag to throw an exception");
/frameworks/base/keystore/tests/src/android/security/
H A DSystemKeyStoreTest.java83 fail();
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchTest.java75 fail("test didn't stop correctly");
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java68 Assert.fail("Wait timed out");

Completed in 1652 milliseconds

123456