/frameworks/av/media/libstagefright/foundation/ |
H A D | ANetworkSession.cpp | 136 void notifyError(bool send, status_t err, const char *detail); 272 status_t err; local 286 err = OK; 288 err = -errno; 290 err = -ECONNRESET; 316 } while (err == OK); 318 if (err == -EAGAIN) { 319 err = OK; 322 if (err != OK) { 324 notifyError(false /* send */, err, "Recvfro 345 status_t err = OK; local 555 status_t err; local 605 int err; local 652 status_t err = OK; local 780 notifyError( bool send, status_t err, const char *detail) argument 822 status_t err = mThread->run("ANetworkSession", ANDROID_PRIORITY_AUDIO); local 973 status_t err = OK; local 1185 status_t err = OK; local 1218 status_t err = session->sendRequest(data, size, timeValid, timeUs); local 1343 status_t err = MakeSocketNonBlocking(clientSocket); local 1383 status_t err = session->readMore(); local 1392 status_t err = session->writeMore(); local [all...] |
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
H A D | MathErr.java | 58 int err = Float.floatToRawIntBits(mRef[i]) - Float.floatToRawIntBits(mRes[i]); 59 err = Math.abs(err); 60 if (err > 8096) { 61 android.util.Log.v("err", "error " + err + " src " + mSrc[i] + " ref " + mRef[i] + " res " + mRes[i]); 67 android.util.Log.v("err", "testing exp2"); 77 android.util.Log.v("err", "testing log2");
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | StreamingSource.cpp | 140 status_t err = mTSParser->feedTSPacket(buffer, sizeof(buffer)); local 142 if (err != OK) { 143 ALOGE("TS Parser returned error %d", err); 145 mTSParser->signalEOS(err); 146 setError(err); 179 status_t err; local 182 && (durationUs = audioTrack->getBufferedDurationUs(&err)) 184 && err == OK) { 191 && (durationUs = videoTrack->getBufferedDurationUs(&err)) 193 && err 202 setError(status_t err) argument 245 status_t err = source->dequeueAccessUnit(accessUnit); local [all...] |
H A D | NuPlayerDecoderBase.cpp | 50 status_t err = msg->postAndAwaitResponse(response); local 52 if (err != OK) { 53 return err; 56 if (!(*response)->findInt32("err", &err)) { 57 err = OK; 60 return err; 185 void NuPlayer::DecoderBase::handleError(int32_t err) argument 195 notify->setInt32("err", err); [all...] |
H A D | NuPlayerDecoder.cpp | 164 status_t err; local 167 err = native_window_api_disconnect( 172 ALOGW_IF(err != OK, "failed to disconnect from surface: %d", err); 174 err = mCodec->configure( 176 if (err != OK) { 177 ALOGE("Failed to configure %s decoder (err=%d)", mComponentName.c_str(), err); 180 handleError(err); 189 err 248 status_t err = OK; local 272 status_t err = OK; local 315 status_t err = OK; local 556 status_t err = mSource->dequeueAccessUnit(mIsAudio, &accessUnit); local 705 status_t err = mCodec->queueInputBuffer( local 756 status_t err = mCodec->queueInputBuffer( local 781 status_t err; local [all...] |
/frameworks/native/libs/ui/ |
H A D | Fence.cpp | 53 int err = sync_wait(mFenceFd, timeout); local 54 return err < 0 ? -errno : status_t(NO_ERROR); 63 int err = sync_wait(mFenceFd, warningTimeout); local 64 if (err < 0 && errno == ETIME) { 67 err = sync_wait(mFenceFd, TIMEOUT_NEVER); 69 return err < 0 ? -errno : status_t(NO_ERROR); 89 status_t err = -errno; local 92 strerror(-err), err);
|
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 93 status_t err = extractor->getTrackFormat(i, &format); local 94 CHECK_EQ(err, (status_t)OK); 132 err = extractor->selectTrack(i); 133 CHECK_EQ(err, (status_t)OK); 151 status_t err = extractor->getSampleTrackIndex(&trackIndex); local 152 if (err != OK) { 153 ALOGV("saw input eos, err %d", err); 157 err = extractor->readSampleData(newBuffer); 158 CHECK_EQ(err, (status_ [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 138 status_t err = mSource->start(); local 140 if (err != OK) { 141 return err; 177 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local 180 if (err == OK && 182 err = status; 187 return err; 309 status_t err = OK; local 314 while (!mDone && err == OK) { 316 err [all...] |
H A D | MediaCodec.cpp | 116 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err) { 120 if (err != NULL) { 121 *err = ret; 128 const sp<ALooper> &looper, const char *name, status_t *err) { 132 if (err != NULL) { 133 *err = ret; 162 status_t err = msg->postAndAwaitResponse(response); local 164 if (err != OK) { 165 return err; 168 if (!(*response)->findInt32("err", 115 CreateByType( const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err) argument 127 CreateByComponentName( const sp<ALooper> &looper, const char *name, status_t *err) argument 176 PostReplyWithError(int32_t replyID, int32_t err) argument 273 status_t err = PostAndAwaitResponse(msg, &response); local 294 status_t err = PostAndAwaitResponse(msg, &response); local 335 status_t err = release(); local 416 status_t err = PostAndAwaitResponse(msg, &response); local 426 status_t err; local 447 status_t err; local 499 status_t err; local 513 status_t err; local 527 status_t err; local 733 int32_t err, actionCode; local 910 status_t err = NO_ERROR; local 929 status_t err; local 1055 status_t err = queueCSDInputBuffer(index); local 1110 status_t err = local 1278 status_t err = setNativeWindow( local 1374 status_t err = mState == targetState ? OK : INVALID_OPERATION; local 1478 status_t err = onQueueInputBuffer(msg); local 1552 status_t err = onReleaseOutputBuffer(msg); local 1697 status_t err = onSetParameters(params); local 2069 status_t err; local 2146 onError(status_t err, int32_t actionCode, const char *detail) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 251 int err = 0; local 255 err |= check_filename(filename, p->package, &p->name); 260 err |= check_filename(filename, c->package, &c->name); 269 return err; 303 int err = 0; local 366 err = 1; 377 err = 1; 383 return err; 414 int err = 0; local 421 err 552 int err = 0; local 766 int err; local 938 int err = 0, N; local 1069 int err; local [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_seek_synch.cpp | 134 ERROR_CODE err; local 146 err = pvmp3_header_sync(&pVars->inputStream); 148 if (err == NO_DECODING_ERROR) 227 err = NO_DECODING_ERROR; 232 err = SYNCH_LOST_ERROR; 240 return(err);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_LightsService.cpp | 53 int err; local 55 err = module->methods->open(module, name, &device); 56 if (err == 0) { 65 int err; local 71 err = hw_get_module(LIGHTS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); 72 if (err == 0) {
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 132 int err = sqlite3_open_v2(path.string(), &db, sqliteFlags, NULL); local 133 if (err != SQLITE_OK) { 134 throw_sqlite3_exception_errcode(env, err, "Could not open database"); 146 err = sqlite3_busy_timeout(db, BUSY_TIMEOUT_MS); 147 if (err != SQLITE_OK) { 154 err = register_android_functions(db, UTF16_STORAGE); 155 if (err) { 181 int err = sqlite3_close(connection->db); local 182 if (err != SQLITE_OK) { 184 ALOGE("sqlite3_close(%p) failed: %d", connection->db, err); 257 int err = sqlite3_create_function_v2(connection->db, name, numArgs, SQLITE_UTF16, local 275 int err = register_localized_collators(connection->db, locale, UTF16_STORAGE); local 290 int err = sqlite3_prepare16_v2(connection->db, local 371 int err = sqlite3_bind_null(statement, index); local 382 int err = sqlite3_bind_int64(statement, index, value); local 393 int err = sqlite3_bind_double(statement, index, value); local 406 int err = sqlite3_bind_text16(statement, index, value, valueLength * sizeof(jchar), local 421 int err = sqlite3_bind_blob(statement, index, value, valueLength, SQLITE_TRANSIENT); local 433 int err = sqlite3_reset(statement); local 443 int err = sqlite3_step(statement); local 466 int err = executeNonQuery(env, connection, statement); local 475 int err = executeNonQuery(env, connection, statement); local 481 int err = sqlite3_step(statement); local 493 int err = executeOneRowQuery(env, connection, statement); local 505 int err = executeOneRowQuery(env, connection, statement); local 555 int err = executeOneRowQuery(env, connection, statement); local 698 int err = sqlite3_step(statement); local [all...] |
H A D | android_util_Binder.h | 35 extern void signalExceptionForError(JNIEnv* env, jobject obj, status_t err,
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, local 56 if (err != OK) { 59 return err; 121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); local 127 if (err != OK) { 156 status_t err = muxer->setOrientationHint(degrees); local 158 if (err != OK) { 186 status_t err = muxer->start(); local 188 if (err != OK) { 205 status_t err local 251 int err = AndroidRuntime::registerNativeMethods(env, local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | VideoFrameScheduler.cpp | 113 int64_t a, b, err; 114 fit(0, period * 12 / 7, 8, &a, &b, &err); 117 // err = 0.2750578(703)+ 118 ALOGD("a=%lld (%.6f), b=%lld (%.6f), err=%lld (%.6f)", 121 (long long)err, (err / (float)(1 << (kPrecision * 2)))); 128 int64_t *a, int64_t *b, int64_t *err) { 170 *err = sumYY - divRound(a_nom * sumXY + b_nom * sumY, div); 171 ALOGV("fitting[%zu] a=%lld (%.6f), b=%lld (%.6f), err=%lld (%.6f)", 175 (long long)*err, (*er 126 fit( nsecs_t phase, nsecs_t period, size_t numSamplesToUse, int64_t *a, int64_t *b, int64_t *err) argument 232 nsecs_t err = periodicError(deltas[j], delta); local 250 int64_t a, b, err; local 287 int64_t err = periodicError(time - mPhase, mPeriod); local 292 int64_t a, b, err; local [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXMaster.cpp | 78 OMX_ERRORTYPE err; local 79 while ((err = plugin->enumerateComponents( 93 if (err != OMX_ErrorNoMore) { 95 "components", err, mPluginByComponentName.size()); 137 OMX_ERRORTYPE err = local 140 if (err != OMX_ErrorNone) { 141 return err; 146 return err;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | RepeaterSource.cpp | 52 status_t err = mSource->start(params); local 54 if (err != OK) { 55 return err; 82 status_t err = mSource->stop(); local 102 return err; 184 status_t err = mSource->read(&buffer); local 194 mResult = err; 199 if (err == OK) {
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.cpp | 45 ssize_t err; local 51 err = mStates.add(id, IDLE); 52 ALOGE_IF(err < 0, "%s: Can't add new component %d: %s (%zd)", 53 __FUNCTION__, id, strerror(-err), err); 56 if (err >= 0) { 62 return err < 0 ? err : id;
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
H A D | DataCommand.java | 63 System.err.println("Mobile data operation failed: " + e); 68 System.err.println(longHelp());
|
H A D | WifiCommand.java | 60 System.err.println("Wi-Fi operation failed: " + e); 65 System.err.println(longHelp());
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 74 const char *egl_strerror(unsigned err) argument 76 switch(err){ 98 unsigned err = eglGetError(); local 99 if(err != EGL_SUCCESS) { 101 name, err, egl_strerror(err)); 143 status_t err = EGLUtils::selectConfigForNativeWindow( local 145 if (err) {
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 113 status_t err; local 115 err = mNetSession->createUDPSession( 123 err = mNetSession->createTCPDatagramSession( 131 if (err != OK) { 140 err = mNetSession->createUDPSession( 148 err = mNetSession->createTCPDatagramSession( 156 if (err == OK) { 186 status_t err; local 190 err = queueRawPacket(buffer, packetType); 194 err 297 status_t err = sendRTPPacket( local 451 status_t err = sendRTPPacket(out, true /* storeInHistory */); local 466 status_t err = mNetSession->sendRequest( local 529 int32_t err; local 782 notifyInitDone(status_t err) argument 789 notifyError(status_t err) argument [all...] |
/frameworks/base/cmds/backup/ |
H A D | backup.cpp | 57 int err; local 79 err = reader.ReadEntityHeader(&key, &dataSize); 80 if (err == 0) {
|
/frameworks/native/libs/gui/ |
H A D | BufferItem.cpp | 112 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); local 113 if (err) return err; 118 status_t err = mFence->flatten(buffer, size, fds, count); local 119 if (err) return err; 154 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); local 155 if (err) return err; 161 status_t err local [all...] |