Searched refs:error (Results 126 - 150 of 446) sorted by path

1234567891011>>

/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_net_LocalSocketImpl.cpp531 // To us, any of the above flags are a fatal error
534 "Unexpected error or truncation during recvmsg()");
891 goto error;
898 goto error;
905 goto error;
911 goto error;
919 goto error;
928 goto error;
934 error:
H A Dandroid_os_SystemProperties.cpp40 goto error;
56 error:
77 goto error;
92 error:
107 goto error;
122 error:
136 goto error;
158 error:
H A Dandroid_util_Log.cpp39 jint error; member in struct:android::levels_t
128 levels.error = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ERROR", "I"));
H A Dandroid_view_GraphicBuffer.cpp113 status_t error; local
114 sp<GraphicBuffer> buffer(alloc->createGraphicBuffer(width, height, format, usage, &error));
H A Dcom_google_android_gles_jni_EGLImpl.cpp413 EGLint error = eglGetError(); local
414 return error;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java220 * FAILURE if tethering result returns error.
230 String[] error = mCm.getTetheringErroredIfaces();
238 for (String iface: error) {
/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/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");
H A DLaunchpadActivity.java448 private void finishBad(String error) { argument
449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error));
462 mResultStack = new RuntimeException("Original error was here");
/frameworks/base/core/tests/coretests/src/android/net/netlink/
H A DNetlinkErrorMessageTest.java45 // error integer
74 assertEquals(0, err.error);
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py562 opt_parser.error("unexpected arguments: %s" % " ".join(args))
563 # will never reach this: opt_parser.error will call sys.exit
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java49 * Indicates that a request was successful or that no error occurred.
53 * Indicates that an error occurred and the reason is not known.
107 * Called when the DRM framework sends error information.
110 * @param event The {@link DrmErrorEvent} instance that wraps the error type and message.
136 DrmErrorEvent error = null;
152 error = new DrmErrorEvent(mUniqueId,
161 error = new DrmErrorEvent(mUniqueId,
173 if (null != mOnErrorListener && null != error) {
174 mOnErrorListener.onError(DrmManagerClient.this, error);
202 DrmErrorEvent error
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java770 * @param acceptableError The acceptable error for a line on the
772 * the error is less than half a pixel.
832 private static native float[] native_approximate(long nPath, float error); argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp3911 ALOGW("Failure getting entry for 0x%08x (t=%d e=%d) (error %d)\n",
4362 printf("Identifier for name: error=%d\n", mError);
4741 bool error = false; local
4742 while (i < len && !error) {
4743 val = (val*16) + get_hex(s[i], &error);
4750 if (error) {
5091 bool error = false; local
5095 color |= get_hex(s[1], &error) << 20;
5096 color |= get_hex(s[1], &error) << 16;
5097 color |= get_hex(s[2], &error) << 1
[all...]
H A DZipFileRO.cpp68 const int32_t error = OpenArchive(zipFileName, &handle); local
69 if (error) {
70 ALOGW("Error opening archive %s: %s", zipFileName, ErrorCodeString(error));
85 const int32_t error = FindEntry(mHandle, data->name, &(data->entry)); local
86 if (error) {
138 int32_t error = StartIteration(mHandle, &(ze->cookie), local
141 if (error) {
142 ALOGW("Could not start iteration over %s: %s", mFileName, ErrorCodeString(error));
154 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); local
155 if (error) {
229 const int32_t error = ExtractToMemory(mHandle, &(zipEntry->entry), local
247 const int32_t error = ExtractEntryToFile(mHandle, &(zipEntry->entry), fd); local
[all...]
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp375 GLenum error = GL_NO_ERROR; local
410 if ((error = glGetError()) != GL_NO_ERROR) goto error;
425 if ((error = glGetError()) != GL_NO_ERROR) goto error;
429 if ((error = glGetError()) != GL_NO_ERROR) goto error;
441 if ((error = glGetError()) != GL_NO_ERROR) goto error;
451 if ((error
[all...]
H A DSkiaShader.cpp162 #error Need to convert gradInfo.fColorOffsets to float!
/frameworks/base/libs/hwui/font/
H A DFontUtil.h35 #error TEXTURE_BORDER_SIZE other than 1 is not currently supported
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp148 EGLint error = 0; local
149 mHaveNewSurface |= mEglManager.makeCurrent(mEglSurface, &error);
150 if (error) {
H A DEglManager.cpp41 static const char* egl_error_str(EGLint error) { argument
42 switch (error) {
59 return "Unknown error";
138 LOG_ALWAYS_FATAL("Failed to choose config, error = %s", egl_error_str());
147 "Failed to create context, error = %s", egl_error_str());
200 ALOGW("Failed to destroy surface %p, error=%s", (void*)surface, egl_error_str());
230 ALOGW("Failed to make current on surface %p, error=%s",
233 LOG_ALWAYS_FATAL("Failed to make current on surface %p, error=%s",
301 LOG_ALWAYS_FATAL("Encountered EGL error %d %s during rendering",
322 ALOGW("Failed to set EGL_SWAP_BEHAVIOR on surface %p, error
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java180 /* Command failed or unspecified audio error. see ErrorCallback */
188 * Handles the audio error callback.
194 * param error error code:
199 void onError(int error); argument
203 * Registers a callback to be invoked when an error occurs.
216 private static void errorCallbackFromNative(int error) argument
225 errorCallback.onError(error);
H A DMetadata.java290 * @return false if an error occurred during parsing.
294 boolean error = false;
304 error = true;
311 error = true;
320 error = true;
330 error = true;
340 if (0 != bytesLeft || error) {
341 Log.e(TAG, "Ran out of data or error on record " + recCount);
374 * @return false if an error occurred.

Completed in 367 milliseconds

1234567891011>>