/frameworks/av/media/libstagefright/ |
H A D | WAVExtractor.cpp | 424 status_t err = mGroup->acquire_buffer(&buffer); local 425 if (err != OK) { 426 return err;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 305 AVCEnc_Status err; local 306 err = PVAVCEncInitialize(mHandle, mEncParams, NULL, NULL); 307 if (err != AVCENC_SUCCESS) { 308 ALOGE("Failed to initialize the encoder: %d", err);
|
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 102 status_t err; local 106 err = convertYUV420Planar(src, dst); 110 err = convertCbYCrY(src, dst); 114 err = convertQCOMYUV420SemiPlanar(src, dst); 118 err = convertYUV420SemiPlanar(src, dst); 122 err = convertTIYUV420PackedSemiPlanar(src, dst); 132 return err;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 456 status_t err = parseStreamMuxConfig( local 461 if (err == ERROR_UNSUPPORTED) { 470 CHECK_EQ(err, (status_t)NO_ERROR);
|
H A D | ARTPConnection.cpp | 288 status_t err = OK; local 290 err = receive(&*it, true); 292 if (err == OK && FD_ISSET(it->mRTCPSocket, &rs)) { 293 err = receive(&*it, false); 296 if (err == -ECONNRESET) { 403 status_t err; local 405 err = parseRTP(s, buffer); 407 err = parseRTCP(s, buffer); 410 return err; 667 status_t err; local [all...] |
H A D | ARTPWriter.cpp | 269 status_t err = mSource->read(&mediaBuf); local 271 if (err != OK) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 287 status_t err = mSource->start(meta.get()); local 288 if (err != OK) { 291 return err; 333 status_t err = OK; local 335 while (!mDone && (err = mSource->read(&buffer, NULL)) == OK) {
|
H A D | WebmWriter.cpp | 274 status_t err = OK; local 283 if (err == OK && status != OK) { 284 err = status; 303 if (err != OK) { 305 return err; 361 return err; 531 status_t err = OK; local 538 err = status; 541 return err;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 100 status_t err = initEncoder(); local 102 if (err != OK) { 106 return err; 198 status_t err = NO_INIT; local 204 err = mEncoder->configure( 210 if (err == OK) { 221 if (err != OK) { 225 err = mEncoder->configure( 232 if (err != OK) { 233 return err; 271 notifyError(status_t err) argument 395 status_t err = doMoreWork(); local 639 status_t err = mEncoder->queueInputBuffer( local 667 status_t err; local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 41 static media_status_t translate_error(status_t err) { argument 42 if (err == OK) { 45 ALOGE("sf error code: %d", err); 117 status_t err = mData->mImpl->setDataSource(httpService, location, NULL); local 119 return translate_error(err); 180 status_t err = mData->mImpl->getSampleMeta(&meta); local 181 if (err != OK) {
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 841 * @param err new stderr 845 FileDescriptor out, FileDescriptor err) throws IOException; 844 reopenStdio(FileDescriptor in, FileDescriptor out, FileDescriptor err) argument
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 632 int err; local 647 err = socket_read_all(env, object, fd, &buf, 1); 649 if (err < 0) { 654 if (err == 0) { 711 int err; local 724 err = socket_write_all(env, object, fd, &b, 1); 733 int err; local 759 err = socket_write_all(env, object, fd, 770 int err; local 789 err [all...] |
H A D | android_opengl_GLES10Ext.cpp | 475 int err; local 476 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); 477 return err;
|
H A D | android_view_Surface.cpp | 216 status_t err = surface->lock(&outBuffer, dirtyRectPtr); local 217 if (err < 0) { 218 const char* const exception = (err == NO_MEMORY) ? 279 status_t err = surface->unlockAndPost(); local 280 if (err < 0) { 457 int err = AndroidRuntime::registerNativeMethods(env, "android/view/Surface", local 478 return err;
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 216 status_t err = addStyleSpan(idx, spans[i]); 217 if (err != NO_ERROR) { 218 return err; 369 status_t err = writeStringBlock(pool); local 370 return err == NO_ERROR ? pool : NULL;
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 293 status_t err = remote()->transact(HEAP_ID, data, &reply); local 299 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)", 300 asBinder().get(), parcel_fd, size, err, strerror(-err)); 303 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)", 304 parcel_fd, size, err, strerror(errno));
|
H A D | MemoryDealer.cpp | 212 int err = madvise(start_ptr, size, MADV_REMOVE); local 213 ALOGW_IF(err, "madvise(%p, %zu, MADV_REMOVE) returned %s", 214 start_ptr, size, err<0 ? strerror(errno) : "Ok");
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferConsumer.cpp | 114 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); local 115 if (err) return err; 120 status_t err = mFence->flatten(buffer, size, fds, count); local 121 if (err) return err; 156 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); local 157 if (err) return err; 163 status_t err local 396 status_t err; local 431 status_t err = reply->write(item); local 458 status_t err = data.read(*releaseFence); local [all...] |
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 204 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); local 205 if (err != 0) { 206 fprintf(stderr, "yuvTexBuffer->lock(...) failed: %d\n", err); 229 err = yuvTexBuffer->unlock(); 230 if (err != 0) { 231 fprintf(stderr, "yuvTexBuffer->unlock() failed: %d\n", err);
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 213 status_t err = dataSource->initCheck(); local 214 if (err != OK) { 215 notifyPrepared(err); 477 status_t err; local 496 err = mAudioSource->read(&mDecodeBuffer, &readOptions); 497 if (err == OK) { 525 if (err != OK) { 527 switch(err) { 557 SL_LOGE("MediaSource::read returned error %d", err);
|
/frameworks/wilhelm/src/ |
H A D | sles.c | 137 SLresult err_to_result(int err) argument 139 if (EAGAIN == err || ENOMEM == err) { 142 if (0 != err) {
|
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 119 status_t err = -errno; local 122 return err; 125 status_t err = -errno; local 128 return err; 147 status_t err; local 174 err = codec->configure(format, NULL, NULL, 176 if (err != NO_ERROR) { 177 fprintf(stderr, "ERROR: unable to configure %s codec at %dx%d (err=%d)\n", 178 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); 180 return err; 213 status_t err; local 318 status_t err; local 529 status_t err; local 751 int err = errno; local 990 status_t err = recordScreen(fileName); local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 446 reply->setInt32("err", ERROR_END_OF_STREAM); 477 status_t err = mSource->read(&inBuffer, &options); local 479 if (err != OK) { 480 mFinalResult = err; 545 reply->setInt32("err", mFinalResult);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodec.h | 58 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err = NULL); 61 const sp<ALooper> &looper, const char *name, status_t *err = NULL); 270 static void PostReplyWithError(int32_t replyID, int32_t err); 300 void onError(status_t err, int32_t actionCode, const char *detail = NULL); 316 inline void setStickyError(status_t err) { argument 318 mStickyError = err;
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 734 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever); local 735 if (err < 0) { 739 return ssize_t(err); 903 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig); local 904 LOG_ALWAYS_FATAL_IF((err != NO_ERROR) != (audioBuffer.frameCount == 0), 905 "obtainBuffer() err=%d frameCount=%zu", err, audioBuffer.frameCount); 908 ALOGV("obtainBuffer(%u) returned %zu = %zu + %zu err %d", 909 mRemainingFrames, avail, audioBuffer.frameCount, nonContig, err); 910 if (err ! [all...] |