/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 303 bool err = false; local 308 err = true; 310 return err; 314 bool err = false; local 321 err = true; 323 return err; 327 bool err = false; local 346 err = true; 348 return err;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | KeepaliveTracker.java | 139 void notifyMessenger(int slot, int err) { argument 140 KeepaliveTracker.this.notifyMessenger(mMessenger, slot, err); 217 void notifyMessenger(Messenger messenger, int slot, int err) { argument 221 message.arg2 = err;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 229 ssize_t err = read(fds[alarm_idx], &unused, sizeof(unused)); local 230 if (err < 0) { 234 return err; 313 int err = fscanf(file, "%u", &hctosys); local 314 if (err == EOF) 317 else if (err == 0) 390 int err = epoll_ctl(epollfd, EPOLL_CTL_ADD, fds[i], &event); local 391 if (err < 0) { 403 int err = timerfd_settime(fds[ANDROID_ALARM_TYPE_COUNT], local 405 if (err < [all...] |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 201 int err; local 203 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) { 204 ALOGE("Can't open fingerprint HW Module, error: %d", err); 221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) { 222 ALOGE("Can't open fingerprint methods, error: %d", err); 232 err = gContext.device->set_notify(gContext.device, hal_notify_callback); 233 if (err < 0) { 234 ALOGE("Failed in call to set_notify(), err=%d", err);
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 429 status_t err; local 436 err = jar.open(jars[i], ZipFile::kOpenReadOnly); 437 if (err != 0) { 439 jars[i], err); 440 return err; 442 err += processJarFile(&jar, zip); 443 if (err < 0) { 445 return err; 447 count += err;
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 118 status_t err = mValuePool.setTo(parser.getChunk(), local 120 if (err != NO_ERROR) { 201 status_t err = mTypePool.setTo(parser.getChunk(), local 203 if (err != NO_ERROR) { 211 status_t err = mKeyPool.setTo(parser.getChunk(), local 213 if (err != NO_ERROR) {
|
/frameworks/compile/libbcc/lib/Core/ |
H A D | Compiler.cpp | 100 enum ErrorCode err = config(pConfig); local 101 if (err != kSuccess) { 102 ALOGE("%s (%s, features: %s)", GetErrorString(err), 237 enum ErrorCode err; local 284 if ((err = runPasses(pScript, pResult)) != kSuccess) { 285 return err; 310 enum Compiler::ErrorCode err = compile(pScript, *out, IRStream); local 315 return err;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompilerDriver.cpp | 188 Compiler::ErrorCode err = mCompiler.config(*mConfig); local 189 if (err != Compiler::kSuccess) { 191 Compiler::GetErrorString(err));
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 233 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...] |
/frameworks/native/libs/binder/ |
H A D | Binder.cpp | 64 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 D | BpBinder.cpp | 112 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 D | BufferedTextOutput.cpp | 167 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 D | ProcessState.cpp | 173 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); local 174 if (err < NO_ERROR) return NULL;
|
/frameworks/native/libs/gui/ |
H A D | ConsumerBase.cpp | 70 status_t err = mConsumer->consumerConnect(proxy, controlledByApp); local 71 if (err != NO_ERROR) { 73 strerror(-err), err); 262 status_t err = mConsumer->acquireBuffer(item, presentWhen, maxFrameNumber); local 263 if (err != NO_ERROR) { 264 return err; 331 status_t err = mConsumer->releaseBuffer(slot, mSlots[slot].mFrameNumber, local 333 if (err == IGraphicBufferConsumer::STALE_BUFFER_SLOT) { 339 return err; [all...] |
H A D | ISurfaceComposer.cpp | 128 int err = NO_ERROR; local 129 err = data.writeInterfaceToken( 131 if (err != NO_ERROR) { 133 "interface descriptor: %s (%d)", strerror(-err), -err); 136 err = data.writeStrongBinder(IInterface::asBinder(bufferProducer)); 137 if (err != NO_ERROR) { 139 "strong binder to parcel: %s (%d)", strerror(-err), -err); 142 err 163 int err = data.writeInterfaceToken( local [all...] |
H A D | SurfaceControl.cpp | 101 status_t err = validate(); local 102 if (err < 0) return err; 106 status_t err = validate(); local 107 if (err < 0) return err; 111 status_t err = validate(); local 112 if (err < 0) return err; 116 status_t err local 121 status_t err = validate(); local 126 status_t err = validate(); local 131 status_t err = validate(); local 136 status_t err = validate(); local 141 status_t err = validate(); local 146 status_t err = validate(); local 151 status_t err = validate(); local 156 status_t err = validate(); local 161 status_t err = validate(); local 168 status_t err = validate(); local 174 status_t err = validate(); local 180 status_t err = validate(); local 187 status_t err = validate(); local [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 180 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);
|
H A D | SurfaceTextureClient_test.cpp | 134 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, local 136 EXPECT_EQ(NO_ERROR, err); 142 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); local 143 EXPECT_EQ(NO_ERROR, err);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 172 status_t err = allocator.alloc(inWidth, inHeight, inFormat, inUsage, local 174 if (err == NO_ERROR) { 181 return err; 393 status_t err = mBufferMapper.registerBuffer(handle); local 394 if (err != NO_ERROR) { 398 strerror(-err), err); 399 return err;
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 262 status_t err = mTextures.add(name, result); local 263 if (err < 0)
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 427 const char* err = dlerror(); local 428 ALOGE("load_driver(%s): %s", driver_absolute_path, err?err:"unknown");
|
H A D | egl_cache.cpp | 117 EGLint err = cnx->egl.eglGetError(); local 118 if (err != EGL_SUCCESS) { 120 "%#x", err); 257 status_t err = mBlobCache->flatten(buf + headerSize, cacheSize); local 258 if (err != OK) { 259 ALOGE("error writing cache contents: %s (%d)", strerror(-err), 260 -err); 339 status_t err = mBlobCache->unflatten(buf + headerSize, cacheSize); local 340 if (err != OK) { 341 ALOGE("error reading cache contents: %s (%d)", strerror(-err), [all...] |
/frameworks/native/opengl/tests/gl_yuvtex/ |
H A D | gl_yuvtex.cpp | 99 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/sensorservice/ |
H A D | SensorDevice.cpp | 43 status_t err = hw_get_module(SENSORS_HARDWARE_MODULE_ID, local 46 ALOGE_IF(err, "couldn't load %s module (%s)", 47 SENSORS_HARDWARE_MODULE_ID, strerror(-err)); 50 err = sensors_open_1(&mSensorModule->common, &mSensorDevice); 52 ALOGE_IF(err, "couldn't open device for module %s (%s)", 53 SENSORS_HARDWARE_MODULE_ID, strerror(-err)); 153 status_t err(NO_ERROR); 213 err = mSensorDevice->activate( 215 ALOGE_IF(err, "Error %s sensor %d (%s)", enabled ? "activating" : "disabling", handle, 216 strerror(-err)); [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 192 status_t err = conn->postEvent(event); local 193 if (err == -EAGAIN || err == -EWOULDBLOCK) { 201 } else if (err < 0) {
|