Searched defs:err (Results 376 - 400 of 466) sorted by relevance

<<111213141516171819

/frameworks/av/include/media/stagefright/
H A DMediaCodec.h83 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
87 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
385 void PostReplyWithError(const sp<AReplyToken> &replyID, int32_t err);
420 void onError(status_t err, int32_t actionCode, const char *detail = NULL);
443 inline void setStickyError(status_t err) { argument
445 mStickyError = err;
/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp743 status_t err = frame.Read(mExtractor->mReader, data + trackInfo->mHeaderLen); local
744 if (err == OK
747 err = setWebmBlockCryptoInfo(mbuf);
750 if (err != OK) {
755 return err;
794 status_t err = readBlock(); local
796 if (err != OK) {
799 return err;
1402 status_t err = OK; local
1513 err
[all...]
/frameworks/av/media/extractors/mp4/
H A DItemTable.cpp162 status_t err = onChunkData(chunk_type, data_offset, chunk_data_size); local
164 if (err != OK) {
165 return err;
174 status_t err = parseChunk(&offset); local
175 if (err != OK) {
176 return err;
231 status_t err = parseFullBoxHeader(&offset, &size); local
232 if (err != OK) {
233 return err;
321 status_t err local
644 status_t err = parseFullBoxHeader(&offset, &size); local
656 status_t err = itemRef->parse(offset, size); local
709 status_t err = parseFullBoxHeader(&offset, &size); local
846 status_t err = parseFullBoxHeader(&offset, &size); local
959 status_t err = itemProperty->parse(offset, size); local
986 status_t err = parseChunks(offset, size); local
1059 status_t err = parseFullBoxHeader(&offset, &size); local
1149 status_t err = parseFullBoxHeader(&offset, &size); local
1168 status_t err = parseChunk(&offset); local
1187 status_t err = infeBox.parse(offset, size, &itemInfo); local
1258 status_t err = ilocBox.parse(offset, size); local
1274 status_t err = iinfBox.parse(offset, size); local
1290 status_t err = pitmBox.parse(offset, size, &mPrimaryItemId); local
1302 status_t err = iprpBox.parse(offset, size); local
1324 status_t err = irefBox.parse(offset, size); local
1628 status_t err = image.getNextTileItemId(&tileItemId, itemIndex != NULL); local
[all...]
/frameworks/av/media/libmedia/
H A DNdkWrapper.cpp136 static status_t translateErrorCode(media_status_t err) { argument
137 if (err == AMEDIA_OK) {
139 } else if (err == AMEDIA_ERROR_END_OF_STREAM) {
141 } else if (err == AMEDIA_ERROR_IO) {
143 } else if (err == AMEDIACODEC_INFO_TRY_AGAIN_LATER) {
147 ALOGE("ndk error code: %d", err);
323 media_status_t err = AMediaFormat_delete(mAMediaFormat); local
325 return translateErrorCode(err);
711 media_status_t err = AMediaCodecCryptoInfo_delete(mAMediaCodecCryptoInfo); local
713 return translateErrorCode(err);
851 OnErrorCB( AMediaCodec * , void *userdata, media_status_t err, int32_t actionCode, const char *detail) argument
880 media_status_t err = AMediaCodec_delete(mAMediaCodec); local
896 media_status_t err = AMediaCodec_getName(mAMediaCodec, &name); local
915 media_status_t err = AMediaCodec_configure( local
1076 media_status_t err = AMediaExtractor_delete(mAMediaExtractor); local
1085 media_status_t err = AMediaExtractor_disconnect(mAMediaExtractor); local
1158 media_status_t err = AMediaExtractor_selectTrack(mAMediaExtractor, i); local
1163 media_status_t err = AMediaExtractor_unselectTrack(mAMediaExtractor, i); local
[all...]
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2.cpp276 status_t err = NO_ERROR; local
312 err = genericSource->setDataSource(httpService, url, headers);
314 if (err == OK) {
336 err = genericSource->setDataSource(dsd->mFD, dsd->mFDOffset, dsd->mFDLength);
338 if (err != OK) {
353 err = genericSource->setDataSource(dsd->mCallbackSource);
355 if (err != OK) {
367 err = BAD_TYPE;
374 return err;
388 if (err !
438 status_t err = msg->postAndAwaitResponse(&response); local
452 status_t err = msg->postAndAwaitResponse(&response); local
499 status_t err = msg->postAndAwaitResponse(&response); local
509 status_t err = msg->postAndAwaitResponse(&response); local
523 status_t err = msg->postAndAwaitResponse(&response); local
534 status_t err = msg->postAndAwaitResponse(&response); local
647 status_t err = OK; local
671 status_t err = OK; local
719 status_t err = OK; local
742 status_t err = OK; local
800 status_t err = INVALID_OPERATION; local
835 status_t err = INVALID_OPERATION; local
987 status_t err = OK; local
1056 status_t err = OK; local
1086 status_t err = OK; local
1106 status_t err = OK; local
1165 status_t err; local
1234 int32_t err; local
1282 status_t err; local
1666 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); local
1847 status_t err = mRenderer->openAudioSink( local
1953 status_t err; local
2067 int32_t err = OK; local
2238 status_t err = msg->postAndAwaitResponse(&response); local
2248 status_t err = msg->postAndAwaitResponse(&response); local
2262 status_t err = msg->postAndAwaitResponse(&response); local
2590 int32_t err; local
3091 notifyPrepared(status_t err) argument
[all...]
H A DNuPlayer2Renderer.cpp185 status_t err = msg->postAndAwaitResponse(&response); local
186 if (err == OK && response != NULL) {
187 CHECK(response->findInt32("err", &err));
189 return err;
205 status_t err = mAudioSink->setPlaybackRate(rate); local
206 if (err != OK) {
207 return err;
219 status_t err = msg->postAndAwaitResponse(&response); local
220 if (err
231 status_t err = mAudioSink->getPlaybackRate(rate); local
253 status_t err = msg->postAndAwaitResponse(&response); local
271 status_t err = msg->postAndAwaitResponse(&response); local
414 int32_t err; local
472 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); local
641 status_t err = onConfigPlayback(rate); local
653 status_t err = onGetPlaybackSettings(&rate); local
670 status_t err = onConfigSync(sync, videoFpsHint); local
685 status_t err = onGetSyncSettings(&sync, &videoFps); local
1757 status_t err = mAudioSink->start(); local
1878 status_t err = mapMimeToAudioFormat(audioFormat, mime.c_str()); local
2012 status_t err = mAudioSink->open( local
2065 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1088 status_t err = audioSource->initCheck(); local
1090 if (err != OK) {
1250 status_t err = setupMediaSource(&mediaSource); local
1251 if (err != OK) {
1252 return err;
1255 err = setupVideoEncoder(mediaSource, &source);
1256 if (err != OK) {
1257 return err;
1281 status_t err = setupAudioEncoder(writer); local
1283 if (err !
1295 status_t err = setupMediaSource(&mediaSource); local
1573 status_t err = setupCameraSource(&cameraSource); local
1588 status_t err = OK; local
1837 status_t err = OK; local
2029 status_t err = OK; local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp442 status_t err = initFromDataSource(); local
444 if (err != OK) {
446 notifyPreparedAndCleanup(err);
453 err = convertMetaDataToMessage(meta, &msg);
454 if(err != OK) {
455 notifyPreparedAndCleanup(err);
477 status_t err = startSources(); local
478 if (err != OK) {
480 notifyPreparedAndCleanup(err);
501 void NuPlayer::GenericSource::notifyPreparedAndCleanup(status_t err) { argument
569 status_t err = UNKNOWN_ERROR; local
1111 status_t err = msg->postAndAwaitResponse(&response); local
1126 status_t err = doSeek(seekTimeUs, (MediaPlayerSeekMode)mode); local
1353 status_t err = NO_ERROR; local
[all...]
H A DNuPlayer.cpp291 status_t err = genericSource->setDataSource(httpService, url, headers); local
293 if (err == OK) {
317 status_t err = source->setDataSource(fd, offset, length); local
319 if (err != OK) {
334 status_t err = source->setDataSource(dataSource); local
336 if (err != OK) {
350 status_t err = msg->postAndAwaitResponse(&response); local
351 if (err == OK && response != NULL) {
352 CHECK(response->findInt32("err", &err));
364 status_t err = msg->postAndAwaitResponse(&response); local
412 status_t err = msg->postAndAwaitResponse(&response); local
422 status_t err = msg->postAndAwaitResponse(&response); local
436 status_t err = msg->postAndAwaitResponse(&response); local
447 status_t err = msg->postAndAwaitResponse(&response); local
556 status_t err = OK; local
581 status_t err = OK; local
604 status_t err = OK; local
662 status_t err = INVALID_OPERATION; local
697 status_t err = INVALID_OPERATION; local
848 status_t err = OK; local
916 status_t err = OK; local
946 status_t err = OK; local
966 status_t err = OK; local
1025 status_t err; local
1094 int32_t err; local
1142 status_t err; local
1505 status_t err; local
1601 status_t err = mRenderer->setPlaybackSettings(mPlaybackSettings); local
1799 status_t err = mRenderer->openAudioSink( local
1907 status_t err; local
2021 int32_t err = OK; local
2190 status_t err = msg->postAndAwaitResponse(&response); local
2200 status_t err = msg->postAndAwaitResponse(&response); local
2214 status_t err = msg->postAndAwaitResponse(&response); local
2481 status_t err = onInstantiateSecureDecoders(); local
2497 int32_t err; local
3004 notifyPrepared(status_t err) argument
[all...]
H A DNuPlayerRenderer.cpp186 status_t err = msg->postAndAwaitResponse(&response); local
187 if (err == OK && response != NULL) {
188 CHECK(response->findInt32("err", &err));
190 return err;
206 status_t err = mAudioSink->setPlaybackRate(rate); local
207 if (err != OK) {
208 return err;
220 status_t err = msg->postAndAwaitResponse(&response); local
221 if (err
232 status_t err = mAudioSink->getPlaybackRate(rate); local
254 status_t err = msg->postAndAwaitResponse(&response); local
272 status_t err = msg->postAndAwaitResponse(&response); local
415 int32_t err; local
473 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); local
642 status_t err = onConfigPlayback(rate); local
654 status_t err = onGetPlaybackSettings(&rate); local
671 status_t err = onConfigSync(sync, videoFpsHint); local
686 status_t err = onGetSyncSettings(&sync, &videoFps); local
1753 status_t err = mAudioSink->start(); local
1880 status_t err = mapMimeToAudioFormat(audioFormat, mime.c_str()); local
2014 status_t err = mAudioSink->open( local
2067 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); local
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp827 status_t err = copyNALUToABuffer(&buffer, ptr, length); local
828 if (err != OK) {
829 return err;
868 status_t err = copyNALUToABuffer(&buffer, ptr, length); local
869 if (err != OK) {
870 return err;
932 status_t err = copyNALUToABuffer(&buffer, ptr, length); local
933 if (err != OK) {
934 return err;
1225 status_t err local
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp368 status_t err = packetSource->dequeueAccessUnit(accessUnit); local
370 if (err == INFO_DISCONTINUITY) {
384 } else if (err == OK) {
463 ALOGI("[%s] encountered error %d", streamStr, err);
466 return err;
522 status_t err = msg->postAndAwaitResponse(&response); local
524 return err;
533 status_t err = msg->postAndAwaitResponse(&response); local
535 return err;
743 status_t err; local
1524 status_t err = mPlaylist->selectTrack(index, select); local
2380 postError(status_t err) argument
2396 postPrepared(status_t err) argument
[all...]
H A DPlaylistFetcher.cpp362 ssize_t err = mHTTPDownloader->fetchFile(keyURI.c_str(), &key); local
364 if (err == ERROR_NOT_CONNECTED) {
366 } else if (err < 0) {
624 status_t err = onStart(msg); local
628 notify->setInt32("err", err);
830 void PlaylistFetcher::notifyError(status_t err) { argument
833 notify->setInt32("err", err);
1061 status_t err local
1253 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, junk, local
1367 status_t err = bytesRead; local
1394 status_t err = decryptBuffer(mSeqNumber - firstSeqNumberInPlaylist, buffer, local
1514 status_t err = extractAndQueueAccessUnits(buffer, itemMeta); local
1731 status_t err = mTSParser->feedTSPacket(buffer->data() + offset, 188); local
1799 status_t err = OK; local
[all...]
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaCodec.h83 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
87 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
385 void PostReplyWithError(const sp<AReplyToken> &replyID, int32_t err);
420 void onError(status_t err, int32_t actionCode, const char *detail = NULL);
443 inline void setStickyError(status_t err) { argument
445 mStickyError = err;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp67 unsigned pid, ABitReader *br, status_t *err);
77 ABitReader *br, status_t *err, SyncEvent *event);
309 unsigned pid, ABitReader *br, status_t *err) {
310 *err = OK;
316 *err = parseProgramMap(br);
326 ABitReader *br, status_t *err, SyncEvent *event) {
327 *err = OK;
334 *err = mStreams.editValueAt(index)->parse(
926 status_t err = flush(event); local
928 if (err !
308 parsePSISection( unsigned pid, ABitReader *br, status_t *err) argument
321 parsePID( unsigned pid, unsigned continuity_counter, unsigned payload_unit_start_indicator, unsigned transport_scrambling_control, unsigned random_access_indicator, ABitReader *br, status_t *err, SyncEvent *event) argument
1485 status_t err = parsePES(&br, event); local
1503 status_t err = OK; local
1537 status_t err = mQueue->appendData( local
1687 status_t err = mCasManager->setMediaCas(cas); local
1848 status_t err = section->append(br->data(), br->numBitsLeft() / 8); local
1868 status_t err; local
1897 status_t err; local
2027 status_t err = OK; local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp53 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \
55 mHandle, mName, ##__VA_ARGS__, asString(err), err)
56 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__)
57 #define CLOG_IF_ERROR(fn, err, fmt, ...) \
58 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__)
442 OMX_ERRORTYPE err; local
444 while ((err
472 OMX_ERRORTYPE err; local
503 status_t err = mOwner->freeNode(this); local
553 OMX_ERRORTYPE err = OMX_SendCommand(mHandle, cmd, param, NULL); local
608 OMX_ERRORTYPE err = OMX_GetParameter(mHandle, index, params); local
632 OMX_ERRORTYPE err = OMX_SetParameter( local
647 OMX_ERRORTYPE err = OMX_GetConfig(mHandle, index, params); local
667 OMX_ERRORTYPE err = OMX_SetConfig( local
689 status_t err = OK; local
811 OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index); local
861 OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index); local
912 OMX_ERRORTYPE err = local
987 OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index); local
1021 OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index); local
1123 OMX_ERRORTYPE err = OMX_ErrorNone; local
1258 OMX_ERRORTYPE err = OMX_GetParameter(mHandle, OMX_IndexParamPortDefinition, &def); local
1335 OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index); local
1391 status_t err = useBuffer_l(portIndex, NULL, NULL, buffer); local
1480 status_t err; local
1560 OMX_ERRORTYPE err = OMX_AllocateBuffer( local
1612 OMX_ERRORTYPE err = OMX_FreeBuffer(mHandle, portIndex, header); local
1633 status_t err = updateGraphicBufferInMeta_l( local
1662 OMX_ERRORTYPE err = OMX_FillThisBuffer(mHandle, header); local
1833 OMX_ERRORTYPE err = OMX_EmptyThisBuffer(mHandle, header); local
1858 status_t err = updateGraphicBufferInMeta_l( local
1946 status_t err = updateNativeHandleInMeta_l( local
1990 OMX_ERRORTYPE err = OMX_GetExtensionIndex( local
2093 status_t err = getExtensionIndex( local
2120 status_t err = setConfig(index, &params, sizeof(params)); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1214 status_t err = OK; local
1215 msg->findInt32("result", &err);
1222 notify->setInt32("err", err);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp1764 int32_t err = CAMERA_ERROR_UNKNOWN; local
1767 err = CAMERA_ERROR_RELEASED;
1770 err = CAMERA_ERROR_UNKNOWN;
1773 err = CAMERA_ERROR_SERVER_DIED;
1782 err = CAMERA_ERROR_UNKNOWN;
1791 l.mRemoteCallback->notifyCallback(CAMERA_MSG_ERROR, err, 0);
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp180 status_t err; local
377 err = mDevice->setStreamingRequestList(metadataRequestList, surfaceMapList,
379 if (err != OK) {
382 mCameraIdStr.string(), strerror(-err), err);
391 err = mDevice->captureList(metadataRequestList, surfaceMapList,
393 if (err != OK) {
396 mCameraIdStr.string(), strerror(-err), err);
415 status_t err; local
503 status_t err = mDevice->configureStreams(sessionParams, operatingMode); local
563 status_t err = mDevice->deleteStream(streamId); local
643 status_t err; local
724 status_t err; local
780 status_t err; local
830 status_t err = mDevice->createInputStream(width, height, format, &streamId); local
865 status_t err = mDevice->getInputBufferProducer(&producer); local
1037 status_t err; local
1230 status_t err; local
1296 status_t err = mDevice->waitUntilDrained(); local
1323 status_t err = mDevice->flush(lastFrameNumber); local
1358 status_t err = mDevice->prepare(streamId); local
1405 status_t err = mDevice->prepare(maxCount, streamId); local
1446 status_t err = mDevice->tearDown(streamId); local
1540 status_t err; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp116 status_t err = mSession->linkToComposerDeath(this); local
117 ALOGE_IF(err, "linkToComposerDeath failed (%s) ", strerror(-err));
118 if (err == NO_ERROR) {
957 int err; local
959 err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, NULL);
960 } while (err<0 && errno == EINTR);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp729 int err = checkInternalFormat(colorType, internalformat, type); local
730 if (err)
731 return err;
736 err = -1;
741 return err;
757 int err = checkInternalFormat(colorType, internalFormat, type); local
758 if (err)
759 return err;
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp1032 status_t err = lpTrack->getMetrics(item); local
1033 if (err != OK) {
H A Dandroid_opengl_GLES11.cpp3323 int err; local
3324 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
3325 return err;
H A Dandroid_opengl_GLES31Ext.cpp1632 int err; local
1633 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
1634 return err;
H A Dandroid_opengl_GLES32.cpp2162 int err; local
2163 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
2164 return err;

Completed in 228 milliseconds

<<111213141516171819