Searched refs:err (Results 1 - 25 of 408) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/src/
H A DM4VSS3GPP_MediaAndCodecSubscription.c141 M4OSA_ERR err = M4NO_ERROR; local
171 err = VideoEditor3gpReader_getInterface( &readerMediaType, &pReaderGlobalInterface,
173 if (M4NO_ERROR != err)
176 return err;
178 err = M4VSS3GPP_registerReader( pContext, readerMediaType, pReaderGlobalInterface,
180 M4OSA_DEBUG_IF1((err != M4NO_ERROR), err,
187 err = M4READER_AMR_getInterfaces( &readerMediaType, &pReaderGlobalInterface,
189 if (M4NO_ERROR != err)
192 return err;
[all...]
H A DM4VSS3GPP_EditAudio.c70 M4OSA_ERR err; local
76 err = M4VSS3GPP_intClipJumpAudioAt(pClip, &JumpCts);
78 if( M4NO_ERROR != err )
82 err);
83 return err;
110 M4OSA_ERR err; local
115 err = pC->pOsaFileWritPtr->writeData(pC->ewc.p3gpWriterContext,
120 err = M4VSS3GPP_intClipReadNextAudioFrame(pClip);
122 if( M4OSA_ERR_IS_ERROR(err) )
126 M4VSS3GPP_intClipReadNextAudioFrame returns 0x%x!", err);
231 M4OSA_ERR err; local
1280 M4OSA_ERR err; local
1818 M4OSA_ERR err; local
[all...]
H A DM4VSS3GPP_Clip.c88 M4OSA_ERR err; local
159 err = M4VSS3GPP_clearInterfaceTables(&pClipCtxt->ShellAPI);
160 M4ERR_CHECK_RETURN(err);
164 err = M4VSS3GPP_subscribeMediaAndCodec(&pClipCtxt->ShellAPI);
165 M4ERR_CHECK_RETURN(err);
216 M4OSA_ERR err; local
245 err = M4VSS3GPP_setCurrentVideoDecoder(
247 M4ERR_CHECK_RETURN(err);
251 err = pClipCtxt->ShellAPI.m_pVideoDecoder->m_pFctCreate(
259 if (M4NO_ERROR != err) {
799 M4OSA_ERR err; local
889 M4OSA_ERR err; local
1129 M4OSA_ERR err = M4NO_ERROR; local
1394 M4OSA_ERR err; local
1497 M4OSA_ERR err; local
1662 M4OSA_ERR err; local
1755 M4OSA_ERR err = M4NO_ERROR, err2; local
2018 M4OSA_ERR err = M4NO_ERROR; local
[all...]
H A DM4PTO3GPP_API.c283 M4OSA_ERR err = M4NO_ERROR; local
423 err = M4READER_AMR_getInterfaces( &readerMediaType, &pC->m_pReaderGlobInt,
425 if (M4NO_ERROR != err)
427 M4OSA_TRACE1_1("M4PTO3GPP_Open(): M4READER_AMR_getInterfaces returns 0x%x", err);
428 return err;
435 err = M4READER_3GP_getInterfaces( &readerMediaType, &pC->m_pReaderGlobInt,
437 if (M4NO_ERROR != err)
439 M4OSA_TRACE1_1("M4PTO3GPP_Open(): M4READER_3GP_getInterfaces returns 0x%x", err);
440 return err;
451 err
605 M4OSA_ERR err = M4NO_ERROR; local
1078 M4OSA_ERR err = M4NO_ERROR; local
1221 M4OSA_ERR err = M4NO_ERROR; local
1850 M4OSA_ERR err; local
1898 M4OSA_ERR err; local
[all...]
H A DM4VSS3GPP_AudioMixing.c110 M4OSA_ERR err; local
211 err = M4VSS3GPP_clearInterfaceTables(&pC->ShellAPI);
212 M4ERR_CHECK_RETURN(err);
215 err = M4VSS3GPP_subscribeMediaAndCodec(&pC->ShellAPI);
216 M4ERR_CHECK_RETURN(err);
220 err = M4VSS3GPP_intAudioMixingOpen(pC, pSettings);
221 M4ERR_CHECK_RETURN(err);
271 M4OSA_ERR err; local
288 err = M4VSS3GPP_intAudioMixingStepVideo(pC);
314 if( M4WAR_NO_MORE_AU == err )
472 M4OSA_ERR err; local
644 M4OSA_ERR err; local
1907 M4OSA_ERR err; local
1960 M4OSA_ERR err; local
2066 M4OSA_ERR err; local
2424 M4OSA_ERR err; local
2621 M4OSA_ERR err; local
2702 M4OSA_ERR err; local
2930 M4OSA_ERR err; local
3328 M4OSA_ERR err; local
3678 M4OSA_ERR err; local
3873 M4OSA_ERR err; local
4057 M4OSA_ERR err = M4NO_ERROR; local
[all...]
H A DM4READER_Amr.c139 M4OSA_ERR err; local
147 err = M4AMRR_openRead( &pC->m_pCoreContext, pFileDescriptor, pC->m_pOsaFileReaderFcts);
149 return err;
167 M4OSA_ERR err; local
185 err = M4AMRR_getState(pC->m_pCoreContext, &State,
187 if(M4NO_ERROR != err)
190 return err;
195 err = M4AMRR_freeAU(pC->m_pCoreContext,
197 if (err != M4NO_ERROR)
200 return err;
248 M4OSA_ERR err; local
412 M4OSA_ERR err = M4NO_ERROR; local
478 M4OSA_ERR err = M4NO_ERROR; local
521 M4OSA_ERR err; local
592 M4OSA_ERR err; local
665 M4OSA_ERR err = M4NO_ERROR; local
[all...]
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_MediaAndCodecSubscription.c143 M4OSA_ERR err = M4NO_ERROR; local
173 err = VideoEditor3gpReader_getInterface(&readerMediaType,
176 if (M4NO_ERROR != err)
179 return err;
181 err = M4MCS_registerReader( pContext, readerMediaType,
184 M4OSA_DEBUG_IF1((err != M4NO_ERROR), err,
191 err = M4READER_AMR_getInterfaces( &readerMediaType,
194 if (M4NO_ERROR != err)
197 return err;
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
44 if (err == 0) {
52 status_t err; local
54 err = mAllocMod->registerBuffer(mAllocMod, handle);
56 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)",
57 handle, err, strerror(-err));
58 return err;
64 status_t err; local
77 status_t err; local
90 status_t err; local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp51 int err = 0; local
54 err = native_window_api_connect(anw, NATIVE_WINDOW_API_CPU);
55 if (err) goto fail;
57 err = native_window_set_usage(
59 if (err) goto fail;
61 err = native_window_set_buffer_count(anw, 3);
62 if (err) goto fail;
64 err = native_window_set_scaling_mode(
66 if (err) goto fail;
68 err
98 int err = OK; local
126 int err = OK; local
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp51 status_t err; local
57 err = acquireBufferLocked(item);
58 if (err != OK) {
59 if (err != NO_BUFFER_AVAILABLE) {
60 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
62 return err;
66 err = item->mFence->waitForever(1000, "BufferItemConsumer::acquireBuffer");
67 if (err != OK) {
69 strerror(-err), er
81 status_t err; local
[all...]
H A DCpuConsumer.cpp57 status_t err; local
68 err = acquireBufferLocked(&b);
69 if (err != OK) {
70 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
73 CC_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
74 return err;
81 err = b.mFence->waitForever(1000, "CpuConsumer::lockNextBuffer");
82 if (err != OK) {
84 strerror(-err), er
120 status_t err; local
146 status_t err; local
[all...]
/frameworks/av/libvideoeditor/osal/inc/
H A DLV_Macros.h34 * CHECK_PTR(fct, p, err, errValue)
35 * @note This macro checks the value p. If it is NULL, it sets the variable err
40 #define CHECK_PTR(fct, p, err, errValue) \
44 (err) = (errValue) ; \
52 * CHECK_ERR(fct, err)
53 * @note This macro checks the value err. If it is not NULL, a trace is displayed
58 #define CHECK_ERR(fct, err) \
60 if(M4NO_ERROR != (err)) \
63 __LINE__,err) ; \
71 * CHECK_ERR(fct, err)
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp38 status_t err = BufferQueue::connect(api, output); local
39 if (err == NO_ERROR) {
48 err = setSynchronousMode(false);
54 err = setSynchronousMode(true);
57 if (err != NO_ERROR) {
61 return err;
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Interface.c94 M4OSA_ERR err; local
133 err = M4MP4W_openWrite(&apContext->pMP4Context, outputFileDescriptor,
136 if (M4OSA_ERR_IS_ERROR(err))
139 "M4MP4W_openWrite returns error 0x%x", err);
142 M4OSA_TRACE2_1("M4WRITER_3GP_openWrite: returning 0x%x", err);
144 return err;
165 M4OSA_ERR err; local
177 err = M4MP4W_startWriting(apContext->pMP4Context);
178 if (M4OSA_ERR_IS_ERROR(err))
180 M4OSA_TRACE1_1("M4MP4W_startWriting returns error 0x%x", err);
210 M4OSA_ERR err; local
344 M4OSA_ERR err = M4NO_ERROR; local
400 M4OSA_ERR err = M4NO_ERROR; local
604 M4OSA_ERR err; local
709 M4OSA_ERR err; local
773 M4OSA_ERR err; local
[all...]
H A DM4MP4W_Utils.c32 #define ERR_CHECK(exp, err) if (!(exp)) { return err; }
39 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)&c, 1); local
40 return err;
48 M4OSA_ERR err; local
49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
50 ERR_CHECK(err == M4NO_ERROR, err);
51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
52 return err;
60 M4OSA_ERR err; local
74 M4OSA_ERR err; local
90 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)Block, size); local
[all...]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java44 System.err.println("Exception caught:");
57 System.err.println(BMGR_NOT_RUNNING_ERR);
105 System.err.println("Unknown command");
119 System.err.println(e.toString());
120 System.err.println(BMGR_NOT_RUNNING_ERR);
139 System.err.println(e.toString());
140 System.err.println(BMGR_NOT_RUNNING_ERR);
148 System.err.println(e.toString());
149 System.err.println(BMGR_NOT_RUNNING_ERR);
163 System.err
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DGraphicBufferAlloc.cpp37 status_t err = graphicBuffer->initCheck(); local
38 *error = err;
39 if (err != 0 || graphicBuffer->handle == 0) {
40 if (err == NO_MEMORY) {
45 w, h, strerror(-err), graphicBuffer->handle);
H A DFramebufferSurface.cpp75 status_t err = acquireBufferLocked(&item); local
76 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
79 } else if (err != NO_ERROR) {
80 ALOGE("error acquiring buffer: %s (%d)", strerror(-err), err);
81 return err;
95 err = releaseBufferLocked(mCurrentBufferSlot, EGL_NO_DISPLAY,
97 if (err != NO_ERROR && err != BufferQueue::STALE_BUFFER_SLOT) {
98 ALOGE("error releasing buffer: %s (%d)", strerror(-err), er
113 status_t err = nextBuffer(buf, acquireFence); local
133 status_t err = NO_ERROR; local
137 status_t err = addReleaseFence(mCurrentBufferSlot, fence); local
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoBrowserMain.c57 M4OSA_ERR err = M4NO_ERROR; local
63 CHECK_PTR(videoBrowserSetWindow, pContext, err, M4ERR_PARAMETER);
64 CHECK_PTR(videoBrowserSetWindow, pPixelArray, err, M4ERR_PARAMETER);
81 pC->m_outputPlane[0].pac_data, err, M4ERR_ALLOC);
98 pC->m_outputPlane[0].pac_data, err, M4ERR_ALLOC);
115 M4OSA_TRACE2_1("videoBrowserSetWindow returned 0x%x", err);
116 return err;
146 M4OSA_ERR err = M4NO_ERROR; local
152 CHECK_PTR(videoBrowserCreate, ppContext, err, M4ERR_PARAMETER);
154 CHECK_PTR(videoBrowserCreate, pURL, err, M4ERR_PARAMETE
396 M4OSA_ERR err = M4NO_ERROR; local
448 M4OSA_ERR err = M4NO_ERROR; local
528 M4OSA_ERR err = M4NO_ERROR ; local
[all...]
H A DVideoBrowserInternal.h30 #define CHECK_PTR(fct, p, err, errValue) \
34 err = errValue ; \
40 #define CHECK_ERR(fct, err) \
42 if (M4OSA_ERR_IS_ERROR(err)) \
44 M4OSA_TRACE1_2("" #fct "(L%d): ERROR 0x%.8x returned", __LINE__,err) ; \
47 else if (M4OSA_ERR_IS_WARNING(err)) \
49 M4OSA_TRACE2_2("" #fct "(L%d): WARNING 0x%.8x returned", __LINE__,err) ; \
58 err = M4ERR_STATE ; \
/frameworks/base/libs/storage/
H A DIMountService.cpp72 int32_t err = reply.readExceptionCode(); local
73 if (err < 0) {
74 ALOGD("registerListener caught exception %d\n", err);
88 int32_t err = reply.readExceptionCode(); local
89 if (err < 0) {
90 ALOGD("unregisterListener caught exception %d\n", err);
103 int32_t err = reply.readExceptionCode(); local
104 if (err < 0) {
105 ALOGD("isUsbMassStorageConnected caught exception %d\n", err);
120 int32_t err local
135 int32_t err = reply.readExceptionCode(); local
152 int32_t err = reply.readExceptionCode(); local
171 int32_t err = reply.readExceptionCode(); local
188 int32_t err = reply.readExceptionCode(); local
205 int32_t err = reply.readExceptionCode(); local
227 int32_t err = reply.readExceptionCode(); local
249 int32_t err = reply.readExceptionCode(); local
266 int32_t err = reply.readExceptionCode(); local
283 int32_t err = reply.readExceptionCode(); local
302 int32_t err = reply.readExceptionCode(); // What to do... local
320 int32_t err = reply.readExceptionCode(); // What to do... local
337 int32_t err = reply.readExceptionCode(); // What to do... local
355 int32_t err = reply.readExceptionCode(); // What to do... local
372 int32_t err = reply.readExceptionCode(); // What to do... local
390 int32_t err = reply.readExceptionCode(); local
412 int32_t err = reply.readExceptionCode(); local
428 int32_t err = reply.readExceptionCode(); local
450 int32_t err = reply.readExceptionCode(); local
470 int32_t err = reply.readExceptionCode(); local
486 int32_t err = reply.readExceptionCode(); local
503 int32_t err = reply.readExceptionCode(); local
521 int32_t err = reply.readExceptionCode(); local
538 int32_t err = reply.readExceptionCode(); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp207 Word16 err; local
257 err = ((Word32)gcode0 * *(p++)) >> 15;
258 err = g_q0 - err;
260 if (err < 0)
262 err = -err;
267 if (err < err_min)
269 err_min = err;
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp52 int err; local
58 err = reader->ReadNextHeader(&done, &type);
63 if (err != 0) {
64 return err < 0 ? err : -1;
72 err = reader->ReadEntityHeader(&key, &dataSize);
73 if (err != 0) {
74 return err < 0 ? err : -1;
94 int err; local
117 int err; local
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp48 status_t err = msg->postAndAwaitResponse(response); local
50 if (err != OK) {
51 return err;
54 if (!(*response)->findInt32("err", &err)) {
55 err = OK;
58 return err;
110 status_t err; local
112 err = INVALID_OPERATION;
122 response->setInt32("err", er
129 status_t err; local
152 status_t err; local
174 status_t err = OK; local
207 status_t err; local
230 status_t err = OK; local
260 status_t err = onDoMoreStuff(); local
278 status_t err = mExtractor->setDataSource(mPath.c_str()); local
294 status_t err = mExtractor->getTrackFormat(i, &format); local
341 status_t err = state->mCodec->start(); local
421 status_t err; local
468 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); local
570 status_t err = state->mCodec->getOutputFormat(&format); local
[all...]
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DSymbolResolvers.cpp40 const char *err = ::dlerror(); local
45 if (err != NULL) {
46 error_length += ::strlen(err);
52 ((err != NULL) ? err : ""));

Completed in 385 milliseconds

1234567891011>>