Searched defs:error (Results 76 - 100 of 351) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/net/http/
H A DSslError.java52 * 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 DPrintDocumentAdapter.java140 * LayoutResultCallback#onLayoutFailed(CharSequence)}, if an error occurred;
198 * CharSequence)}, if an error occurred; or {@link WriteResultCallback#onWriteCancelled()},
280 * Notifies that an error occurred while writing the data.
282 * @param error The <strong>localized</strong> error message.
283 * shown to the user. May be <code>null</code> if error is unknown.
285 public void onWriteFailed(CharSequence error) { argument
324 * Notifies that an error occurred while laying out the document.
326 * @param error The <strong>localized</strong> error messag
329 onLayoutFailed(CharSequence error) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java32 * {@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/jni/android/graphics/pdf/
H A DPdfUtils.cpp42 // 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/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java70 * Verifies a particular error code was received from a download
73 * @param error The error code expected
76 public void doErrorTest(Uri uri, int error) throws Exception { argument
89 verifyInt(cursor, DownloadManager.COLUMN_REASON, error);
265 * Tests the download failure error after too many redirects (>5).
281 * Tests the download failure error from an unhandled HTTP status code
292 * Tests the download failure error from an unhandled HTTP status code
397 * Tests that we get an error code when the server drops the connection during a download.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestHelper.java46 public void onError(int error, android.hardware.Camera camera) { argument
47 Assert.fail(String.format("Camera error, code: %d", error));
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java80 * error.
163 * error.
220 * Return a string for the EGL error code, or the hex representation
221 * if the error is unknown.
223 * @param error The EGL error to convert into a String.
225 * @return An error string corresponding to the EGL error code.
227 public static String getEGLErrorString(int error) { argument
228 switch (error) {
[all...]
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsUtListener.java46 public void onUtConfigurationUpdateFailed(int id, ImsReasonInfo error) { argument
48 mServiceInterface.utConfigurationUpdateFailed(null, id, error);
62 public void onUtConfigurationQueryFailed(int id, ImsReasonInfo error) { argument
64 mServiceInterface.utConfigurationQueryFailed(null, id, error);
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
H A DImsUtListenerImplBase.java50 public void utConfigurationUpdateFailed(IImsUt ut, int id, ImsReasonInfo error) argument
62 public void utConfigurationQueryFailed(IImsUt ut, int id, ImsReasonInfo error) argument
/frameworks/base/tools/aapt2/format/binary/
H A DResChunkPullParser.h54 const std::string& error() const;
105 inline const std::string& ResChunkPullParser::error() const { function in class:aapt::ResChunkPullParser
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp51 static void error(const char* fmt, ...) { function
59 error("Keymap Validation Tool\n\n");
60 error("Usage:\n");
61 error(
96 error("Supported file types: *.kl, *.kcm, virtualkeys.*\n\n");
103 error("Error %d parsing key layout file.\n\n", status);
114 error("Error %d parsing key character map file.\n\n", status);
124 error("Error %d parsing input device configuration file.\n\n", status);
135 error("Error %d parsing virtual key definition file.\n\n", status);
165 error("Faile
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp132 std::string error; local
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2DeviceTester.java78 public void onError(CameraDevice camera, int error) {} argument
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dargument_encoder.h98 // ErrorType error = decoder.DecodeReturn(&return_value);
113 ArgsTupleType DecodeArguments(ErrorType* error) { argument
115 *error = Deserialize(&value, reader_);
134 ArgsTupleType DecodeArguments(ErrorType* error) { argument
136 *error = Deserialize(&value, reader_);
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h11 // This is a helper class for constructing Status<T> with an error code.
14 ErrorStatus(int error) : error_{error} {} argument
15 int error() const { return error_; } function in struct:android::pdx::ErrorStatus
24 // or error code to the caller.
37 // Constructor for storing an error code inside the Status object.
39 : error_{error_status.error()} {}
60 // Change the value/error code of the status object directly.
65 void SetError(int error) { argument
66 error_ = error;
104 int error() const { return std::max(error_, 0); } function in class:android::pdx::Status
141 SetError(int error) argument
155 int error() const { return std::max(error_, 0); } function in class:android::pdx::Status
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp31 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(true) {
66 const char* caller, int line, EGLint error, bool quiet) {
69 if (tls->error != error) {
71 ALOGE("%s:%d error %x (%s)",
72 caller, line, error, egl_strerror(error));
79 tls->error = error;
113 // This must clear the error fro
65 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
126 EGLint error = tls->error; local
[all...]
/frameworks/native/services/surfaceflinger/
H A DColorLayer.cpp71 auto error = hwcLayer->setVisibleRegion(visible); local
72 if (error != HWC2::Error::None) {
74 to_string(error).c_str(), static_cast<int32_t>(error));
80 error = hwcLayer->setDataspace(mCurrentDataSpace);
81 if (error != HWC2::Error::None) {
83 to_string(error).c_str(), static_cast<int32_t>(error));
87 error = hwcLayer->setColor({static_cast<uint8_t>(std::round(255.0f * color.r)),
90 if (error !
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DSurface.cpp56 EGLint error = eglGetError(); local
59 if (mCritical || error == EGL_CONTEXT_LOST) {
60 LOG_ALWAYS_FATAL(format, mEGLDisplay, mEGLSurface, error);
62 ALOGE(format, mEGLDisplay, mEGLSurface, error);
/frameworks/native/services/vr/performanced/
H A Dperformance_service_tests.cpp40 const int error = file ? 0 : errno; local
41 return {std::move(file), error};
45 int error; local
48 std::tie(file, error) = OpenTaskFile(task_id, "cpuset");
50 return std::string("errno:") + strerror(error);
63 int error; local
66 error = dvrSetCpuPartition(0, "/application/background");
67 EXPECT_EQ(0, error);
69 error = dvrSetCpuPartition(0, "/application/performance");
70 EXPECT_EQ(0, error);
117 int error; local
138 int error; local
180 int error = dvrSetSchedulerPolicy(0, "vr:app:render"); local
201 int error; local
220 int error; local
251 int error; local
[all...]
H A Dtask.cpp51 const int error = errno; local
52 ALOGE_IF(task_fd_.get() < 0 && error != EACCES,
54 task_id, strerror(error));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DTestUtil.java90 Context context, int apState, int previousState, int error, String ifaceName,
97 intent.putExtra(WifiManager.EXTRA_WIFI_AP_FAILURE_REASON, error);
89 sendWifiApStateChanged(BroadcastReceiver broadcastReceiver, Context context, int apState, int previousState, int error, String ifaceName, int mode) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DKeepaliveStatus.java52 /** An error code indicating a lower layer failure, if any */
55 public KeepaliveStatus(int error) { argument
58 errorCode = error;
/frameworks/av/media/libmedia/
H A DMetadata.cpp145 bool error = false; local
151 error = true;
156 error = true;
163 return !error;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.h166 Word16 mem_err[M + L_SUBFR], *error; member in struct:__anon520
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp81 // Set up error management
83 JpegError error; local
84 error.parent = this;
86 mCInfo.err = jpeg_std_error(&error);
193 JpegError *error = static_cast<JpegError*>(cinfo->err); local
194 error->parent->mJpegErrorInfo = cinfo;

Completed in 563 milliseconds

1234567891011>>