Searched refs:ret (Results 1 - 25 of 417) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCamera.cpp91 binder::Status ret; local
93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName,
96 if (ret.isOk() && c->mCamera != nullptr) {
101 switch(ret.serviceSpecificErrorCode()) {
129 (cs != nullptr) ? "Service not available" : ret.toString8().string());
H A DCameraBase.cpp123 binder::Status ret; local
126 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid,
129 if (ret.isOk() && c->mCamera != nullptr) {
134 (cs != nullptr) ? "Service not available" : ret.toString8().string());
H A DICamera.cpp212 status_t ret = reply.readInt32(); local
213 return ret;
223 status_t ret = reply.readInt32(); local
224 return ret;
235 status_t ret = reply.readInt32(); local
236 return ret;
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp60 camera_status_t ret = dev->stopRepeatingLocked(); local
61 if (ret != ACAMERA_OK) {
82 camera_status_t ret; local
86 ret = dev->stopRepeatingLocked();
89 return ret;
100 camera_status_t ret; local
104 ret = dev->flushLocked(this);
107 return ret;
121 camera_status_t ret; local
125 ret
141 camera_status_t ret; local
[all...]
H A DACameraDevice.cpp119 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
120 if (ret != ACAMERA_OK) {
121 return ret;
150 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
151 if (ret != ACAMERA_OK) {
152 return ret;
161 ret = configureStreamsLocked(outputs);
162 if (ret != ACAMERA_OK) {
164 return ret;
205 camera_status_t ret local
281 camera_status_t ret; local
345 camera_status_t ret = configureStreamsLocked(nullptr); local
372 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
398 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
450 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
515 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
1135 binder::Status ret = binder::Status::ok(); local
1197 binder::Status ret = binder::Status::ok(); local
1238 binder::Status ret = binder::Status::ok(); local
1278 binder::Status ret = binder::Status::ok(); local
1351 binder::Status ret = binder::Status::ok(); local
[all...]
H A DACameraManager.cpp121 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); local
123 if (ret.isOk()) {
129 } else if (ret.serviceSpecificErrorCode() ==
136 __FUNCTION__, ret.toString8().string());
360 camera_status_t ret = getOrCreateCameraIdListLocked(&cachedList); local
361 if (ret != ACAMERA_OK) {
362 ALOGE("Get camera ID list failed! err: %d", ret);
363 return ret;
411 camera_status_t ret = getOrCreateCameraIdListLocked(&cachedList); local
412 if (ret !
445 camera_status_t ret = getCameraCharacteristics(cameraId, &rawChars); local
[all...]
H A DACameraMetadata.cpp219 int ret = get_camera_metadata_ro_entry(rawMetadata, i, &entry); local
220 if (ret != 0) {
H A DACameraMetadata.h82 status_t ret = OK; local
84 ret = mData.erase(tag);
88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count);
91 if (ret == OK) {
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp62 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local
63 if (ret == EINTR) {
66 if (ret < 0) {
/frameworks/av/media/common_time/
H A DICommonTimeConfig.cpp404 String16 ret; local
405 status_t status = getInterfaceBinding(ret);
408 reply->writeString16(ret);
H A Dcc_helper.cpp31 bool ret = false; local
50 ret = true;
53 if (!ret) {
57 return ret;
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntryImpl.h125 status_t ret = OK;
126 BAIL_ON_FAIL(out->write(&mTag, 0, 1), ret);
127 BAIL_ON_FAIL(out->write(&mType, 0, 1), ret);
128 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret);
132 BAIL_ON_FAIL(out->write(&offset, 0, 1), ret);
143 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret);
144 ZERO_TILL_WORD(out, dataSize, ret);
146 return ret;
151 status_t ret = OK; local
170 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret);
185 status_t ret = OK; local
205 status_t ret = OK; local
[all...]
H A DTiffHelpers.h36 #define ZERO_TILL_WORD(output, index, ret) \
40 BAIL_ON_FAIL((output)->write(ZERO_WORD, 0, remaining), ret); \
H A DTiffWriter.h304 status_t ret = buildEntry<T>(tag, count, data, &outEntry); local
305 if (ret != OK) {
307 return ret;
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp75 status_t ret = OK; local
78 ret = BAD_VALUE;
81 return ret;
H A DFileOutput.cpp69 status_t ret = OK; local
72 ret = BAD_VALUE;
75 return ret;
H A DInput.cpp35 ssize_t ret = read(skipBuf, 0, amt); local
36 if (ret < 0) {
37 if(ret == NOT_ENOUGH_DATA) {
48 return ret;
50 remaining -= ret;
H A DTiffIfd.cpp103 status_t ret = OK; local
115 BAIL_ON_FAIL(out->write(&header, 0, 1), ret);
119 BAIL_ON_FAIL(mEntries[i]->writeTagInfo(valueOffset, out), ret);
125 BAIL_ON_FAIL(out->write(&footer, 0, 1), ret);
130 ZERO_TILL_WORD(out, calculateIfdSize(size), ret);
137 BAIL_ON_FAIL(mEntries[i]->writeData(out->getCurrentOffset(), out), ret);
150 return ret;
H A DTiffWriter.cpp61 status_t ret = OK; local
93 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
113 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) {
114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret);
115 return ret;
117 ZERO_TILL_WORD(&endOut, sizeToWrite, ret);
129 return ret;
133 status_t ret = OK; local
140 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local
359 status_t ret = OK; local
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp237 uint32_t ret; local
239 ret = atoi(kHz);
241 ret = 0;
243 if (ret != mCurrentkHz[cpuNum]) {
244 if (ret > 0) {
245 ALOGV("CPU %d frequency %u kHz", cpuNum, ret);
249 mCurrentkHz[cpuNum] = ret;
251 return ret;
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c186 int ret; local
234 ret = Downmix_Init(module);
235 if (ret < 0) {
238 return ret;
579 int ret = 0; local
603 ret = Downmix_Configure(pDwmModule, &pDwmModule->config, true);
604 if (ret != 0) {
605 ALOGV("Downmix_Init error %d on module %p", ret, pDwmModule);
610 return ret;
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c81 int ret = init(); local
82 if (ret < 0) {
83 return ret;
94 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer);
96 return ret;
106 int ret = init(); local
107 if (ret < 0) {
108 return ret;
119 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData);
121 return ret;
127 int ret = init(); local
147 int ret = init(); local
190 int ret = init(); local
208 int ret = init(); local
255 int ret = init(); local
279 int ret; local
348 int ret = init(); local
416 int ret = init(); local
788 int ret = 0; local
884 int ret = 0; local
989 int ret = 0; local
[all...]
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp196 int ret; local
213 ret = LE_init(pContext);
214 if (ret < 0) {
217 return ret;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp169 int ret = 0; local
180 ret = -EINVAL;
202 ret = -EINVAL;
240 ret = -EINVAL;
250 ret = -EINVAL;
277 ret = LvmBundle_init(pContext);
279 if (ret < 0){
329 ret = -EINVAL;
334 if (ret != 0) {
348 return ret;
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp196 int ret; local
246 ret = Reverb_init(pContext);
248 if (ret < 0){
251 return ret;

Completed in 6912 milliseconds

1234567891011>>