/frameworks/base/core/java/android/net/ |
H A D | ConnectivityManager.java | 340 * failed. Use {@link #getLastTetherError} to find the error code 1486 /** An error occurred. */ 1487 public void onError(int error) {} argument 1497 * {@code onStarted} method will be called. If an error occurs, {@code onError} will be called, 1501 * the operation was successfull or {@code onError} if an error occurred. 1532 /** The hardware returned an error. */ 1570 int error = message.arg2; 1572 if (error == SUCCESS) { 1583 mCallback.onError(error); 1586 Log.e(TAG, "Exception in keepalive callback(" + error [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | SslError.java | 52 * A generic error occurred 62 // Update if you add a new SSL error!!! 67 * The SSL error set bitfield (each individual error is a bit index; 73 * The SSL certificate associated with the error set 78 * The URL associated with the error set. 83 * Creates a new SslError object using the supplied error and certificate. 85 * @param error The SSL error 90 public SslError(int error, SslCertificat argument 102 SslError(int error, X509Certificate certificate) argument 113 SslError(int error, SslCertificate certificate, String url) argument 128 SslError(int error, X509Certificate certificate, String url) argument 139 SslErrorFromChromiumErrorCode( int error, SslCertificate cert, String url) argument 176 addError(int error) argument 190 hasError(int error) argument [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentAdapter.java | 140 * LayoutResultCallback#onLayoutFailed(CharSequence)}, if an error occurred; 198 * CharSequence)}, if an error occurred; or {@link WriteResultCallback#onWriteCancelled()}, 278 * Notifies that an error occurred while writing the data. 280 * @param error The <strong>localized</strong> error message. 281 * shown to the user. May be <code>null</code> if error is unknown. 283 public void onWriteFailed(CharSequence error) { argument 322 * Notifies that an error occurred while laying out the document. 324 * @param error The <strong>localized</strong> error messag 327 onLayoutFailed(CharSequence error) argument [all...] |
H A D | PrintManager.java | 1151 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/java/android/printservice/ |
H A D | PrintJob.java | 176 * not successfully printed due to an error. This is a final state. 271 * @param error The human readable, short, and translated reason 280 public boolean fail(@Nullable String error) { argument 283 return setState(PrintJobInfo.STATE_FAILED, error); 465 private boolean setState(int state, @Nullable String error) { argument 467 if (mPrintServiceClient.setPrintJobState(mCachedInfo.getId(), state, error)) { 472 mCachedInfo.setStatus(error);
|
/frameworks/base/core/java/android/speech/ |
H A D | RecognitionListener.java | 62 * A network or recognition error occurred. 64 * @param error code is defined in {@link SpeechRecognizer} 66 void onError(int error); argument
|
H A D | RecognitionService.java | 172 * @param listener to send the error message to in case of error 268 * The service should call this method when a network or recognition error occurred. 270 * @param error code is defined in {@link SpeechRecognizer} 272 public void error(int error) throws RemoteException { argument 274 mListener.onError(error);
|
H A D | SpeechRecognizer.java | 86 /** Audio recording error. */ 89 /** Server sends error status. */ 483 public void onError(final int error) { argument 484 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget();
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | FileSynthesisCallback.java | 209 // This is not an error that would prevent synthesis. Hence no 254 public void error() { method in class:FileSynthesisCallback 255 error(TextToSpeech.ERROR_SYNTHESIS); 259 public void error(int errorCode) { method in class:FileSynthesisCallback 260 if (DBG) Log.d(TAG, "FileSynthesisRequest.error()");
|
H A D | PlaybackSynthesisCallback.java | 93 // This happens when stop() or error() were called before start() was. 222 // Not an error that would prevent synthesis. Hence no 249 // Signal done or error to item 260 public void error() { method in class:PlaybackSynthesisCallback 261 error(TextToSpeech.ERROR_SYNTHESIS); 265 public void error(int errorCode) { method in class:PlaybackSynthesisCallback 266 if (DBG) Log.d(TAG, "error() [will call stop]");
|
H A D | SynthesisCallback.java | 32 * {@link #error} can be called at any stage in the synthesis process to 33 * indicate that an error has occurred, but if the call is made after a call 100 * <p>This method has to be called if {@link #start} and/or {@link #error} was called. 113 void error(); method in interface:SynthesisCallback 124 void error(@TextToSpeech.Error int errorCode); method in interface:SynthesisCallback
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 60 * made immutable and calling a state mutation method generates an error. 2511 * Sets the error text of this node. 2518 * @param error The error text. 2522 public void setError(CharSequence error) { argument 2524 mError = (error == null) ? null : error.subSequence(0, error.length()); 2528 * Gets the error text of this node. 2530 * @return The error tex [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClient.java | 207 /** Generic error */ 231 /** Generic file error */ 241 * Report an error to the host application. These errors are unrecoverable 245 * @param errorCode The error code corresponding to an ERROR_* value. 246 * @param description A String describing the error. 257 * Report web resource loading error to the host application. These errors usually indicate 263 * @param error Information about the error occured. 265 public void onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) { argument 268 error 324 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument [all...] |
H A D | WebViewFactory.java | 95 // error codes for waiting for WebView preparation 99 // native relro loading error codes 104 // more error codes for waiting for WebView preparation 107 // error for namespace lookup 110 private static String getWebViewPreparationErrorReason(int error) { argument 111 switch (error) { 164 Log.e(LOGTAG, "error waiting for relro creation", e); 218 Log.w(LOGTAG, "error instantiating provider with static factory method", e); 229 Log.e(LOGTAG, "error instantiating provider", e); 422 Log.e(LOGTAG, "error loadin [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 230 * This flag is set if the TextView tries to display an error before it 232 * It causes the error to be shown later, when onAttachedToWindow() 495 public void setError(CharSequence error, Drawable icon) { argument 496 mError = TextUtils.stringOrSpannedString(error); 540 * Returns the X offset to make the pointy top of the error point 541 * at the middle of the error icon. 571 * Returns the Y offset to make the pointy top of the error point 572 * at the bottom of the error icon.
|
H A D | TextView.java | 3300 // From a developer's perspective, the error drawable isn't 5045 ss.error = getError(); 5107 if (ss.error != null) { 5108 final CharSequence error = ss.error; 5109 // Display the error later, after the first layout pass 5113 setError(error); 6076 * Returns the error message that was set to be displayed with 6077 * {@link #setError}, or <code>null</code> if no error was set 6078 * or if it the error wa 6093 setError(CharSequence error) argument 6114 setError(CharSequence error, Drawable icon) argument 11572 CharSequence error; field in class:TextView.SavedState [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | FuseAppLoop.java | 65 * 0 is regarded as an error, 1 is mount point. So we start the number from 2. 216 } catch (Exception error) { 218 Log.e(TAG, "", error); 219 replySimpleLocked(unique, getError(error)); 249 } catch (Exception error) { 250 replySimpleLocked(unique, getError(error)); 269 } catch (ErrnoException error) { 270 replySimpleLocked(unique, getError(error)); 276 private static int getError(@NonNull Exception error) { argument 277 if (error instanceo [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | GraphicBuffer.cpp | 117 status_t error = buffer->initCheck(); local 118 if (error < 0) {
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfUtils.cpp | 42 // Check if the last pdfium command failed and if so, forward the error to java via an exception. If 45 long error = FPDF_GetLastError(); local 46 switch (error) { 63 jniThrowException(env, "java/io/IOException", "page not found or content error"); 67 jniThrowException(env, "java/lang/Exception", "load XFA error"); 70 jniThrowException(env, "java/lang/Exception", "layout XFA error"); 75 jniThrowExceptionFmt(env, "java/lang/Exception", "unknown error %d", error);
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 49 * 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...] |
H A D | android_hardware_HardwareBuffer.cpp | 87 status_t error = buffer->initCheck(); local 88 if (error < 0) {
|
H A D | android_hardware_UsbDeviceConnection.cpp | 239 // error or time out. As several threads can listen on the same fd, we might get wakeups 245 int error = errno; local 256 if (error != EAGAIN) {
|
H A D | android_hardware_camera2_legacy_PerfMeasurement.cpp | 83 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 D | android_media_RemoteDisplay.cpp | 90 virtual void onDisplayError(int32_t error) { argument 94 gRemoteDisplayClassInfo.notifyDisplayError, error);
|
H A D | android_util_Log.cpp | 41 jint error; member in struct:android::levels_t 132 levels.error = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ERROR", "I"));
|