Searched defs:err (Results 1 - 25 of 367) sorted by last modified time

1234567891011>>

/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);
H A Dsles.c137 SLresult err_to_result(int err) argument
139 if (EAGAIN == err || ENOMEM == err) {
142 if (0 != err) {
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp729 int err; local
732 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
733 if (0 != err) {
735 "errno %d", nativeWindow, err);
H A Dandroid_AudioSfDecoder.cpp216 status_t err = dataSource->initCheck(); local
217 if (err != OK) {
218 notifyPrepared(err);
474 status_t err; local
493 err = mAudioSource->read(&mDecodeBuffer, &readOptions);
494 if (err == OK) {
522 if (err != OK) {
524 switch (err) {
554 SL_LOGE("MediaSource::read returned error %d", err);
H A Dandroid_GenericMediaPlayer.cpp82 static const char *media_error_type_to_string(media_error_type err) argument
84 switch (err) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp278 status_t err = mGroup->acquire_buffer(&buffer); local
279 if (err != OK) {
280 return err;
/frameworks/wilhelm/src/objects/
H A DCEngine.c58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz); local
59 result = err_to_result(err);
/frameworks/rs/driver/
H A DrsdGL.cpp53 static const char *strerror(EGLint err) { argument
54 switch (err){
496 GLenum err = glGetError();
497 if (err != GL_NO_ERROR) {
499 snprintf(buf, sizeof(buf), "GL Error = 0x%08x, from: %s", err, msg);
504 switch (err) {
/frameworks/rs/
H A DrsGrallocConsumer.cpp74 status_t err; local
82 err = releaseAcquiredBufferLocked(idx);
83 if (err) {
84 return err;
90 err = acquireBufferLocked(&b, 0);
91 if (err != OK) {
92 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
95 ALOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
96 return err;
243 status_t err; local
296 status_t err; local
[all...]
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp32 void wifi_get_error_info_stub(wifi_error err, const char **msg) { argument
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp541 int32_t err = zip_writer->StartEntryWithTime(entry_name.c_str(), local
543 if (err) {
545 ZipWriter::ErrorCodeString(err));
558 err = zip_writer->WriteBytes(buffer.data(), bytes_read);
559 if (err) {
560 MYLOGE("zip_writer->WriteBytes(): %s\n", ZipWriter::ErrorCodeString(err));
565 err = zip_writer->FinishEntry();
566 if (err) {
567 MYLOGE("zip_writer->FinishEntry(): %s\n", ZipWriter::ErrorCodeString(err));
606 int32_t err local
980 int32_t err = zip_writer->Finish(); local
[all...]
H A Dutils.cpp474 int err = errno; local
475 printf("*** %s: %s\n", path, strerror(err));
485 int err = errno; local
486 MYLOGE("Error opening file descriptor for %s: %s\n", path, strerror(err));
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp233 status_t err = mSurfaceComposerClient->getDisplayInfo(dpy, &info); local
234 if (err != NO_ERROR) {
235 fprintf(stderr, "SurfaceComposer::getDisplayInfo failed: %#x\n", err);
249 status_t err;
254 err = mSurfaceComposerClient->initCheck();
255 if (err != NO_ERROR) {
256 fprintf(stderr, "SurfaceComposerClient::initCheck error: %#x\n", err);
274 err = sc->setLayer(0x7FFFFFFF);
275 if (err != NO_ERROR) {
276 fprintf(stderr, "SurfaceComposer::setLayer error: %#x\n", err);
[all...]
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/native/cmds/service/
H A Dservice.cpp48 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply); local
49 if (err == NO_ERROR) {
/frameworks/native/include/binder/
H A DParcel.h99 void setError(status_t err);
520 status_t err = writeInt32(size); local
521 if (err != NO_ERROR) {
522 return err;
547 status_t err = readInt32(&s); local
548 if (err != NO_ERROR) {
549 return err;
/frameworks/native/libs/binder/
H A DBinder.cpp64 status_t IBinder::shellCommand(const sp<IBinder>& target, int in, int out, int err, argument
71 send.writeFileDescriptor(err);
120 status_t err = NO_ERROR; local
126 err = onTransact(code, data, reply, flags);
134 return err;
229 int err = data.readFileDescriptor(); local
239 //return shellCommand(in, out, err, args, resultReceiver);
H A DBpBinder.cpp112 status_t err = const_cast<BpBinder*>(this)->transact( local
114 if (err == NO_ERROR) {
140 status_t err = transact(PING_TRANSACTION, send, &reply); local
141 if (err != NO_ERROR) return err;
156 status_t err = transact(DUMP_TRANSACTION, send, &reply); local
157 return err;
H A DBufferedTextOutput.cpp167 status_t err; local
182 err = b->append(prefix, strlen(prefix));
183 if (err != NO_ERROR) return err;
206 err = b->append(first, txt-first);
207 if (err != NO_ERROR) return err;
H A DIMemory.cpp305 status_t err = remote()->transact(HEAP_ID, data, &reply); local
311 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)",
313 parcel_fd, size, err, strerror(-err));
318 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)",
319 parcel_fd, size, err, strerror(errno));
H A DIPCThreadState.cpp349 const status_t err = mLastError; local
351 return err;
528 LOG_THREADPOOL("**** THREAD %p (PID %d) IS LEAVING THE THREAD POOL err=%p\n",
573 status_t err = data.errorCheck(); local
584 if (err == NO_ERROR) {
587 err = writeTransactionData(BC_TRANSACTION, flags, handle, code, data, NULL);
590 if (err != NO_ERROR) {
591 if (reply) reply->setError(err);
592 return (mLastError = err);
604 err
725 status_t err; local
736 int32_t err; local
871 status_t err; local
938 const status_t err = data.errorCheck(); local
[all...]
H A DIProcessInfoService.cpp38 status_t err = remote()->transact(GET_PROCESS_STATES_FROM_PIDS, data, &reply); local
39 if (err != NO_ERROR || ((err = reply.readExceptionCode()) != NO_ERROR)) {
40 return err;
46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) {
47 return err;
61 status_t err = remote()->transact( local
63 if (err != NO_ERROR
64 || ((err = reply.readExceptionCode()) != NO_ERROR)) {
65 return err;
[all...]
H A DIServiceManager.cpp168 status_t err = remote()->transact(ADD_SERVICE_TRANSACTION, data, &reply); local
169 return err == NO_ERROR ? reply.readExceptionCode() : err;
181 status_t err = remote()->transact(LIST_SERVICES_TRANSACTION, data, &reply); local
182 if (err != NO_ERROR)
H A DMemoryDealer.cpp214 int err = madvise(start_ptr, size, MADV_REMOVE); local
215 ALOGW_IF(err, "madvise(%p, %zu, MADV_REMOVE) returned %s",
216 start_ptr, size, err<0 ? strerror(errno) : "Ok");
H A DParcel.cpp443 status_t err; local
444 err = continueWrite(size);
445 if (err == NO_ERROR) {
449 return err;
484 status_t err = restartWrite(len); local
485 if (err == NO_ERROR) {
490 return err;
496 status_t err; local
534 err = growData(len);
535 if (err !
672 setError(status_t err) argument
716 status_t err = growData(len); local
778 status_t err = growData(padded); local
791 status_t err = writeInt32(utf16Len); local
1057 status_t err = writeInt32(str.bytes()); local
1183 status_t err = writeFileDescriptor(dupFd, true /*takeOwnership*/); local
1268 status_t err; local
1436 status_t err = growData(sizeof(val)); local
1954 status_t err; local
2076 status_t err = NO_ERROR; local
2228 const status_t err = errorCheck(); local
[all...]

Completed in 1188 milliseconds

1234567891011>>