/frameworks/volley/src/test/java/com/android/volley/ |
H A D | ResponseDeliveryTest.java | 62 Response<byte[]> errorResponse = Response.error(new ServerError());
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 55 // 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/support/design/src/android/support/design/widget/ |
H A D | TextInputLayout.java | 53 * Also supports showing an error via {@link #setErrorEnabled(boolean)} and 190 // Add some start/end padding to the error so that it matches the EditText 284 * Whether the error functionality is enabled or not in this layout. Enabling this 285 * functionality before setting an error message via {@link #setError(CharSequence)}, will mean 286 * that this layout will not change size when an error is displayed. 303 // Add some start/end padding to the error so that it matches the EditText 316 * Returns whether the error functionality is enabled or not in this layout. 327 * Sets an error message that will be displayed below our {@link EditText}. If the 328 * {@code error} is {@code null}, the error messag 337 setError(@ullable CharSequence error) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | XmlFlattener.cpp | 252 bool error = false; variable 271 error = true; 272 mLogger->error(node->lineNumber) 359 error |= !flattenItem(node, attrToFlatten.xmlAttr->value, attrToFlatten.resourceAttr, 364 return !error; 392 mLogger->error(el->lineNumber) 412 bool error = false; local 430 std::ostream& out = mLogger->error(el->lineNumber) 438 error = true; 444 if (error) { [all...] |
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 117 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 D | hwcColorEquiv.cpp | 167 bool error; local 202 startRefColor = hwcTestParseColor(in, error); 203 // Any parse error or characters not used by parser 204 if (error 224 endRefColor = hwcTestParseColor(in, error); 225 // Any parse error or characters not used by parser 226 if (error
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 630 String error = glGetProgramInfoLog(program); 631 Log.d(GL_LOG_TAG, "Error while linking program:\n" + error); 651 String error = glGetShaderInfoLog(shader); 652 Log.d(GL_LOG_TAG, "Error while compiling shader:\n" + error); 661 int error = mEgl.eglGetError(); 662 if (error != EGL_SUCCESS) { 663 Log.w(GL_LOG_TAG, "EGL error = " + GLUtils.getEGLErrorString(error)); 668 int error = glGetError(); 669 if (error ! [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 309 sourcePos.error("Attribute \"%s\" has already been defined\n", 359 attr.sourcePos.error("A 'name' attribute is required for <attr>\n"); 371 attr.sourcePos.error("Tag <attr> 'format' attribute value \"%s\" not valid\n", 388 attr.sourcePos.error("Tag <attr> 'min' attribute must be a number, not \"%s\"\n", 406 attr.sourcePos.error("Tag <attr> 'max' attribute must be a number, not \"%s\"\n", 419 attr.sourcePos.error("Tag <attr> must have format=integer attribute if using max or min\n"); 426 bool error; local 427 uint32_t l10n_required = parse_flags(str, len, l10nRequiredFlags, &error); 428 if (error) { 429 attr.sourcePos.error("Ta [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
H A D | LocalRenderer.java | 134 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/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 141 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 145 // this is an error and not warning since the file existence is 147 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ, 158 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_FORMAT, 213 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ, 235 // this is an error and not warning since the file existence is checked before 237 Bridge.getLog().error(null, "Failed to parse file " + stringValue, 241 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 264 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ, 274 Bridge.getLog().error(LayoutLo [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | FontFamily_Delegate.java | 159 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 206 * {@link #getFont(int, boolean)} returns an empty list, it means that an error occurred while 319 Bridge.getLog().error(LayoutLog.TAG_MISSING_ASSET, "Asset not found: " + path, 337 Bridge.getLog().error(LayoutLog.TAG_MISSING_ASSET, "Asset not found: " + path, 349 Bridge.getLog().error(LayoutLog.TAG_MISSING_ASSET, "Unable to load font " + path, e, 357 Bridge.getLog().error(LayoutLog.TAG_BROKEN, 373 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | Main.java | 362 getLogger().error(session.getResult().getException(), 368 getLogger().error(session.getResult().getException(), 375 getLogger().error(e, e.getMessage()); 442 public void error(String tag, String message, Object data) { 448 public void error(String tag, String message, Throwable throwable, Object data) { 464 public void error(Throwable t, @Nullable String msgFormat, Object... args) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DctController.java | 564 boolean error = false; 566 if (name != null) error = true; 571 if (name != null) error = true; 576 if (name != null) error = true; 581 if (name != null) error = true; 586 if (name != null) error = true; 591 if (name != null) error = true; 596 if (name != null) error = true; 601 if (name != null) error = true; 606 if (name != null) error [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | Android.mk | 57 LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 25 * 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 D | RestoreSession.java | 49 * @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 D | CallbackProxies.java | 60 public void onError(CameraDevice camera, int error) { argument 61 mProxy.invoke("onError", camera, error);
|
/frameworks/base/core/jni/ |
H A D | android_media_RemoteDisplay.cpp | 90 virtual void onDisplayError(int32_t error) { argument 94 gRemoteDisplayClassInfo.notifyDisplayError, error);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 108 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 D | CameraTestHelper.java | 48 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 D | GLU.java | 29 * 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 D | RoutingControlAction.java | 168 public void onSendCompleted(int error) { 170 error == HdmiControlManager.RESULT_SUCCESS);
|
H A D | TimerRecordingAction.java | 84 public void onSendCompleted(int error) { 85 if (error != Constants.SEND_RESULT_SUCCESS) {
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
H A D | HugeBackupActivity.java | 206 public void restoreFinished(int error) { 208 Log.v(TAG, "Restore finished, error = " + error);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 109 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "Unable to draw wifi icon", e, 112 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "Unable to draw wifi icon", e,
|