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

1234567891011>>

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java318 public void onError(String error, Bundle data) {
323 + ", error=" + error + ", data=" + data);
326 if (error != null) {
328 bundle.putString(SERVICE_DATA_ERROR, error);
H A DMediaRouter.java1567 * @param error A localized error message which may be shown to the user, or null
1568 * if the cause of the error is unclear.
1572 public void onError(String error, Bundle data) { argument
1734 // initialized but it is good to check for the error in case there
1745 // 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.java627 public void onError(String error, Bundle data) {
628 handleError(intent, callback, error, data);
674 public void onError(String error, Bundle data) {
675 handleError(intent, callback, error, data);
694 String error, Bundle data) {
703 Log.w(TAG, "Received error from " + intent.getAction()
704 + ": error=" + error
708 callback.onError(error, code, data);
891 * @param error
693 handleError(Intent intent, ActionCallback callback, String error, Bundle data) argument
896 onError(String error, int code, Bundle data) argument
[all...]
/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.java113 * Creates a new request with the given URL and error listener. Note that
127 * URL, and error listener. Note that the normal response listener is not provided here as
218 * Notifies the request queue that this request has finished (successfully or with error).
510 * attempts remaining, this will cause delivery of a {@link TimeoutError} error.
544 * @return The parsed response, or null in the case of an error
549 * Subclasses can override this method to parse 'networkError' and return a more specific error.
553 * @param volleyError the error retrieved from the network
570 * Delivers error message to the ErrorListener that the Request was
573 * @param error Error details
575 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());
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockRequest.java71 public void deliverError(VolleyError error) { argument
72 super.deliverError(error);
H A DMockResponseDelivery.java48 public void postError(Request<?> request, VolleyError error) { argument
/frameworks/webview/chromium/plat_support/
H A Ddraw_sw.h22 #error "Can't mix C and C++ when using jni.h"
/frameworks/wilhelm/src/
H A DAndroid.mk62 # (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/rs/api/
H A DScanner.cpp98 ostream& Scanner::error() { function in class:Scanner
99 return error(mLineNumber);
102 ostream& Scanner::error(int lineNumber) { function in class:Scanner
104 cerr << mFileName << ":" << lineNumber << ": error: ";
112 error() << "Unexpected: \" " << mValue << "\".\n";
120 error() << "Found \"" << mTag << "\" while looking for \"" << tag << "\".\n";
144 error() << "Did not expect \"" << mValue << "\" after \"" << mTag << "\".\n";
156 error() << "Missing closing double quote\n";
178 error() << "Missing variable name\n";
183 error() << "Th
[all...]
H A DScanner.h76 * Returns false if the tag is not found and prints an error.
79 // Same as findTag but does not print an error if the tag is not found.
86 std::ostream& error();
87 std::ostream& error(int lineNumber);

Completed in 4584 milliseconds

1234567891011>>