Searched defs:ret (Results 201 - 225 of 346) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsScriptC.cpp155 uint32_t ret = 0; local
161 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this);
164 ALOGV("%p ScriptC::run invoking complete, ret=%i", rsc, ret);
167 return ret;
H A DrsScriptGroup.cpp79 bool ret = true; local
92 ret &= calcOrderRecurse(nt, n->mOrder + 1);
94 return ret;
143 bool ret = true; local
150 ret &= calcOrderRecurse(n, 0);
189 return ret;
/frameworks/rs/script_api/
H A DGenerateHeaderFiles.cpp215 auto ret = permutation.getReturn(); local
216 if (ret) {
217 *file << ret->rsType;
/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 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/impl/
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...]
/frameworks/av/media/img_utils/src/
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/libeffects/factory/
H A DEffectsFactory.c67 int ret = init(); local
68 if (ret < 0) {
69 return ret;
80 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer);
82 return ret;
92 int ret = init(); local
93 if (ret < 0) {
94 return ret;
105 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData);
107 return ret;
113 int ret = init(); local
133 int ret = init(); local
176 int ret = init(); local
194 int ret = init(); local
241 int ret = init(); local
264 int ret; local
333 int ret = init(); local
401 int ret = init(); local
470 int ret = 0; local
552 int ret = 0; local
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp133 int ret; local
152 ret = Equalizer_init(pContext);
153 if (ret < 0) {
156 return ret;
/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp163 status_t ret = reply.readInt32(); local
164 if (ret != NO_ERROR) {
184 status_t ret = reply.readInt32(); local
185 if (ret != NO_ERROR) {
208 status_t ret = reply.readInt32(); local
209 if (ret != NO_ERROR) {
230 status_t ret = reply.readInt32(); local
231 if (ret != NO_ERROR) {
232 return ret;
252 status_t ret local
268 status_t ret = reply.readInt32(); local
[all...]
H A DIMediaSource.cpp82 status_t ret = remote()->transact(START, data, &reply); local
83 if (ret == NO_ERROR && params) {
91 return ret;
108 status_t ret = remote()->transact(GETFORMAT, data, &reply); local
109 if (ret == NO_ERROR) {
119 status_t ret = readMultiple(&buffers, 1 /* maxNumBuffers */, options); local
122 ret, *buffer != nullptr, mBuffersSinceStop);
123 return ret;
139 status_t ret = remote()->transact(READMULTIPLE, data, &reply); local
141 if (ret !
201 status_t ret = remote()->transact(SUPPORT_NONBLOCKING_READ, data, &reply); local
287 status_t ret = start(meta.get()); local
340 status_t ret = NO_ERROR; local
[all...]
H A Dmediarecorder.cpp48 status_t ret = mMediaRecorder->setCamera(camera, proxy); local
49 if (OK != ret) {
50 ALOGV("setCamera failed: %d", ret);
52 return ret;
54 return ret;
73 status_t ret = mMediaRecorder->setPreviewSurface(surface); local
74 if (OK != ret) {
75 ALOGV("setPreviewSurface failed: %d", ret);
77 return ret;
79 return ret;
94 status_t ret = mMediaRecorder->init(); local
125 status_t ret = init(); local
136 status_t ret = mMediaRecorder->setVideoSource(vs); local
156 status_t ret = init(); local
170 status_t ret = mMediaRecorder->setAudioSource(as); local
199 status_t ret = mMediaRecorder->setOutputFormat(of); local
229 status_t ret = mMediaRecorder->setVideoEncoder(ve); local
260 status_t ret = mMediaRecorder->setAudioEncoder(ae); local
302 status_t ret = mMediaRecorder->setOutputFile(fd); local
336 status_t ret = mMediaRecorder->setNextOutputFile(fd); local
359 status_t ret = mMediaRecorder->setVideoSize(width, height); local
420 status_t ret = mMediaRecorder->setVideoFrameRate(frames_per_second); local
445 status_t ret = mMediaRecorder->setParameters(params); local
485 status_t ret = mMediaRecorder->prepare(); local
507 status_t ret = mMediaRecorder->getMaxAmplitude(max); local
520 status_t ret = mMediaRecorder->getMetrics(reply); local
539 status_t ret = mMediaRecorder->start(); local
561 status_t ret = mMediaRecorder->stop(); local
586 status_t ret = UNKNOWN_ERROR; local
625 status_t ret = mMediaRecorder->pause(); local
647 status_t ret = mMediaRecorder->resume(); local
664 status_t ret = mMediaRecorder->close(); local
678 status_t ret = mMediaRecorder->reset(); local
[all...]
/frameworks/av/media/libmediaextractor/
H A DMetaDataBase.cpp453 status_t ret; local
455 ret = parcel.writeUint32(uint32_t(numItems));
456 if (ret) {
457 return ret;
466 ret = parcel.writeInt32(key);
467 if (ret) {
468 return ret;
470 ret = parcel.writeUint32(type);
471 if (ret) {
472 return ret;
504 status_t ret = parcel.readInt32(&key); local
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp271 AString ret; local
277 ret.append(setting);
279 return ret;
283 AString ret; local
294 ret.append(codec);
303 ret.append(setting);
305 ret.append(" </MediaCodec>\n");
307 return ret;
/frameworks/av/media/ndk/
H A DNdkImage.cpp195 status_t ret = local
197 if (ret != OK) {
198 ALOGE("%s: AImage %p failed to lock, error=%d", __FUNCTION__, this, ret);
676 media_status_t ret = image->getWidth(&width); local
677 if (ret != AMEDIA_OK) {
678 return ret;
681 ret = image->getHeight(&height);
682 if (ret != AMEDIA_OK) {
683 return ret;
723 media_status_t ret local
741 media_status_t ret = const_cast<AImage*>(image)->lockImage(); local
760 media_status_t ret = const_cast<AImage*>(image)->lockImage(); local
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp153 GLuint ret; local
154 glGenFramebuffers(1, &ret);
155 return ret;
/frameworks/base/native/android/
H A Dsensor.cpp152 int ret = static_cast<SensorManager *>(manager)->createDirectChannel( local
155 return ret;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.cpp96 Return<void> ret = local
105 (void)ret.isOk();
126 Return<void> ret = mManager->getDefaultSensor( local
143 (void)ret.isOk();
166 Return<void> ret = local
177 if (!ret.isOk() || result != Result::OK) {
/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.cpp59 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, NULL, &ts)); local
65 if (ret == 0) {
69 if (ret == -1) {
326 bool ret = waitpid_with_timeout(pid, options.TimeoutInMs(), &status); local
330 if (!ret) {
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp69 int ret; local
123 ret = lstat (nameBuffer, &statBuffer);
125 if (ret != 0) {
142 ret = rmdir(newpath);
143 if (ret != 0) {
159 ret = unlink(nameBuffer);
161 if (ret != 0) {
306 int ret = lstat(fullPath, &statBuffer); local
308 if (ret != 0) {
689 int ret; local
[all...]
/frameworks/native/include/binder/
H A DParcel.h675 status_t ret = readStrongBinder(&tmp); local
677 if (ret == OK) {
685 return ret;
691 status_t ret = readNullableStrongBinder(&tmp); local
693 if (ret == OK) {
697 ret = UNKNOWN_ERROR;
701 return ret;
/frameworks/native/libs/binder/include/binder/
H A DParcel.h675 status_t ret = readStrongBinder(&tmp); local
677 if (ret == OK) {
685 return ret;
691 status_t ret = readNullableStrongBinder(&tmp); local
693 if (ret == OK) {
697 ret = UNKNOWN_ERROR;
701 return ret;

Completed in 190 milliseconds

1234567891011>>