Searched refs:err (Results 1 - 25 of 409) sorted by relevance

1234567891011>>

/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java45 System.err.println("Exception caught:");
58 System.err.println(BMGR_NOT_RUNNING_ERR);
111 System.err.println("Unknown command");
125 System.err.println(e.toString());
126 System.err.println(BMGR_NOT_RUNNING_ERR);
145 System.err.println(e.toString());
146 System.err.println(BMGR_NOT_RUNNING_ERR);
154 System.err.println(e.toString());
155 System.err.println(BMGR_NOT_RUNNING_ERR);
169 System.err
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp44 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
45 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
46 if (err == 0) {
54 status_t err; local
56 err = mAllocMod->registerBuffer(mAllocMod, handle);
58 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)",
59 handle, err, strerror(-err));
60 return err;
66 status_t err; local
79 status_t err; local
93 status_t err; local
110 status_t err; local
122 status_t err; local
144 status_t err; local
168 status_t err; local
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp37 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); local
38 LOG_ALWAYS_FATAL_IF(err != OK,
41 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
42 LOG_ALWAYS_FATAL_IF(err != OK,
58 status_t err; local
64 err = acquireBufferLocked(item, presentWhen);
65 if (err != OK) {
66 if (err != NO_BUFFER_AVAILABLE) {
67 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
88 status_t err; local
[all...]
H A DSurfaceControl.cpp93 status_t err = validate(); local
94 if (err < 0) return err;
98 status_t err = validate(); local
99 if (err < 0) return err;
103 status_t err = validate(); local
104 if (err < 0) return err;
108 status_t err local
113 status_t err = validate(); local
118 status_t err = validate(); local
123 status_t err = validate(); local
128 status_t err = validate(); local
133 status_t err = validate(); local
138 status_t err = validate(); local
143 status_t err = validate(); local
149 status_t err = validate(); local
156 status_t err = validate(); local
[all...]
H A DGraphicBufferAlloc.cpp37 status_t err = graphicBuffer->initCheck(); local
38 *error = err;
39 if (err != 0 || graphicBuffer->handle == 0) {
40 if (err == NO_MEMORY) {
45 w, h, strerror(-err), graphicBuffer->handle);
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp27 status_t err; local
30 err = surfaceComposerClient->initCheck();
31 if (err != NO_ERROR) {
32 fprintf(stderr, "SurfaceComposerClient::initCheck error: %#x\n", err);
40 err = SurfaceComposerClient::getDisplayInfo(mainDpy, &mainDpyInfo);
41 if (err != NO_ERROR) {
66 err = sc->setLayer(0x7FFFFFFF); // always on top
67 if (err != NO_ERROR) {
68 fprintf(stderr, "SurfaceComposer::setLayer error: %#x\n", err);
72 err
[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/libs/storage/
H A DIMountService.cpp72 int32_t err = reply.readExceptionCode(); local
73 if (err < 0) {
74 ALOGD("registerListener caught exception %d\n", err);
88 int32_t err = reply.readExceptionCode(); local
89 if (err < 0) {
90 ALOGD("unregisterListener caught exception %d\n", err);
103 int32_t err = reply.readExceptionCode(); local
104 if (err < 0) {
105 ALOGD("isUsbMassStorageConnected caught exception %d\n", err);
120 int32_t err local
135 int32_t err = reply.readExceptionCode(); local
152 int32_t err = reply.readExceptionCode(); local
171 int32_t err = reply.readExceptionCode(); local
188 int32_t err = reply.readExceptionCode(); local
205 int32_t err = reply.readExceptionCode(); local
227 int32_t err = reply.readExceptionCode(); local
249 int32_t err = reply.readExceptionCode(); local
266 int32_t err = reply.readExceptionCode(); local
283 int32_t err = reply.readExceptionCode(); local
304 int32_t err = reply.readExceptionCode(); // What to do... local
322 int32_t err = reply.readExceptionCode(); // What to do... local
339 int32_t err = reply.readExceptionCode(); // What to do... local
357 int32_t err = reply.readExceptionCode(); // What to do... local
374 int32_t err = reply.readExceptionCode(); // What to do... local
392 int32_t err = reply.readExceptionCode(); local
414 int32_t err = reply.readExceptionCode(); local
430 int32_t err = reply.readExceptionCode(); local
452 int32_t err = reply.readExceptionCode(); local
472 int32_t err = reply.readExceptionCode(); local
488 int32_t err = reply.readExceptionCode(); local
505 int32_t err = reply.readExceptionCode(); local
523 int32_t err = reply.readExceptionCode(); local
540 int32_t err = reply.readExceptionCode(); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dq_gain_c.cpp207 Word16 err; local
257 err = ((Word32)gcode0 * *(p++)) >> 15;
258 err = g_q0 - err;
260 if (err < 0)
262 err = -err;
267 if (err < err_min)
269 err_min = err;
/frameworks/native/services/surfaceflinger/
H A DEventControlThread.cpp42 status_t err = mCond.wait(mMutex); local
43 if (err != NO_ERROR) {
45 strerror(-err), err);
H A DSurfaceFlingerConsumer.cpp45 status_t err = checkAndUpdateEglStateLocked(); local
46 if (err != NO_ERROR) {
47 return err;
55 err = acquireBufferLocked(&item, computeExpectedPresent(dispSync));
56 if (err != NO_ERROR) {
57 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
58 err = NO_ERROR;
59 } else if (err == BufferQueue::PRESENT_LATER) {
63 strerror(-err), err);
[all...]
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp133 status_t err = addGainMap(/*top*/redTop, local
149 if (err != OK) return err;
151 err = addGainMap(/*top*/greenEvenTop,
167 if (err != OK) return err;
169 err = addGainMap(/*top*/greenOddTop,
185 if (err != OK) return err;
187 err
225 status_t err = mEndianOut.write(&opcodeId, 0, 1); local
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp90 status_t err = acquireBufferLocked(&item, 0); local
91 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
94 } else if (err != NO_ERROR) {
95 ALOGE("error acquiring buffer: %s (%d)", strerror(-err), err);
96 return err;
110 err = releaseBufferLocked(mCurrentBufferSlot, mCurrentBuffer,
112 if (err < NO_ERROR) {
113 ALOGE("error releasing buffer: %s (%d)", strerror(-err), err);
128 status_t err = nextBuffer(buf, acquireFence); local
151 status_t err = addReleaseFence(mCurrentBufferSlot, local
[all...]
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp52 int err; local
58 err = reader->ReadNextHeader(&done, &type);
63 if (err != 0) {
64 return err < 0 ? err : -1;
72 err = reader->ReadEntityHeader(&key, &dataSize);
73 if (err != 0) {
74 return err < 0 ? err : -1;
94 int err; local
117 int err; local
[all...]
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp101 status_t err = NO_ERROR; local
102 err = native_window_set_buffers_dimensions(anw.get(), width, height);
103 if (err != NO_ERROR) {
105 strerror(-err), err);
106 return err;
109 err = native_window_set_buffers_format(anw.get(), pixelFmt);
110 if (err != NO_ERROR) {
112 strerror(-err), err);
166 status_t err = NO_ERROR; local
431 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); local
460 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local
487 status_t err = anw->query(anw.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, &usage); local
506 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local
535 status_t err = configureSurface(anw, width, height, pixelFormat, CAMERA_DEVICE_BUFFER_SLACK); local
566 status_t err = produceFrame(anw, reinterpret_cast<uint8_t*>(pixels), width, height, local
585 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); local
604 status_t err = native_window_set_buffers_user_dimensions(anw.get(), width, height); local
646 status_t err = NO_ERROR; local
682 status_t err = NO_ERROR; local
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp119 status_t err = -errno; local
122 return err;
125 status_t err = -errno; local
128 return err;
147 status_t err; local
174 err = codec->configure(format, NULL, NULL,
176 if (err != NO_ERROR) {
177 fprintf(stderr, "ERROR: unable to configure %s codec at %dx%d (err=%d)\n",
178 kMimeTypeAvc, gVideoWidth, gVideoHeight, err);
180 return err;
213 status_t err; local
318 status_t err; local
529 status_t err; local
751 int err = errno; local
990 status_t err = recordScreen(fileName); local
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp49 status_t err = msg->postAndAwaitResponse(response); local
51 if (err != OK) {
52 return err;
55 if (!(*response)->findInt32("err", &err)) {
56 err = OK;
59 return err;
111 status_t err; local
113 err = INVALID_OPERATION;
123 response->setInt32("err", er
130 status_t err; local
153 status_t err; local
175 status_t err = OK; local
208 status_t err; local
231 status_t err = OK; local
261 status_t err = onDoMoreStuff(); local
279 status_t err = mExtractor->setDataSource( local
296 status_t err = mExtractor->getTrackFormat(i, &format); local
345 status_t err = state->mCodec->start(); local
425 status_t err; local
472 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); local
574 status_t err = state->mCodec->getOutputFormat(&format); local
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java104 System.err.println("Error: " + e);
106 System.err.println(PM_NOT_RUNNING_ERR);
121 System.err.println(PM_NOT_RUNNING_ERR);
257 System.err.println("Error: unknown command '" + op + "'");
277 System.err.println("Error: didn't specify type of data to list");
295 System.err.println("Error: unknown list type '" + type + "'");
333 System.err.println("Error: Unknown option: " + opt);
338 System.err.println("Error: " + ex.toString());
374 System.err.println(e.toString());
375 System.err
[all...]
/frameworks/av/media/libstagefright/timedtext/test/
H A DTimedTextSRTSource_test.cpp115 status_t err; member in class:android::test::TimedTextSRTSourceTest
120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
121 EXPECT_EQ(OK, err);
127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
128 EXPECT_EQ(OK, err);
133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
134 EXPECT_EQ(OK, err);
139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel);
140 EXPECT_EQ(OK, err);
145 err
[all...]
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java51 System.err.println(IMM_NOT_RUNNING_ERR);
80 System.err.println("Error: unknown command '" + op + "'");
98 System.err.println("Error: Unknown option: " + opt);
110 System.err.println(e.toString());
111 System.err.println(IMM_NOT_RUNNING_ERR);
118 System.err.println(e.toString());
119 System.err.println(IMM_NOT_RUNNING_ERR);
141 System.err.println("Error: no input method ID specified");
156 System.err.println("Error: " + e.getMessage());
159 System.err
[all...]
/frameworks/rs/
H A DrsGrallocConsumer.cpp63 status_t err; local
66 err = releaseAcquiredBufferLocked();
67 if (err) {
68 return err;
74 err = acquireBufferLocked(&b, 0);
75 if (err != OK) {
76 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
79 ALOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
80 return err;
170 status_t err; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp52 status_t err = msg->postAndAwaitResponse(&response); local
54 if (err != OK) {
55 return err;
58 if (!response->findInt32("err", &err)) {
59 err = OK;
62 return err;
87 status_t err; local
93 err = mSource->start(params.get());
95 err
142 status_t err = mSource->read(&mbuf); local
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp120 ERROR_CODE err = NO_DECODING_ERROR; local
139 err = pvmp3_header_sync(inputStream);
141 if (err != NO_DECODING_ERROR)
143 return err;
163 err = UNSUPPORTED_LAYER;
189 err = UNSUPPORTED_FREE_BITRATE;
192 return(err);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp221 int err; local
237 err = dataStream->WriteEntityHeader(key, bytesLeft);
238 if (err != 0) {
240 return err;
247 err = dataStream->WriteEntityData(&metadata, sizeof(metadata));
248 if (err != 0) {
250 return err;
260 err = dataStream->WriteEntityData(buf, amt);
261 if (err != 0) {
263 return err;
292 int err; local
340 int err; local
527 int err = 0; local
744 ssize_t err; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DSDPLoader.cpp85 status_t err = OK; local
96 err = mHTTPDataSource->connect(url.c_str(), headers);
98 if (err != OK) {
99 ALOGE("connect() returned %d", err);
109 if (err == OK && !mCancelled) {
110 err = mHTTPDataSource->getSize(&sdpSize);
112 if (err != OK) {
115 err = OK;
121 if (err == OK && !mCancelled) {
126 err
[all...]

Completed in 693 milliseconds

1234567891011>>