Searched refs:err (Results 1 - 25 of 596) 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/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.cpp40 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); local
41 LOG_ALWAYS_FATAL_IF(err != OK,
44 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
45 LOG_ALWAYS_FATAL_IF(err != OK,
70 status_t err; local
76 err = acquireBufferLocked(item, presentWhen);
77 if (err != OK) {
78 if (err != NO_BUFFER_AVAILABLE) {
79 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
100 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);
77 int err = pthread_join(mThread, nullptr); local
79 if (err != 0) {
80 ALOGE("AAudioThread::stop() - pthread_join() returned %d %s", err, strerror(err));
81 return AAudioConvert_androidToAAudioResult(-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/media/java/android/media/
H A DMediaCasStateException.java31 private MediaCasStateException(int err, @Nullable String msg, @Nullable String diagnosticInfo) { argument
33 mErrorCode = err;
37 static void throwExceptionIfNeeded(int err) { argument
38 throwExceptionIfNeeded(err, null /* msg */);
41 static void throwExceptionIfNeeded(int err, @Nullable String msg) { argument
42 if (err == Status.OK) {
45 if (err == Status.BAD_VALUE) {
50 switch (err) {
85 throw new MediaCasStateException(err, msg,
86 String.format("%s (err
[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/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/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java62 System.err.println("Exception caught:");
75 System.err.println(BMGR_NOT_RUNNING_ERR);
148 System.err.println("Unknown command");
162 System.err.println(e.toString());
163 System.err.println(BMGR_NOT_RUNNING_ERR);
182 System.err.println(e.toString());
183 System.err.println(BMGR_NOT_RUNNING_ERR);
191 System.err.println(e.toString());
192 System.err.println(BMGR_NOT_RUNNING_ERR);
206 System.err
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceUserShim.java422 String err = "Cannot submit request, device has been closed.";
423 Log.e(TAG, err);
424 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
429 String err = "Cannot submit request, configuration change in progress.";
430 Log.e(TAG, err);
431 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err);
443 String err = "Cannot submit request list, device has been closed.";
444 Log.e(TAG, err);
445 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err);
450 String err
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp50 status_t err = msg->postAndAwaitResponse(response); local
52 if (err != OK) {
53 return err;
56 if (!(*response)->findInt32("err", &err)) {
57 err = OK;
60 return err;
111 status_t err; local
113 err = INVALID_OPERATION;
123 response->setInt32("err", er
130 status_t err; local
151 status_t err; local
173 status_t err = OK; local
206 status_t err; local
229 status_t err = OK; local
259 status_t err = onDoMoreStuff(); local
277 status_t err = mExtractor->setDataSource( local
294 status_t err = mExtractor->getTrackFormat(i, &format); local
343 status_t err = state->mCodec->start(); local
423 status_t err; local
470 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); local
574 status_t err = state->mCodec->getOutputFormat(&format); local
[all...]

Completed in 801 milliseconds

1234567891011>>