/external/chromium_org/content/renderer/pepper/ |
npapi_glue.h | 78 // Convenience object for converting a PPAPI call that can throw an exception 82 // Normal usage is that you will pass the result of exception() to the 83 // PPAPI function as the exception output parameter. Then you will either 87 // Both SetResult and CheckExceptionForNoResult will throw an exception to 88 // the JavaScript library if the plugin reported an exception. SetResult 93 // The object_var parameter is the object to associate any exception with. 99 // call CheckExceptionForNoResult to do the exception checking with no result 105 // Returns true if an exception has been set. 108 // Returns a pointer to the exception. You would pass this to the PPAPI 109 // function as the exception parameter. If it is set to non-void, this objec 111 PP_Var* exception() { return &exception_; } function in class:content::PPResultAndExceptionToNPResult [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/ |
Assert.java | 17 * methods all test a condition and throw some type of unchecked exception if the condition does not 48 * @exception IllegalArgumentException 58 * exception, to aid debugging. 63 * the message to include in the exception 65 * @exception IllegalArgumentException 82 * unchecked exception is thrown. 93 * unchecked exception is thrown. The given message is included in that exception, to aid 99 * the message to include in the exception 109 * unchecked exception is thrown. The given message is included in that exception, to ai [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
ThrowablesTest.java | 50 // Expect no exception to be thrown 66 // Expect the unchecked exception to propagate as-is 86 // Expect the undeclared exception to have been chained inside another 109 // Expect no exception to be thrown 126 // Expect the unchecked exception to propagate as-is 146 // Expect the checked exception to propagate as-is 167 // Expect the undeclared exception to have been chained inside another 190 // Expect no exception to be thrown 209 // Expect the unchecked exception to propagate as-is 232 // Expect the checked exception to propagate as-i 428 SomeCheckedException exception = new SomeCheckedException(); local 434 SomeChainingException exception = new SomeChainingException(cause); local 440 SomeChainingException exception = local [all...] |
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
MediaPlayerProxyTestCase.java | 77 protected void setUp() throws Exception { 85 protected void tearDown() throws Exception { 94 public abstract MediaPlayerProxy createTestMediaPlayer() throws Exception; 118 public void testReleaseMultipleTimesHasNoEffect() throws Exception { 123 public void testResetOnNewlyCreatedObject() throws Exception { 127 public void testSetDataSource() throws Exception { 132 public void testSetDataSourceTwice_ShouldFailWithIllegalState() throws Exception { 138 public void testSetDataSourceAfterRelease_ShouldFailWithIllegalState() throws Exception { 143 public void testPrepare() throws Exception { 149 public void testPrepareBeforeSetDataSource_ShouldFail() throws Exception { [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 65 protected void setUp() throws Exception { 73 protected void tearDown() throws Exception { 79 public void testPlayNullSource() throws Exception { 88 public void testPlayAudio() throws Exception { 142 public void testPlayVideo() throws Exception { 146 private void initMediaPlayer(MediaPlayer player) throws Exception { 158 public void testSetNextMediaPlayerWithReset() throws Exception { 174 public void testSetNextMediaPlayerWithRelease() throws Exception { 190 public void testSetNextMediaPlayer() throws Exception { 324 public void testGapless1() throws Exception { [all...] |
/external/chromium_org/ppapi/tests/ |
test_var_deprecated.cc | 32 bool HasMethod(const pp::Var& name, pp::Var* exception); 35 pp::Var* exception); 41 bool VarScriptableObject::HasMethod(const pp::Var& name, pp::Var* exception) { 49 pp::Var* exception) { 56 *exception = pp::Var("Bad argument to SetValue(<value>)"); 300 pp::Var exception; local 301 ASSERT_TRUE(window.HasProperty("scrollX", &exception)); 302 ASSERT_TRUE(exception.is_undefined()); 303 ASSERT_FALSE(window.HasMethod("scrollX", &exception)); 304 ASSERT_TRUE(exception.is_undefined()) 370 pp::Var exception; local [all...] |
/external/nist-pkits/src/libcore/java/security/cert/ |
X509CertificateNistPkitsTest.java | 70 throws Exception { 85 throws Exception { 95 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { 109 private final X509CRL[] getCRLs(CertificateFactory f, String[] names) throws Exception { 119 private CertPath getTestPath(CertificateFactory f, String[] pathCerts) throws Exception { 125 String[] pathCerts, String[] pathCRLs) throws Exception { 148 throws Exception, NoSuchAlgorithmException, InvalidAlgorithmParameterException { 164 throws Exception, NoSuchAlgorithmException, CertPathValidatorException, 178 public void testSignatureVerification_ValidSignaturesTest1() throws Exception { 195 public void testSignatureVerification_InvalidCASignatureTest2() throws Exception { [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMException.java | 64 /** Field containedException specifies a wrapped exception. May be null. 69 * This method retrieves an exception that this exception wraps. 144 * Create a new DTMException wrapping an existing exception. 146 * @param e The exception to be wrapped. 157 * Wrap an existing exception in a DTMException. 163 * use the message from the embedded exception. 164 * @param e Any exception 180 * creating its own exception from within a DocumentHandler 195 * Wrap an existing exception in a DTMException 336 Throwable exception = getException(); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewTest.java | 31 public void setUp() throws Exception { 36 public void testHasEmptyLayoutParams() throws Exception { 42 public void layout_shouldAffectWidthAndHeight() throws Exception { 52 public void shouldFocus() throws Exception { 78 public void shouldNotBeFocusableByDefault() throws Exception { 86 public void shouldKnowIfThisOrAncestorsAreVisible() throws Exception { 100 public void shouldInflateMergeRootedLayoutAndNotCreateReferentialLoops() throws Exception { 110 public void performLongClick_shouldClickOnView() throws Exception { 119 public void checkedClick_shouldClickOnView() throws Exception { 128 public void checkedClick_shouldThrowIfViewIsNotVisible() throws Exception { [all...] |
/art/test/053-wait-some/ |
expected.txt | 1 Caught expected exception on neg arg
|
/art/test/068-classloader/ |
expected.txt | 3 Got expected access exception #1
|
/art/test/081-hot-exceptions/src/ |
Main.java | 29 int exception = 0; local 36 exception++; 40 System.out.println("exception = " + exception);
|
/art/test/084-class-init/ |
expected.txt | 1 caught exception thrown during clinit
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityGroupTest.java | 29 protected void setUp() throws Exception { 35 public void testTabBasic() throws Exception { 40 public void testTabScreen() throws Exception { 45 public void testTabDialog() throws Exception {
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManager_NameNotFoundExceptionTest.java | 27 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); local 29 throw exception; 35 exception = new PackageManager.NameNotFoundException(message); 37 throw exception;
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 49 protected void setUp() throws Exception { 63 private void register(Config config) throws Exception { 70 private void acquireRights(Config config) throws Exception { 77 private void deregister(Config config) throws Exception { 88 public void testRegisterAndDeregister() throws Exception { 95 public void testAcquireRights() throws Exception { 103 public void testGetConstraints() throws Exception { 115 public void testCanHandle() throws Exception { 122 public void testGetOriginalMimeType() throws Exception { 129 public void testCheckRightsStatus() throws Exception { [all...] |
/dalvik/dx/tests/023-code-exception-table/ |
small-class.txt | 21 01 0013 "java/lang/Exception" # 0009: utf8["java/lang/Exception"] 23 07 0009 # 000b: class[java/lang/Exception] 48 0000 0001 0001 000b # 0000..0001 -> 0001 java/lang/Exception
|
/dalvik/dx/tests/046-dex-exceptions/ |
info.txt | 2 a couple simple cases of exception handling get converted reasonably.
|
/dalvik/dx/tests/066-dex-try-catch-rethrow/ |
info.txt | 2 a try-catch where the exception handler rethrows.
|
/dalvik/tests/029-assert/src/ |
Main.java | 13 System.out.println("caught expected assert exception");
|
/dalvik/tests/053-wait-some/ |
expected.txt | 1 Caught expected exception on neg arg
|
/dalvik/tests/068-classloader/ |
expected.txt | 3 Got expected access exception #1
|
/dalvik/tests/081-hot-exceptions/src/ |
Main.java | 29 int exception = 0; local 36 exception++; 40 System.out.println("exception = " + exception);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/ |
DialogHelper.java | 26 public void showErrorMessageDialog(int titleId, Exception exception); 28 public void showErrorMessageDialog(String title, Exception exception);
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
AccessSourcerTest.java | 35 public void setUp() throws Exception { 41 public void tearDown() throws Exception { 47 public void testAbstractPublic() throws Exception { 55 public void testPrivateFinalStatic() throws Exception {
|