Searched refs:error (Results 176 - 200 of 395) sorted by relevance

1234567891011>>

/frameworks/native/libs/input/
H A DInputTransport.cpp156 int error = errno; local
158 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.string(),
159 msg->header.type, error);
161 if (error == EAGAIN || error == EWOULDBLOCK) {
164 if (error == EPIPE || error == ENOTCONN || error == ECONNREFUSED || error == ECONNRESET) {
167 return -error;
191 int error = errno; local
[all...]
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java217 int error;
218 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
219 Log.e(TAG, op + ": glError " + error);
220 throw new RuntimeException(op + ": glError " + error);
/frameworks/volley/tests/src/com/android/volley/
H A DResponseDeliveryTest.java61 Response<byte[]> errorResponse = Response.error(new ServerError());
/frameworks/base/tools/aidl/
H A Daidl_language_y.y55 // error cases only
70 | document_items error {
71 fprintf(stderr, "%s:%d: syntax error don't know what to do with \"%s\"\n", g_currentFilename,
95 fprintf(stderr, "%s:%d syntax error in parcelable declaration. Expected type name.\n",
99 | PARCELABLE error ';' {
100 fprintf(stderr, "%s:%d syntax error in parcelable declaration. Expected type name, saw \"%s\".\n",
116 fprintf(stderr, "%s:%d syntax error in flattenable declaration. Expected type name.\n",
120 | FLATTENABLE error ';' {
121 fprintf(stderr, "%s:%d syntax error in flattenable declaration. Expected type name, saw \"%s\".\n",
176 | interface_keywords error '{' interface_item
[all...]
/frameworks/native/opengl/libagl/
H A Dstate.cpp117 void _ogles_error(ogles_context_t* c, GLenum error) argument
119 if (c->error == GL_NO_ERROR)
120 c->error = error;
322 // If more than one flag has recorded an error, glGetError returns
323 // and clears an arbitrary error flag value. Thus, glGetError should
325 // if all error flags are to be reset.
328 if (c->error) {
329 const GLenum ret(c->error);
330 c->error
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp167 bool error; local
203 startRefColor = hwcTestParseColor(in, error);
204 // Any parse error or characters not used by parser
205 if (error
225 endRefColor = hwcTestParseColor(in, error);
226 // Any parse error or characters not used by parser
227 if (error
/frameworks/base/tools/aapt/
H A DResourceTable.cpp291 sourcePos.error("Attribute \"%s\" has already been defined\n",
341 attr.sourcePos.error("A 'name' attribute is required for <attr>\n");
353 attr.sourcePos.error("Tag <attr> 'format' attribute value \"%s\" not valid\n",
370 attr.sourcePos.error("Tag <attr> 'min' attribute must be a number, not \"%s\"\n",
388 attr.sourcePos.error("Tag <attr> 'max' attribute must be a number, not \"%s\"\n",
401 attr.sourcePos.error("Tag <attr> must have format=integer attribute if using max or min\n");
408 bool error; local
409 uint32_t l10n_required = parse_flags(str, len, l10nRequiredFlags, &error);
410 if (error) {
411 attr.sourcePos.error("Ta
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java134 final PlaybackError error = new PlaybackError();
139 // A new error has occurred, abort
142 error.type = mError.type;
143 error.extra = mError.extra;
144 error.errorMessage = mError.errorMessage;
148 error.extra = code;
156 error.errorExtras = errorExtras;
159 Log.e(TAG, "IOException requesting from server, unable to get more exact error");
180 setError(error.type, error
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java294 getLogger().error(session.getResult().getException(),
300 getLogger().error(session.getResult().getException(),
307 getLogger().error(e, e.getMessage());
353 public void error(String tag, String message, Object data) {
359 public void error(String tag, String message, Throwable throwable, Object data) {
375 public void error(Throwable t, String msgFormat, Object... args) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDctController.java512 boolean error = false;
514 if (name != null) error = true;
519 if (name != null) error = true;
524 if (name != null) error = true;
529 if (name != null) error = true;
534 if (name != null) error = true;
539 if (name != null) error = true;
544 if (name != null) error = true;
549 if (name != null) error = true;
554 if (name != null) error
[all...]
/frameworks/base/core/java/android/animation/
H A DPathKeyframes.java25 * The line segments are recursively divided until there is less than 1/2 pixel error
52 public PathKeyframes(Path path, float error) { argument
56 mKeyframeData = path.approximate(error);
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java49 * @return Zero on success, nonzero on error. The observer's restoreSetsAvailable()
69 * @return Zero on success; nonzero on error. The observer will only receive
98 * @return Zero on success, nonzero on error. The observer will only receive
132 * @return Zero on success; nonzero on error. The observer will only receive
234 public void restoreFinished(int error) { argument
236 mHandler.obtainMessage(MSG_RESTORE_FINISHED, error, 0));
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java59 public void onError(CameraDevice camera, int error) { argument
60 mProxy.invoke("onError", camera, error);
/frameworks/base/core/java/android/service/fingerprint/
H A DFingerprintManager.java125 public void onError(int error) {
126 mHandler.obtainMessage(MSG_ERROR, error, 0).sendToTarget();
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp90 virtual void onDisplayError(int32_t error) { argument
94 gRemoteDisplayClassInfo.notifyDisplayError, error);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java108 public void finishBad(String error) { argument
109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error));
113 RuntimeException where = new RuntimeException("Original error was here");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCameraTestHelper.java48 public void onError(int error, android.hardware.Camera camera) { argument
49 Assert.fail(String.format("Camera error, code: %d", error));
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java29 * Return an error string from a GL or GLU error code.
31 * @param error - a GL or GLU error code.
32 * @return the error string for the input error code, or NULL if the input
33 * was not a valid GL or GLU error code.
35 public static String gluErrorString(int error) { argument
36 switch (error) {
38 return "no error";
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DRoutingControlAction.java162 public void onSendCompleted(int error) {
164 error == HdmiControlManager.RESULT_SUCCESS);
H A DTimerRecordingAction.java84 public void onSendCompleted(int error) {
85 if (error != Constants.SEND_RESULT_SUCCESS) {
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeBackupActivity.java206 public void restoreFinished(int error) {
208 Log.v(TAG, "Restore finished, error = " + error);
/frameworks/compile/mclinker/lib/Fragment/
H A DRelocation.cpp112 error(diag::result_overflow) << pRelocator.getName(type())
117 error(diag::result_badreloc) << pRelocator.getName(type())
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateCallback.java93 * Device has encountered a fatal error
123 public void onError(CameraDevice camera, int error) { argument
124 if (mProxy != null) mProxy.onError(camera, error);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
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/com/android/volley/toolbox/
H A DImageRequest.java129 return Response.error(new ParseError(e));
178 return Response.error(new ParseError(response));

Completed in 771 milliseconds

1234567891011>>