Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 45) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DErrors.java41 public static class Error { class in Errors
60 private final Error parent;
71 private Error(int code, Severity level) { in Error() method in Errors.Error
75 private Error(int code, Severity level, Category category) { in Error() method in Errors.Error
79 private Error(int code, Severity level, Category category, String rule) { in Error() method in Errors.Error
83 private Error(int code, Error parent, Category category) { in Error() method in Errors.Error
87 private Error(int code, Severity level, Error parent, Category category, in Error() method in Errors.Error
143 private static final List<Error> errors = new ArrayList<>(100);
144 private static final Map<String, Error> nameToError = new HashMap<>(100);
145 private static final Map<Integer, Error> idToError = new HashMap<>(100);
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dconnection.py30 class Error(Exception): class
152 raise Error('Master ssh connection timed out.')
192 except Error:
234 raise job.Error(result)
246 raise Error('DNS failed to find host.', result)
257 raise Error('Ssh timed out.', result)
261 raise Error('Permission denied.', result)
269 raise Error('Unknown host.', result)
279 raise Error('The job failed for unknown reasons.', result)
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DErrorConfiguration.kt24 private val overrides = mutableMapOf<Errors.Error, Severity>()
27 fun getSeverity(error: Errors.Error): Severity { in getSeverity()
31 private fun setSeverity(error: Errors.Error, severity: Severity) { in setSeverity()
36 fun error(error: Errors.Error) { in error()
41 fun hide(error: Errors.Error) { in hide()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Dshell.py91 except job.Error:
108 except job.Error:
136 except job.Error:
184 except job.Error as e:
217 except job.Error:
Droute.py21 class Error(Exception): class
25 class NetworkInterfaceDown(Error):
65 raise Error('Route already exists.')
/tools/test/connectivity/tools/lab/utils/
Dshell.py91 except job.Error:
131 except job.Error:
159 except job.Error:
207 except job.Error as e:
240 except job.Error:
Djob.py30 class Error(Exception): class
34 super(Error, self).__init__(result)
38 class TimeoutError(Error):
172 raise Error(result)
/tools/metalava/src/main/java/com/android/tools/metalava/
DBaseline.kt56 private val map = HashMap<Errors.Error, MutableMap<String, String>>() in <lambda>()
66 fun mark(element: Item, message: String, error: Errors.Error): Boolean { in <lambda>()
72 fun mark(element: PsiElement, message: String, error: Errors.Error): Boolean { in <lambda>()
78 fun mark(file: File, message: String, error: Errors.Error): Boolean { in <lambda>()
83 …k(elementId: String, @Suppress("UNUSED_PARAMETER") message: String, error: Errors.Error): Boolean { in <lambda>()
251 val counts = mutableMapOf<Errors.Error, Int>() in <lambda>()
DNullabilityAnnotationsValidator.kt50 private data class Error( in <lambda>() class in com.android.tools.metalava.NullabilityAnnotationsValidator
74 private val errors: MutableList<Error> = mutableListOf() in <lambda>()
128 errors.add(Error(method, label, ErrorType.MULTIPLE)) in <lambda>()
153 errors.add(Error(method, label, ErrorType.ON_PRIMITIVE)) in <lambda>()
177 errors.add(Error(method, label, ErrorType.BAD_TYPE_PARAM)) in <lambda>()
DReporter.kt85 fun report(id: Errors.Error, element: PsiElement?, message: String): Boolean { in toString()
100 fun report(id: Errors.Error, file: File?, message: String): Boolean { in toString()
115 fun report(id: Errors.Error, item: Item?, message: String, psi: PsiElement? = null): Boolean { in toString()
157 fun isSuppressed(id: Errors.Error, item: Item? = null, message: String? = null): Boolean { in toString()
274 …private fun report(severity: Severity, element: PsiElement?, message: String, id: Errors.Error? = … in toString()
286 id: Errors.Error? = null, in toString()
DCompatibilityCheck.kt23 import com.android.tools.metalava.doclava1.Errors.Error
636 private fun handleAdded(error: Error, item: Item) { in handleAdded()
669 private fun handleRemoved(error: Error, item: Item) { in handleRemoved()
832 error: Error, in report()
/tools/test/connectivity/acts/framework/acts/libs/proc/
Djob.py30 class Error(Exception): class
34 super(Error, self).__init__(result)
38 class TimeoutError(Error):
174 raise Error(result)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd.py25 class Error(Exception): class
167 raise Error('Interface failed to start', self)
172 raise Error('Interface failed to start', self)
175 raise Error('Hostapd failed to start', self)
Dbridge_interface.py70 except job.Error:
79 except job.Error:
88 except job.Error:
Dap_get_interface.py93 except job.Error:
182 except job.Error:
Ddhcp_server.py21 class Error(Exception): class
172 raise Error('Dhcp server failed to start.', self)
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py80 class Error(Exception): class
84 class ResponseError(Error):
88 class DeviceError(Error):
92 class ConnectError(Error):
108 raise Error('No Apollo Devices found.')
120 raise Error('Wrong interface found.')
1376 raise Error(
1415 raise Error(
1475 raise Error('Specified build path (%s) does not '
1483 raise Error('Specified build path (%s) does not exist or '
/tools/test/connectivity/tools/lab/metrics/
Dusb_metric.py61 except job.Error:
65 except job.Error as error:
66 raise job.Error('Cannot load usbmon: %s' % error.result.stderr)
/tools/metalava/src/test/java/com/android/tools/metalava/
DNullabilityAnnotationsValidatorTest.kt153 fun `Error from annotation on primitive`() { in Error from annotation on primitive()
196 fun `Error from NullFromTypeParam not on type param`() { in Error from NullFromTypeParam not on type param()
/tools/test/connectivity/acts/framework/tests/
Dacts_test_ssh.py63 with self.assertRaises(connection.Error):
74 with self.assertRaises(connection.Error):
Dacts_job_test.py85 self.assertRaises(job.Error, job.run, 'exit 1')
100 self.assertRaises(job.Error, job.run, 'sleep 5', timeout=0.1)
/tools/repohooks/tools/
Dandroid_test_mapping_format.py45 class Error(Exception): class
49 class InvalidTestMappingError(Error):
/tools/test/connectivity/acts/framework/acts/libs/uicd/
Duicd_cli.py102 except job.Error:
130 except job.Error:
/tools/repohooks/rh/
Dconfig.py36 class Error(Exception): class
40 class ValidationError(Error):
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py87 class Error(Exception): class
167 except job.Error:

12