Home
last modified time | relevance | path

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

12

/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/tests/tests/media/src/android/media/cts/
DExtractDecodeEditEncodeMuxTest.java273 Exception exception = null; in extractDecodeEditEncodeMux() local
385 if (exception == null) { in extractDecodeEditEncodeMux()
386 exception = e; in extractDecodeEditEncodeMux()
395 if (exception == null) { in extractDecodeEditEncodeMux()
396 exception = e; in extractDecodeEditEncodeMux()
406 if (exception == null) { in extractDecodeEditEncodeMux()
407 exception = e; in extractDecodeEditEncodeMux()
416 if (exception == null) { in extractDecodeEditEncodeMux()
417 exception = e; in extractDecodeEditEncodeMux()
427 if (exception == null) { in extractDecodeEditEncodeMux()
[all …]
DMidiSoloTest.java171 IOException exception = null; in testMidiReceiverException() local
180 exception = e; in testMidiReceiverException()
182 assertTrue("We should have caught an IOException", exception != null); in testMidiReceiverException()
DVp8CodecTestBase.java968 final Exception[] exception = new Exception[1]; in runCallable() local
976 exception[0] = e; in runCallable()
985 if (exception[0] != null) { in runCallable()
986 throw exception[0]; in runCallable()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java268 } catch (Exception exception) { in getFeatures()
269 Log.e(TAG, "Error getting features: " + exception.getMessage(), exception); in getFeatures()
315 } catch (Exception exception) { in getProcesses()
316 Log.e(TAG, "Error getting processes: " + exception.getMessage(), exception); in getProcesses()
317 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_2.d39 move-exception v3
DT_move_exception_5.d40 move-exception v3
/cts/tests/tests/nativeopengl/standalone/jni/
DGLTestHelper.cpp265 jthrowable exception = env->ExceptionOccurred(); in registerNative() local
267 if (exception) { in registerNative()
272 env->Throw(exception); in registerNative()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java179 for (Throwable exception : exceptions) { in getSummaryMessage()
180 sb.append(exception.toString()).append(", "); in getSummaryMessage()
/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/app/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/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java297 public void setException(Throwable exception) { in setException() argument
300 mException = exception; in setException()
/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/tests/signature/src/android/signature/cts/
DJDiffClassDescription.java1220 private static void loge(String message, Exception exception) { in loge() argument
1221 System.err.println(String.format("%s: %s", message, exception)); in loge()
/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/expectations/
Dknownfailures.txt154 …lementation of uninstallAllUserCaCerts does not throw expected security exception, wait for fix fr…
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...

12