Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManager_NameNotFoundExceptionTest.java27 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); in testNameNotFoundException() local
29 throw exception; in testNameNotFoundException()
35 exception = new PackageManager.NameNotFoundException(message); in testNameNotFoundException()
37 throw exception; in testNameNotFoundException()
/cts/tests/tests/os/src/android/os/cts/
DAsyncTaskTest.java71 if (mAsyncTask.exception != null) { in doTestAsyncTask()
72 throw mAsyncTask.exception; in doTestAsyncTask()
108 assertNotNull(mAsyncTask.exception); in testCancelWithInterrupt()
109 assertTrue(mAsyncTask.exception instanceof InterruptedException); in testCancelWithInterrupt()
121 assertNull(mAsyncTask.exception); in testCancel()
130 assertNull(mAsyncTask.exception); in testCancelTooLate()
148 public Exception exception; field in AsyncTaskTest.MyAsyncTask
161 exception = e; in doInBackground()
/cts/tools/dasm/src/dasm/
DDasmCatchBuilder.java62 UnprocessedCatch(String exception, String from, String to, in UnprocessedCatch() argument
66 add(exception, branch); in UnprocessedCatch()
82 void add(String exception, String branch) { in add() argument
84 if (exception.compareToIgnoreCase("all") == 0) in add()
87 type = CstType.intern(Type.internClassName(exception)); in add()
92 "Bad .catch directive: same exception (" + exception in add()
149 public void add(String exception, String start, String end, String branch) { in add() argument
161 uc.add(exception, branch); in add()
166 unprocessed_catches.add(new UnprocessedCatch(exception, start, end, in add()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java246 } catch (Exception exception) { in getFeatures()
247 Log.e(TAG, "Error getting features: " + exception.getMessage(), exception); in getFeatures()
293 } catch (Exception exception) { in getProcesses()
294 Log.e(TAG, "Error getting processes: " + exception.getMessage(), exception); in getProcesses()
295 builder.append(exception.getMessage()); in getProcesses()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_exception/d/
DT_move_exception_3.d25 move-exception v6
DT_move_exception_1.d39 move-exception v3
DT_move_exception_5.d40 move-exception v3
DT_move_exception_2.d39 move-exception v3
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupTestActivity.java222 protected void onPostExecute(Exception exception) { in onPostExecute() argument
223 super.onPostExecute(exception); in onPostExecute()
224 if (exception != null) { in onPostExecute()
225 Log.e(TAG, "Couldn't generate test data...", exception); in onPostExecute()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_exit/d/
DT_monitor_exit_3.d38 move-exception v1
/cts/tests/src/android/app/cts/
DAppStubActivity.java57 } catch (Throwable exception) { in finalize()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/
DT_monitor_enter_1.d57 move-exception v3
DT_monitor_enter_2.d69 move-exception v4
/cts/tools/signature-tools/src/signature/compare/
DApiComparator.java742 ITypeReference exception = iterator.next();
743 if (isRuntimeExceptionOrErrorSubtype(exception)) {
842 private boolean isRuntimeExceptionOrErrorSubtype(ITypeReference exception) {
844 IClassDefinition clazz = getClassDefinition(exception);
857 private boolean isRuntimeExceptionOrError(IClassDefinition exception) {
858 if (exception == null) {
861 String packageName = exception.getPackageName();
862 String className = exception.getName();
/cts/tools/signature-tools/test/signature/converter/
DConvertClassTest.java413 IClassReference exception = (IClassReference) constructor.getExceptions().iterator().next(); in convertConstructorWithException() local
414 … assertEquals("java.lang.NullPointerException", exception.getClassDefinition().getQualifiedName()); in convertConstructorWithException()
/cts/tools/dasm/test/
Dall_opcodes.d29 move-exception v11
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1102 } catch (IndexOutOfBoundsException exception) { in testSetText2()
1108 } catch (IndexOutOfBoundsException exception) { in testSetText2()
1114 } catch (IndexOutOfBoundsException exception) { in testSetText2()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex15971 private java.lang.Throwable exception
33246 private java.lang.Exception exception
51932 private java.lang.Exception exception
51985 private java.lang.Exception exception
52192 private java.lang.Throwable exception
81427 private java.lang.Exception exception
108112 private final void exception(
108828 private final void exception(
Dclasses.out.dex54680 public java.lang.Throwable exception
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/
Dmandreel.js1364 mandreelAppStartStateFunc("error","exception " + err + " while loading " + mandreelSocketsSwf);