Searched refs:fail (Results 76 - 100 of 290) sorted by relevance

1234567891011>>

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DRootsListBot.java80 Assert.fail(
93 Assert.fail("Unexpected roots " + unexpected);
/frameworks/native/libs/input/tests/
H A DAndroid.mk28 # run. All assertions are static_asserts and will fail during
/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/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java198 fail("Didn't throw SecurityException");
206 fail("Didn't throw SecurityException");
288 fail("Didn't throw");
354 fail("Didn't throw");
370 fail();
401 // Directly call the DPMS method with a different userid, which should fail.
404 fail("Didn't throw SecurityException");
408 // Try to remove active admin with a different caller userid should fail too, without
417 fail("Didn't throw SecurityException");
423 * {@link DevicePolicyManager#removeActiveAdmin} should fail wit
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java102 fail("enable wifi failed.");
135 fail(errorMsg);
170 fail("Scan results are empty ");
262 fail("active network detected");
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java105 fail(errMsg);
137 fail("Could not successfully invoke PackageManager free app cache API");
154 fail("Could not successfully invoke PackageManager free app cache API");
256 fail("Error when creating outputstream "+e);
259 fail("Error when writing output "+e);
340 fail("Exception when sleeping "+e);
378 fail("Error when creating outputstream "+e);
381 fail("Error when writing output "+e);
387 fail("Exception when sleeping "+e);
401 fail("File
[all...]
H A DPackageManagerTests.java97 fail(errMsg);
109 Log.i(TAG, "sdcard not mounted? Some of these tests might fail");
234 fail("Timed out waiting for packageInstalled callback");
239 fail("Package installation should have succeeded, but got code "
244 fail("Package installation should fail");
265 fail("Timed out waiting for PACKAGE_ADDED notification");
290 fail("Timed out waiting for packageInstalled callback");
458 fail("Can't read " + nativeLibDir.getPath());
491 fail("Ca
706 installFromRawResource(InstallParams ip, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
745 installFromRawResource(String outFileName, int rawResId, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
1612 moveFromRawResource(String outFileName, int rawResId, int installFlags, int moveFlags, boolean cleanUp, boolean fail, int result) argument
1658 sampleMoveFromRawResource(int installFlags, int moveFlags, boolean fail, int result) argument
2881 replaceCerts(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode) argument
3525 checkSharedSignatures(int apk1, int apk2, boolean cleanUp, boolean fail, int retCode, int expMatchResult) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkUtilsTest.java52 fail("Invalid netmask " + addr.getHostAddress() + " did not cause exception");
/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/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
H A DServicesTests.java68 fail();
/frameworks/base/keystore/tests/src/android/security/
H A DSystemKeyStoreTest.java87 fail();
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DFileOperationServiceTest.java96 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
139 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
151 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
152 mJobFactory.jobs.get(1).fail(GAMMA_DOC);
H A DTestJob.java48 void fail(DocumentInfo doc) { method in class:TestJob
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DAppFuseTest.java74 fail();
86 fail();
192 fail();
231 fail();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DBaseThreadedTest.java44 Assert.fail(throwable.getMessage());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java265 fail("Creating same stream twice");
280 fail("Allowed bad stream delete");
296 fail("Created same stream twice");
323 fail("Exception expected");
334 fail("Exception expected");
374 fail("Expected exception");
382 fail("Expected exception");
/frameworks/wilhelm/src/
H A DThreadPool.c101 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/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java88 fail("bitmap1 differs, check " + dir);
97 fail("bitmap2 differs, check " + dir);
106 fail("bitmap3 differs, check " + dir);
129 fail("res1 differs, check " + dir);
153 fail("testWithFile: file1 differs, check " + dir);
186 fail("couldn't create test file: " + ex);
190 fail("testAsync: file1 differs, check " + dir);
248 fail("null drawable from img: " + img);
259 fail("couldn't create test file " + testfile + ": " + ex);
263 fail(testfil
[all...]
/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");
236 fail("unexpected error file");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTrackerTest.java248 Assert.fail("unexpected exception thrown" + ex.getMessage());
266 Assert.fail("unexpected exception thrown" + ex.getMessage());
283 Assert.fail("unexpected exception thrown" + ex.getMessage());
302 Assert.fail("unexpected exception thrown" + ex.getMessage());
319 Assert.fail("unexpected exception thrown" + ex.getMessage());
339 Assert.fail("unexpected exception thrown" + ex.getMessage());
364 Assert.fail("unexpected exception thrown" + ex.getMessage());
380 Assert.fail("unexpected exception thrown" + ex.getMessage());
403 Assert.fail("unexpected exception thrown" + ex.getMessage());
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiAssociationTest.java94 fail("Invalid frequency-band");
146 fail("Not a valid security type: " + securityType);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPaintTest.java34 fail(message + " expected array length:<" + expected.length + "> but was:<"
39 fail(message + " expected array element[" +i + "]:<" + expected[i] + ">but was:<"
126 // variation selectors. This test may fail if system pre-installed fonts have a variation
/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

Completed in 765 milliseconds

1234567891011>>