/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 30 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); 153 int err = native_window_set_buffers_smpte2086_metadata(nativeWindow, &smpte2086_meta); local 166 status_t err = NO_ERROR; local 280 status_t err = native_window_api_connect(surface, NATIVE_WINDOW_API_MEDIA); local 289 status_t err = native_window_api_disconnect(surface, NATIVE_WINDOW_API_MEDIA); local [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 146 status_t err = addGainMap(/*top*/redTop, local 162 if (err != OK) return err; 164 err = addGainMap(/*top*/greenEvenTop, 180 if (err != OK) return err; 182 err = addGainMap(/*top*/greenOddTop, 198 if (err != OK) return err; 200 err 236 status_t err = addOpcodePreamble(GAIN_MAP_ID); local 325 status_t err = addOpcodePreamble(WARP_RECTILINEAR_ID); local 376 status_t err = addOpcodePreamble(FIX_BAD_PIXELS_LIST); local 418 status_t err = mEndianOut.write(&opcodeId, 0, 1); local [all...] |
/frameworks/base/libs/incident/src/ |
H A D | IncidentReportArgs.cpp | 48 status_t err; local 50 err = out->writeInt32(mAll); 51 if (err != NO_ERROR) { 52 return err; 55 err = out->writeInt32(mSections.size()); 56 if (err != NO_ERROR) { 57 return err; 61 err = out->writeInt32(*it); 62 if (err != NO_ERROR) { 63 return err; 90 status_t err; local [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferItemConsumer.cpp | 40 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, 60 status_t err; local 66 err = acquireBufferLocked(item, presentWhen); 67 if (err != OK) { 68 if (err != NO_BUFFER_AVAILABLE) { 69 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err); 90 status_t err; local [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioThread.cpp | 76 int err = pthread_create(&mThread, nullptr, AAudioThread_internalThreadProc, this); local 77 if (err != 0) { 78 ALOGE("start() - pthread_create() returned %d %s", err, strerror(err)); 79 return AAudioConvert_androidToAAudioResult(-err); 81 int err = pthread_setname_np(mThread, mName); local 82 ALOGW_IF((err != 0), "Could not set name of AAudioThread. err = %d", err); 93 int err local [all...] |
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | debug.h | 12 const GLenum err = glGetError(); \ 13 if (err != GL_NO_ERROR) { \ 14 ALOGE("OpenGL error %d", err); \
|
/frameworks/av/camera/camera2/ |
H A D | OutputConfiguration.cpp | 88 status_t err = OK; local 93 if ((err = parcel->readInt32(&rotation)) != OK) { 95 return err; 99 if ((err = parcel->readInt32(&setID)) != OK) { 101 return err; 105 if ((err = parcel->readInt32(&surfaceType)) != OK) { 107 return err; 111 if ((err = parcel->readInt32(&width)) != OK) { 113 return err; 117 if ((err [all...] |
H A D | CaptureRequest.cpp | 51 status_t err = OK; local 54 if ((err = parcel->readInt32(&settingsCount)) != OK) { 55 ALOGE("%s: Failed to read the settings count from parcel: %d", __FUNCTION__, err); 56 return err; 66 if ((err = parcel->readString16(&id)) != OK) { 72 if ((err = settings.readFromParcel(parcel)) != OK) { 74 return err; 81 if ((err = parcel->readInt32(&isReprocess)) != OK) { 83 return err; 88 if ((err 158 status_t err = OK; local [all...] |
/frameworks/base/libs/services/src/os/ |
H A D | StatsDimensionsValue.cpp | 68 status_t err ; local 70 err = out->writeInt32(mField); 71 if (err != NO_ERROR) { 72 return err; 74 err = out->writeInt32(mValueType); 75 if (err != NO_ERROR) { 76 return err; 80 err = out->writeString16(mStrValue); 83 err = out->writeInt32(mIntValue); 86 err [all...] |
H A D | DropBoxManager.cpp | 69 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/binder/ |
H A D | IProcessInfoService.cpp | 38 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 D | inspect.cpp | 172 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 D | MediaCasStateException.java | 31 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 D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 53 #define OVERRIDE_SURFACE_ERROR(err) \ 55 if (err == -ENODEV) { \ 56 err = BAD_VALUE; \ 114 status_t err = NO_ERROR; local 116 err = surface->connect(NATIVE_WINDOW_API_CAMERA, /*listener*/NULL); 117 if (err != OK) { 119 strerror(-err), err); 120 return err; 123 err 174 status_t err = NO_ERROR; local 445 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); local 463 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); local 493 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local 522 status_t err = anw->query(anw.get(), NATIVE_WINDOW_CONSUMER_USAGE_BITS, &usage); local 543 status_t err = native_window_api_disconnect(anw.get(), NATIVE_WINDOW_API_CAMERA); local 563 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); local 593 status_t err = connectSurface(s, CAMERA_DEVICE_BUFFER_SLACK); local 625 status_t err = produceFrame(anw, reinterpret_cast<uint8_t*>(pixels), width, height, local 644 status_t err = native_window_set_buffers_format(anw.get(), pixelFormat); local 664 status_t err = native_window_set_buffers_user_dimensions(anw.get(), width, height); local 707 status_t err = NO_ERROR; local 743 status_t err = NO_ERROR; local 762 status_t err = NO_ERROR; local [all...] |
H A D | android_database_SQLiteGlobal.cpp | 38 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 D | android_backup_BackupDataInput.cpp | 54 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...] |
/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 72 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/statsd/src/ |
H A D | main.cpp | 70 status_t err; local 79 err = pthread_attr_init(&attr); 80 if (err != NO_ERROR) { 81 return err; 84 err = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 85 if (err != NO_ERROR) { 87 return err; 89 err = pthread_create(&thread, &attr, log_reader_thread_func, static_cast<void*>(data)); 90 if (err != NO_ERROR) { 92 return err; 125 status_t err = start_log_reader_thread(service); local [all...] |
/frameworks/av/media/libstagefright/filters/ |
H A D | GraphicBufferListener.cpp | 42 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/libstagefright/codecs/amrnb/enc/src/ |
H A D | q_gain_c.cpp | 207 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/libaaudio/src/binding/ |
H A D | IAAudioService.cpp | 63 status_t err = remote()->transact(OPEN_STREAM, data, &reply); variable 64 if (err != NO_ERROR) { 65 ALOGE("BpAAudioService::client openStream transact failed %d", err); 66 return AAudioConvert_androidToAAudioResult(err); 70 err = reply.readInt32(&stream); 71 if (err != NO_ERROR) { 72 ALOGE("BpAAudioService::client transact(OPEN_STREAM) readInt %d", err); 73 return AAudioConvert_androidToAAudioResult(err); 78 err = configurationOutput.readFromParcel(&reply); 79 if (err ! 92 status_t err = remote()->transact(CLOSE_STREAM, data, &reply); variable 109 status_t err = remote()->transact(GET_STREAM_DESCRIPTION, data, &reply); local 138 status_t err = remote()->transact(START_STREAM, data, &reply); variable 153 status_t err = remote()->transact(PAUSE_STREAM, data, &reply); variable 168 status_t err = remote()->transact(STOP_STREAM, data, &reply); variable 183 status_t err = remote()->transact(FLUSH_STREAM, data, &reply); variable 203 status_t err = remote()->transact(REGISTER_AUDIO_THREAD, data, &reply); variable 221 status_t err = remote()->transact(UNREGISTER_AUDIO_THREAD, data, &reply); variable [all...] |
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 63 System.err.println("Exception caught:"); 76 System.err.println(BMGR_NOT_RUNNING_ERR); 149 System.err.println("Unknown command"); 163 System.err.println(e.toString()); 164 System.err.println(BMGR_NOT_RUNNING_ERR); 183 System.err.println(e.toString()); 184 System.err.println(BMGR_NOT_RUNNING_ERR); 192 System.err.println(e.toString()); 193 System.err.println(BMGR_NOT_RUNNING_ERR); 207 System.err [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 425 String err = "Cannot submit request, device has been closed."; 426 Log.e(TAG, err); 427 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); 432 String err = "Cannot submit request, configuration change in progress."; 433 Log.e(TAG, err); 434 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); 446 String err = "Cannot submit request list, device has been closed."; 447 Log.e(TAG, err); 448 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); 453 String err [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 50 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...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BaseCommand.java | 56 onShowUsage(System.err); 57 System.err.println(); 58 System.err.println("Error: " + e.getMessage()); 60 e.printStackTrace(System.err); 69 onShowUsage(System.err); 77 onShowUsage(System.err); 78 System.err.println(); 79 System.err.println(message);
|