Searched refs:err (Results 276 - 300 of 426) sorted by relevance

<<1112131415161718

/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp221 status_t err = surface->lock(&outBuffer, dirtyRectPtr); local
222 if (err < 0) {
223 const char* const exception = (err == NO_MEMORY) ?
280 status_t err = surface->unlockAndPost(); local
281 if (err < 0) {
376 int err = AndroidRuntime::registerNativeMethods(env, "android/view/Surface", local
401 return err;
H A Dandroid_hardware_camera2_CameraMetadata.cpp331 status_t err; local
332 if ((err = metadata->readFromParcel(parcelNative)) != OK) {
334 "Failed to read from parcel (error code %d)", err);
352 status_t err; local
353 if ((err = metadata->writeToParcel(parcelNative)) != OK) {
355 "Failed to write to parcel (error code %d)", err);
H A Dandroid_media_RemoteDisplay.cpp191 int err = AndroidRuntime::registerNativeMethods(env, "android/media/RemoteDisplay", local
202 return err;
H A Dandroid_os_SystemProperties.cpp165 int err; local
181 err = property_set(key, val);
189 if (err < 0) {
/frameworks/native/include/binder/
H A DParcel.h88 void setError(status_t err);
325 status_t err = writeInt32(size); local
326 if (err != NO_ERROR) {
327 return err;
352 status_t err = readInt32(&s); local
353 if (err != NO_ERROR) {
354 return err;
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp299 status_t err; local
309 err = remote()->transact(SET_RETRANSMIT_ENDPOINT, data, &reply);
310 if (OK != err) {
311 return err;
328 status_t err; local
331 err = remote()->transact(GET_RETRANSMIT_ENDPOINT, data, &reply);
333 if ((OK != err) || (OK != (err = reply.readInt32()))) {
334 return err;
339 return err;
[all...]
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp138 status_t err = fileSource->initCheck(); local
139 if (err != OK) {
140 return err;
163 status_t err = source->initCheck(); local
164 if (err != OK) {
165 return err;
382 status_t err = info->mSource->read(&info->mSample, &options); local
384 if (err != OK) {
387 info->mFinalResult = err;
391 info->mTrackIndex, err);
[all...]
H A DMediaCodecList.cpp524 status_t err = client.connect(); local
525 if (err != OK) {
526 return err;
530 err = QueryCodec(
534 if (err != OK) {
535 return err;
H A DWVMExtractor.cpp162 void WVMExtractor::setError(status_t err) { argument
164 mImpl->setError(err);
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp405 status_t err; local
408 err = mHal2Device->ops->construct_default_request(
411 return err;
1278 status_t err; local
1280 err = native_window_set_buffers_timestamp(a, timestamp);
1281 if (err != OK) {
1283 __FUNCTION__, strerror(-err), err);
1284 return err;
1286 err
1312 int err = a->cancelBuffer(a, local
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp654 status_t err; local
659 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
660 if (err != 0) {
661 testPrintE("hwcTestFillColor lock failed: %d", err);
673 err = gBuf->unlock();
674 if (err != 0) {
675 testPrintE("hwcTestFillColor unlock failed: %d", err);
691 status_t err; local
697 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf));
698 if (err !
[all...]
/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));
869 status_t err = findPendingRequest(response, &i); local
[all...]
/frameworks/base/tools/preload/
H A DRoot.java139 System.err.println("Writing object model...");
145 System.err.println("Done!");
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp114 int err = ioctl(fd, PMEM_GET_TOTAL_SIZE, &reg); local
115 if (err == 0)
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp53 status_t err = EGLUtils::selectConfigForNativeWindow( local
55 if (err) {
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp50 status_t err = EGLUtils::selectConfigForNativeWindow( local
52 if (err) {
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp34 #define COMPILE_ASSERT(expr, err) static const char err[(expr) ? 1 : -1] = "";
/frameworks/av/media/libstagefright/include/
H A DChromiumHTTPDataSource.h113 void onConnectionFailed(status_t err);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.h140 void notifyError(status_t err);
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp149 status_t err = conn->postEvent(event); local
150 if (err == -EAGAIN || err == -EWOULDBLOCK) {
158 } else if (err < 0) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1826 status_t err = addLeafFile(fileNames[i], file); local
1827 if (err != NO_ERROR) {
1828 return err;
1897 status_t err = mDirs.valueAt(i)->validate(); local
1898 if (err != NO_ERROR) {
1899 return err;
1942 status_t err = NO_ERROR; local
1950 err = UNKNOWN_ERROR;
1966 err = UNKNOWN_ERROR;
1972 err
2227 ssize_t err = 0; local
2320 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); local
2359 status_t err = dir->addLeafFile(entryName.getPathLeaf(), file); local
2407 status_t err = reqFilter.parse(bundle->getConfigurations()); local
2573 status_t err = mSymbols.valueAt(pos)->applyJavaSymbols(symbols); local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp100 status_t err = mExtractor->feedMore(); local
101 if (err != OK) {
102 mImpl->signalEOS(err);

Completed in 574 milliseconds

<<1112131415161718