Searched defs:error (Results 226 - 250 of 293) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/print/
H A DPrintManager.java1151 public void onLayoutFailed(CharSequence error) { argument
1166 callback.onLayoutFailed(error, mSequence);
1254 public void onWriteFailed(CharSequence error) { argument
1269 callback.onWriteFailed(error, mSequence);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp49 * longer than this amount of time then SQLite will generate a SQLITE_BUSY error.
50 * The SQLITE_BUSY error is then raised as a SQLiteDatabaseLockedException.
216 goto error; // out of memory error
227 error:
297 // Error messages like 'near ")": syntax error' are not
298 // always helpful enough, so construct an error string that
515 int error = 0; local
518 error = errno;
519 ALOGE("ashmem_create_region failed: %s", strerror(error));
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java805 * @param acceptableError The acceptable error for a line on the
807 * the error is less than half a pixel.
859 private static native float[] nApproximate(long nPath, float error); argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPrintSpoolerService.java516 public boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument
530 printJob.setStatus(error);
1405 public void setPrintJobState(PrintJobId printJobId, int state, String error, argument
1410 printJobId, state, error);
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java368 protected void handleError(long deviceId, int error, int vendorCode) { argument
373 if (client != null && client.onError(error, vendorCode)) {
378 + (client != null ? client.getOwnerString() : "null") + ", error = " + error + ")");
380 if (error == FingerprintManager.FINGERPRINT_ERROR_CANCELED) {
387 } else if (error == FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE) {
983 public void onError(final long deviceId, final int error, final int vendorCode) {
987 handleError(deviceId, error, vendorCode);
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintService.java775 public boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument
780 return service.mSpooler.setPrintJobState(printJobId, state, error);
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp131 bool error = false; local
133 error |= !AddResourcesToTable(table, diag, &child);
135 return !error;
263 bool error = false; local
278 error |= !ParseResources(parser);
284 << "xml parser error: " << parser->error());
287 return !error;
293 bool error = false; local
307 error
770 bool error = false; local
952 bool error = false; local
1139 bool error = false; local
1207 bool error = false; local
1250 bool error = false; local
1343 bool error = false; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java474 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED, "Path.op() not supported", null);
484 /*package*/ static float[] nApproximate(long nPath, float error) { argument
490 PathIterator iterator = pathDelegate.getJavaShape().getPathIterator(null, error);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgent.java162 public void onError(int error, CameraProxy camera); argument
231 * camera device. This error callback is different from the one defined
261 * @param cameraId The camera which is causing the open error.
418 * @param cb The callback when any error happens.
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp506 ALOGE("getAndExecuteCommand(fd=%d) returned unexpected error %d, aborting",
1063 status_t error; local
1080 error = reinterpret_cast<BBinder*>(tr.cookie)->transact(tr.code, buffer,
1084 error = UNKNOWN_TRANSACTION;
1088 error = the_context_object->transact(tr.code, buffer, &reply, tr.flags);
1096 if (error < NO_ERROR) reply.setError(error);
/frameworks/native/libs/binder/tests/
H A Dschd-dbg.cpp173 int error = write(m_writeFd, &val, sizeof(val)); local
174 ASSERT(error >= 0);
178 int error = read(m_readFd, &val, sizeof(val)); local
179 ASSERT(error >= 0);
183 int error = write(m_writeFd, &v, sizeof(T)); local
184 ASSERT(error >= 0);
188 int error = read(m_readFd, &v, sizeof(T)); local
189 ASSERT(error >= 0);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp323 // Return an error if we're in non-blocking mode (producer and
509 status_t error = graphicBuffer->initCheck(); local
514 if (error == NO_ERROR && !mCore->mIsAbandoned) {
522 if (error != NO_ERROR) {
526 return error;
547 // If something goes wrong, log the error, but return the buffer without
551 BQ_LOGE("dequeueBuffer: error %#x waiting for fence",
1239 // It's not really an error to disconnect after the surface has
1250 // nobody is connected, it's not really an error.
H A DGLConsumer.cpp474 // keep going, with error raised [?]
509 GLenum error; local
510 while ((error = glGetError()) != GL_NO_ERROR) {
511 GLC_LOGW("bindTextureImage: clearing GL error: %#04x", error);
534 if ((error = glGetError()) != GL_NO_ERROR) {
545 if ((error = glGetError()) != GL_NO_ERROR) {
546 GLC_LOGE("bindTextureImage: error binding external image: %#04x", error);
561 // never been set, so don't error ou
1272 EGLint error = eglGetError(); local
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp159 int error = errno; local
161 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.string(),
162 msg->header.type, error);
164 if (error == EAGAIN || error == EWOULDBLOCK) {
167 if (error == EPIPE || error == ENOTCONN || error == ECONNREFUSED || error == ECONNRESET) {
170 return -error;
194 int error = errno; local
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp276 return LocalHandle(-status.error());
284 return status ? 0 : -status.error();
313 return status ? return_value.first : -status.error();
318 return status ? 0 : -status.error();
529 message.ReplyError(status.error());
669 const int error = client->GetFile("/dev/zero", O_RDONLY, &fd); local
670 EXPECT_EQ(0, error);
/frameworks/native/opengl/libagl/
H A Dtexture.cpp217 GLenum error = 0; local
219 error = GL_INVALID_ENUM;
223 error = GL_INVALID_ENUM;
226 error = GL_INVALID_OPERATION;
230 error = GL_INVALID_OPERATION;
232 if (error) {
233 ogles_error(c, error);
235 return error;
1106 // unclear if this is an error or not...
1120 int error local
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp210 struct hwc_rect hwcTestParseHwcRect(istringstream& in, bool& error) argument
215 // Defensively specify that an error occurred. Will clear
216 // error flag if all of parsing succeeds.
217 error = true;
254 // Made It, clear error indicator
255 error = false;
261 HwcTestDim hwcTestParseDim(istringstream& in, bool& error) argument
267 // Defensively specify that an error occurred. Will clear
268 // error flag if all of parsing succeeds.
269 error
305 hwcTestParseColor(istringstream& in, bool& error) argument
1009 EGLint error = eglGetError(); local
[all...]
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp62 int error = 0; local
63 auto display_client = display::DisplayClient::Create(&error);
65 ALOGE("Could not connect to display service : %s(%d)", strerror(error),
66 error);
73 status.GetErrorMessage().c_str(), status.error());
/frameworks/rs/
H A DrsFont.cpp47 FT_Error error = 0; local
49 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
54 if (error) {
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
64 if (error) {
240 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); local
241 if (error) {
385 FT_Error error = FT_Init_FreeType(&mLibrary); local
386 if (error) {
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java79 * <p>Also supports showing an error via {@link #setErrorEnabled(boolean)} and
291 * Set the typeface to use for the hint and any label views (such as counter and error views).
311 * Returns the typeface used for the hint and any label views (such as counter and error views).
597 // Add padding to the error and character counter so that they match the EditText
612 * Whether the error functionality is enabled or not in this layout. Enabling this
613 * functionality before setting an error message via {@link #setError(CharSequence)}, will mean
614 * that this layout will not change size when an error is displayed.
669 * Sets the text color and size for the error message from the specified
682 * Returns whether the error functionality is enabled or not in this layout.
693 * Sets an error messag
703 setError(@ullable final CharSequence error) argument
709 setError(@ullable final CharSequence error, final boolean animate) argument
963 CharSequence error; field in class:TextInputLayout.SavedState
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp834 goto error;
845 goto error;
850 goto error;
879 goto error;
885 error:
1007 int error; local
1012 &error);
1015 speex_resampler_strerror(error));
1022 &error);
1025 speex_resampler_strerror(error));
[all...]
/frameworks/base/core/java/android/content/
H A DContentResolver.java442 "authentication-error",
443 "io-error",
444 "parse-error",
448 "internal-error",
452 public static String syncErrorToString(int error) { argument
453 if (error < 1 || error > SYNC_ERROR_NAMES.length) {
454 return String.valueOf(error);
456 return SYNC_ERROR_NAMES[error - 1];
460 public static int syncErrorStringToInt(String error) { argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java361 Log.w(TAG, "error in sending event (event=" + eventType + ")", e);
387 Log.w(TAG, "error in notifyChannelRetuned", e);
416 Log.w(TAG, "error in notifyTracksChanged", e);
447 Log.w(TAG, "error in notifyTrackSelected", e);
474 Log.w(TAG, "error in notifyVideoAvailable", e);
511 Log.w(TAG, "error in notifyVideoUnavailable", e);
552 Log.w(TAG, "error in notifyContentAllowed", e);
597 Log.w(TAG, "error in notifyContentBlocked", e);
641 Log.w(TAG, "error in notifyTimeShiftStatusChanged", e);
658 Log.w(TAG, "error i
1610 notifyError(@vInputManager.RecordingError int error) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java575 * @throws UnsupportedOperationException If an error happens while waiting on the failure.
1361 public void onError(CameraDevice camera, int error) { argument
1711 * @param collector The camera error collector to collect errors.
1776 * @param collector The camera error collector to collect errors.
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java53 * <li>Optionally wraps, traces, and/or error-checks the renderer's OpenGL calls.
191 * that an error has occurred. This can be used to help track down which OpenGL ES call
192 * is causing an error.
1113 int error = mEgl.eglGetError();
1114 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
1166 * @return the EGL error code from eglSwapBuffers.
1216 public static void throwEglException(String function, int error) { argument
1217 String message = formatEglError(function, error);
1225 public static void logEglErrorAsWarning(String tag, String function, int error) { argument
1226 Log.w(tag, formatEglError(function, error));
1229 formatEglError(String function, int error) argument
[all...]

Completed in 462 milliseconds

1234567891011>>