Searched defs:err (Results 126 - 150 of 314) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp48 status_t err = scanFile(); local
49 if (err != OK) {
52 return err;
71 status_t err = getText(options, &text, startTimeUs, endTimeUs); local
72 if (err != OK) {
73 return err;
92 status_t err = getNextSubtitleInfo(&offset, &startTimeUs, &info); local
93 switch (err) {
101 return err;
128 status_t err; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp108 status_t err = OK; local
116 err = packetizerTrackIndex;
123 if (err == OK) {
129 err = mTSSender->initAsync(
137 if (err != OK) {
143 if (err != OK) {
150 return err;
180 status_t err = info->mSender->initAsync( local
188 if (err != OK) {
192 return err;
252 status_t err = packetizeAccessUnit( local
313 int32_t err; local
330 int32_t err; local
367 notifyInitDone(status_t err) argument
374 notifyError(status_t err) argument
413 status_t err; local
[all...]
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( local
111 if (err != OK) {
113 strerror(-err), err);
122 status_t err; local
134 err = releaseOldestBufferLocked(&pinnedFrames);
136 if (err == NO_BUFFER_AVAILABLE) {
141 if (err == NOT_ENOUGH_DATA) {
146 if (err != OK) {
148 return err;
188 status_t err = OK; local
272 status_t err; local
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp171 status_t err = buf.nextUint32(&i); local
172 if (err != NO_ERROR) {
173 return err;
185 err = buf.nextUint32(&i);
186 if (err != NO_ERROR) {
187 return err;
191 err = buf.nextUint32(&i);
192 if (err != NO_ERROR) {
193 return err;
197 err
229 status_t err = buf.nextUint16(&data16); local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp290 status_t err = surfaceTexture->updateTexImage(); local
291 if (err == INVALID_OPERATION) {
294 } else if (err < 0) {
302 status_t err = surfaceTexture->releaseTexImage(); local
303 if (err == INVALID_OPERATION) {
306 } else if (err < 0) {
362 int err = 0; local
363 err = AndroidRuntime::registerNativeMethods(env, kSurfaceTextureClassPathName,
365 return err;
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp253 status_t err = context->startGlTimer(); local
254 if (err != OK) {
255 switch (err) {
278 status_t err = context->stopGlTimer(); local
279 if (err != OK) {
280 switch (err) {
H A Dandroid_media_RemoteDisplay.cpp191 int err = AndroidRuntime::registerNativeMethods(env, "android/media/RemoteDisplay", local
202 return err;
H A Dandroid_opengl_EGLExt.cpp159 int err; local
160 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
161 return err;
H A Dcom_android_internal_net_NetworkStatsFactory.cpp303 int err = AndroidRuntime::registerNativeMethods(env, local
322 return err;
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp89 "Failed to get EGL_DEFAULT_DISPLAY! err=%s", egl_error_str());
93 "Failed to initialize display %p! err=%s", mEglDisplay, egl_error_str());
113 // or not it is destroyed, for example), so err on the side of using
266 EGLint err = eglGetError(); local
267 if (CC_LIKELY(err == EGL_SUCCESS)) {
270 if (err == EGL_BAD_SURFACE) {
278 err, egl_error_str(err));
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp93 status_t err = crypto->createPlugin(uuid, initData, initSize); local
95 if (err != OK) {
200 status_t err = crypto->initCheck(); local
210 if (err != OK) {
H A Dandroid_media_MediaMuxer.cpp54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, local
56 if (err != OK) {
59 return err;
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); local
127 if (err != OK) {
156 status_t err = muxer->setOrientationHint(degrees); local
158 if (err != OK) {
186 status_t err = muxer->start(); local
188 if (err != OK) {
205 status_t err local
251 int err = AndroidRuntime::registerNativeMethods(env, local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp303 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/jni/
H A Dcom_android_server_AlarmManagerService.cpp217 ssize_t err = read(fds[alarm_idx], &unused, sizeof(unused)); local
218 if (err < 0) {
222 return err;
318 int err = epoll_ctl(epollfd, EPOLL_CTL_ADD, fds[i], &event); local
319 if (err < 0) {
331 int err = timerfd_settime(fds[ANDROID_ALARM_TYPE_COUNT], local
333 if (err < 0) {
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp260 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); local
/frameworks/base/tools/aapt/
H A DPackage.cpp405 status_t err; local
430 status_t err; local
437 err = jar.open(jars[i], ZipFile::kOpenReadOnly);
438 if (err != 0) {
440 jars[i], err);
441 return err;
443 err += processJarFile(&jar, zip);
444 if (err < 0) {
446 return err;
448 count += err;
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp289 Compiler::ErrorCode err = mCompiler.config(*mConfig); local
290 if (err != Compiler::kSuccess) {
292 Compiler::GetErrorString(err));
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c336 uint8_t err; local
369 err = 0;
371 err |= digest[k]-
373 if (err)
435 uint8_t err; local
/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...]
/frameworks/native/include/binder/
H A DParcel.h91 void setError(status_t err);
348 status_t err = writeInt32(size); local
349 if (err != NO_ERROR) {
350 return err;
375 status_t err = readInt32(&s); local
376 if (err != NO_ERROR) {
377 return err;
/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 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;
H A DProcessState.cpp172 status_t err = mHandleToObject.insertAt(e, N, handle+1-N); local
173 if (err < NO_ERROR) return NULL;
/frameworks/native/libs/gui/
H A DConsumerBase.cpp69 status_t err = mConsumer->consumerConnect(proxy, controlledByApp); local
70 if (err != NO_ERROR) {
72 strerror(-err), err);
184 status_t err = mConsumer->acquireBuffer(item, presentWhen); local
185 if (err != NO_ERROR) {
186 return err;
249 status_t err = mConsumer->releaseBuffer(slot, mSlots[slot].mFrameNumber, local
251 if (err == IGraphicBufferConsumer::STALE_BUFFER_SLOT) {
257 return err;
[all...]

Completed in 470 milliseconds

1234567891011>>