Searched refs:ret (Results 1 - 25 of 632) 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.cpp148 binder::Status ret; local
151 ret = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid,
154 if (ret.isOk() && c->mCamera != nullptr) {
159 (cs == nullptr) ? "Service not available" : ret.toString8().string());
H A DICamera.cpp231 status_t ret = reply.readInt32(); local
232 return ret;
242 status_t ret = reply.readInt32(); local
243 return ret;
254 status_t ret = reply.readInt32(); local
255 return ret;
H A DVendorTagDescriptor.cpp411 int ret = 0; local
414 ret = desc->second->getTagCount();
419 return ret;
434 const char *ret = nullptr; local
437 ret = desc->second->getSectionName(tag);
442 return ret;
447 const char *ret = nullptr; local
450 ret = desc->second->getTagName(tag);
455 return ret;
460 int ret local
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraDevice.cpp144 camera_status_t ret = (insert.second) ? ACAMERA_OK : ACAMERA_ERROR_INVALID_PARAMETER; local
145 return ret;
169 camera_status_t ret = (remove) ? ACAMERA_OK : ACAMERA_ERROR_INVALID_PARAMETER; local
170 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
158 camera_status_t ret; local
[all...]
H A DACameraDevice.cpp132 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
133 if (ret != ACAMERA_OK) {
134 return ret;
165 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
166 if (ret != ACAMERA_OK) {
167 return ret;
176 ret = configureStreamsLocked(outputs, sessionParameters);
177 if (ret != ACAMERA_OK) {
179 return ret;
220 camera_status_t ret local
294 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
373 camera_status_t ret; local
465 camera_status_t ret = configureStreamsLocked(nullptr, nullptr); local
491 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
517 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
570 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
596 camera_status_t ret = getSurfaceFromANativeWindow(anw, surface); local
630 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
1265 binder::Status ret = binder::Status::ok(); local
1328 binder::Status ret = binder::Status::ok(); local
1370 binder::Status ret = binder::Status::ok(); local
1412 binder::Status ret = binder::Status::ok(); local
1492 binder::Status ret = binder::Status::ok(); local
[all...]
H A DACameraManager.cpp131 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); local
133 if (ret.isOk()) {
165 } else if (ret.serviceSpecificErrorCode() ==
172 __FUNCTION__, ret.toString8().string());
441 camera_status_t ret = getCameraCharacteristics(cameraId, &rawChars); local
443 if (ret != ACAMERA_OK) {
445 __FUNCTION__, cameraId, ret);
473 ret = ACAMERA_ERROR_CAMERA_DISCONNECTED;
476 ret = ACAMERA_ERROR_CAMERA_IN_USE;
479 ret
[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/include/media/
H A DDataSource.h64 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); variable
65 return ret >= 0 && static_cast<size_t>(ret) < bufferSize;
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp72 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local
73 if (ret == EINTR) {
76 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/extractors/mkv/
H A DMatroskaExtractor.cpp948 long long ret = local
951 if (ret) {
957 ret = mSegment->ParseHeaders();
958 if (ret == 0) {
960 ret = mSegment->LoadCluster(pos, len);
961 if (ret >= 1) {
963 ret = 0;
965 } else if (ret > 0) {
966 ret = mkvparser::E_BUFFER_NOT_FULL;
969 if (ret <
[all...]
/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/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h385 android::status_t ret = sineData->waker.wake(error); local
386 printf("Error Callback, error: %d, futex wake returns %d\n", error, ret);
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp112 long ret = myData.waker.wait(AAUDIO_OK, NANOS_PER_SECOND); local
118 ret, result, (int) millis,

Completed in 609 milliseconds

1234567891011>>