Searched defs:ret (Results 226 - 250 of 308) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp422 install_status_t ret = callFunc(env, callArg, zipFile, entry, lastSlash + 1); local
424 if (ret != INSTALL_SUCCEEDED) {
426 return ret;
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp735 jobjectArray ret; local
795 ret = env->NewObjectArray(returnedEffectsCount, fields.clazzDesc, NULL);
796 if (ret == NULL) {
800 env->SetObjectArrayElement(ret, i, env->GetObjectArrayElement(temp, i));
803 return ret;
832 jobjectArray ret = env->NewObjectArray(numEffects, fields.clazzDesc, NULL); local
833 if (ret == NULL) {
835 return ret;
870 env->DeleteLocalRef(ret);
874 env->SetObjectArrayElement(ret,
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp187 Return<void> ret = mHdmiCec->setCallback(mHdmiCecCallback); local
188 if (!ret.isOk()) {
194 Return<void> ret = mHdmiCec->setCallback(nullptr); local
195 if (!ret.isOk()) {
202 Return<SendMessageResult> ret = mHdmiCec->sendMessage(message); local
203 if (!ret.isOk()) {
207 return static_cast<int>((SendMessageResult) ret);
211 Return<Result> ret = mHdmiCec->addLogicalAddress(address); local
212 if (!ret.isOk()) {
216 return static_cast<int>((Result) ret);
220 Return<void> ret = mHdmiCec->clearLogicalAddress(); local
229 Return<void> ret = mHdmiCec->getPhysicalAddress([&result, &addr](Result res, uint16_t paddr) { local
241 Return<int32_t> ret = mHdmiCec->getCecVersion(); local
249 Return<uint32_t> ret = mHdmiCec->getVendorId(); local
267 Return<void> ret = mHdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { local
289 Return<void> ret = mHdmiCec->setOption(key, enabled); local
296 Return<void> ret = mHdmiCec->setLanguage(language); local
304 Return<void> ret = mHdmiCec->enableAudioReturnChannel(port, enabled); local
312 Return<bool> ret = mHdmiCec->isConnected(port); local
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java274 SubmitPdu ret = new SubmitPdu();
279 statusReportRequested, ret);
339 ret.encodedMessage = bo.toByteArray();
340 return ret;
365 byte[] ret = new byte[userData.length+1];
366 ret[0] = (byte) (userData.length & 0xff );
367 System.arraycopy(userData, 0, ret, 1, userData.length);
368 return ret;
418 SubmitPdu ret = new SubmitPdu();
422 statusReportRequested, ret);
456 getSubmitPduHead( String scAddress, String destinationAddress, byte mtiByte, boolean statusReportRequested, SubmitPdu ret) argument
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp742 int ret; local
749 ret = getopt_long(argc, argv, "ds:",
752 if (ret < 0) {
756 switch(ret) {
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp49 const int ret = dvrSurfaceCreate( local
51 if (ret < 0)
52 return ErrorStatus(-ret);
61 const int ret = local
64 if (ret < 0)
65 return ErrorStatus(-ret);
84 const int ret = dvrDisplayManagerGetReadBufferQueue( local
86 if (ret < 0)
87 return ErrorStatus(-ret);
93 const int ret local
114 const int ret = dvrDisplayManagerTranslateEpollEventMask( local
126 const int ret = local
136 const int ret = dvrSurfaceStateGetUpdateFlags(surface_state_.get(), local
146 const int ret = dvrSurfaceStateGetSurfaceId(surface_state_.get(), local
156 const int ret = dvrSurfaceStateGetProcessId(surface_state_.get(), local
167 const int ret = dvrSurfaceStateGetAttributeCount(surface_state_.get(), local
185 const int ret = dvrSurfaceStateGetQueueCount(surface_state_.get(), local
217 int ret; variable
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp251 const auto ret = svc->endpoint()->MessageReply(this, return_code); local
252 replied_ = ret.ok();
253 return ret;
263 const auto ret = svc->endpoint()->MessageReplyFd(this, fd); local
264 replied_ = ret.ok();
265 return ret;
275 const auto ret = local
277 replied_ = ret.ok();
278 return ret;
288 Status<void> ret; local
306 Status<void> ret; local
324 Status<void> ret; local
341 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
352 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
363 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
544 Status<RemoteChannelHandle> ret = local
568 Status<int> ret = endpoint_->CheckChannel( local
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_endpoint.cpp161 int ret = variable
163 CHECK_EQ(ret, 0) << "Endpoint::Endpoint: bind error: " << strerror(errno);
187 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), local
189 CHECK_EQ(ret, 0)
198 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), local
200 CHECK_EQ(ret, 0)
H A Dservice_framework_tests.cpp150 const Status<int> ret = message.CheckChannel<TestChannel>(ref, nullptr); variable
151 REPLY_MESSAGE_RETURN(message, ret, {});
160 const Status<int> ret = variable
162 if (!ret)
163 REPLY_MESSAGE_RETURN(message, ret, {});
176 const Status<int> ret = message.CheckChannel<TestChannel>( variable
178 REPLY_MESSAGE_RETURN(message, ret, {});
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp380 int ret = generateBuffer(); local
381 if (ret)
382 return ret;
401 int ret = mGraphicBuffer->initCheck(); local
402 if (ret) {
403 return ret;
474 int ret = mGraphicBuffer->initCheck(); local
475 if (ret) {
476 return ret;
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp791 int ret = mRoot(); local
793 return ret;
/frameworks/rs/driver/runtime/
H A Drs_sample.c133 float4 ret = {0.f, 0.f, 0.f, r}; local
134 return ret;
143 float4 ret = {r, r, r, 1.f}; local
144 return ret;
153 float4 ret = {r.x, r.x, r.x, r.y}; local
154 return ret;
163 float4 ret = {r.x, r.x, r.z, 1.f}; local
164 return ret;
173 float4 ret = {r.x, r.x, r.z, 1.f}; local
174 return ret;
197 float4 ret = {0.f, 0.f, 0.f, r}; local
210 float4 ret = {r, r, r, 1.f}; local
223 float4 ret = {r.x, r.x, r.x, r.y}; local
236 float4 ret = {r.x, r.y, r.z, 1.f}; local
261 float4 ret; local
[all...]
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp121 auto ret = permutation.getReturn(); local
122 if (ret) {
123 stream << getHtmlStringForType(*ret);
589 string ret = function->getReturnDocumentation(); local
590 if (!ret.empty()) {
594 *file << " <tr><td>" << ret << "</td></tr>\n"; local
/frameworks/av/camera/ndk/impl/
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
1357 binder::Status ret = binder::Status::ok(); local
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp197 int ret; local
247 ret = Reverb_init(pContext);
249 if (ret < 0){
252 return ret;
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c104 int ret; local
141 ret = Reverb_Init(module, aux, preset);
142 if (ret < 0) {
145 return ret;
457 int ret; local
487 ret = Reverb_setConfig(pRvbModule, &pRvbModule->config, true);
488 if (ret < 0) {
489 ALOGV("Reverb_Init error %d on module %p", ret, pRvbModule);
492 return ret;
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp662 status_t ret = isPlaying(&state); local
664 reply->writeInt32(ret);
729 status_t ret = getCurrentPosition(&msec); local
731 reply->writeInt32(ret);
737 status_t ret = getDuration(&msec); local
739 reply->writeInt32(ret);
H A Dmediaplayer.cpp318 status_t ret = prepareAsync_l(); local
319 if (ret != NO_ERROR) {
321 return ret;
344 status_t ret = NO_ERROR; local
350 ret = NO_ERROR;
357 ret = mPlayer->start();
358 if (ret != NO_ERROR) {
367 ret = INVALID_OPERATION;
372 return ret;
382 status_t ret local
401 status_t ret = mPlayer->pause(); local
532 status_t ret = mPlayer->getDuration(&durationMs); local
617 status_t ret = mPlayer->reset(); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp488 status_t ret = mPlayer->getCurrentPosition(&tempUs); local
494 if (ret != OK) {
678 status_t ret = request.readInt32(&methodId); local
679 if (ret != OK) {
681 return ret;
1032 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); local
1034 ALOGV("prepareDrm ret: %d", ret);
1036 return ret;
1044 status_t ret local
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp858 status_t ret; local
860 ret = mCurrentInfo->updateMime(name);
862 ret = mCurrentInfo->addMime(name);
865 if (ret != OK) {
866 return ret;
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp211 sp<Fence> ret = getReleaseFence(0, mReleaseFenceFds.size()); local
214 return ret;
/frameworks/av/media/mtp/
H A DMtpServer.cpp131 int ret = sHandle->configure(usePtp); local
132 if (ret) ALOGE("Failed to configure MTP driver!");
135 return ret;
187 int ret = mRequest.read(sHandle); local
188 if (ret < 0) {
189 ALOGE("request read returned %d, errno: %d", ret, errno);
206 int ret = mData.read(sHandle); local
207 if (ret < 0) {
208 ALOGE("data read returned %d, errno: %d", ret, errno);
225 ret
804 int ret = sHandle->sendFile(mfr); local
891 int ret = sHandle->sendFile(mfr); local
989 int ret = mkdir((const char *)path, mDirectoryPermission); local
1016 int ret, initialData; local
1243 int ret = mData.read(sHandle); local
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp231 hardware::Return<void> ret; local
232 ret = provider->mInterface->getVendorTags(
239 if (!ret.isOk()) {
241 __FUNCTION__, provider->mProviderName.c_str(), ret.description().c_str());
281 hardware::Return<void> ret; local
282 ret = deviceInfo3->mInterface->open(callback, [&status, &session]
289 if (!ret.isOk()) {
291 __FUNCTION__, id.c_str(), ret.description().c_str());
367 metadata_vendor_id_t ret = CAMERA_METADATA_INVALID_VENDOR_ID; local
380 return ret;
500 hardware::Return<void> ret = mInterface->getCameraIdList([&status, &devices]( local
765 hardware::Return<void> ret; local
790 hardware::Return<void> ret; local
839 hardware::Return<void> ret; local
873 hardware::Return<void> ret; local
916 hardware::Return<void> ret; local
1067 metadata_vendor_id_t ret = std::hash<std::string> {} (name); local
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp53 status_t ret = manager->openSession(mName.string(), this, &mHidlDevice); local
54 if (ret != OK) {
55 ALOGE("%s: openSession failed! %s (%d)", __FUNCTION__, strerror(-ret), ret);
57 return ret;
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java229 SpannableStringBuilder ret = replace(start, end, "", 0, 0);
234 return ret; // == this
863 T[] ret = (T[]) Array.newInstance(kind, count);
866 getSpansRec(queryStart, queryEnd, kind, treeRoot(), ret, prioSortBuffer,
869 sort(ret, prioSortBuffer, orderSortBuffer);
873 return ret;
920 * @param ret Array to be filled with results.
931 int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) {
940 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority,
967 int p = getSpanFlags(ret[
930 getSpansRec(int queryStart, int queryEnd, Class<T> kind, int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) argument
[all...]

Completed in 871 milliseconds

1234567891011>>