Searched refs:err (Results 251 - 275 of 409) sorted by relevance

<<11121314151617

/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp306 status_t err; local
316 err = remote()->transact(SET_RETRANSMIT_ENDPOINT, data, &reply);
317 if (OK != err) {
318 return err;
335 status_t err; local
338 err = remote()->transact(GET_RETRANSMIT_ENDPOINT, data, &reply);
340 if ((OK != err) || (OK != (err = reply.readInt32()))) {
341 return err;
346 return err;
[all...]
H A DIMediaCodecList.cpp59 status_t err = reply.readInt32(); local
60 if (err == OK) {
H A DIMediaHTTPConnection.cpp97 status_t err = remote()->transact(READ_AT, data, &reply); local
98 if (err != OK) {
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp140 status_t err = fileSource->initCheck(); local
141 if (err != OK) {
142 return err;
165 status_t err = source->initCheck(); local
166 if (err != OK) {
167 return err;
384 status_t err = info->mSource->read(&info->mSample, &options); local
386 if (err != OK) {
389 info->mFinalResult = err;
393 info->mTrackIndex, err);
[all...]
H A DWVMExtractor.cpp162 void WVMExtractor::setError(status_t err) { argument
164 mImpl->setError(err);
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp287 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 DWebmWriter.cpp274 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/native/libs/gui/tests/
H A DGLTest.cpp180 GLenum err = glGetError(); local
181 if (err != GL_NO_ERROR) {
182 msg += String8::format("error reading pixel: %#x", err);
183 while ((err = glGetError()) != GL_NO_ERROR) {
184 msg += String8::format(", %#x", err);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp658 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...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp319 int32_t err; local
320 if (!response->findInt32("err", &err)) {
321 err = INVALID_OPERATION;
322 } else if (err == OK && isOffloaded != NULL) {
327 return err;
353 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags); local
356 response->setInt32("err", err);
1431 status_t err local
1530 status_t err = mAudioSink->open( local
[all...]
H A DNuPlayerSource.h131 void notifyPrepared(status_t err = OK);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp316 status_t err = setAudioSpecificConfigData(); local
318 if (err != OK) {
319 return err;
361 status_t err = getSampleRateTableIndex(mSampleRate, index); local
362 if (err != OK) {
364 return err;
H A DAACEncoder.cpp154 status_t err = mSource->start(params); local
155 if (err != OK) {
157 return err;
217 status_t err; local
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp204 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/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp282 int err = ::connect( local
287 if (err < 0) {
380 int err; local
381 socklen_t optionLen = sizeof(err);
382 CHECK_EQ(getsockopt(mSocket, SOL_SOCKET, SO_ERROR, &err, &optionLen), 0);
383 CHECK_EQ(optionLen, (socklen_t)sizeof(err));
385 if (err != 0) {
386 ALOGE("err = %d (%s)", err, strerror(err));
868 status_t err = findPendingRequest(response, &i); local
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp2216 status_t err = addResourcesToBuilder(subDir, builder, ignore); local
2217 if (err != NO_ERROR) {
2218 return err;
2227 status_t err = NO_ERROR; local
2229 err = builder->getBaseSplit()->addEntry(gp->getPath(), gp->getFiles().valueAt(j));
2231 err = builder->addEntry(gp->getPath(), gp->getFiles().valueAt(j));
2233 if (err != NO_ERROR) {
2236 return err;
2267 status_t err; local
2276 err
[all...]
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp187 status_t err = mHTTPConnection->getMIMEType(&mimeType); local
189 if (err != OK) {
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp191 int err = AndroidRuntime::registerNativeMethods(env, "android/media/RemoteDisplay", local
202 return err;
/frameworks/base/tools/preload/
H A DRoot.java139 System.err.println("Writing object model...");
145 System.err.println("Done!");
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp54 status_t err = EGLUtils::selectConfigForNativeWindow( local
56 if (err) {
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp51 status_t err = EGLUtils::selectConfigForNativeWindow( local
53 if (err) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp203 status_t err = client->initCheck(); local
204 if (err == NO_ERROR) {
334 status_t err = mDispSync->addEventListener(mPhaseOffset, local
336 if (err != NO_ERROR) {
338 strerror(-err), err);
342 status_t err = mDispSync->removeEventListener( local
344 if (err != NO_ERROR) {
346 strerror(-err), err);
391 status_t err; local
914 status_t err = hwc.prepare(); local
1114 status_t err = hwc.prepare(); local
1998 status_t err = mTransactionCV.waitRelative(mStateLock, s2ns(5)); local
2051 status_t err = mTransactionCV.waitRelative(mStateLock, s2ns(5)); local
2234 status_t err = (*outLayer)->setBuffers(w, h, format, flags); local
2257 status_t err = NO_ERROR; local
2770 status_t err = BnSurfaceComposer::onTransact(code, data, reply, flags); local
3211 int err = 0; local
[all...]
H A DEventThread.cpp183 status_t err = conn->postEvent(event); local
184 if (err == -EAGAIN || err == -EWOULDBLOCK) {
192 } else if (err < 0) {
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp362 status_t err = parcel->writeInt32(mSize); local
363 if (err == OK) {
364 err = parcel->write(mData, mSize);
366 return err;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.h140 void notifyError(status_t err);

Completed in 545 milliseconds

<<11121314151617