Home
last modified time | relevance | path

Searched refs:errorListener (Results 1 – 13 of 13) sorted by relevance

/external/apache-xml/src/main/java/org/apache/xpath/
DXPath.java165 ErrorListener errorListener) in XPath() argument
169 if(null == errorListener) in XPath()
170 errorListener = new org.apache.xml.utils.DefaultErrorHandler(); in XPath()
174 XPathParser parser = new XPathParser(errorListener, locator); in XPath()
175 Compiler compiler = new Compiler(errorListener, locator, m_funcTable); in XPath()
214 ErrorListener errorListener, FunctionTable aTable) in XPath() argument
218 if(null == errorListener) in XPath()
219 errorListener = new org.apache.xml.utils.DefaultErrorHandler(); in XPath()
223 XPathParser parser = new XPathParser(errorListener, locator); in XPath()
224 Compiler compiler = new Compiler(errorListener, locator, m_funcTable); in XPath()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerHandlerImpl.java636 javax.xml.transform.ErrorListener errorListener = m_transformer.getErrorListener(); in warning() local
637 if(errorListener instanceof ErrorHandler) in warning()
639 ((ErrorHandler)errorListener).warning(e); in warning()
645 errorListener.warning(new javax.xml.transform.TransformerException(e)); in warning()
671 javax.xml.transform.ErrorListener errorListener = m_transformer.getErrorListener(); in error() local
672 if(errorListener instanceof ErrorHandler) in error()
674 ((ErrorHandler)errorListener).error(e); in error()
682 errorListener.error(new javax.xml.transform.TransformerException(e)); in error()
720 javax.xml.transform.ErrorListener errorListener = m_transformer.getErrorListener(); in fatalError() local
722 if(errorListener instanceof ErrorHandler) in fatalError()
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DJsonArrayRequest.java40 String url, Listener<JSONArray> listener, @Nullable ErrorListener errorListener) { in JsonArrayRequest() argument
41 super(Method.GET, url, null, listener, errorListener); in JsonArrayRequest()
59 @Nullable ErrorListener errorListener) { in JsonArrayRequest() argument
65 errorListener); in JsonArrayRequest()
DJsonObjectRequest.java50 @Nullable ErrorListener errorListener) { in JsonObjectRequest() argument
56 errorListener); in JsonObjectRequest()
69 @Nullable ErrorListener errorListener) { in JsonObjectRequest() argument
75 errorListener); in JsonObjectRequest()
DStringRequest.java50 @Nullable ErrorListener errorListener) { in StringRequest() argument
51 super(method, url, errorListener); in StringRequest()
63 String url, Listener<String> listener, @Nullable ErrorListener errorListener) { in StringRequest() argument
64 this(Method.GET, url, listener, errorListener); in StringRequest()
DJsonRequest.java60 String url, String requestBody, Listener<T> listener, ErrorListener errorListener) { in JsonRequest() argument
61 this(Method.DEPRECATED_GET_OR_POST, url, requestBody, listener, errorListener); in JsonRequest()
69 @Nullable ErrorListener errorListener) { in JsonRequest() argument
70 super(method, url, errorListener); in JsonRequest()
DImageRequest.java81 @Nullable Response.ErrorListener errorListener) { in ImageRequest() argument
82 super(Method.GET, url, errorListener); in ImageRequest()
106 Response.ErrorListener errorListener) { in ImageRequest() argument
114 errorListener); in ImageRequest()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVideoView.java13 private MediaPlayer.OnErrorListener errorListener; field in ShadowVideoView
37 errorListener = l; in setOnErrorListener()
123 return errorListener; in getOnErrorListener()
DShadowMediaRecorder.java47 private MediaRecorder.OnErrorListener errorListener; field in ShadowMediaRecorder
99 errorListener = l; in setOnErrorListener()
249 return errorListener; in getErrorListener()
DShadowMediaPlayer.java444 private MediaPlayer.OnErrorListener errorListener; field in ShadowMediaPlayer
792 errorListener = listener;
1534 boolean handled = errorListener != null
1535 && errorListener.onError(player, what, extra);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DStylesheetRoot.java82 public StylesheetRoot(ErrorListener errorListener) throws TransformerConfigurationException in StylesheetRoot() argument
91 m_selectDefault = new XPath("node()", this, this, XPath.SELECT, errorListener); in StylesheetRoot()
93 initDefaultRule(errorListener); in StylesheetRoot()
1067 private void initDefaultRule(ErrorListener errorListener) throws TransformerException in initDefaultRule() argument
1075 XPath defMatch = new XPath("*", this, this, XPath.MATCH, errorListener); in initDefaultRule()
1092 defMatch = new XPath("text() | @*", this, this, XPath.MATCH, errorListener); in initDefaultRule()
1100 XPath selectPattern = new XPath(".", this, this, XPath.SELECT, errorListener); in initDefaultRule()
1109 defMatch = new XPath("/", this, this, XPath.MATCH, errorListener); in initDefaultRule()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMediaPlayerTest.java63 private MediaPlayer.OnErrorListener errorListener; field in ShadowMediaPlayerTest
82 errorListener = Mockito.mock(MediaPlayer.OnErrorListener.class); in setUp()
83 mediaPlayer.setOnErrorListener(errorListener); in setUp()
431 Mockito.when(errorListener.onError(mediaPlayer, 2, 3)).thenReturn(true); in testPendingEventsRemovedOnError()
752 Mockito.verifyZeroInteractions(errorListener); in test()
756 Mockito.verify(errorListener).onError(mediaPlayer, what, extra); in test()
757 Mockito.reset(errorListener); in test()
1110 Mockito.when(errorListener.onError(mediaPlayer, 112, 221)).thenReturn(true); in testErrorListenerCalledNoOnCompleteCalledWhenReturnTrue()
1115 Mockito.verify(errorListener).onError(mediaPlayer, 112, 221); in testErrorListenerCalledNoOnCompleteCalledWhenReturnTrue()
1121 Mockito.when(errorListener.onError(mediaPlayer, 0, 0)).thenReturn(false); in testErrorListenerCalledOnCompleteCalledWhenReturnFalse()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java78 public XPathParser(ErrorListener errorListener, javax.xml.transform.SourceLocator sourceLocator) in XPathParser() argument
80 m_errorListener = errorListener; in XPathParser()