Searched defs:err (Results 151 - 175 of 466) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DAACWriter.cpp120 status_t err = mSource->start(); local
122 if (err != OK) {
123 return err;
159 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local
162 if (err == OK &&
164 err = status;
169 return err;
291 status_t err = OK; local
296 while (!mDone && err == OK) {
298 err
[all...]
H A DAudioPlayer.cpp87 status_t err; local
89 err = mSource->start();
91 if (err != OK) {
92 return err;
191 status_t err = mAudioSink->open( local
199 if (err == OK) {
211 err = mAudioSink->start();
214 err = OK;
218 if (err != OK) {
228 return err;
296 status_t err; local
503 status_t err; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp128 Word16 err = GSMInitDecode(&mState, (Word8 *)"AMRNBDecoder"); local
130 if (err != 0) {
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp286 vpx_codec_err_t err = vpx_codec_decode( local
289 if (err == VPX_CODEC_OK) {
296 ALOGE("on2 decoder failed to decode frame. err: %d", err);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp487 int err = vorbis_dsp_synthesis(mState, &pack, 1); local
488 if (err != 0) {
491 ALOGV("vorbis_dsp_synthesis returned %d", err);
493 ALOGW("vorbis_dsp_synthesis returned %d", err);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp252 int err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd); local
253 if (err == 0 && fenceFd >= 0) {
256 err = fence->waitForever("SoftwareRenderer::render");
258 if (err != 0) {
259 ALOGW("Surface::dequeueBuffer returned error %d", err);
440 if ((err = native_window_set_buffers_timestamp(mNativeWindow.get(),
442 ALOGW("Surface::set_buffers_timestamp returned error %d", err);
460 if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) {
461 ALOGW("failed to set dataspace on surface (%d)", err);
473 if ((err
[all...]
/frameworks/av/media/libstagefright/flac/dec/
H A DFLACDecoder.cpp342 status_t err = addDataToBuffer(inBuffer, inBufferLen); local
343 if (err != OK) {
344 ALOGE("parseMetadata: addDataToBuffer returns error %d", err);
345 return err;
431 status_t err = addDataToBuffer(inBuffer, inBufferLen); local
432 if (err != OK) {
433 ALOGW("decodeOneFrame: addDataToBuffer returns error %d", err);
434 return err;
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp123 status_t err = mThread->run( local
125 if (err != OK) {
129 return err;
254 status_t err = replyToken->setReply(reply); local
255 if (err == OK) {
258 return err;
H A DAString.cpp375 status_t err = parcel->writeInt32(mSize); local
376 if (err == OK) {
377 err = parcel->write(mData, mSize);
379 return err;
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaErrors.h123 // returns true if err is a recognized DRM error code
124 static inline bool isCryptoError(status_t err) { argument
125 return (ERROR_DRM_LAST_USED_ERRORCODE <= err && err <= ERROR_DRM_UNKNOWN)
126 || (ERROR_DRM_VENDOR_MIN <= err && err <= ERROR_DRM_VENDOR_MAX);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp101 status_t err = initSession( local
103 if (err != OK) {
104 return err;
267 status_t err; local
268 if ((err = mProgramCasMap.editValueAt(
270 return err;
/frameworks/av/media/libstagefright/omx/1.0/
H A DWGraphicBufferSource.cpp50 status_t err = toStatusT(mOmxNode->emptyBuffer( variable
58 return err;
132 Return<Status> err(omxNode->setInputSurface(mOmxBufferSource));
133 status_t fnStatus = toStatusT(err);
136 return err;
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( local
111 if (err != OK) {
113 strerror(-err), err);
122 status_t err; local
134 err = releaseOldestBufferLocked(&pinnedFrames);
136 if (err == NO_BUFFER_AVAILABLE) {
141 if (err == NOT_ENOUGH_DATA) {
146 if (err != OK) {
148 return err;
188 status_t err = OK; local
270 status_t err; local
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioService.cpp275 int err = android::requestPriority(ownerPid, clientThreadId, local
277 if (err != 0) {
/frameworks/base/cmds/idmap/
H A Dinspect.cpp172 status_t err = buf.nextUint32(&i); local
173 if (err != NO_ERROR) {
174 return err;
186 err = buf.nextUint32(&i);
187 if (err != NO_ERROR) {
188 return err;
192 err = buf.nextUint32(&i);
193 if (err != NO_ERROR) {
194 return err;
198 err
230 status_t err = buf.nextUint16(&data16); local
[all...]
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp49 : args(a), listener(l), fd(f), err(NO_ERROR) {}
58 bool ReportRequest::ok() { return fd >= 0 && err == NO_ERROR; }
128 status_t err = NO_ERROR; local
147 if (!isTest) err = create_directory(mIncidentDirectory);
148 if (err != NO_ERROR) {
158 err = create_file(&mainFd);
159 if (err != NO_ERROR) {
199 err = (*section)->Execute(&batch);
201 stats->set_success(err == NO_ERROR);
203 if (err !
276 status_t err = -errno; local
288 status_t err; local
[all...]
/frameworks/base/cmds/statsd/src/metrics/
H A DMetricsManager.cpp241 status_t err = NO_ERROR; local
245 long appHookUid = event.GetLong(event.size()-2, &err);
246 if (err != NO_ERROR ) {
258 long appHookState = event.GetLong(event.size(), &err);
259 if (err != NO_ERROR ) {
269 status_t err = NO_ERROR; local
272 long jankUid = event.GetLong(1, &err);
273 if (err != NO_ERROR ) {
284 long duration = event.GetLong(event.size(), &err);
285 if (err !
[all...]
/frameworks/base/core/java/android/os/
H A DShellCommand.java59 public void init(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
64 mErr = err;
79 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, argument
90 init(target, in, out, err, args, callback, start);
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp289 int err = RegisterMethodsOrDie(env, "android/graphics/FontFamily", gFontFamilyMethods, local
293 return err;
H A DYuvToJpegEncoder.cpp32 ErrorMgr* err = (ErrorMgr*) cinfo->err; local
33 (*cinfo->err->output_message) (cinfo);
34 longjmp(err->jmp, 1);
40 ErrorMgr err; local
43 cinfo.err = jpeg_std_error(&err.pub);
44 err.pub.error_exit = error_exit;
46 if (setjmp(err.jmp)) {
/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp247 int err = RegisterMethodsOrDie(env, kClassPathName, gMethods, local
257 return err;
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp253 status_t err = context->startGlTimer(); local
254 if (err != OK) {
255 switch (err) {
278 status_t err = context->stopGlTimer(); local
279 if (err != OK) {
280 switch (err) {
H A Dandroid_media_RemoteDisplay.cpp193 int err = RegisterMethodsOrDie(env, "android/media/RemoteDisplay", gMethods, NELEM(gMethods)); local
202 return err;
H A Dandroid_net_LocalSocketImpl.cpp321 int err; local
336 err = socket_read_all(env, object, fd, &buf, 1);
338 if (err < 0) {
343 if (err == 0) {
400 int err; local
413 err = socket_write_all(env, object, fd, &b, 1);
414 UNUSED(err);
422 int err; local
448 err = socket_write_all(env, object, fd,
450 UNUSED(err);
459 int err; local
[all...]
H A Dandroid_opengl_EGLExt.cpp158 int err; local
159 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
160 return err;

Completed in 164 milliseconds

1234567891011>>