Searched defs:error (Results 251 - 275 of 351) sorted by relevance

<<1112131415

/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java177 int error = msg.arg1;
178 mPhone.internalOnHandoverFailed(callId, error);
263 public void onHandoverFailed(String callId, int error) { argument
264 mHandler.obtainMessage(MSG_ON_HANDOVER_FAILED, error, 0, callId).sendToTarget();
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java451 * Implements the EventHandler error method called when a server
453 * @param id Status code of the error
454 * @param description Brief description of the error
456 public void error(int id, String description) { method in class:TestEventHandler
458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id +
496 * SSL certificate error callback. Handles SSL error(s) on the way
499 public boolean handleSslErrorRequest(SslError error) { argument
500 int primaryError = error.getPrimaryError();
504 " primary error
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp763 bool error = false; local
770 error = true;
794 error = true;
802 error = true;
811 error |= !compile_func(&context, options, path_data, archive_writer.get(), out_path);
813 return error ? 1 : 0;
/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp72 std::ostringstream error; local
73 error << "configuration has invalid locale '" << pb_config.locale() << "'";
74 *out_error = error.str();
389 std::ostringstream error; local
390 error << "unknown type '" << pb_type.name() << "'";
391 *out_error = error.str();
524 std::ostringstream error; local
525 error << "invalid resource name in compiled file header: " << pb_file.resource_name();
526 *out_error = error.str();
536 std::ostringstream error; local
544 std::ostringstream error; local
584 std::ostringstream error; local
[all...]
/frameworks/base/tools/apilint/
H A Dapilint.py223 def __init__(self, sig, clazz, detail, error, rule, msg):
225 self.error = error
229 if error:
256 def _fail(clazz, detail, error, rule, msg):
263 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
269 def error(clazz, detail, rule, msg): function
291 error(clazz, f, "C2", "Constant field names must be FOO_NAME")
296 error(clazz, f, None, "All constants must be defined at compile time")
302 error(claz
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DMetadataExtractor.cpp92 // Return true on success, false on error.
98 // An error occurs if one of the metadata operands doesn't have a
613 std::string error; local
/frameworks/layoutlib/bridge/src/android/graphics/
H A DImageDecoder.java291 * The encoded data contained an error.
312 * @param error indicating what interrupted the decode.
313 * @param source that had the error.
318 boolean onPartialImage(@Error int error, @NonNull Source source); argument
556 * Will be called if there is an error in the input. Without one, a
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp74 int error = write(m_writeFd, &val, sizeof(val)); local
75 ASSERT_TRUE(error >= 0);
79 int error = read(m_readFd, &val, sizeof(val)); local
80 ASSERT_TRUE(error >= 0);
83 int error = write(m_writeFd, &v, sizeof(T)); local
84 ASSERT_TRUE(error >= 0);
87 int error = read(m_readFd, &v, sizeof(T)); local
88 ASSERT_TRUE(error >= 0);
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
H A Dbuffer_transport_benchmark.cpp173 int error = service_->transact(CREATE_BUFFER_QUEUE, data, &reply); variable
174 if (error != NO_ERROR) {
180 error = reply.readNullableStrongBinder(&binder);
181 if (error != NO_ERROR) {
382 LOG(ERROR) << "Failed to acquire consumer buffer, error: " << ret;
392 LOG(ERROR) << "Failed to release consumer buffer, error: " << ret;
471 int32_t error = 0; local
484 error = ANativeWindow_lock(window, &buffer,
486 CHECK_EQ(error, 0);
487 error
[all...]
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp280 int error = dvrConfigurationDataGet(config_type, &data, &data_size); local
281 if (error < 0) {
282 return ErrorStatus(-error);
338 << ") expected to indicate success but actually contains error ("
339 << status.error() << ")";
351 << ") expected to indicate error but instead indicates success.";
364 } else if (status.error() != error_code) {
366 << "(" << status_expression << ") expected to indicate error ("
367 << error_code << ") but actually indicates error (" << status.error()
850 int error = dvrWriteBufferQueueGainBuffer(write_queue.get(), /*timeout=*/1000, local
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp268 Status<void> Message::ReplyError(unsigned int error) { argument
273 svc->endpoint()->MessageReply(this, -static_cast<int>(error));
492 if (status.error() == ENOENT)
544 name_.c_str(), strerror(ret.error()));
663 // Don't block the sender indefinitely in this error case.
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp60 #define LOG_HWC_ERROR(what, error, displayId) \
62 to_string(error).c_str(), static_cast<int32_t>(error))
72 #define RETURN_IF_HWC_ERROR_FOR(what, error, displayId, ...) \
74 if (error != HWC2::Error::None) { \
75 LOG_HWC_ERROR(what, error, displayId); \
80 #define RETURN_IF_HWC_ERROR(error, displayId, ...) \
81 RETURN_IF_HWC_ERROR_FOR(__FUNCTION__, error, displayId, __VA_ARGS__)
161 auto error = display->getType(&displayType); local
162 if (error !
225 auto error = mHwcDevice->createVirtualDisplay(width, height, format, local
258 auto error = display->createLayer(&layer); local
267 auto error = display->destroyLayer(layer); local
305 auto error = mDisplayData[displayId].hwcDisplay->getActiveConfig(&config); local
327 auto error = mDisplayData[displayId].hwcDisplay->getActiveConfigIndex(&index); local
347 auto error = mDisplayData[displayId].hwcDisplay->getColorModes(&modes); local
357 auto error = displayData.hwcDisplay->setColorMode(mode, renderIntent); local
383 auto error = displayData.hwcDisplay->setVsyncEnabled(enabled); local
401 auto error = hwcDisplay->setClientTarget(slot, target, acquireFence, dataspace); local
427 HWC2::Error error = HWC2::Error::None; local
582 auto error = mHwcDevice->flushCommands(); local
588 auto error = hwcDisplay->present(&displayData.lastPresentFence); local
620 auto error = hwcDisplay->setPowerMode(mode); local
632 auto error = hwcDisplay->supportsDoze(&supportsDoze); local
665 auto error = displayData.hwcDisplay->setActiveConfig(displayData.configMap[configId]); local
676 auto error = displayData.hwcDisplay->setColorTransform(transform, local
711 auto error = hwcDisplay->getType(&displayType); local
734 auto error = hwcDisplay->getHdrCapabilities(outCapabilities); local
743 auto error = mDisplayData[displayId].hwcDisplay->getSupportedPerFrameMetadata( local
754 auto error = mDisplayData[displayId].hwcDisplay->getRenderIntents(colorMode, &renderIntents); local
763 auto error = mDisplayData[displayId].hwcDisplay->getDataspaceSaturationMatrix(dataspace, local
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp49 GLint error = glGetError(); local
50 while (error != GL_NO_ERROR) {
52 error = glGetError();
53 ALOGV("after %s() (line # %d) glError (0x%x)\n", op, lineNumber, error);
481 #error "don't include gl/gl.h in this file"
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DRegisteredMediaRouteProvider.java295 void onConnectionError(Connection connection, String error) { argument
298 Log.d(TAG, this + ": Service connection error - " + error);
546 public boolean onControlRequestFailed(int requestId, String error, Bundle data) { argument
550 callback.onError(error, data);
723 String error = (data == null ? null :
726 requestId, error, (Bundle)obj);
H A DRemotePlaybackClient.java697 public void onError(String error, Bundle data) {
698 handleError(intent, callback, error, data);
744 public void onError(String error, Bundle data) {
745 handleError(intent, callback, error, data);
764 String error, Bundle data) {
773 Log.w(TAG, "Received error from " + intent.getAction()
774 + ": error=" + error
778 callback.onError(error, code, data);
991 * @param error
763 handleError(Intent intent, ActionCallback callback, String error, Bundle data) argument
996 onError(String error, int code, Bundle data) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp750 ALOGE("%s: camera device has encountered a serious error", __FUNCTION__);
757 CameraDevice::setCameraDeviceErrorLocked(camera_status_t error) { argument
759 mError = error;
793 // erase the old error since it's no longer useful
796 // Normal requests hasn't catched up error frames, just break
828 // Handle buffer error
951 ALOGE("%s: Cannot find error code!", __FUNCTION__);
1263 ALOGD("Device error received, code %d, frame number %" PRId64 ", request ID %d, subseq ID %d",
1292 ALOGE("Unknown error from camera device: %d", errorCode);
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Decoder.cpp187 ALOGE("Decoder (%s) reported error : 0x%x",
261 // reconnect to the new surface on error as MPS::Client will expect to
338 // any error signaling will occur.
549 status_t error = native_window_api_connect(mNativeWindow->getANativeWindow(), local
551 ALOGW_IF(error != NO_ERROR,
552 "[%s] failed to connect to native window, error=%d",
553 mComponentName.c_str(), error);
606 // in the renderer. We signal to the player the error so it can shutdown/release the
931 // when there is an error (including EOS)
1038 ALOGE("Stream error fo
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp189 ALOGE("Decoder (%s) reported error : 0x%x",
254 // reconnect to the new surface on error as MPS::Client will expect to
326 // any error signaling will occur.
529 status_t error = nativeWindowConnect(mSurface.get(), "onShutdown"); local
530 ALOGW_IF(error != NO_ERROR,
531 "[%s] failed to connect to native window, error=%d",
532 mComponentName.c_str(), error);
585 // in the renderer. We signal to the player the error so it can shutdown/release the
912 // when there is an error (including EOS)
1019 ALOGE("Stream error fo
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c195 Word16 error[M + L_SUBFR]; /* error of quantization */ local
260 Set_zero(error, L_FILT16k); /* set next sample to zero */
261 Decim_12k8(error, L_FILT16k, new_speech + L_FRAME, code);
747 * |------| | |--------| error[n] |------| *
759 error[i] = vo_sub(speech[i + i_subfr - M], st->mem_syn[i]);
767 Syn_filt(p_Aq, &exc[i_subfr], error + M, L_SUBFR, error, 0);
771 Residu_opt(Ap, error + M, xn, L_SUBFR);
773 Residu(Ap, error
[all...]
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp1172 OMX_ERRORTYPE error = validateInputBuffer(inputBufferHeader); local
1173 if (error != OMX_ErrorNone) {
1176 return error;
1297 OMX_ERRORTYPE error; local
1329 error = setEncodeArgs(&s_encode_ip, &s_encode_op, NULL, outputBufferHeader);
1330 if (error != OMX_ErrorNone) {
1395 error = setEncodeArgs(
1398 if (error != OMX_ErrorNone) {
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp96 // Enable zoom, error, focus, and metadata messages by default
555 bool error = false; local
569 error = true;
574 error = true;
586 if (error) {
777 // If mHardware is 0, checkPidAndHardware will return error.
/frameworks/base/cmds/statsd/src/guardrail/
H A DStatsdStats.cpp368 void StatsdStats::noteLoggerError(int error) { argument
374 mLoggerErrors.push_back(std::make_pair(getWallClockSec(), error));
518 for (const auto& error : mLoggerErrors) {
519 time_t error_time = error.first;
523 fprintf(out, "Logger error %d at %s\n", error.second, buffer);
680 for (const auto& error : mLoggerErrors) {
683 proto.write(FIELD_TYPE_INT32 | FIELD_ID_LOGGER_STATS_TIME, error.first);
684 proto.write(FIELD_TYPE_INT32 | FIELD_ID_LOGGER_STATS_ERROR_CODE, error.second);
/frameworks/base/core/java/android/print/
H A DPrintManager.java1158 public void onLayoutFailed(CharSequence error) { argument
1173 callback.onLayoutFailed(error, mSequence);
1261 public void onWriteFailed(CharSequence error) { argument
1276 callback.onWriteFailed(error, mSequence);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp49 * 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.
227 goto error; // out of memory error
238 error:
308 // Error messages like 'near ")": syntax error' are not
309 // always helpful enough, so construct an error string that
526 int error = 0; local
529 error = errno;
530 ALOGE("ashmem_create_region failed: %s", strerror(error));
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java804 * @param acceptableError The acceptable error for a line on the
806 * the error is less than half a pixel.
858 private static native float[] nApproximate(long nPath, float error); argument

Completed in 4401 milliseconds

<<1112131415