/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 137 status_t err; local 140 err = source->read(&mbuf); 142 if (err == INFO_FORMAT_CHANGED) { 144 } else if (err != OK) { 198 status_t err = rawSource->start(); local 200 if (err != OK) { 201 fprintf(stderr, "rawSource returned error %d (0x%08x)\n", err, err); 225 status_t err; local 230 err 317 status_t err = rawSource->read(&buffer, &options); local 474 status_t err = mSource->read(buffer, options); local 548 status_t err; local 955 status_t err = client.connect(); local [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 122 status_t err = mPlayer->seekTo((int64_t)msec * 1000); local 123 return err; 129 status_t err = mPlayer->getPosition(&positionUs); local 131 if (err != OK) { 132 return err; 143 status_t err = mPlayer->getDuration(&durationUs); local 145 if (err != OK) {
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VSS3GPP_EditVideo.c | 130 M4OSA_ERR err; local 152 err = M4VSS3GPP_intReachedEndOfVideo(pC); 155 if (M4NO_ERROR != err && err != M4VSS3GPP_WAR_SWITCH_CLIP) 159 err); 162 return err; 172 err = M4VSS3GPP_intCheckVideoMode( 175 if (M4NO_ERROR != err) 179 err); 180 return err; 726 M4OSA_ERR err; local 836 M4OSA_ERR err = M4NO_ERROR; local 976 M4OSA_ERR err; local 1016 M4OSA_ERR err; local 1065 M4OSA_ERR err = M4NO_ERROR; local 1698 M4OSA_ERR err; local 1787 M4OSA_ERR err; local 2028 M4OSA_ERR err; local 2460 M4OSA_ERR err; local 2662 M4OSA_ERR err = M4NO_ERROR; local 3006 M4OSA_ERR err = M4NO_ERROR; local 3123 M4OSA_ERR err = M4NO_ERROR; local 3409 M4OSA_ERR err= M4NO_ERROR; local 3548 M4OSA_ERR err = M4NO_ERROR; local 3830 M4OSA_ERR err = M4NO_ERROR; local 3935 M4OSA_ERR err = M4NO_ERROR; local [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditor3gpReader.cpp | 387 M4OSA_ERR err = M4NO_ERROR; local 413 if ( M4NO_ERROR == err ) { 416 ALOGV("VideoEditor3gpReader_create ERROR 0x%X", err); 419 return err; 433 M4OSA_ERR err = M4NO_ERROR; local 449 if( M4NO_ERROR == err ) { 454 ALOGV("VideoEditor3gpReader_destroy ERROR 0x%X", err); 458 return err; 478 M4OSA_ERR err = M4NO_ERROR; local 513 return err; 530 M4OSA_ERR err = M4NO_ERROR; local 636 M4OSA_ERR err = M4NO_ERROR; local 765 M4OSA_ERR err = M4NO_ERROR; local 816 M4OSA_ERR err= M4NO_ERROR; local 856 M4OSA_ERR err = M4NO_ERROR; local 924 M4OSA_ERR err = M4NO_ERROR; local 969 M4OSA_ERR err = M4NO_ERROR; local 1405 M4OSA_ERR err = M4NO_ERROR; local 1921 M4OSA_ERR err = M4NO_ERROR; local 1981 M4OSA_ERR err = M4NO_ERROR; local [all...] |
H A D | VideoEditorAudioDecoder.cpp | 136 status_t err = OK; local 146 ALOGV("VideoEditorAudioDecoderSource::start END (0x%x)", err); 147 return err; 152 status_t err = OK; local 172 ALOGV("VideoEditorAudioDecoderSource::stop END (0x%x)", err); 173 return err; 265 M4OSA_ERR err = M4NO_ERROR; local 310 if( M4NO_ERROR == err ) { 313 ALOGV("VideoEditorAudioDecoder_getBits ERROR 0x%X", err); 316 return err; 329 M4OSA_ERR err = M4NO_ERROR; local 397 M4OSA_ERR err = M4NO_ERROR; local 433 M4OSA_ERR err = M4NO_ERROR; local 621 M4OSA_ERR err = M4NO_ERROR; local 652 M4OSA_ERR err = M4NO_ERROR; local 716 M4OSA_ERR err = M4NO_ERROR; local 778 M4OSA_ERR err = M4NO_ERROR; local 802 M4OSA_ERR err = M4NO_ERROR; local 849 M4OSA_ERR err = M4NO_ERROR; local 898 M4OSA_ERR err = M4NO_ERROR; local [all...] |
H A D | VideoEditorVideoEncoder.cpp | 134 status_t err = OK; local 144 ALOGV("VideoEditorVideoEncoderSource::start() END (0x%x)", err); 145 return err; 149 status_t err = OK; local 173 ALOGV("VideoEditorVideoEncoderSource::stop() END (0x%x)", err); 174 return err; 187 status_t err = OK; local 219 ALOGV("VideoEditorVideoEncoderSource::read() END (0x%x)", err); 220 return err; 225 status_t err local 305 M4OSA_ERR err = M4NO_ERROR; local 408 M4OSA_ERR err = M4NO_ERROR; local 439 M4OSA_ERR err = M4NO_ERROR; local 516 M4OSA_ERR err = M4NO_ERROR; local 556 M4OSA_ERR err = M4NO_ERROR; local 739 M4OSA_ERR err = M4NO_ERROR; local 840 M4OSA_ERR err = M4NO_ERROR; local 973 M4OSA_ERR err = M4NO_ERROR; local 1050 M4OSA_ERR err = M4NO_ERROR; local 1087 M4OSA_ERR err = M4NO_ERROR; local 1149 M4OSA_ERR err = M4NO_ERROR; local 1186 M4OSA_ERR err = M4NO_ERROR; local 1219 M4OSA_ERR err = M4NO_ERROR; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 1107 status_t err = obtainBuffer(&audioBuffer, -1); local 1108 if (err < 0) { 1110 if (err == status_t(NO_MORE_BUFFERS)) 1112 return ssize_t(err); 1265 status_t err = obtainBuffer(&audioBuffer, waitCount); local 1266 if (err < NO_ERROR) { 1267 if (err != TIMED_OUT) { 1268 ALOGE_IF(err != status_t(NO_MORE_BUFFERS), "Error obtaining an audio buffer, giving up."); 1273 if (err == status_t(STOPPED)) return false; 1665 status_t err; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 148 status_t err = local 152 if (err != OK) { 163 status_t err = mSplitter->read(buffer); local 165 if (err == OK) { 167 } else if (err != -EAGAIN) { 168 return err; 176 status_t err = mExtractor->getSampleInfo( local 181 if (err != OK) { 497 status_t err = OK; local 502 err 849 status_t err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs); local 886 status_t err = local 932 status_t err = OK; local 1006 status_t err = local 1059 status_t err = local [all...] |
H A D | FLACExtractor.cpp | 634 status_t err = mGroup->acquire_buffer(&buffer); local 635 if (err != OK) {
|
H A D | OggExtractor.cpp | 183 status_t err = mExtractor->mImpl->readNextPacket(&packet); local 185 if (err != OK) { 186 return err; 277 status_t err = findNextPage(prevGuess, &prevPageOffset); local 278 if (err != OK) { 279 return err; 355 status_t err = findNextPage(offset, &pageOffset); local 357 if (err != OK) { 358 return err; 589 status_t err; local [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 514 status_t err = readBlock(); local 516 if (err != OK) { 519 return err;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 51 unsigned pid, ABitReader *br, status_t *err); 56 ABitReader *br, status_t *err); 187 unsigned pid, ABitReader *br, status_t *err) { 188 *err = OK; 194 *err = parseProgramMap(br); 202 ABitReader *br, status_t *err) { 203 *err = OK; 210 *err = mStreams.editValueAt(index)->parse( 540 status_t err = flush(); local 542 if (err ! 186 parsePSISection( unsigned pid, ABitReader *br, status_t *err) argument 199 parsePID( unsigned pid, unsigned continuity_counter, unsigned payload_unit_start_indicator, ABitReader *br, status_t *err) argument 829 status_t err = parsePES(&br); local 854 status_t err = mQueue->appendData(data, size, timeUs); local 1036 status_t err = section->append(br->data(), br->numBitsLeft() / 8); local 1053 status_t err; local 1079 status_t err; local 1181 status_t err = OK; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 131 int err = sqlite3_open_v2(path.string(), &db, sqliteFlags, NULL); local 132 if (err != SQLITE_OK) { 133 throw_sqlite3_exception_errcode(env, err, "Could not open database"); 145 err = sqlite3_busy_timeout(db, BUSY_TIMEOUT_MS); 146 if (err != SQLITE_OK) { 153 err = register_android_functions(db, UTF16_STORAGE); 154 if (err) { 180 int err = sqlite3_close(connection->db); local 181 if (err != SQLITE_OK) { 183 ALOGE("sqlite3_close(%p) failed: %d", connection->db, err); 256 int err = sqlite3_create_function_v2(connection->db, name, numArgs, SQLITE_UTF16, local 274 int err = register_localized_collators(connection->db, locale, UTF16_STORAGE); local 289 int err = sqlite3_prepare16_v2(connection->db, local 370 int err = sqlite3_bind_null(statement, index); local 381 int err = sqlite3_bind_int64(statement, index, value); local 392 int err = sqlite3_bind_double(statement, index, value); local 405 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), local 420 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); local 432 int err = sqlite3_reset(statement); local 442 int err = sqlite3_step(statement); local 465 int err = executeNonQuery(env, connection, statement); local 474 int err = executeNonQuery(env, connection, statement); local 480 int err = sqlite3_step(statement); local 492 int err = executeOneRowQuery(env, connection, statement); local 504 int err = executeOneRowQuery(env, connection, statement); local 554 int err = executeOneRowQuery(env, connection, statement); local 697 int err = sqlite3_step(statement); local [all...] |
H A D | android_opengl_EGL14.cpp | 1244 int err; local 1245 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); 1246 return err;
|
H A D | android_opengl_GLES11.cpp | 3058 int err; local 3059 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); 3060 return err;
|
H A D | android_util_Process.cpp | 53 // For both of these, err should be in the errno range (positive), not a status_t (negative) 55 static void signalExceptionForPriorityError(JNIEnv* env, int err) argument 57 switch (err) { 76 static void signalExceptionForGroupError(JNIEnv* env, int err) argument 78 switch (err) { 262 int err = set_sched_policy(t_pid, sp); local 263 if (err != NO_ERROR) { 264 signalExceptionForGroupError(env, -err);
|
H A D | android_view_Surface.cpp | 399 status_t err = surface->lock(&info, &dirtyRegion); local 400 if (err < 0) { 401 const char* const exception = (err == NO_MEMORY) ? 478 status_t err = surface->unlockAndPost(); local 479 if (err < 0) { 538 status_t err = surface->setLayer(zorder); 539 if (err < 0 && err != NO_INIT) { 548 status_t err = surface->setPosition(x, y); 549 if (err < 595 status_t err = surface->setTransparentRegionHint(reg); local 636 status_t err = surface->setCrop(crop); local 878 int err = AndroidRuntime::registerNativeMethods(env, "android/view/Surface", local [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 237 int err; local 253 err = hw_get_module(GPS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); 254 if (err == 0) { 256 err = module->methods->open(module, GPS_HARDWARE_MODULE_ID, &device); 257 if (err == 0) {
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 359 const status_t err = mLastError; local 361 return err; 487 LOG_THREADPOOL("**** THREAD %p (PID %d) IS LEAVING THE THREAD POOL err=%p\n", 508 status_t err = data.errorCheck(); local 519 if (err == NO_ERROR) { 522 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL); 525 if (err != NO_ERROR) { 526 if (reply) reply->setError(err); 527 return (mLastError = err); 539 err 654 status_t err; local 665 int32_t err; local 800 status_t err; local 866 const status_t err = data.errorCheck(); local [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 161 status_t err = ConsumerBase::acquireBufferLocked(item); local 162 if (err != NO_ERROR) { 163 return err; 190 status_t err = ConsumerBase::releaseBufferLocked(buf, mEglDisplay, local 195 return err; 203 status_t err = NO_ERROR; local 238 err = acquireBufferLocked(&item); 239 if (err == NO_ERROR) { 263 err = UNKNOWN_ERROR; 266 if (err 366 status_t err = syncForReleaseLocked(dpy); local 439 status_t err = OK; local 487 status_t err = addReleaseFenceLocked(mCurrentTexture, fence); local 805 status_t err = mCurrentFence->waitForever(1000, local [all...] |
H A D | SurfaceTextureClient.cpp | 302 status_t err = mSurfaceTexture->queueBuffer(i, input, &output); local 303 if (err != OK) { 304 ALOGE("queueBuffer: error queuing buffer to SurfaceTexture, %d", err); 312 return err; 350 status_t err = NO_ERROR; local 354 err = mSurfaceTexture->query(what, value); 355 if (err == NO_ERROR) { 359 return err; 454 int err = setBuffersDimensions(w, h); local 455 if (err ! 509 int err = mSurfaceTexture->connect(api, &output); local 527 int err = mSurfaceTexture->disconnect(api); local 576 status_t err = mSurfaceTexture->setBufferCount(bufferCount); local 686 status_t err; local 741 int err = SurfaceTextureClient::connect(NATIVE_WINDOW_API_CPU); local 751 status_t err = dequeueBuffer(&out, &fenceFd); local 842 status_t err = mLockedBuffer->unlock(); local [all...] |
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 975 GLint err = c->transforms.current->pop(); local 976 if (ggl_unlikely(err)) { 977 ogles_error(c, err); 986 GLint err = c->transforms.current->push(); local 987 if (ggl_unlikely(err)) { 988 ogles_error(c, err);
|
H A D | texture.cpp | 139 int err = module->lock(module, native_buffer->handle, local 386 status_t err = tex->reallocate(level, local 388 if (err != NO_ERROR) 397 status_t err = tex->reallocate(level, local 399 if (err != NO_ERROR) 1214 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height); 1215 if (err) { 1216 ogles_error(c, err); 1297 int err = copyPixels(c, 1300 if (err) { [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 305 int err = native_window_set_buffers_format(window, format); local 306 if (err != 0) { 308 strerror(-err), err); 687 EGLint err = EGL_SUCCESS; local 690 err = cnx->egl.eglGetError(); 692 if (err == EGL_SUCCESS) { 693 err = egl_tls_t::getError(); 695 return err;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 658 status_t err; local 663 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); 664 if (err != 0) { 665 testPrintE("hwcTestFillColor lock failed: %d", err); 677 err = gBuf->unlock(); 678 if (err != 0) { 679 testPrintE("hwcTestFillColor unlock failed: %d", err); 695 status_t err; local 701 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); 702 if (err ! [all...] |