Searched refs:fail (Results 1 - 25 of 146) sorted by relevance

123456

/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DWindowManagerPermissionTests.java47 fail("IWindowManager.pauseKeyDispatching did not throw SecurityException as"
52 fail("Unexpected remote exception");
57 fail("IWindowManager.resumeKeyDispatching did not throw SecurityException as"
62 fail("Unexpected remote exception");
67 fail("IWindowManager.setEventDispatching did not throw SecurityException as"
72 fail("Unexpected remote exception");
77 fail("IWindowManager.addWindowToken did not throw SecurityException as"
82 fail("Unexpected remote exception");
87 fail("IWindowManager.removeWindowToken did not throw SecurityException as"
92 fail("Unexpecte
[all...]
H A DActivityManagerPermissionTests.java43 fail("IActivityManager.moveTaskToFront did not throw SecurityException as"
48 fail("Unexpected remote exception");
53 fail("IActivityManager.moveTaskToBack did not throw SecurityException as"
58 fail("Unexpected remote exception");
63 fail("IActivityManager.moveTaskToFront did not throw SecurityException as"
68 fail("Unexpected remote exception");
76 fail("IActivityManager.updateConfiguration did not throw SecurityException as"
81 fail("Unexpected remote exception");
89 fail("IActivityManager.setDebugApp did not throw SecurityException as"
94 fail("Unexpecte
[all...]
H A DPmPermissionsTests.java45 fail("PackageManager.getPackageSizeInfo" +
60 fail("PackageManager.deleteApplicationCacheFiles" +
75 fail("PackageManager.installPackage" +
90 fail("PackageManager.freeStorage " +
105 fail("PackageManager.freeStorageAndNotify" +
120 fail("PackageManager.clearApplicationUserData" +
135 fail("PackageManager.deletePackage" +
H A DServiceManagerPermissionTests.java41 fail("ServiceManager.addService did not throw SecurityException as"
58 fail("IServiceManager.setPermissionController did not throw SecurityException as"
63 fail("Unexpected remote exception");
H A DSmsManagerPermissionTest.java45 fail("SmsManager.sendTextMessage did not throw SecurityException as expected");
61 fail("SmsManager.sendDataMessage did not throw SecurityException as expected");
80 fail("SmsManager.sendMultipartTextMessage did not throw SecurityException as expected");
H A DVibratorServicePermissionTest.java50 fail("vibrate did not throw SecurityException as expected");
66 fail("vibratePattern did not throw SecurityException as expected");
81 fail("cancelVibrate did not throw SecurityException as expected");
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/
H A DFailingTest.java24 fail("Expected");
28 fail("Expected");
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/
H A DProtectedConstructorTest.java30 fail("method in ProtectedConstructorTest run unexpectedly");
H A DNoPublicConstructorTest.java33 fail("method in NoPublicConstructorTest run unexpectedly");
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifierElem.java58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found");
65 TestCase.fail("Multiple \"END:VCARD\" line found");
74 TestCase.fail("Multiple VERSION line + found");
82 TestCase.fail("Property other than BEGIN came before BEGIN property: " + line);
84 TestCase.fail("Property other than END came after END property: " + line);
91 TestCase.fail("Unexpected line: " + line);
102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
H A DVCardVerifier.java108 AndroidTestCase.fail("Already initialized");
123 AndroidTestCase.fail("Already initialized");
140 AndroidTestCase.fail("Wrong resId: " + resId);
147 AndroidTestCase.fail("addInputEntry() is called.");
149 AndroidTestCase.fail("InputStream is already set");
156 AndroidTestCase.fail("Not initialized");
159 AndroidTestCase.fail("setInputStream is called");
166 AndroidTestCase.fail("Not initialized");
193 AndroidTestCase.fail("Not initialized");
209 AndroidTestCase.fail("No
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java88 fail("expected exception");
95 fail("expected exception");
102 fail("expected exception");
109 fail("expected exception");
116 fail("expected exception");
123 fail("expected exception");
142 fail("expected exception");
151 fail("expected exception");
160 fail("expected exception");
H A DSSLTest.java65 fail();
73 fail();
81 fail();
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp55 if (err) goto fail;
59 if (err) goto fail;
62 if (err) goto fail;
66 if (err) goto fail;
70 if (err) goto fail;
73 if (err) goto fail;
75 fail:
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DATResponseParserTest.java33 fail("exception expected");
55 fail("exception expected");
69 fail("exception expected");
80 fail("exception expected");
105 fail("expected ex");
/frameworks/base/tests/CoreTests/android/core/
H A DInetAddrTest.java65 fail("expected ex");
72 fail("expected ex");
79 fail("expected ex");
/frameworks/base/core/tests/coretests/src/android/util/
H A DJsonReaderTest.java97 fail();
226 fail();
233 fail();
267 fail();
320 fail();
326 fail();
380 fail();
391 fail();
402 fail();
435 fail();
[all...]
H A DJsonWriterTest.java32 fail();
44 fail();
56 fail();
67 fail();
78 fail();
90 fail();
102 fail();
113 fail();
134 fail();
139 fail();
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DMatrixCursorTest.java87 fail();
100 fail();
106 fail();
120 fail();
127 fail();
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardTestUtilsTests.java50 TestCase.fail("Test case that should fail actually succeeded.");
71 TestCase.fail("Test case that should fail actually succeeded.");
94 TestCase.fail("Test case that should fail actually succeeded.");
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java45 fail: {
61 break fail;
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/
H A DDurationTest.java62 fail("test didn't throw an exception but we expected it to");
69 fail("test didn't throw an exception but we expected it to");
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java52 public int getThreadPriority() { fail(); return -999; }
53 public String getThreadSchedulerGroup() { fail(); return null; }
54 public void setPriorityAndCallBack(int p, IBinderThreadPriorityService cb) { fail(); }
55 public void callBack(IBinderThreadPriorityService cb) { fail(); }
56 private static void fail() { throw new RuntimeException("unimplemented"); } method in class:BinderThreadPriorityTest.ServiceStub
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java450 fail(String.format("enable() invalid state: state=%d", state));
473 fail(String.format("enable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
510 fail(String.format("disable() invalid state: state=%d", state));
533 fail(String.format("disable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
547 fail("discoverable() bluetooth not enabled");
575 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
590 fail("undiscoverable() bluetooth not enabled");
618 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
633 fail("startScan() bluetooth not enabled");
657 fail(Strin
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderStateUnitTestTemplate.java89 fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was thrown.");
111 fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was thrown.");
122 fail("setMediaRecorderToInitializedState: Exception " + e.getClass().getName() + " was thrown.");
135 fail("setMediaRecorderToPreparedState: Exception " + e.getClass().getName() + " was thrown.");
149 fail("setMediaRecorderToRecordingState: Exception " + e.getClass().getName() + " was thrown.");
171 fail("setMediaRecorderToDataSourceConfiguredState: Exception " + e.getClass().getName() + " was thrown.");
185 * start() since start() will fail, and then the mMediaRecorder
194 * start() since start() will fail, and then the mMediaRecorder
204 fail("setMediaRecorderToErrorState: Exception " + e.getClass().getName() + " was thrown.");

Completed in 1072 milliseconds

123456