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

1234567891011>>

/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp30 status_t err = NO_ERROR; local
34 err = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_MEDIA);
35 if (err != NO_ERROR) {
36 ALOGE("native_window_api_disconnect failed: %s (%d)", strerror(-err), -err);
37 return err;
40 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_MEDIA);
41 if (err != NO_ERROR) {
42 ALOGE("native_window_api_connect failed: %s (%d)", strerror(-err), -err);
122 status_t err = NO_ERROR; local
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp38 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); local
39 LOG_ALWAYS_FATAL_IF(err != OK,
42 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
43 LOG_ALWAYS_FATAL_IF(err != OK,
62 status_t err; local
68 err = acquireBufferLocked(item, presentWhen);
69 if (err != OK) {
70 if (err != NO_BUFFER_AVAILABLE) {
71 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
92 status_t err; local
[all...]
H A DSurfaceControl.cpp101 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...]
H A DGraphicBufferAlloc.cpp38 status_t err = graphicBuffer->initCheck(); local
39 *error = err;
40 if (err != 0 || graphicBuffer->handle == 0) {
41 if (err == NO_MEMORY) {
46 width, height, strerror(-err), graphicBuffer->handle);
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp145 status_t err = addGainMap(/*top*/redTop, local
161 if (err != OK) return err;
163 err = addGainMap(/*top*/greenEvenTop,
179 if (err != OK) return err;
181 err = addGainMap(/*top*/greenOddTop,
197 if (err != OK) return err;
199 err
235 status_t err = addOpcodePreamble(GAIN_MAP_ID); local
339 status_t err = addOpcodePreamble(WARP_RECTILINEAR_ID); local
390 status_t err = addOpcodePreamble(FIX_BAD_PIXELS_LIST); local
432 status_t err = mEndianOut.write(&opcodeId, 0, 1); local
[all...]
/frameworks/av/camera/camera2/
H A DOutputConfiguration.cpp57 status_t err = OK; local
62 if ((err = parcel->readInt32(&rotation)) != OK) {
64 return err;
68 if ((err = parcel->readInt32(&setID)) != OK) {
70 return err;
74 if ((err = surfaceShim.readFromParcel(parcel)) != OK) {
76 return err;
86 return err;
99 status_t err = OK;
101 err
[all...]
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp49 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); local
50 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
51 if (err == 0) {
59 status_t err; local
61 err = mAllocMod->registerBuffer(mAllocMod, handle);
63 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)",
64 handle, err, strerror(-err));
65 return err;
71 status_t err; local
84 status_t err; local
98 status_t err; local
115 status_t err; local
127 status_t err; local
151 status_t err; local
180 status_t err; local
[all...]
/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/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java54 System.err.println("Exception caught:");
67 System.err.println(BMGR_NOT_RUNNING_ERR);
130 System.err.println("Unknown command");
144 System.err.println(e.toString());
145 System.err.println(BMGR_NOT_RUNNING_ERR);
164 System.err.println(e.toString());
165 System.err.println(BMGR_NOT_RUNNING_ERR);
173 System.err.println(e.toString());
174 System.err.println(BMGR_NOT_RUNNING_ERR);
188 System.err
[all...]
/frameworks/native/libs/binder/
H A DIProcessInfoService.cpp38 status_t err = remote()->transact(GET_PROCESS_STATES_FROM_PIDS, data, &reply); local
39 if (err != NO_ERROR || ((err = reply.readExceptionCode()) != NO_ERROR)) {
40 return err;
46 if (replyLen > 0 && (err = reply.read(states, length * sizeof(*states))) != NO_ERROR) {
47 return err;
61 status_t err = remote()->transact( local
63 if (err != NO_ERROR
64 || ((err = reply.readExceptionCode()) != NO_ERROR)) {
65 return 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/core/jni/
H A Dandroid_database_SQLiteGlobal.cpp38 static void sqliteLogCallback(void* data, int err, const char* msg) { argument
40 int errType = err & 255;
42 || errType == SQLITE_NOTICE || err == SQLITE_WARNING_AUTOINDEX) {
44 ALOG(LOG_VERBOSE, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
47 ALOG(LOG_WARN, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
49 ALOG(LOG_ERROR, SQLITE_LOG_TAG, "(%d) %s\n", err, msg);
H A Dandroid_backup_BackupDataInput.cpp54 int err; local
60 err = reader->ReadNextHeader(&done, &type);
65 if (err != 0) {
66 return err < 0 ? err : -1;
74 err = reader->ReadEntityHeader(&key, &dataSize);
75 if (err != 0) {
76 return err < 0 ? err : -1;
96 int err; local
119 int err; local
[all...]
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp98 status_t err = NO_ERROR; local
100 err = surface->connect(NATIVE_WINDOW_API_CAMERA, /*listener*/NULL);
101 if (err != OK) {
103 strerror(-err), err);
104 return err;
107 err = native_window_set_usage(surface.get(), GRALLOC_USAGE_SW_WRITE_OFTEN);
108 if (err != NO_ERROR) {
110 strerror(-err), err);
155 status_t err = NO_ERROR; local
419 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); local
436 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); local
465 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local
492 status_t err = anw->query(anw.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, &usage); local
512 status_t err = native_window_api_disconnect(anw.get(), NATIVE_WINDOW_API_CAMERA); local
531 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local
559 status_t err = connectSurface(s, CAMERA_DEVICE_BUFFER_SLACK); local
590 status_t err = produceFrame(anw, reinterpret_cast<uint8_t*>(pixels), width, height, local
609 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); local
628 status_t err = native_window_set_buffers_user_dimensions(anw.get(), width, height); local
670 status_t err = NO_ERROR; local
706 status_t err = NO_ERROR; local
725 status_t err = NO_ERROR; 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
234 int32_t err = reply.readExceptionCode(); local
256 int32_t err = reply.readExceptionCode(); local
273 int32_t err = reply.readExceptionCode(); local
290 int32_t err = reply.readExceptionCode(); local
311 int32_t err = reply.readExceptionCode(); // What to do... local
329 int32_t err = reply.readExceptionCode(); // What to do... local
346 int32_t err = reply.readExceptionCode(); // What to do... local
364 int32_t err = reply.readExceptionCode(); // What to do... local
381 int32_t err = reply.readExceptionCode(); // What to do... local
399 int32_t err = reply.readExceptionCode(); local
421 int32_t err = reply.readExceptionCode(); local
437 int32_t err = reply.readExceptionCode(); local
459 int32_t err = reply.readExceptionCode(); local
479 int32_t err = reply.readExceptionCode(); local
495 int32_t err = reply.readExceptionCode(); local
512 int32_t err = reply.readExceptionCode(); local
530 int32_t err = reply.readExceptionCode(); local
547 int32_t err = reply.readExceptionCode(); local
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java98 System.err.println("Error: " + e);
100 System.err.println(PM_NOT_RUNNING_ERR);
116 System.err.println(PM_NOT_RUNNING_ERR);
280 System.err.println("Error: unknown command '" + op + "'");
292 FileDescriptor.in, FileDescriptor.out, FileDescriptor.err,
371 System.err.println("Error: must either specify a package size or an APK file");
576 System.err.println("Error: failed to write; " + e.getMessage());
602 System.err.println("Failure ["
653 System.err.println("Error: no USER_ID specified");
662 System.err
[all...]
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp41 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); local
42 if (err != NO_ERROR) {
44 bufferCount, err);
45 return err;
53 err = mConsumer->consumerConnect(proxy, false);
54 if (err != NO_ERROR) {
56 strerror(-err), err);
57 return err;
100 status_t err 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/base/services/core/jni/
H A Dcom_android_server_VibratorService.cpp41 int err = hw_get_module(VIBRATOR_HARDWARE_MODULE_ID, (hw_module_t const**)&gVibraModule); local
43 if (err) {
44 ALOGE("Couldn't load %s module (%s)", VIBRATOR_HARDWARE_MODULE_ID, strerror(-err));
64 int err = gVibraDevice->vibrator_on(gVibraDevice, timeout_ms); local
65 if (err != 0) {
66 ALOGE("The hw module failed in vibrator_on: %s", strerror(-err));
76 int err = gVibraDevice->vibrator_off(gVibraDevice); local
77 if (err != 0) {
78 ALOGE("The hw module failed in vibrator_off(): %s", strerror(-err));
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp122 status_t err = -errno; local
125 return err;
128 status_t err = -errno; local
131 return err;
150 status_t err; local
177 err = codec->configure(format, NULL, NULL,
179 if (err != NO_ERROR) {
180 fprintf(stderr, "ERROR: unable to configure %s codec at %dx%d (err=%d)\n",
181 kMimeTypeAvc, gVideoWidth, gVideoHeight, err);
183 return err;
216 status_t err; local
321 status_t err; local
532 status_t err; local
760 int err = errno; local
999 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;
110 status_t err; local
112 err = INVALID_OPERATION;
122 response->setInt32("err", er
129 status_t err; local
150 status_t err; local
172 status_t err = OK; local
205 status_t err; local
228 status_t err = OK; local
258 status_t err = onDoMoreStuff(); local
276 status_t err = mExtractor->setDataSource( local
293 status_t err = mExtractor->getTrackFormat(i, &format); local
342 status_t err = state->mCodec->start(); local
422 status_t err; local
469 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); local
571 status_t err = state->mCodec->getOutputFormat(&format); local
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBaseCommand.java53 onShowUsage(System.err);
54 System.err.println();
55 System.err.println("Error: " + e.getMessage());
57 e.printStackTrace(System.err);
66 onShowUsage(System.err);
74 onShowUsage(System.err);
75 System.err.println();
76 System.err.println(message);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java410 String err = "Cannot submit request, device has been closed.";
411 Log.e(TAG, err);
412 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
417 String err = "Cannot submit request, configuration change in progress.";
418 Log.e(TAG, err);
419 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err);
431 String err = "Cannot submit request list, device has been closed.";
432 Log.e(TAG, err);
433 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
438 String 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/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...]

Completed in 544 milliseconds

1234567891011>>