/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 30 status_t err = NO_ERROR; in setNativeWindowSizeFormatAndUsage() local 34 err = nativeWindowDisconnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); in setNativeWindowSizeFormatAndUsage() 35 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage() 36 ALOGE("nativeWindowDisconnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage() 37 return err; in setNativeWindowSizeFormatAndUsage() 40 err = nativeWindowConnect(nativeWindow, "setNativeWindowSizeFormatAndUsage"); in setNativeWindowSizeFormatAndUsage() 41 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage() 42 ALOGE("nativeWindowConnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage() 43 return err; in setNativeWindowSizeFormatAndUsage() 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); in setNativeWindowSizeFormatAndUsage() [all …]
|
D | ACodec.cpp | 87 static inline bool isOMXError(int32_t err) { in isOMXError() argument 88 return (ERROR_CODEC_MIN <= err && err <= ERROR_CODEC_MAX); in isOMXError() 106 status_t err; in statusFromBinderStatus() local 107 if ((err = status.serviceSpecificErrorCode()) != OK) { in statusFromBinderStatus() 108 return err; in statusFromBinderStatus() 110 if ((err = status.transactionError()) != OK) { in statusFromBinderStatus() 111 return err; in statusFromBinderStatus() 118 static inline status_t makeNoSideEffectStatus(status_t err) { in makeNoSideEffectStatus() argument 119 switch (err) { in makeNoSideEffectStatus() 126 return err; in makeNoSideEffectStatus() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 145 status_t err = addGainMap(/*top*/redTop, in addGainMapsForMetadata() local 161 if (err != OK) return err; in addGainMapsForMetadata() 163 err = addGainMap(/*top*/greenEvenTop, in addGainMapsForMetadata() 179 if (err != OK) return err; in addGainMapsForMetadata() 181 err = addGainMap(/*top*/greenOddTop, in addGainMapsForMetadata() 197 if (err != OK) return err; in addGainMapsForMetadata() 199 err = addGainMap(/*top*/blueTop, in addGainMapsForMetadata() 215 return err; in addGainMapsForMetadata() 235 status_t err = addOpcodePreamble(GAIN_MAP_ID); in addGainMap() local 236 if (err != OK) return err; in addGainMap() [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 101 status_t err = validate(); in setLayerStack() local 102 if (err < 0) return err; in setLayerStack() 107 status_t err = validate(); in setLayer() local 108 if (err < 0) return err; in setLayer() 113 status_t err = validate(); in setRelativeLayer() local 114 if (err < 0) return err; in setRelativeLayer() 119 status_t err = validate(); in setPosition() local 120 if (err < 0) return err; in setPosition() 124 status_t err = validate(); in setGeometryAppliesWithResize() local 125 if (err < 0) return err; in setGeometryAppliesWithResize() [all …]
|
D | BufferItemConsumer.cpp | 40 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); in BufferItemConsumer() local 41 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer() 44 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in BufferItemConsumer() 45 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer() 70 status_t err; in acquireBuffer() local 76 err = acquireBufferLocked(item, presentWhen); in acquireBuffer() 77 if (err != OK) { in acquireBuffer() 78 if (err != NO_BUFFER_AVAILABLE) { in acquireBuffer() 79 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err); in acquireBuffer() 81 return err; in acquireBuffer() [all …]
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 62 System.err.println("Exception caught:"); in main() 75 System.err.println(BMGR_NOT_RUNNING_ERR); in run() 148 System.err.println("Unknown command"); in run() 162 System.err.println(e.toString()); in doEnabled() 163 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnabled() 182 System.err.println(e.toString()); in doEnable() 183 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnable() 191 System.err.println(e.toString()); in doRun() 192 System.err.println(BMGR_NOT_RUNNING_ERR); in doRun() 206 System.err.println(e.toString()); in doBackup() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 98 status_t err = NO_ERROR; in connectSurface() local 100 err = surface->connect(NATIVE_WINDOW_API_CAMERA, /*listener*/NULL); in connectSurface() 101 if (err != OK) { in connectSurface() 103 strerror(-err), err); in connectSurface() 104 return err; in connectSurface() 107 err = native_window_set_usage(surface.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); in connectSurface() 108 if (err != NO_ERROR) { in connectSurface() 110 strerror(-err), err); in connectSurface() 111 return err; in connectSurface() 115 err = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), in connectSurface() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 72 int32_t err = reply.readExceptionCode(); in registerListener() local 73 if (err < 0) { in registerListener() 74 ALOGD("registerListener caught exception %d\n", err); in registerListener() 88 int32_t err = reply.readExceptionCode(); in unregisterListener() local 89 if (err < 0) { in unregisterListener() 90 ALOGD("unregisterListener caught exception %d\n", err); in unregisterListener() 103 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected() local 104 if (err < 0) { in isUsbMassStorageConnected() 105 ALOGD("isUsbMassStorageConnected caught exception %d\n", err); in isUsbMassStorageConnected() 120 int32_t err = reply.readExceptionCode(); in setUsbMassStorageEnabled() local [all …]
|
/frameworks/base/libs/incident/src/ |
D | IncidentReportArgs.cpp | 46 status_t err; in writeToParcel() local 48 err = out->writeInt32(mAll); in writeToParcel() 49 if (err != NO_ERROR) { in writeToParcel() 50 return err; in writeToParcel() 53 err = out->writeInt32(mSections.size()); in writeToParcel() 54 if (err != NO_ERROR) { in writeToParcel() 55 return err; in writeToParcel() 59 err = out->writeInt32(*it); in writeToParcel() 60 if (err != NO_ERROR) { in writeToParcel() 61 return err; in writeToParcel() [all …]
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 84 status_t err = OK; in readFromParcel() local 89 if ((err = parcel->readInt32(&rotation)) != OK) { in readFromParcel() 91 return err; in readFromParcel() 95 if ((err = parcel->readInt32(&setID)) != OK) { in readFromParcel() 97 return err; in readFromParcel() 101 if ((err = parcel->readInt32(&surfaceType)) != OK) { in readFromParcel() 103 return err; in readFromParcel() 107 if ((err = parcel->readInt32(&width)) != OK) { in readFromParcel() 109 return err; in readFromParcel() 113 if ((err = parcel->readInt32(&height)) != OK) { in readFromParcel() [all …]
|
D | CaptureRequest.cpp | 48 status_t err = OK; in readFromParcel() local 50 if ((err = mMetadata.readFromParcel(parcel)) != OK) { in readFromParcel() 52 return err; in readFromParcel() 57 if ((err = parcel->readInt32(&size)) != OK) { in readFromParcel() 59 return err; in readFromParcel() 77 if ((err = surfaceShim.readFromParcel(parcel)) != OK) { in readFromParcel() 79 __FUNCTION__, i, strerror(-err), err); in readFromParcel() 80 return err; in readFromParcel() 92 if ((err = parcel->readInt32(&isReprocess)) != OK) { in readFromParcel() 94 return err; in readFromParcel() [all …]
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 110 System.err.println("Error: " + e); in main() 112 System.err.println(PM_NOT_RUNNING_ERR); in main() 128 System.err.println(PM_NOT_RUNNING_ERR); in run() 292 System.err.println("Error: unknown command '" + op + "'"); in run() 310 System.err.println(msg); in onOpenOutputFile() 321 System.err.println(msg + " (from path " + file.getAbsolutePath() in onOpenOutputFile() 335 FileDescriptor.in, FileDescriptor.out, FileDescriptor.err, in runShellCommand() 422 System.err.println("Error: Failed to parse APK file: " + e); in runInstall() 426 System.err.println("Error: Can't open non-file: " + inPath); in runInstall() 436 System.err.println("Error: must either specify a package size or an APK file"); in runInstall() [all …]
|
/frameworks/base/libs/services/src/os/ |
D | DropBoxManager.cpp | 69 status_t err; in writeToParcel() local 71 err = out->writeString16(mTag); in writeToParcel() 72 if (err != NO_ERROR) { in writeToParcel() 73 return err; in writeToParcel() 76 err = out->writeInt64(mTimeMillis); in writeToParcel() 77 if (err != NO_ERROR) { in writeToParcel() 78 return err; in writeToParcel() 82 err = out->writeInt32(mFlags & ~HAS_BYTE_ARRAY); // Clear bit just to be safe in writeToParcel() 83 if (err != NO_ERROR) { in writeToParcel() 84 return err; in writeToParcel() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceUserShim.java | 422 String err = "Cannot submit request, device has been closed."; in submitRequest() local 423 Log.e(TAG, err); in submitRequest() 424 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequest() 429 String err = "Cannot submit request, configuration change in progress."; in submitRequest() local 430 Log.e(TAG, err); in submitRequest() 431 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); in submitRequest() 443 String err = "Cannot submit request list, device has been closed."; in submitRequestList() local 444 Log.e(TAG, err); in submitRequestList() 445 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequestList() 450 String err = "Cannot submit request, configuration change in progress."; in submitRequestList() local [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 50 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() local 52 if (err != OK) { in PostAndAwaitResponse() 53 return err; in PostAndAwaitResponse() 56 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 57 err = OK; in PostAndAwaitResponse() 60 return err; in PostAndAwaitResponse() 111 status_t err; in onMessageReceived() local 113 err = INVALID_OPERATION; in onMessageReceived() 123 response->setInt32("err", err); in onMessageReceived() 130 status_t err; in onMessageReceived() local [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 124 status_t err = -errno; in configureSignals() local 127 return err; in configureSignals() 130 status_t err = -errno; in configureSignals() local 133 return err; in configureSignals() 152 status_t err; in prepareEncoder() local 179 err = codec->configure(format, NULL, NULL, in prepareEncoder() 181 if (err != NO_ERROR) { in prepareEncoder() 183 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder() 185 return err; in prepareEncoder() 190 err = codec->createInputSurface(&bufferProducer); in prepareEncoder() [all …]
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 172 status_t err = buf.nextUint32(&i); in parse_idmap_header() local 173 if (err != NO_ERROR) { in parse_idmap_header() 174 return err; in parse_idmap_header() 186 err = buf.nextUint32(&i); in parse_idmap_header() 187 if (err != NO_ERROR) { in parse_idmap_header() 188 return err; in parse_idmap_header() 192 err = buf.nextUint32(&i); in parse_idmap_header() 193 if (err != NO_ERROR) { in parse_idmap_header() 194 return err; in parse_idmap_header() 198 err = buf.nextUint32(&i); in parse_idmap_header() [all …]
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 217 int err; in write_update_file() local 233 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file() 234 if (err != 0) { in write_update_file() 236 return err; in write_update_file() 243 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file() 244 if (err != 0) { in write_update_file() 246 return err; in write_update_file() 256 err = dataStream->WriteEntityData(buf, amt); in write_update_file() 257 if (err != 0) { in write_update_file() 259 return err; in write_update_file() [all …]
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 51 System.err.println(IMM_NOT_RUNNING_ERR); in run() 80 System.err.println("Error: unknown command '" + op + "'"); in run() 98 System.err.println("Error: Unknown option: " + opt); in runList() 110 System.err.println(e.toString()); in runList() 111 System.err.println(IMM_NOT_RUNNING_ERR); in runList() 118 System.err.println(e.toString()); in runList() 119 System.err.println(IMM_NOT_RUNNING_ERR); in runList() 141 System.err.println("Error: no input method ID specified"); in runSetEnabled() 156 System.err.println("Error: " + e.getMessage()); in runSetEnabled() 159 System.err.println(e.toString()); in runSetEnabled() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | IAAudioService.cpp | 63 status_t err = remote()->transact(OPEN_STREAM, data, &reply); in openStream() local 64 if (err != NO_ERROR) { in openStream() 65 ALOGE("BpAAudioService::client openStream transact failed %d", err); in openStream() 66 return AAudioConvert_androidToAAudioResult(err); in openStream() 70 err = reply.readInt32(&stream); in openStream() 71 if (err != NO_ERROR) { in openStream() 72 ALOGE("BpAAudioService::client transact(OPEN_STREAM) readInt %d", err); in openStream() 73 return AAudioConvert_androidToAAudioResult(err); in openStream() 78 err = configurationOutput.readFromParcel(&reply); in openStream() 79 if (err != NO_ERROR) { in openStream() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | Section.cpp | 93 status_t err = data->section->BlockingCall(data->writeFd()); in worker_thread_func() local 98 data->workerError = err; in worker_thread_func() 110 status_t err = NO_ERROR; in Execute() local 120 err = pipe(data->fds); in Execute() 121 if (err != 0) { in Execute() 130 err = pthread_attr_init(&attr); in Execute() 131 if (err != 0) { in Execute() 132 return -err; in Execute() 135 err = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in Execute() 136 if (err != 0) { in Execute() [all …]
|
/frameworks/base/tools/bit/ |
D | adb.cpp | 73 get_system_property(const string& name, int* err) in get_system_property() argument 80 return trim(get_command_output(cmd, err, false)); in get_system_property() 85 read_varint(int fd, int* err, bool* done) in read_varint() argument 96 return *err = errno; in read_varint() 104 *err = -1; in read_varint() 111 read_sized_buffer(int fd, int* err, size_t* resultSize) in read_sized_buffer() argument 114 uint64_t size = read_varint(fd, err, &done); in read_sized_buffer() 115 if (*err != 0 || done) { in read_sized_buffer() 138 *err = -1; in read_sized_buffer() 143 *err = errno; in read_sized_buffer() [all …]
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 102 status_t err = reply.readInt32(); in allocateNode() local 103 if (err == OK) { in allocateNode() 109 return err; in allocateNode() 116 status_t err; in createInputSurface() local 118 err = remote()->transact(CREATE_INPUT_SURFACE, data, &reply); in createInputSurface() 119 if (err != OK) { in createInputSurface() 120 ALOGW("binder transaction failed: %d", err); in createInputSurface() 121 return err; in createInputSurface() 124 err = reply.readInt32(); in createInputSurface() 125 if (err != OK) { in createInputSurface() [all …]
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 49 int err = hw_get_module(HWC_HARDWARE_MODULE_ID, &hwc2Module); in SetUp() local 50 ASSERT_GE(err, 0) << "failed to get hwc hardware module: " in SetUp() 51 << strerror(-err); in SetUp() 55 err = hwc2_open(hwc2Module, &mHwc2Device); in SetUp() 56 ASSERT_GE(err, 0) << "failed to open hwc hardware module: " in SetUp() 57 << strerror(-err); in SetUp() 100 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, descriptor, in registerCallback() local 103 *outErr = err; in registerCallback() 105 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to register callback"; in registerCallback() 116 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, in getDisplayType() local [all …]
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 181 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers() local 186 if (err == TIMED_OUT) { in dequeueMessageForNodeIgnoringBuffers() 187 return err; in dequeueMessageForNodeIgnoringBuffers() 189 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers() 210 #define EXPECT_SUCCESS(err, info) \ argument 211 EXPECT((err) == OK, info " failed") 218 status_t err = getPortDefinition(portIndex, &def); in allocatePortBuffers() local 219 EXPECT_SUCCESS(err, "getPortDefinition"); in allocatePortBuffers() 237 err = mOMXNode->useBuffer(portIndex, buffer.mHidlMemory, &buffer.mID); in allocatePortBuffers() 241 err = mOMXNode->useBuffer(portIndex, buffer.mMemory, &buffer.mID); in allocatePortBuffers() [all …]
|