Searched refs:error (Results 1 - 25 of 524) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/src/
H A DAndroid.mk60 # (otherwise a warning log on error results only)
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java282 int error;
283 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
284 Log.e(TAG, op + ": glError " + error);
285 throw new RuntimeException(op + ": glError " + error);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java549 // in error cases
655 public void onError(int error) {
656 if (DEBUG) Log.v(TAG, "onError " + error);
657 switch (error) {
662 Log.w(TAG, "recognizer network error");
665 Log.w(TAG, "recognizer audio error");
668 Log.w(TAG, "recognizer server error");
671 Log.w(TAG, "recognizer client error");
686 Log.d(TAG, "recognizer other error");
/frameworks/support/v4/api21/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatApi21.java58 public static void setError(Object info, CharSequence error) { argument
59 ((AccessibilityNodeInfo) info).setError(error);
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java588 public void setError(Object info, CharSequence error); argument
1104 public void setError(Object info, CharSequence error) { argument
1858 public void setError(Object info, CharSequence error) { argument
1859 AccessibilityNodeInfoCompatApi21.setError(info, error);
3411 * Sets the error text of this node.
3418 * @param error The error text.
3422 public void setError(CharSequence error) { argument
3423 IMPL.setError(mInfo, error);
3427 * Gets the error tex
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java333 public void onError(String error, Bundle data) {
338 + ", error=" + error + ", data=" + data);
341 if (error != null) {
343 bundle.putString(SERVICE_DATA_ERROR, error);
H A DMediaRouter.java1848 * @param error A localized error message which may be shown to the user, or null
1849 * if the cause of the error is unclear.
1853 public void onError(String error, Bundle data) { argument
2031 // initialized but it is good to check for the error in case there
2042 // initialized but it is good to check for the error in case there
H A DRegisteredMediaRouteProvider.java240 private void onConnectionError(Connection connection, String error) { argument
243 Log.d(TAG, this + ": Service connection error - " + error);
494 public boolean onControlRequestFailed(int requestId, String error, Bundle data) { argument
498 callback.onError(error, data);
668 String error = (data == null ? null :
671 requestId, error, (Bundle)obj);
H A DRemotePlaybackClient.java698 public void onError(String error, Bundle data) {
699 handleError(intent, callback, error, data);
745 public void onError(String error, Bundle data) {
746 handleError(intent, callback, error, data);
765 String error, Bundle data) {
774 Log.w(TAG, "Received error from " + intent.getAction()
775 + ": error=" + error
779 callback.onError(error, code, data);
989 * @param error
764 handleError(Intent intent, ActionCallback callback, String error, Bundle data) argument
994 onError(String error, int code, Bundle data) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DBaseThreadedTest.java53 final Throwable[] error = new Throwable[1];
60 error[0] = t;
64 Assert.assertNull(error[0]);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java972 final Throwable[] error = new Throwable[1];
982 error[0] = throwable;
993 MatcherAssert.assertThat(error[0], CoreMatchers.nullValue());
/frameworks/volley/src/main/java/com/android/volley/
H A DDefaultRetryPolicy.java88 * @param error The error code of the last attempt.
91 public void retry(VolleyError error) throws VolleyError { argument
95 throw error;
H A DExecutorDelivery.java66 public void postError(Request<?> request, VolleyError error) { argument
67 request.addMarker("post-error");
68 Response<?> response = Response.error(error);
97 // Deliver a normal response or error, depending.
101 mRequest.deliverError(mResponse.error);
H A DNetworkDispatcher.java148 private void parseAndDeliverNetworkError(Request<?> request, VolleyError error) { argument
149 error = request.parseNetworkError(error);
150 mDelivery.postError(request, error);
H A DRequest.java107 * Creates a new request with the given URL and error listener. Note that
121 * URL, and error listener. Note that the normal response listener is not provided here as
210 * Notifies the request queue that this request has finished (successfully or with error).
497 * attempts remaining, this will cause delivery of a {@link TimeoutError} error.
531 * @return The parsed response, or null in the case of an error
536 * Subclasses can override this method to parse 'networkError' and return a more specific error.
540 * @param volleyError the error retrieved from the network
557 * Delivers error message to the ErrorListener that the Request was
560 * @param error Error details
562 public void deliverError(VolleyError error) { argument
[all...]
H A DResponse.java32 /** Callback interface for delivering error responses. */
35 * Callback method that an error has been occurred with the
36 * provided error code and optional user-readable message.
38 public void onErrorResponse(VolleyError error); argument
47 * Returns a failed response containing the given error code and an optional
50 public static <T> Response<T> error(VolleyError error) { argument
51 return new Response<T>(error);
54 /** Parsed response, or null in the case of error. */
57 /** Cache metadata for this response, or null in the case of error
61 public final VolleyError error; field in class:Response
80 Response(VolleyError error) argument
[all...]
H A DResponseDelivery.java32 * Posts an error for the given request.
34 public void postError(Request<?> request, VolleyError error); argument
H A DRetryPolicy.java36 * @param error The error code of the last attempt.
38 * ran out of attempts), the passed in error is thrown.
40 public void retry(VolleyError error) throws VolleyError; argument
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DImageLoader.java92 * it will switch to either the actual image or the error image.
101 public void onErrorResponse(VolleyError error) {
129 * - onErrorResponse will be called if there was an error loading the image.
133 * Listens for non-error changes to the loading of the image request.
259 public void onErrorResponse(VolleyError error) {
260 onGetImageError(cacheKey, error);
299 protected void onGetImageError(String cacheKey, VolleyError error) { argument
305 // Set the error for this request
306 request.setError(error);
414 * Set the error fo
416 setError(VolleyError error) argument
[all...]
H A DImageRequest.java162 return Response.error(new ParseError(e));
211 return Response.error(new ParseError(response));
H A DJsonArrayRequest.java68 return Response.error(new ParseError(e));
70 return Response.error(new ParseError(je));
H A DJsonObjectRequest.java71 return Response.error(new ParseError(e));
73 return Response.error(new ParseError(je));
H A DNetworkImageView.java92 * Sets the error image resource ID to be used for this view in the event that the image
153 public void onErrorResponse(VolleyError error) {
H A DRequestFuture.java31 * Used by providing as your response and error listeners. For example:
46 * // handle the error
48 * // handle the error
148 public synchronized void onErrorResponse(VolleyError error) { argument
149 mException = error;
/frameworks/volley/src/test/java/com/android/volley/
H A DResponseDeliveryTest.java62 Response<byte[]> errorResponse = Response.error(new ServerError());

Completed in 469 milliseconds

1234567891011>>