Searched defs:err (Results 151 - 175 of 313) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp249 int err; local
250 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
251 return err;
/frameworks/base/services/jni/
H A Dcom_android_server_power_PowerManagerService.cpp144 status_t err = hw_get_module(POWER_HARDWARE_MODULE_ID, local
146 if (!err) {
149 ALOGE("Couldn't load %s module (%s)", POWER_HARDWARE_MODULE_ID, strerror(-err));
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp113 NPError err = browser->getvalue(NULL, gPairs[i].v, gPairs[i].i); local
114 if (err) {
115 return err;
155 NPError err = browser->setvalue(instance, kRequestDrawingModel_ANPSetValue, local
157 if (err) {
158 gLogI.log(kError_ANPLogType, "request model %d err %d", model, err);
159 return err;
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp260 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); local
/frameworks/base/tools/aapt/
H A DPackage.cpp455 status_t err; local
480 status_t err; local
487 err = jar.open(jars[i], ZipFile::kOpenReadOnly);
488 if (err != 0) {
490 jars[i], err);
491 return err;
493 err += processJarFile(&jar, zip);
494 if (err < 0) {
496 return err;
498 count += err;
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c337 unsigned char err; local
370 err = 0;
372 err |= digest[k]-
374 if (err)
436 unsigned char err; local
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp244 llvm::error_code err = llvm::sys::fs::make_absolute(output_path); local
245 if (err != llvm::errc::success) {
247 << "'! (detail: " << err.message() << ")\n";
/frameworks/native/libs/binder/
H A DBinder.cpp102 status_t err = NO_ERROR; local
108 err = onTransact(code, data, reply, flags);
116 return err;
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 DProcessState.cpp177 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); local
178 if (err < NO_ERROR) return NULL;
/frameworks/native/libs/gui/
H A DConsumerBase.cpp70 status_t err = mBufferQueue->consumerConnect(proxy); local
71 if (err != NO_ERROR) {
73 strerror(-err), err);
179 status_t err = mBufferQueue->acquireBuffer(item); local
180 if (err != NO_ERROR) {
181 return err;
225 status_t err = mBufferQueue->releaseBuffer(slot, display, eglFence, local
227 if (err == BufferQueue::STALE_BUFFER_SLOT) {
233 return err;
[all...]
H A DISurfaceComposer.cpp130 int err = NO_ERROR; local
131 err = data.writeInterfaceToken(
133 if (err != NO_ERROR) {
135 "interface descriptor: %s (%d)", strerror(-err), -err);
138 err = data.writeStrongBinder(surfaceTexture->asBinder());
139 if (err != NO_ERROR) {
141 "strong binder to parcel: %s (%d)", strerror(-err), -err);
144 err
165 int err = data.writeInterfaceToken( local
[all...]
H A DISurfaceTexture.cpp318 status_t err = NO_ERROR; local
327 err = fence->flatten(p, size - (p - (char*)buffer), fds, count);
329 return err;
335 status_t err = NO_ERROR; local
345 err = fence->unflatten(p, size - (p - (const char*)buffer), fds, count);
347 return err;
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp121 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local
123 EXPECT_EQ(NO_ERROR, err);
129 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); local
130 EXPECT_EQ(NO_ERROR, err);
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp81 int err; local
83 err = framebuffer_open(module, &fbDev);
84 ALOGE_IF(err, "couldn't open framebuffer HAL (%s)", strerror(-err));
86 err = gralloc_open(module, &grDev);
87 ALOGE_IF(err, "couldn't open gralloc HAL (%s)", strerror(-err));
125 err = grDev->alloc(grDev,
129 ALOGE_IF(err, "fb buffer %d allocation failed w=%d, h=%d, err
[all...]
H A DGraphicBuffer.cpp147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); local
148 if (err == NO_ERROR) {
154 return err;
261 status_t err = mBufferMapper.registerBuffer(handle); local
262 if (err != NO_ERROR) {
264 strerror(-err), err);
265 return err;
/frameworks/native/libs/utils/
H A DBufferedTextOutput.cpp164 status_t err; local
179 err = b->append(prefix, strlen(prefix));
180 if (err != NO_ERROR) return err;
203 err = b->append(first, txt-first);
204 if (err != NO_ERROR) return err;
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp262 status_t err = mTextures.add(name, result); local
263 if (err < 0)
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp288 const char* err = dlerror(); local
289 ALOGE("load_driver(%s): %s", driver_absolute_path, err?err:"unknown");
H A Degl_cache.cpp115 EGLint err = cnx->egl.eglGetError(); local
116 if (err != EGL_SUCCESS) {
118 "%#x", err);
258 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize, NULL, local
260 if (err != OK) {
261 ALOGE("error writing cache contents: %s (%d)", strerror(-err),
262 -err);
340 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize, NULL, local
342 if (err != OK) {
343 ALOGE("error reading cache contents: %s (%d)", strerror(-err),
[all...]
/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);
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp154 status_t err = conn->postEvent(event); local
155 if (err == -EAGAIN || err == -EWOULDBLOCK) {
163 } else if (err < 0) {
/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 DMediaPlayer_to_android.cpp731 int err; local
734 err = (*nativeWindow->query)(nativeWindow, NATIVE_WINDOW_CONCRETE_TYPE, &value);
735 if (0 != err) {
737 "errno %d", nativeWindow, err);
H A Dandroid_GenericMediaPlayer.cpp82 static const char *media_error_type_to_string(media_error_type err) argument
84 switch (err) {

Completed in 2285 milliseconds

1234567891011>>