Searched defs:ret (Results 176 - 200 of 217) sorted by relevance

123456789

/frameworks/native/services/sensorservice/
H A DSensorService.cpp284 bool ret = mSensors.remove(handle); local
291 return ret;
720 int ret = looper->pollOnce(timeout); local
721 if (ret == ALOOPER_POLL_TIMEOUT) {
/frameworks/native/vulkan/libvulkan/
H A Ddriver.cpp439 int ret = posix_memalign(&ptr, std::max(alignment, sizeof(void*)), size); local
441 ret, ptr);
442 return ret == 0 ? ptr : nullptr;
/frameworks/rs/
H A DrsContext.cpp112 uint32_t ret = s->run(this); local
113 return ret;
122 uint32_t ret = runScript(mRootScript.get()); local
125 return ret;
743 bool ret = mIO.sendToClient(cmdID, subID, data, len, waitForSpace); local
745 return ret;
H A DrsAllocation.cpp671 status_t ret = mGrallocConsumer->lockNextBuffer(mCurrentIdx); local
673 if (ret == OK) {
675 } else if (ret == BAD_VALUE) {
/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/libmedia/
H A DAudioSystem.cpp1084 int ret = gAudioPolicyServiceClient->addAudioPortCallback(callback); local
1085 if (ret == 1) {
1088 return (ret < 0) ? INVALID_OPERATION : NO_ERROR;
1101 int ret = gAudioPolicyServiceClient->removeAudioPortCallback(callback); local
1102 if (ret == 0) {
1105 return (ret < 0) ? INVALID_OPERATION : NO_ERROR;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp1820 status_t ret = native_window_set_scaling_mode(mSurface.get(), mVideoScalingMode); local
1821 if (ret != OK) {
1823 -ret, strerror(-ret));
1824 return ret;
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp90 String8 ret; local
94 return ret;
99 ret.setTo(name.c_str());
101 return ret;
176 const status_t ret = codec->init(mime, true /* nameIsType */, encoder); local
178 *err = ret;
180 return ret == OK ? codec : NULL; // NULL deallocates codec.
188 const status_t ret = codec->init(name, false /* nameIsType */, false /* encoder */); local
190 *err = ret;
192 return ret
638 status_t ret = PostAndAwaitResponse(msg, &response); local
[all...]
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp815 long long ret = local
818 if (ret) {
824 ret = mSegment->ParseHeaders();
825 if (ret == 0) {
827 ret = mSegment->LoadCluster(pos, len);
828 if (ret >= 1) {
830 ret = 0;
832 } else if (ret > 0) {
833 ret = mkvparser::E_BUFFER_NOT_FULL;
836 if (ret <
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp280 int ret = (*mEffectInterface)->process(mEffectInterface, local
285 if (mState == STOPPED && ret == -ENODATA) {
1258 status_t ret = mEffect->command(EFFECT_CMD_SET_PARAM, local
1264 if (ret != NO_ERROR) {
1265 status = ret;
H A DAudioFlinger.cpp790 status_t ret = initCheck(); local
791 if (ret != NO_ERROR) {
792 return ret;
831 status_t ret = initCheck(); local
832 if (ret != NO_ERROR) {
833 return ret;
849 ret = dev->set_mode(dev, mode);
853 if (NO_ERROR == ret) {
860 return ret;
865 status_t ret local
890 status_t ret = initCheck(); local
912 status_t ret = initCheck(); local
1214 status_t ret = initCheck(); local
1275 status_t ret = initCheck(); local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp772 jobject ret = GraphicsJNI::createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); local
773 return ret;
781 jobject ret = GraphicsJNI::createBitmap(env, bitmap, getPremulBitmapCreateFlags(false)); local
782 return ret;
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp954 int ret = RegisterMethodsOrDie(env, kRadioModuleClassPathName, gModuleMethods, NELEM(gModuleMethods)); local
958 return ret;
/frameworks/base/libs/hwui/
H A DRenderProperties.h195 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); local
196 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret;
H A DSpotShadow.cpp342 * @param ret result polygon.
345 float size, Vector3* ret) {
349 ret[i].x = cosf(angle) * size + lightCenter.x;
350 ret[i].y = sinf(angle) * size + lightCenter.y;
351 ret[i].z = lightCenter.z;
344 computeLightPolygon(int points, const Vector3& lightCenter, float size, Vector3* ret) argument
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp242 int fd, ret, save_errno; local
253 ret = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));
257 if (ret < 0) {
308 int fd, ret, save_errno; local
318 ret = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer)));
322 if (ret < 0) {
435 int ret = TEMP_FAILURE_RETRY(select(fd + 1, &read_set, NULL, NULL, &tm)); local
436 if (ret == -1) {
440 } else if (ret == 0) {
553 int ret local
605 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, NULL, &ts)); local
769 bool ret = waitpid_with_timeout(pid, timeout_seconds, &status); local
1092 int ret = poll(&pfd, 1, 5000); /* 5 sec timeout */ local
[all...]
/frameworks/native/cmds/installd/
H A Dutils.cpp579 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %d, block=%p, nextPos=%p",
1007 int ret = get_path_from_string(rec, path); local
1008 if (ret < 0) {
1011 return ret;
1122 ssize_t ret = strlcpy(*dst, src, *dst_size); local
1123 if (ret < 0 || (size_t) ret >= *dst_size) {
1126 *dst += ret;
1127 *dst_size -= ret;
/frameworks/native/libs/binder/
H A DParcel.cpp116 int ret = TEMP_FAILURE_RETRY(fstat(fd, &st)); local
118 if ((ret >= 0) && S_ISCHR(st.st_mode)) {
159 int ret = fstat(obj.handle, &st); local
160 if (!ret && S_ISCHR(st.st_mode) && (st.st_rdev == ashmem_rdev())) {
212 int ret = fstat(obj.handle, &st); local
213 if (!ret && S_ISCHR(st.st_mode) && (st.st_rdev == ashmem_rdev())) {
971 status_t ret = writeInt32(static_cast<uint32_t>(len)); local
972 if (ret == NO_ERROR) {
973 ret = write(val, len * sizeof(*val));
975 return ret;
987 status_t ret = writeInt32(static_cast<uint32_t>(len)); local
1671 status_t ret; local
1749 status_t ret = readInt32(&tmp); local
1762 status_t ret = readInt32(&tmp); local
1775 status_t ret = readInt32(&tmp); local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1882 EGLuint64NV ret = 0; local
1900 EGLuint64NV ret = 0; local
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1089 int ret = mProducer->query(NATIVE_WINDOW_STICKY_TRANSFORM, &producerStickyTransform); local
1090 if (ret != OK) {
1092 strerror(-ret), ret);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyEventLog.java418 Object ret) {
423 DataCallResponse dataCall = (DataCallResponse)ret;
446 SmsResponse smsResponse = (SmsResponse)ret;
417 writeOnRilSolicitedResponse(int rilSerial, int rilError, int rilRequest, Object ret) argument
/frameworks/rs/driver/runtime/
H A Drs_cl.c1817 half2 ret; \
1819 ret.x = fnc(v1.x, &t[0]); \
1820 ret.y = fnc(v1.y, &t[1]); \
1823 return ret; \
1826 half3 ret; \
1828 ret.x = fnc(v1.x, &t[0]); \
1829 ret.y = fnc(v1.y, &t[1]); \
1830 ret.z = fnc(v1.z, &t[2]); \
1834 return ret; \
1837 half4 ret; \
1976 half2 ret; local
1986 half3 ret; local
1998 half4 ret; local
2016 int2 ret; local
2022 int3 ret; local
2029 int4 ret; local
2143 half2 ret; local
2149 half3 ret; local
2156 half4 ret; local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp769 int ret = fstat(fd, &sb); local
770 if (ret != 0) {
771 ALOGE("fstat(%d) failed: %d, %s", fd, ret, strerror(errno));
965 status_t ret = p->prepareAsync();
968 if (ret == NO_ERROR) mAntagonizer->start();
970 return ret;
1021 status_t ret = p->getPlaybackSettings(rate);
1022 if (ret == NO_ERROR) {
1026 ALOGV("[%d] getPlaybackSettings returned %d", mConnId, ret);
1028 return ret;
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp480 int ret = stoi(std::string{cameraId.string()}, &pos); local
484 return ret;
490 Status ret = Status::ok(); local
493 if (!(ret = getCameraInfo(cameraId, &info)).isOk()) {
494 return ret;
513 if (!(ret = getLegacyParametersLazy(cameraId, /*out*/&shimParams)).isOk()) {
515 return ret;
577 return ret;
601 Status ret; local
614 ret
836 Status ret = Status::ok(); local
855 Status ret = Status::ok(); local
1072 status_t ret = NO_ERROR; local
1258 Status ret = Status::ok(); local
1304 Status ret = Status::ok(); local
1330 Status ret = Status::ok(); local
1572 Status ret = Status::ok(); local
1656 bool ret = false; local
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp2730 status_t ret; local
2733 ret = queueTriggerLocked(trigger[i]);
2735 if (ret != OK) {
2736 return ret;

Completed in 1174 milliseconds

123456789