/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerService.java | 532 public boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument 546 printJob.setStatus(error); 1420 public void setPrintJobState(PrintJobId printJobId, int state, String error, argument 1425 printJobId, state, error);
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 580 public void onFingerprintError(String error) { argument 583 mBar.onFingerprintError(error);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 324 // TYPE_NULL with data set to 0 is interpreted by the runtime as an error. 407 bool error = false; local 411 value.data |= ParseHex(start[1], &error) << 20; 412 value.data |= ParseHex(start[1], &error) << 16; 413 value.data |= ParseHex(start[2], &error) << 12; 414 value.data |= ParseHex(start[2], &error) << 8; 415 value.data |= ParseHex(start[3], &error) << 4; 416 value.data |= ParseHex(start[3], &error); 419 value.data |= ParseHex(start[1], &error) << 28; 420 value.data |= ParseHex(start[1], &error) << 2 [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraAgent.java | 162 public void onError(int error, CameraProxy camera); argument 231 * camera device. This error callback is different from the one defined 261 * @param cameraId The camera which is causing the open error. 418 * @param cb The callback when any error happens.
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 474 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED, "Path.op() not supported", null); 484 /*package*/ static float[] nApproximate(long nPath, float error) { argument 490 PathIterator iterator = pathDelegate.getJavaShape().getPathIterator(null, error);
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 541 ALOGE("getAndExecuteCommand(fd=%d) returned unexpected error %d, aborting", 1104 status_t error; local 1121 error = reinterpret_cast<BBinder*>(tr.cookie)->transact(tr.code, buffer, 1125 error = UNKNOWN_TRANSACTION; 1129 error = the_context_object->transact(tr.code, buffer, &reply, tr.flags); 1137 if (error < NO_ERROR) reply.setError(error);
|
/frameworks/native/libs/binder/tests/ |
H A D | schd-dbg.cpp | 173 int error = write(m_writeFd, &val, sizeof(val)); local 174 ASSERT(error >= 0); 178 int error = read(m_readFd, &val, sizeof(val)); local 179 ASSERT(error >= 0); 183 int error = write(m_writeFd, &v, sizeof(T)); local 184 ASSERT(error >= 0); 188 int error = read(m_readFd, &v, sizeof(T)); local 189 ASSERT(error >= 0);
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 325 // Return an error if we're in non-blocking mode (producer and 506 status_t error = graphicBuffer->initCheck(); local 511 if (error == NO_ERROR && !mCore->mIsAbandoned) { 519 if (error != NO_ERROR) { 523 return error; 544 // If something goes wrong, log the error, but return the buffer without 548 BQ_LOGE("dequeueBuffer: error %#x waiting for fence", 1246 // It's not really an error to disconnect after the surface has 1257 // nobody is connected, it's not really an error.
|
H A D | GLConsumer.cpp | 452 // keep going, with error raised [?] 487 GLenum error; local 488 while ((error = glGetError()) != GL_NO_ERROR) { 489 GLC_LOGW("bindTextureImage: clearing GL error: %#04x", error); 512 if ((error = glGetError()) != GL_NO_ERROR) { 523 if ((error = glGetError()) != GL_NO_ERROR) { 524 GLC_LOGE("bindTextureImage: error binding external image: %#04x", error); 539 // never been set, so don't error ou 1157 EGLint error = eglGetError(); local [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 367 int error = native_window_set_buffers_smpte2086_metadata(window.get(), &smpte2086); local 368 ASSERT_EQ(error, NO_ERROR); 369 error = native_window_set_buffers_cta861_3_metadata(window.get(), &cta861_3); 370 ASSERT_EQ(error, NO_ERROR); 1645 // when they aren't supported and that an error is returned.
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 159 int error = errno; local 161 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.c_str(), 162 msg->header.type, error); 164 if (error == EAGAIN || error == EWOULDBLOCK) { 167 if (error == EPIPE || error == ENOTCONN || error == ECONNREFUSED || error == ECONNRESET) { 170 return -error; 194 int error = errno; local [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | remote_method_tests.cpp | 276 return LocalHandle(-status.error()); 284 return status ? 0 : -status.error(); 313 return status ? return_value.first : -status.error(); 318 return status ? 0 : -status.error(); 529 message.ReplyError(status.error()); 669 const int error = client->GetFile("/dev/zero", O_RDONLY, &fd); local 670 EXPECT_EQ(0, error);
|
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 217 GLenum error = 0; local 219 error = GL_INVALID_ENUM; 223 error = GL_INVALID_ENUM; 226 error = GL_INVALID_OPERATION; 230 error = GL_INVALID_OPERATION; 232 if (error) { 233 ogles_error(c, error); 235 return error; 1102 // unclear if this is an error or not... 1116 int error local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 210 struct hwc_rect hwcTestParseHwcRect(istringstream& in, bool& error) argument 215 // Defensively specify that an error occurred. Will clear 216 // error flag if all of parsing succeeds. 217 error = true; 254 // Made It, clear error indicator 255 error = false; 261 HwcTestDim hwcTestParseDim(istringstream& in, bool& error) argument 267 // Defensively specify that an error occurred. Will clear 268 // error flag if all of parsing succeeds. 269 error 305 hwcTestParseColor(istringstream& in, bool& error) argument 1009 EGLint error = eglGetError(); local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayer.cpp | 627 auto error = hwcLayer->setVisibleRegion(visible); local 628 if (error != HWC2::Error::None) { 630 to_string(error).c_str(), static_cast<int32_t>(error)); 634 error = hwcLayer->setSurfaceDamage(surfaceDamageRegion); 635 if (error != HWC2::Error::None) { 637 to_string(error).c_str(), static_cast<int32_t>(error)); 645 error = hwcLayer->setSidebandStream(getBE().compositionInfo.hwc.sidebandStream->handle()); 646 if (error ! [all...] |
H A D | DisplayDevice.cpp | 344 status_t error = hwc.prepare(*this); local 345 if (error != NO_ERROR) { 346 return error;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 256 EGLint error = eglGetError(); local 262 ALOGW("error waiting on EGL fence: %#x", error); 290 EGLint error = eglGetError(); local 292 if (error != EGL_SUCCESS) { 293 ALOGE("failed to wait for EGL native fence sync: %#x", error); 302 // there could be more than one error flag 303 GLenum error = glGetError(); local 304 if (error == GL_NO_ERROR) break; 305 ALOGE("GL error [all...] |
/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.cpp | 65 int error = 0; local 66 auto display_client = display::DisplayClient::Create(&error); 68 ALOGE("Could not connect to display service : %s(%d)", strerror(error), 69 error); 76 status.GetErrorMessage().c_str(), status.error()); 359 int error = 0; local 360 auto display_client = display::DisplayClient::Create(&error); 363 strerror(error), error);
|
/frameworks/rs/ |
H A D | rsFont.cpp | 47 FT_Error error = 0; local 49 error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); 51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); 54 if (error) { 63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); 64 if (error) { 240 FT_Error error = FT_Load_Glyph( mFace, glyph->mGlyphIndex, FT_LOAD_RENDER ); local 241 if (error) { 385 FT_Error error = FT_Init_FreeType(&mLibrary); local 386 if (error) { [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 834 goto error; 845 goto error; 850 goto error; 879 goto error; 885 error: 1007 int error; local 1012 &error); 1015 speex_resampler_strerror(error)); 1022 &error); 1025 speex_resampler_strerror(error)); [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 450 "authentication-error", 451 "io-error", 452 "parse-error", 456 "internal-error", 460 public static String syncErrorToString(int error) { argument 461 if (error < 1 || error > SYNC_ERROR_NAMES.length) { 462 return String.valueOf(error); 464 return SYNC_ERROR_NAMES[error - 1]; 468 public static int syncErrorStringToInt(String error) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 211 // calling FatalError with a message derived from the given error. 212 static void report_java_lang_error_fatal_error(JNIEnv* env, jthrowable error, argument 215 // Report an error: reraise the exception and ask the runtime to abort. 221 ScopedLocalRef<jclass> exc_class(env, env->GetObjectClass(error)); 227 env->CallObjectMethod(error, method_id))); 239 env->Throw(error); 252 static void report_java_lang_error(JNIEnv* env, jthrowable error, const char* msg) argument 259 error); 262 // Some error occurred that meant that either dispatchUncaughtException could not be 263 // called or that it had an error itsel [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | ImageDecoder.java | 151 * <p>If the encoded image is incomplete or contains an error, or if an 572 * {@link Bitmap.Config#ALPHA_8} for instance), or there is an error, 646 * The encoded data contained an error. 659 DecodeException(@Error int error, @Nullable Throwable cause, @NonNull Source source) { argument 660 super(errorMessage(error, cause), cause); 661 mError = error; 669 DecodeException(@Error int error, @Nullable String msg, @Nullable Throwable cause, argument 671 super(msg + errorMessage(error, cause), cause); 672 mError = error; 679 * <p>If the error i 699 errorMessage(@rror int error, @Nullable Throwable cause) argument 1871 onPartialImage(@ecodeException.Error int error, @Nullable Throwable cause) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 361 Log.w(TAG, "error in sending event (event=" + eventType + ")", e); 387 Log.w(TAG, "error in notifyChannelRetuned", e); 416 Log.w(TAG, "error in notifyTracksChanged", e); 447 Log.w(TAG, "error in notifyTrackSelected", e); 474 Log.w(TAG, "error in notifyVideoAvailable", e); 511 Log.w(TAG, "error in notifyVideoUnavailable", e); 552 Log.w(TAG, "error in notifyContentAllowed", e); 597 Log.w(TAG, "error in notifyContentBlocked", e); 641 Log.w(TAG, "error in notifyTimeShiftStatusChanged", e); 658 Log.w(TAG, "error i 1610 notifyError(@vInputManager.RecordingError int error) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 575 * @throws UnsupportedOperationException If an error happens while waiting on the failure. 1361 public void onError(CameraDevice camera, int error) { argument 1711 * @param collector The camera error collector to collect errors. 1776 * @param collector The camera error collector to collect errors.
|