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

1234567891011>>

/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp30 status_t err = NO_ERROR; local
34 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
35 if (err != NO_ERROR) {
36 ALOGE("nativeWindowDisconnect failed: %s (%d)", strerror(-err), -err);
37 return err;
40 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage");
41 if (err != NO_ERROR) {
42 ALOGE("nativeWindowConnect failed: %s (%d)", strerror(-err), -err);
132 status_t err = NO_ERROR; local
246 status_t err = native_window_api_connect(surface, NATIVE_WINDOW_API_MEDIA); local
255 status_t err = native_window_api_disconnect(surface, NATIVE_WINDOW_API_MEDIA); local
[all...]
/frameworks/av/drm/libmediadrm/
H A DMediaCasDefs.cpp45 status_t err = parcel->writeInt32(mCASystemId); local
46 if (err != NO_ERROR) {
47 return err;
62 status_t err = parcel->readInt32((int32_t*)&dstType); local
63 if (err != OK) {
64 return err;
71 err = parcel->readInt32((int32_t*)&scramblingControl);
72 if (err != OK) {
73 return err;
76 err
132 status_t err = parcel->writeInt32((int32_t)dstType); local
[all...]
/frameworks/base/libs/incident/src/
H A DIncidentReportArgs.cpp46 status_t err; local
48 err = out->writeInt32(mAll);
49 if (err != NO_ERROR) {
50 return err;
53 err = out->writeInt32(mSections.size());
54 if (err != NO_ERROR) {
55 return err;
59 err = out->writeInt32(*it);
60 if (err != NO_ERROR) {
61 return err;
83 status_t err; local
[all...]
/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/native/libs/gui/
H A DSurfaceControl.cpp101 status_t err = validate(); local
102 if (err < 0) return err;
107 status_t err = validate(); local
108 if (err < 0) return err;
113 status_t err = validate(); local
114 if (err < 0) return err;
119 status_t err local
124 status_t err = validate(); local
129 status_t err = validate(); local
134 status_t err = validate(); local
139 status_t err = validate(); local
144 status_t err = validate(); local
149 status_t err = validate(); local
154 status_t err = validate(); local
159 status_t err = validate(); local
164 status_t err = validate(); local
169 status_t err = validate(); local
176 status_t err = validate(); local
183 status_t err = validate(); local
189 status_t err = validate(); local
195 status_t err = validate(); local
201 status_t err = validate(); local
207 status_t err = validate(); local
214 status_t err = validate(); local
[all...]
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,
68 status_t err; local
74 err = acquireBufferLocked(item, presentWhen);
75 if (err != OK) {
76 if (err != NO_BUFFER_AVAILABLE) {
77 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
98 status_t err; local
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioThread.cpp62 int err = pthread_create(&mThread, nullptr, AAudioThread_internalThreadProc, this); local
63 if (err != 0) {
64 ALOGE("AAudioThread::start() - pthread_create() returned %d %s", err, strerror(err));
65 return AAudioConvert_androidToAAudioResult(-err);
76 int err = pthread_join(mThread, nullptr); local
78 if (err != 0) {
79 ALOGE("AAudioThread::stop() - pthread_join() returned %d %s", err, strerror(err));
80 return AAudioConvert_androidToAAudioResult(-err);
[all...]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java59 System.err.println("Exception caught:");
72 System.err.println(BMGR_NOT_RUNNING_ERR);
140 System.err.println("Unknown command");
154 System.err.println(e.toString());
155 System.err.println(BMGR_NOT_RUNNING_ERR);
174 System.err.println(e.toString());
175 System.err.println(BMGR_NOT_RUNNING_ERR);
183 System.err.println(e.toString());
184 System.err.println(BMGR_NOT_RUNNING_ERR);
198 System.err
[all...]
/frameworks/base/libs/services/src/os/
H A DDropBoxManager.cpp69 status_t err; local
71 err = out->writeString16(mTag);
72 if (err != NO_ERROR) {
73 return err;
76 err = out->writeInt64(mTimeMillis);
77 if (err != NO_ERROR) {
78 return err;
82 err = out->writeInt32(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe
83 if (err != NO_ERROR) {
84 return err;
107 status_t err; local
[all...]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Ddebug.h12 const GLenum err = glGetError(); \
13 if (err != GL_NO_ERROR) { \
14 ALOGE("OpenGL error %d", err); \
/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/av/camera/camera2/
H A DOutputConfiguration.cpp84 status_t err = OK; local
89 if ((err = parcel->readInt32(&rotation)) != OK) {
91 return err;
95 if ((err = parcel->readInt32(&setID)) != OK) {
97 return err;
101 if ((err = parcel->readInt32(&surfaceType)) != OK) {
103 return err;
107 if ((err = parcel->readInt32(&width)) != OK) {
109 return err;
113 if ((err
[all...]
H A DCaptureRequest.cpp48 status_t err = OK; local
50 if ((err = mMetadata.readFromParcel(parcel)) != OK) {
52 return err;
57 if ((err = parcel->readInt32(&size)) != OK) {
59 return err;
77 if ((err = surfaceShim.readFromParcel(parcel)) != OK) {
79 __FUNCTION__, i, strerror(-err), err);
80 return err;
92 if ((err
107 status_t err = OK; local
[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.cpp172 status_t err = buf.nextUint32(&i); local
173 if (err != NO_ERROR) {
174 return err;
186 err = buf.nextUint32(&i);
187 if (err != NO_ERROR) {
188 return err;
192 err = buf.nextUint32(&i);
193 if (err != NO_ERROR) {
194 return err;
198 err
230 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/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/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp42 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); local
43 if (err != NO_ERROR) {
45 bufferCount, err);
46 return err;
54 err = mConsumer->consumerConnect(proxy, false);
55 if (err != NO_ERROR) {
57 strerror(-err), err);
58 return err;
101 status_t err local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DIAAudioService.cpp51 status_t err = remote()->transact(OPEN_STREAM, data, &reply); variable
52 ALOGV("BpAAudioService::client openStream returned %d", err);
53 if (err != NO_ERROR) {
54 ALOGE("BpAAudioService::client openStream transact failed %d", err);
55 return AAudioConvert_androidToAAudioResult(err);
59 err = reply.readInt32(&stream);
60 if (err != NO_ERROR) {
61 ALOGE("BpAAudioService::client transact(OPEN_STREAM) readInt %d", err);
62 return AAudioConvert_androidToAAudioResult(err);
67 err
81 status_t err = remote()->transact(CLOSE_STREAM, data, &reply); variable
98 status_t err = remote()->transact(GET_STREAM_DESCRIPTION, data, &reply); local
133 status_t err = remote()->transact(START_STREAM, data, &reply); variable
148 status_t err = remote()->transact(PAUSE_STREAM, data, &reply); variable
163 status_t err = remote()->transact(STOP_STREAM, data, &reply); variable
178 status_t err = remote()->transact(FLUSH_STREAM, data, &reply); variable
200 status_t err = remote()->transact(REGISTER_AUDIO_THREAD, data, &reply); variable
220 status_t err = remote()->transact(UNREGISTER_AUDIO_THREAD, data, &reply); variable
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DLogcatLogTest.java50 WifiLog.LogMessage logMessage = mLogger.err("hello world");
58 WifiLog.LogMessage logMessage = mLogger.err("");
66 WifiLog.LogMessage logMessage = mLogger.err("%");
77 WifiLog.LogMessage logMessage = mLogger.err("%");
85 WifiLog.LogMessage logMessage = mLogger.err("%stuff");
93 WifiLog.LogMessage logMessage = mLogger.err("s%uff");
101 WifiLog.LogMessage logMessage = mLogger.err("stuff%");
109 WifiLog.LogMessage logMessage = mLogger.err("% %");
117 WifiLog.LogMessage logMessage = mLogger.err("first:% second:%");
125 WifiLog.LogMessage logMessage = mLogger.err("
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp124 status_t err = -errno; local
127 return err;
130 status_t err = -errno; local
133 return err;
152 status_t err; local
179 err = codec->configure(format, NULL, NULL,
181 if (err != NO_ERROR) {
182 fprintf(stderr, "ERROR: unable to configure %s codec at %dx%d (err=%d)\n",
183 kMimeTypeAvc, gVideoWidth, gVideoHeight, err);
185 return err;
322 status_t err; local
533 status_t err; local
766 int err = errno; local
1009 status_t err = recordScreen(fileName); local
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java421 String err = "Cannot submit request, device has been closed.";
422 Log.e(TAG, err);
423 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
428 String err = "Cannot submit request, configuration change in progress.";
429 Log.e(TAG, err);
430 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err);
442 String err = "Cannot submit request list, device has been closed.";
443 Log.e(TAG, err);
444 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
449 String err
[all...]

Completed in 435 milliseconds

1234567891011>>