Searched defs:error (Results 51 - 75 of 194) sorted by relevance

12345678

/frameworks/volley/src/com/android/volley/
H A DNetworkDispatcher.java143 private void parseAndDeliverNetworkError(Request<?> request, VolleyError error) { argument
144 error = request.parseNetworkError(error);
145 mDelivery.postError(request, error);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c62 Word32 error = 0; local
68 error=1;
71 if (!error) {
75 if (!error) {
76 error = InitElementInfo (config.nChannelsOut,
80 if (!error) {
84 if (!error) {
89 error = psyMainInit(&hAacEnc->psyKernel,
98 if(!error) {
103 if (!error) {
[all...]
H A Daacenc.c43 int error; local
54 error = 0;
83 error = 1;
86 if(!error)
92 error = 1;
96 if (!error) {
98 error = (PsyNew(&hAacEnc->psyKernel, MAX_CHANNELS, pMemOP) ||
102 if (!error) {
104 error = QCOutNew(&hAacEnc->qcOut,MAX_CHANNELS, pMemOP);
107 if (!error) {
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " +
117 mTestCases.add(error(clazz, "IllegalAccessException: could not instantiate " +
122 private UiAutomatorTestCase error(Class<?> clazz, final String message) { method in class:TestCaseCollector
/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);
H A DPathKeyframes.java25 * 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/net/http/
H A DLoggingEventHandler.java78 public void error(int id, String description) { method in class:LoggingEventHandler
80 HttpLog.v("LoggingEventHandler: error() called Id:" + id +
85 public boolean handleSslErrorRequest(SslError error) { argument
87 HttpLog.v("LoggingEventHandler: handleSslErrorRequest():" + error);
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()},
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...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java69 * Verifies a particular error code was received from a download
72 * @param error The error code expected
75 public void doErrorTest(Uri uri, int error) throws Exception { argument
84 verifyInt(cursor, DownloadManager.COLUMN_REASON, error);
263 * Tests the download failure error after too many redirects (>5).
279 * Tests the download failure error from an unhandled HTTP status code
290 * Tests the download failure error from an unhandled HTTP status code
385 * 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/
H A DCameraTestHelper.java48 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 DGLUtils.java88 * error.
171 * error.
228 * Return a string for the EGL error code, or the hex representation
229 * if the error is unknown.
231 * @param error The EGL error to convert into a String.
233 * @return An error string corresponding to the EGL error code.
235 public static String getEGLErrorString(int error) { argument
236 switch (error) {
[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);
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp125 std::string error; local
131 module = llvm_3_0::ParseBitcodeFile(MEM.get(), *mContext, &error);
133 module = llvm_2_7::ParseBitcodeFile(MEM.get(), *mContext, &error);
141 ALOGE("%s", error.c_str());
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2DeviceTester.java79 public void onError(CameraDevice camera, int error) {} argument
/frameworks/minikin/sample/
H A Dexample.cpp51 FT_Error error; local
55 error = FT_New_Face(library, fn, 0, &face);
56 if (error != 0) {
57 printf("error loading %s, %d\n", fn, error);
67 error = FT_New_Face(library, fn, 0, &face);
77 FT_Error error = FT_Init_FreeType(&library); local
78 if (error) {
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp36 : error(EGL_SUCCESS), ctx(0), logCallWithNoContext(EGL_TRUE) {
71 const char* caller, int line, EGLint error, bool quiet) {
74 if (tls->error != error) {
76 ALOGE("%s:%d error %x (%s)",
77 caller, line, error, egl_strerror(error));
84 tls->error = error;
117 // This must clear the error fro
70 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
130 EGLint error = tls->error; local
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DRequestFuture.java31 * Used by providing as your response and error listeners. For example:
46 * // handle the error
48 * // handle the error
148 public synchronized void onErrorResponse(VolleyError error) { argument
149 mException = 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:__anon376
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.cpp294 void TimedTextPlayer::notifyError(int error) { argument
297 ALOGE("%s(error=%d): Listener is NULL.", __FUNCTION__, error);
300 listener->sendEvent(MEDIA_INFO, MEDIA_INFO_TIMED_TEXT_ERROR, error);
/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;
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java49 * @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/
H A DCameraDevice.java123 * a serious error.</p>
371 * encountered a fatal error
399 * encountered a fatal error
449 * An error code that can be reported by {@link #onError}
453 * This error can be produced when opening the camera fails.
461 * An error code that can be reported by {@link #onError}
472 * This error can be produced when opening the camera fails.
480 * An error code that can be reported by {@link #onError}
490 * An error code that can be reported by {@link #onError}
491 * indicating that the camera device has encountered a fatal error
596 onError(CameraDevice camera, int error) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java59 public void onError(CameraDevice camera, int error) { argument
60 mProxy.invoke("onError", camera, error);

Completed in 615 milliseconds

12345678