Searched refs:error (Results 226 - 250 of 395) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt/
H A DXMLNode.cpp171 * are not in positional form, give the user an error.
174 SourcePos(String8(fileName), inXml->getLineNumber()).error(
254 SourcePos(String8(fileName), inXml->getLineNumber()).error(
264 SourcePos(String8(fileName), inXml->getLineNumber()).error(
271 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
306 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
315 SourcePos(String8(fileName), inXml->getLineNumber()).error(
332 SourcePos(String8(fileName), inXml->getLineNumber()).error(
384 SourcePos(String8(fileName), inXml->getLineNumber()).error(
392 SourcePos(String8(fileName), inXml->getLineNumber()).error(
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp47 * longer than this amount of time then SQLite will generate a SQLITE_BUSY error.
48 * The SQLITE_BUSY error is then raised as a SQLiteDatabaseLockedException.
214 goto error; // out of memory error
225 error:
295 // Error messages like 'near ")": syntax error' are not
296 // always helpful enough, so construct an error string that
517 int error = 0; local
520 error = errno;
521 ALOGE("ashmem_create_region failed: %s", strerror(error));
[all...]
/frameworks/rs/
H A DrsFont.cpp49 FT_Error error = 0; local
51 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace);
53 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace);
56 if (error) {
65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0);
66 if (error) {
241 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); local
242 if (error) {
386 FT_Error error = FT_Init_FreeType(&mLibrary); local
387 if (error) {
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java528 int error;
529 if ((error = EGL14.eglGetError()) != EGL14.EGL_SUCCESS) {
530 throw new IllegalStateException(msg + ": EGL error: 0x" + Integer.toHexString(error));
535 int error;
536 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
537 throw new IllegalStateException(msg + ": GLES20 error: 0x" + Integer.toHexString(error));
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
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);
/frameworks/base/media/java/android/media/
H A DAudioSystem.java162 /* Command failed or unspecified audio error. see ErrorCallback */
170 * Handles the audio error callback.
176 * param error error code:
181 void onError(int error); argument
185 * Registers a callback to be invoked when an error occurs.
198 private static void errorCallbackFromNative(int error) argument
207 errorCallback.onError(error);
/frameworks/av/services/audioflinger/
H A DRecordTracks.h19 #error This header file should only be included from AudioFlinger.h
/frameworks/base/core/java/android/webkit/
H A DWebViewClient.java147 /** Generic error */
171 /** Generic file error */
179 * Report an error to the host application. These errors are unrecoverable
183 * @param errorCode The error code corresponding to an ERROR_* value.
184 * @param description A String describing the error.
217 * Notify the host application that an SSL error occurred while loading a
226 * @param error The SSL error object.
229 SslError error) {
228 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DMultipartEntity.java216 log.error("An exception occurred while getting the length of the parts", e);
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp35 #error Need to convert float array to SkScalar array before calling the following function.
H A DShader.cpp45 #error Need to convert float array to SkScalar array before calling the following function.
104 #error Need to convert float array to SkScalar array before calling the following function.
148 #error Need to convert float array to SkScalar array before calling the following function.
187 #error Need to convert float array to SkScalar array before calling the following function.
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp91 const long error = FPDF_GetLastError(); local
92 switch (error) {
96 "cannot create document. Error:" + error);
100 "cannot create document. Error:" + error);
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java183 * State indicating this item is currently in an error state. The error
241 CharSequence error, Bundle extras) {
250 mErrorMessage = error;
278 bob.append(", error=").append(mErrorMessage);
372 * Get a user readable error message. This should be set when the state is
954 * Set a user readable error message. This should be set when the state
957 * @param error The error message for display to the user.
960 public Builder setErrorMessage(CharSequence error) { argument
238 PlaybackState(int state, long position, long updateTime, float speed, long bufferedPosition, long transportControls, List<PlaybackState.CustomAction> customActions, long activeItemId, CharSequence error, Bundle extras) argument
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java207 public final boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument
215 printJobId, state, error);
520 int status, String error) throws RemoteException, TimeoutException {
522 target.setPrintJobState(printJobId, status, error, mCallback, sequence);
519 setPrintJobState(IPrintSpooler target, PrintJobId printJobId, int status, String error) argument
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java451 * Implements the EventHandler error method called when a server
453 * @param id Status code of the error
454 * @param description Brief description of the error
456 public void error(int id, String description) { method in class:TestEventHandler
458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id +
496 * SSL certificate error callback. Handles SSL error(s) on the way
499 public boolean handleSslErrorRequest(SslError error) { argument
500 int primaryError = error.getPrimaryError();
504 " primary error
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java94 Bridge.getLog().error(null, "Failed to load image", e, null);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPorterDuffUtility.java50 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java429 int error;
430 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
431 Log.e(TAG, op + ": glError " + error);
432 throw new RuntimeException(op + ": glError " + error);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp243 EGLint error = eglGetError(); local
244 if (error == EGL_CONTEXT_LOST ||
247 mDisplay, mSurface, error);
250 mDisplay, mSurface, error);
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java92 * Sets the error image resource ID to be used for this view in the event that the image
152 public void onErrorResponse(VolleyError error) {
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java159 public static PathKeyframes ofPath(Path path, float error) { argument
160 return new PathKeyframes(path, error);
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeAdvertiser.java272 // Post internal error if registration failed.
357 private void postStartFailure(final AdvertiseCallback callback, final int error) { argument
361 callback.onStartFailure(error);
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp36 static const char* egl_error_str(EGLint error) { argument
37 switch (error) {
54 return "Unknown error";
144 LOG_ALWAYS_FATAL("Failed to choose config, error = %s", egl_error_str());
153 "Failed to create context, error = %s", egl_error_str());
208 ALOGW("Failed to destroy surface %p, error=%s", (void*)surface, egl_error_str());
242 LOG_ALWAYS_FATAL("Failed to make current on surface %p, error=%s",
277 LOG_ALWAYS_FATAL("Encountered EGL error %d %s during rendering",
295 ALOGW("Failed to set EGL_SWAP_BEHAVIOR on surface %p, error=%s",
305 ALOGW("Failed to query EGL_SWAP_BEHAVIOR on surface %p, error
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java54 * <li>Optionally wraps, traces, and/or error-checks the renderer's OpenGL calls.
192 * that an error has occurred. This can be used to help track down which OpenGL ES call
193 * is causing an error.
1083 int error = mEgl.eglGetError();
1084 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
1136 * @return the EGL error code from eglSwapBuffers.
1186 public static void throwEglException(String function, int error) { argument
1187 String message = formatEglError(function, error);
1195 public static void logEglErrorAsWarning(String tag, String function, int error) { argument
1196 Log.w(tag, formatEglError(function, error));
1199 formatEglError(String function, int error) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java147 * Helper function to throw an error if the provided task and TaskStatus objects are not equal.
185 private void compareTimestampsSubjectToIoLatency(String error, long ts1, long ts2) { argument
187 assertTrue(error, Math.abs(ts1 - ts2) < DELTA_MILLIS + IO_WAIT);

Completed in 505 milliseconds

1234567891011>>