Searched defs:error (Results 101 - 125 of 194) sorted by relevance

12345678

/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java201 // This is not an error that would prevent synthesis. Hence no
249 public void error() { method in class:FileSynthesisCallback
250 error(TextToSpeech.ERROR_SYNTHESIS);
254 public void error(int errorCode) { method in class:FileSynthesisCallback
255 if (DBG) Log.d(TAG, "FileSynthesisRequest.error()");
/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/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp83 int error; local
84 if ((error = glGetError()) != GL_NO_ERROR) {
86 "GLES20 error: 0x%d", error);
182 * and FAILED_MEASUREMENT if an error occurred during the next
267 "Unknown error starting GL timing");
287 "Unknown error ending GL timing");
H A Dandroid_hardware_location_ActivityRecognitionHardware.cpp135 int error = hw_get_module( local
138 if (error != 0) {
139 ALOGE("Error hw_get_module: %d", error);
143 error = activity_recognition_open(&sModule->common, &sDevice);
144 if (error != 0) {
145 ALOGE("Error opening device: %d", error);
188 int error = activity_recognition_close(sDevice); local
189 if (error != 0) {
190 ALOGE("Error closing device: %d", error);
H A Dandroid_media_RemoteDisplay.cpp90 virtual void onDisplayError(int32_t error) { argument
94 gRemoteDisplayClassInfo.notifyDisplayError, error);
H A Dandroid_view_GraphicBuffer.cpp123 status_t error; local
124 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java136 public void onError(int error, android.hardware.Camera camera) { argument
137 fail(String.format("Camera error, code: %d", error));
143 fail(String.format("Media recorder error, code: %d\textra: %d", what, extra));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java374 * Sets the error value of the corresponding state to the given error.
377 * @param error the value of the state error to be set.
379 private void setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) { argument
382 mStateErrors.errorInIdleState = error;
385 mStateErrors.errorInIdleStateAfterReset = error;
388 mStateErrors.errorInInitializedState = error;
391 mStateErrors.errorInPreparedState = error;
394 mStateErrors.errorInPreparedStateAfterStop = error;
[all...]
/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/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java264 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { argument
265 Log.w(TAG, "SSL error; displaying broken lock icon.");
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp68 goto error;
75 goto error;
82 goto error;
87 error:
219 int error = SYSTEM_ERROR; local
229 if (error = ifc_add_address(name, address, jPrefixLength)) {
231 strerror(-error));
234 if (error = ifc_del_address(name, address, jPrefixLength)) {
236 strerror(-error));
247 return !error;
252 throwException(JNIEnv *env, int error, const char *message) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java92 public QueryPoolException(String error) { argument
93 super(error);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java44 * Threshold of error change required to consider a test regressed/improved
84 float error = mErrorCalculator.calcErrorRS(mSoftwareBitmap, mHardwareBitmap);
88 handleError(modifierNames, error);
122 TestResult(String label, float error) { argument
124 mTotalError = error;
127 public void addInto(float error) { argument
128 mTotalError += error;
168 Log.e(LOG_TAG, "error parsing input json", e);
170 Log.e(LOG_TAG, "error reading input json from sd", e);
210 c.report(String.format("tests with error ove
248 addForAllModifiers(String fullName, float error, String[] modifierNames, HashMap<String, TestResult> modifierResults) argument
260 handleError(final String[] modifierNames, final float error) argument
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerSession.java165 public void onError(int type, int extra, Bundle extras, Throwable error) { argument
169 if (error != null) {
170 bob.setErrorMessage(error.getLocalizedMessage());
/frameworks/base/tools/apilint/
H A Dapilint.py210 def error(clazz, detail, msg): function
221 error(clazz, f, "Constant field names should be FOO_NAME")
227 error(clazz, None, "Enums are not allowed")
239 error(clazz, None, "Class must start with uppercase char")
252 error(clazz, m, "Method name must start with lowercase char")
262 error(clazz, None, "Class name must not be plural")
268 error(clazz, None, "Callback must be abstract class to enable extension in future API levels")
272 error(clazz, m, "Callback method names must be onFoo() style")
284 error(clazz, None, "Listener should be an interface, otherwise renamed Callback")
288 error(claz
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DMetadataExtractor.cpp412 std::string error; local
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h30 GoodBit = 0, // no error
31 BadBit = 1L << 0, // error due to the inappropriate operation
128 int error() const { return errno; } function in class:mcld::FileHandle
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java68 * Returns the error code {@link ERROR_DISCONNECTED} if disconnected, or one of
69 * {@code CameraDevice.StateCallback#ERROR_*} if there was another error.
71 * @return int Disconnect/error code
78 * Thrown when camera device enters error state during open, or if
252 public void onError(CameraDevice camera, int error) { argument
257 if (error <= 0) {
258 throw new AssertionError("Expected error to be a positive number");
264 mError = error;
274 if (mProxy != null) mProxy.onError(camera, error);
319 "Failed to open camera device: error cod
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl.cpp70 * - set system property "debug.egl.trace" to "error" to trace all apps.
112 sEGLGetErrorEnabled = !strcasecmp(value, "error");
216 char const* const error = "call to OpenGL ES API with " local
219 ALOGE(error);
221 LOG_ALWAYS_FATAL(error);
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp37 // int error = glGetError();
38 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error,
52 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
54 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
55 error);
60 for (GLint error = glGetError(); error; error
220 EGLint error = eglGetError(); local
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp139 EGLint error = eglGetError(); local
140 if (returnVal && error == EGL_SUCCESS) {
153 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
155 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
156 error);
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp39 // int error = glGetError();
40 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error,
54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
56 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
57 error);
62 for (GLint error = glGetError(); error; error
215 EGLint error = eglGetError(); local
[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

Completed in 2436 milliseconds

12345678