Searched refs:err (Results 226 - 250 of 424) sorted by relevance

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp426 status_t err = OK; local
436 if ((err = data.readInt32(&metadataSizeTmp)) != OK) {
438 __FUNCTION__, err, strerror(-err));
439 return err;
455 if ((err = data.readBlob(metadataSize, &blob)) != OK) {
458 __FUNCTION__, metadataSize, err, strerror(-err));
468 err = BAD_VALUE;
481 return err;
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp199 status_t err = prepare_l(); local
201 if (err != OK) {
202 return err;
524 void NuPlayerDriver::notifySetDataSourceCompleted(status_t err) { argument
529 mAsyncResult = err;
530 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE;
534 void NuPlayerDriver::notifyPrepareCompleted(status_t err) { argument
547 mAsyncResult = err;
549 if (err == OK) {
556 notifyListener(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, err);
[all...]
/frameworks/base/tools/aapt/
H A DPackage.cpp458 status_t err; local
483 status_t err; local
490 err = jar.open(jars[i], ZipFile::kOpenReadOnly);
491 if (err != 0) {
493 jars[i], err);
494 return err;
496 err += processJarFile(&jar, zip);
497 if (err < 0) {
499 return err;
501 count += err;
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp51 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(
562 status_t err = flush(); local
564 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
851 status_t err = parsePES(&br); local
876 status_t err = mQueue->appendData(data, size, timeUs); local
1072 status_t err = section->append(br->data(), br->numBitsLeft() / 8); local
1089 status_t err; local
1118 status_t err; local
1223 status_t err = OK; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp636 int err; local
651 err = socket_read_all(env, object, fd, &buf, 1);
653 if (err < 0) {
658 if (err == 0) {
715 int err; local
728 err = socket_write_all(env, object, fd, &b, 1);
737 int err; local
763 err = socket_write_all(env, object, fd,
774 int err; local
793 err
[all...]
H A Dandroid_opengl_EGLExt.cpp159 int err; local
160 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
161 return err;
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java182 ProcessError err = errIter.next();
183 if (!packageMatches(app, err)) {
185 mAsyncErrors.add(err);
218 * @param err The error that we're considering
220 private static boolean packageMatches(ResolveInfo app, ProcessError err) { argument
222 final String errPkg = err.info.processName;
259 for (ProcessError err : errList) {
260 newList.add(err.info);
/frameworks/native/libs/binder/
H A DBpBinder.cpp111 status_t err = const_cast<BpBinder*>(this)->transact( local
113 if (err == NO_ERROR) {
139 status_t err = transact(PING_TRANSACTION, send, &reply); local
140 if (err != NO_ERROR) return err;
155 status_t err = transact(DUMP_TRANSACTION, send, &reply); local
156 return err;
H A DBinder.cpp102 status_t err = NO_ERROR; local
108 err = onTransact(code, data, reply, flags);
116 return err;
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
H A DAppLaunchTest.java138 ProcessError err = errIter.next();
139 if (!packageMatches(app, err)) {
142 err.info.processName, app.activityInfo.packageName));
163 * @param err The error that we're considering
165 private static boolean packageMatches(ResolveInfo app, ProcessError err) { argument
167 final String errPkg = err.info.processName;
203 for (ProcessError err : errList) {
204 newList.add(err.info);
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp95 status_t err; local
96 if ((err = mSource->initCheck()) != OK) {
99 return err;
166 status_t err = decoder->start(); local
167 if (err != OK) {
168 ALOGW("OMXCodec::start returned error %d (0x%08x)\n", err, err);
204 err = decoder->read(&buffer, &options);
206 } while (err == INFO_FORMAT_CHANGED
209 if (err !
[all...]
H A DDRMExtractor.cpp128 status_t err; local
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
130 return err;
143 if ((err = mDrmManagerClient->decrypt(mDecryptHandle, mTrackId,
151 return err;
/frameworks/native/cmds/flatland/
H A DMain.cpp346 status_t err; local
348 err = mGLConsumer->updateTexImage();
349 if (err < 0) {
350 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
469 status_t err; local
514 status_t err; local
550 err = mGLConsumer->updateTexImage();
551 if (err < 0) {
552 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
/frameworks/wilhelm/src/
H A DThreadPool.c94 int err; local
98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL);
99 result = err_to_result(err);
103 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL);
104 result = err_to_result(err);
108 err = pthread_cond_init(&tp->mCondNotEmpty, (const pthread_condattr_t *) NULL);
109 result = err_to_result(err);
149 int err = pthread_create(&tp->mThreadArray[i], (const pthread_attr_t *) NULL, local
151 result = err_to_result(err);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp211 status_t err = dataSource->initCheck(); local
212 if (err != OK) {
213 notifyPrepared(err);
475 status_t err; local
494 err = mAudioSource->read(&mDecodeBuffer, &readOptions);
495 if (err == OK) {
523 if (err != OK) {
525 switch(err) {
555 SL_LOGE("MediaSource::read returned error %d", err);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp143 int err; local
144 if ((err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(),
146 ALOGW("Surface::dequeueBuffer returned error %d", err);
233 if ((err = mNativeWindow->queueBuffer(mNativeWindow.get(), buf,
235 ALOGW("Surface::queueBuffer returned error %d", err);
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp311 status_t err = group->selectTrack(ii, select); local
312 if (err == OK) {
315 return err;
493 status_t err = OK; local
499 err = parseMetaData(line, &mMeta, "target-duration");
504 err = parseMetaData(line, &mMeta, "media-sequence");
509 err = parseCipherInfo(line, &itemMeta, mBaseURI);
518 err = parseMetaDataDuration(line, &itemMeta, "durationUs");
532 err = parseStreamInf(line, &itemMeta);
539 err
596 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); local
620 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp300 status_t err = NO_ERROR; local
596 status_t err = sensor->batch(connection.get(), handle, reservedFlags, samplingPeriodNs, local
598 if (err == NO_ERROR) {
608 if (err == NO_ERROR) {
610 err = sensor->activate(connection.get(), true);
613 if (err != NO_ERROR) {
617 return err;
627 status_t err = cleanupWithoutDisableLocked(connection, handle); local
628 if (err == NO_ERROR) {
630 err
912 status_t err; local
[all...]
/frameworks/av/libvideoeditor/vss/inc/
H A DM4VSS3GPP_InternalFunctions.h46 #define M4ERR_CHECK_RETURN(err) if(M4NO_ERROR!=err) return err;
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp120 status_t err = mThread->run( local
122 if (err != OK) {
126 return err;
H A DALooperRoster.cpp178 status_t err = postMessage_l(msg, 0 /* delayUs */); local
180 if (err != OK) {
182 return err;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp288 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...]
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp156 int err = readNextChunk(); local
157 if (err < 0) {
158 ALOGE("Unable to access asset data: %d", err);
/frameworks/compile/mclinker/tools/mcld/lib/Core/
H A DLinker.cpp75 enum ErrorCode err = config(pConfig); local
76 if (kSuccess != err) {
77 ALOGE("%s (%s)", GetErrorString(err), triple.c_str());
/frameworks/native/opengl/tests/gl_yuvtex/
H A Dgl_yuvtex.cpp99 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); local
100 if (err != 0) {
101 fprintf(stderr, "yuvTexBuffer->lock(...) failed: %d\n", err);
124 err = yuvTexBuffer->unlock();
125 if (err != 0) {
126 fprintf(stderr, "yuvTexBuffer->unlock() failed: %d\n", err);

Completed in 596 milliseconds

1234567891011>>