/cts/tests/tests/car/src/android/car/cts/ |
D | ExceptionsTest.java | 27 CarNotConnectedException exception = new CarNotConnectedException(); in testCarNotConnectedException() local 28 assertNull(exception.getMessage()); in testCarNotConnectedException() 29 assertNull(exception.getCause()); in testCarNotConnectedException() 31 exception = new CarNotConnectedException(MESSAGE); in testCarNotConnectedException() 32 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException() 33 assertNull(exception.getCause()); in testCarNotConnectedException() 35 exception = new CarNotConnectedException(MESSAGE, CAUSE); in testCarNotConnectedException() 36 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException() 37 assertEquals(CAUSE, exception.getCause()); in testCarNotConnectedException() 39 exception = new CarNotConnectedException(CAUSE); in testCarNotConnectedException() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManager_NameNotFoundExceptionTest.java | 27 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/ |
D | AsyncTaskTest.java | 71 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/ |
D | DasmCatchBuilder.java | 62 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/ |
D | ExtractDecodeEditEncodeMuxTest.java | 298 Exception exception = null; in extractDecodeEditEncodeMux() local 411 if (exception == null) { in extractDecodeEditEncodeMux() 412 exception = e; in extractDecodeEditEncodeMux() 421 if (exception == null) { in extractDecodeEditEncodeMux() 422 exception = e; in extractDecodeEditEncodeMux() 432 if (exception == null) { in extractDecodeEditEncodeMux() 433 exception = e; in extractDecodeEditEncodeMux() 442 if (exception == null) { in extractDecodeEditEncodeMux() 443 exception = e; in extractDecodeEditEncodeMux() 453 if (exception == null) { in extractDecodeEditEncodeMux() [all …]
|
D | DecodeAccuracyTestBase.java | 221 } catch (IllegalStateException exception) { in decodeFramesAndDisplay() 222 Log.e(TAG, "IllegalStateException in decodeFramesAndDisplay " + exception); in decodeFramesAndDisplay() 238 } catch (IOException exception) { in setExtractorDataSource() 239 Log.e(TAG, "IOException in setDataSource", exception); in setExtractorDataSource() 250 } catch (Exception exception) { in configureDecoder() 251 if (exception instanceof IOException) { in configureDecoder() 252 Log.e(TAG, "IOException in createDecoderByType", exception); in configureDecoder() 254 && exception instanceof CodecException) { in configureDecoder() 255 Log.e(TAG, "CodecException in createDecoderByType", exception); in configureDecoder() 258 Log.e(TAG, "Unknown exception in createDecoderByType", exception); in configureDecoder() [all …]
|
D | MidiSoloTest.java | 171 IOException exception = null; in testMidiReceiverException() local 180 exception = e; in testMidiReceiverException() 182 assertTrue("We should have caught an IOException", exception != null); in testMidiReceiverException()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 283 } catch (Exception exception) { in getFeatures() 284 Log.e(TAG, "Error getting features: " + exception.getMessage(), exception); in getFeatures() 330 } catch (Exception exception) { in getProcesses() 331 Log.e(TAG, "Error getting processes: " + exception.getMessage(), exception); in getProcesses() 332 builder.append(exception.getMessage()); in getProcesses()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | LocalSocketTest.java | 260 private volatile Exception exception; field in LocalSocketTest.StreamReader 280 exception = e; in run() 290 if (exception != null) { in waitForCompletion() 291 throw new Exception("Read failed", exception); in waitForCompletion()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 92 } catch (TimeoutException exception) { in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode() 94 "Failed to get window changed event when showing dropdown", exception); in testGetAnchorForDropDownForAutoCompleteTextView_returnsTextViewNode()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceInfo.java | 133 private void error(String message, Throwable exception) { in error() argument 136 Log.e(LOG_TAG, message, exception); in error()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_exception/d/ |
D | T_move_exception_3.d | 25 move-exception v6
|
D | T_move_exception_1.d | 39 move-exception v3
|
D | T_move_exception_2.d | 39 move-exception v3
|
D | T_move_exception_5.d | 40 move-exception v3
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupTestActivity.java | 222 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/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
D | ParallelSensorOperation.java | 179 for (Throwable exception : exceptions) { in getSummaryMessage() 180 sb.append(exception.toString()).append(", "); in getSummaryMessage()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ReportLogCollector.java | 108 } catch (Exception exception) { in tearDown() 109 exception.printStackTrace(); in tearDown()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_exit/d/ |
D | T_monitor_exit_3.d | 38 move-exception v1
|
/cts/tests/app/app/src/android/app/stubs/ |
D | AppStubActivity.java | 55 } catch (Throwable exception) { in finalize()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
D | T_monitor_enter_1.d | 57 move-exception v3
|
D | T_monitor_enter_2.d | 69 move-exception v4
|
/cts/tests/tests/netsecpolicy/src/android/security/ |
D | NetworkSecurityPolicyTestBase.java | 297 public void setException(Throwable exception) { in setException() argument 300 mException = exception; in setException()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
D | MtpHostTestActivity.java | 196 } catch (Exception | AssertionFailedError exception) { in handleMessage() 197 mHandler.sendMessage(mHandler.obtainMessage(MESSAGE_FAIL, exception)); in handleMessage()
|
/cts/tests/signature/src/android/signature/cts/ |
D | JDiffClassDescription.java | 1244 private static void loge(String message, Exception exception) { in loge() argument 1245 System.err.println(String.format("%s: %s", message, exception)); in loge()
|