Searched defs:error (Results 201 - 225 of 293) sorted by relevance

1234567891011>>

/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp110 double error = average - mLatencyArray[i]; local
111 sum += error * error; // squared
497 printf("input error = %d = %s\n",
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp282 status_t error = errno; // clock_gettime can affect errno local
300 switch (error) {
305 // FIXME these error/non-0 status are being dropped
308 status = error;
309 ALOGE("%s unexpected error %s", __func__, strerror(status));
508 ALOGE("%s unexpected error %s", __func__, strerror(status));
542 // FIXME Should return an error status
565 // FIXME Should return an error status
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Buffer.h92 * \retval C2_CORRUPTED some unknown error prevented waiting for the fence (unexpected)
156 * \retval C2_BAD_STATE the fence(s) have already been abandoned or merged (caller error)
157 * \retval C2_ALREADY_EXISTS the fence(s) have already been signaled (caller error)
159 * \retval C2_CORRUPTED some unknown error prevented signaling the fence(s) (unexpected)
170 * \retval C2_ALREADY_EXISTS the fence have already been merged (caller error)
171 * \retval C2_BAD_STATE the fence have already been signaled or abandoned (caller error)
173 * \retval C2_CORRUPTED some unknown error prevented merging the fence(s) (unexpected)
184 * \retval C2_BAD_STATE the fence(s) have already been signaled or merged (caller error)
185 * \retval C2_ALREADY_EXISTS the fence(s) have already been abandoned (caller error)
187 * \retval C2_CORRUPTED some unknown error prevente
203 inline C2Error error() const { return mError; } function in struct:android::_C2InnateError
206 _C2InnateError(C2Error error) argument
229 C2Acquirable(C2Error error, C2Fence fence, T t) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpFfsHandle.cpp579 // If there was an error reading above
646 int error = 0; local
689 if (error == -1) {
705 error = -1;
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp364 EGLint error = eglGetError(); local
365 return error;
/frameworks/base/core/tests/coretests/src/android/app/activity/
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/libs/hwui/hwui/
H A DBitmap.cpp240 status_t error = buffer->initCheck(); local
241 if (error < 0) {
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java240 * State indicating this item is currently in an error state. The error
298 CharSequence error, Bundle extras) {
307 mErrorMessage = error;
335 bob.append(", error=").append(mErrorMessage);
445 * Get a user readable error message. This should be set when the state is
1045 * Set a user readable error message. This should be set when the state
1048 * @param error The error message for display to the user.
1051 public Builder setErrorMessage(CharSequence error) { argument
295 PlaybackState(int state, long position, long updateTime, float speed, long bufferedPosition, long transportControls, List<PlaybackState.CustomAction> customActions, long activeItemId, CharSequence error, Bundle extras) argument
[all...]
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java254 public final boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument
262 printJobId, state, error);
772 int status, String error) throws RemoteException, TimeoutException {
774 target.setPrintJobState(printJobId, status, error, mCallback, sequence);
771 setPrintJobState(IPrintSpooler target, PrintJobId printJobId, int status, String error) argument
/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/
H A DResourceUtils.cpp319 // TYPE_NULL with data set to 0 is interpreted by the runtime as an error.
402 bool error = false; local
406 value.data |= ParseHex(start[1], &error) << 20;
407 value.data |= ParseHex(start[1], &error) << 16;
408 value.data |= ParseHex(start[2], &error) << 12;
409 value.data |= ParseHex(start[2], &error) << 8;
410 value.data |= ParseHex(start[3], &error) << 4;
411 value.data |= ParseHex(start[3], &error);
414 value.data |= ParseHex(start[1], &error) << 28;
415 value.data |= ParseHex(start[1], &error) << 2
[all...]
/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp718 bool error = false; local
725 error = true;
735 error = true;
744 error = true;
749 error = true;
753 error = true;
758 error = true;
764 error = true;
769 if (error) {
/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/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp247 << ") expected to indicate success but actually contains error ("
248 << status.error() << ")";
260 << ") expected to indicate error but instead indicates success.";
273 } else if (status.error() != error_code) {
275 << "(" << status_expression << ") expected to indicate error ("
276 << error_code << ") but actually indicates error (" << status.error()
560 int error = local
562 ASSERT_EQ(0, error);
565 error
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp271 Status<void> Message::ReplyError(unsigned int error) { argument
276 svc->endpoint()->MessageReply(this, -static_cast<int>(error));
495 if (status.error() == ENOENT)
547 name_.c_str(), strerror(ret.error()));
666 // Don't block the sender indefinitely in this error case.
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp271 status_t error = hwc.prepare(*this); local
272 if (error != NO_ERROR) {
273 return error;
330 EGLint error = eglGetError(); local
331 if (error == EGL_CONTEXT_LOST ||
334 mDisplay, mSurface, error);
337 mDisplay, mSurface, error);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp179 auto error = display->getType(&displayType); local
180 if (error != HWC2::Error::None) {
239 auto error = mHwcDevice->createVirtualDisplay(width, height, format, local
241 if (error != HWC2::Error::None) {
274 auto error = display->createLayer(&layer); local
275 if (error != HWC2::Error::None) {
277 to_string(error).c_str(), static_cast<int32_t>(error));
325 auto error = mDisplayData[displayId].hwcDisplay->getActiveConfig(&config); local
326 if (error
353 auto error = hwcDisplay->getColorModes(&modes); local
370 auto error = displayData.hwcDisplay->setColorMode(mode); local
402 auto error = displayData.hwcDisplay->setVsyncEnabled(enabled); local
427 auto error = hwcDisplay->setClientTarget(slot, target, acquireFence, dataspace); local
459 HWC2::Error error = HWC2::Error::None; local
625 auto error = displayData.presentError; local
634 auto error = hwcDisplay->present(&displayData.lastPresentFence); local
679 auto error = hwcDisplay->setPowerMode(mode); local
693 auto error = hwcDisplay->supportsDoze(&supportsDoze); local
733 auto error = displayData.hwcDisplay->setActiveConfig( local
754 auto error = displayData.hwcDisplay->setColorTransform(transform, local
800 auto error = hwcDisplay->getType(&displayType); local
840 auto error = hwcDisplay->getHdrCapabilities(&capabilities); local
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp174 // there could be more than one error flag
175 GLenum error = glGetError(); local
176 if (error == GL_NO_ERROR)
178 ALOGE("GL error 0x%04x", int(error));
272 "glCheckFramebufferStatusOES error %d", mStatus);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java292 void onConnectionError(Connection connection, String error) { argument
295 Log.d(TAG, this + ": Service connection error - " + error);
543 public boolean onControlRequestFailed(int requestId, String error, Bundle data) { argument
547 callback.onError(error, data);
720 String error = (data == null ? null :
723 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.cpp630 ALOGE("%s: camera device has encountered a serious error", __FUNCTION__);
637 CameraDevice::setCameraDeviceErrorLocked(camera_status_t error) { argument
639 mError = error;
673 // erase the old error since it's no longer useful
676 // Normal requests hasn't catched up error frames, just break
708 // Handle buffer error
821 ALOGE("%s: Cannot find error code!", __FUNCTION__);
1133 ALOGD("Device error received, code %d, frame number %" PRId64 ", request ID %d, subseq ID %d",
1161 ALOGE("Unknown error from camera device: %d", errorCode);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp188 ALOGE("Decoder (%s) reported error : 0x%x",
253 // reconnect to the new surface on error as MPS::Client will expect to
325 // any error signaling will occur.
522 status_t error = nativeWindowConnect(mSurface.get(), "onShutdown"); local
523 ALOGW_IF(error != NO_ERROR,
524 "[%s] failed to connect to native window, error=%d",
525 mComponentName.c_str(), error);
578 // in the renderer. We signal to the player the error so it can shutdown/release the
882 // when there is an error (including EOS)
982 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.cpp1312 OMX_ERRORTYPE error; local
1344 error = setEncodeArgs(&s_encode_ip, &s_encode_op, NULL, outputBufferHeader);
1345 if (error != OMX_ErrorNone) {
1410 error = setEncodeArgs(
1413 if (error != OMX_ErrorNone) {
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp95 // Enable zoom, error, focus, and metadata messages by default
541 bool error = false; local
555 error = true;
560 error = true;
570 if (error) {
761 // If mHardware is 0, checkPidAndHardware will return error.

Completed in 618 milliseconds

1234567891011>>