Searched defs:ret (Results 251 - 275 of 346) sorted by relevance

<<11121314

/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.java348 SubmitPdu ret = new SubmitPdu();
364 statusReportRequested, ret);
368 if (bo == null) return ret;
432 ret.encodedMessage = bo.toByteArray();
433 return ret;
458 byte[] ret = new byte[userData.length+1];
459 ret[0] = (byte) (userData.length & 0xff );
460 System.arraycopy(userData, 0, ret, 1, userData.length);
461 return ret;
529 SubmitPdu ret
570 getSubmitPduHead( String scAddress, String destinationAddress, byte mtiByte, boolean statusReportRequested, SubmitPdu ret) argument
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp737 int ret; local
744 ret = getopt_long(argc, argv, "ds:",
747 if (ret < 0) {
751 switch(ret) {
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp126 ProcResults ret; local
128 ret.m_buckets[i] = a.m_buckets[i] + b.m_buckets[i];
130 ret.m_worst = max(a.m_worst, b.m_worst);
131 ret.m_best = min(a.m_best, b.m_best);
132 ret.m_transactions = a.m_transactions + b.m_transactions;
133 ret.m_long_transactions = a.m_long_transactions + b.m_long_transactions;
134 ret.m_total_time = a.m_total_time + b.m_total_time;
135 return ret;
223 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply); local
229 if (ret !
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
H A Dbuffer_transport_benchmark.cpp85 status_t ret = 0; variable
88 ret = buffer_item_consumer_->acquireBuffer(&buffer, /*presentWhen=*/0,
92 if (ret != NO_ERROR) {
99 ret = buffer_item_consumer_->releaseBuffer(buffer);
102 if (ret != NO_ERROR) {
214 int ret = dvr_get_api(&api_, sizeof(api_), /*version=*/1); local
216 CHECK(ret == 0);
248 int ret = epoll_fd_.Create(); variable
249 if (ret < 0) {
250 LOG(ERROR) << "Failed to create epoll fd: %s", strerror(-ret);
309 const int ret = epoll_fd_.Control(EPOLL_CTL_ADD, queue_fd, &event); variable
324 int ret = 0; local
370 int ret = 0; local
438 const int ret = transport_->Start(); variable
[all...]
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue-test.cpp67 int ret; local
69 ret = poll(&pfd, 1, timeout_ms);
70 } while (ret == -1 && errno == EINTR);
72 if (ret < 0) {
76 } else if (ret == 0) {
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp121 const int ret = dvrSurfaceCreate( local
123 if (ret < 0)
124 return ErrorStatus(-ret);
134 const int ret = dvrSurfaceCreateWriteBufferQueue( local
137 if (ret < 0)
138 return ErrorStatus(-ret);
157 const int ret = dvrDisplayManagerGetReadBufferQueue( local
159 if (ret < 0)
160 return ErrorStatus(-ret);
166 const int ret local
188 const int ret = dvrDisplayManagerTranslateEpollEventMask( local
200 const int ret = local
210 const int ret = dvrSurfaceStateGetUpdateFlags(surface_state_.get(), local
220 const int ret = dvrSurfaceStateGetSurfaceId(surface_state_.get(), local
230 const int ret = dvrSurfaceStateGetProcessId(surface_state_.get(), local
241 const int ret = dvrSurfaceStateGetAttributeCount(surface_state_.get(), local
259 const int ret = dvrSurfaceStateGetQueueCount(surface_state_.get(), local
308 int ret; variable
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice.cpp248 const auto ret = svc->endpoint()->MessageReply(this, return_code); local
249 replied_ = ret.ok();
250 return ret;
260 const auto ret = svc->endpoint()->MessageReplyFd(this, fd); local
261 replied_ = ret.ok();
262 return ret;
272 const auto ret = local
274 replied_ = ret.ok();
275 return ret;
285 Status<void> ret; local
303 Status<void> ret; local
321 Status<void> ret; local
338 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
349 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
360 const auto ret = svc->endpoint()->MessageReplyChannelHandle(this, handle); local
541 Status<RemoteChannelHandle> ret = local
565 Status<int> ret = endpoint_->CheckChannel( local
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper.cpp56 Status<void> ret; local
62 ret.SetError(errno);
64 ret.GetErrorMessage().c_str());
70 return ret;
75 Status<void> ret; local
79 ret.SetError(errno);
81 ret.GetErrorMessage().c_str());
82 return ret;
93 ret = SendAll(sender, socket_fd, chunk_base + offset_within_chunk,
95 if (!ret)
113 Status<void> ret; local
147 Status<void> ret; local
295 Status<void> ret = RecvMsgAll(receiver, socket_fd, &msg); local
424 int ret = fcntl(fd.Get(), F_GETFL); local
[all...]
H A Dservice_endpoint.cpp164 int ret = variable
166 CHECK_EQ(ret, 0) << "Endpoint::Endpoint: bind error: " << strerror(errno);
190 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, socket_fd.Get(), local
192 CHECK_EQ(ret, 0)
201 int ret = epoll_ctl(epoll_fd_.Get(), EPOLL_CTL_ADD, cancel_event_fd_.Get(), local
203 CHECK_EQ(ret, 0)
H A Dservice_framework_tests.cpp151 const Status<int> ret = message.CheckChannel<TestChannel>(ref, nullptr); variable
152 REPLY_MESSAGE_RETURN(message, ret, {});
161 const Status<int> ret = variable
163 if (!ret)
164 REPLY_MESSAGE_RETURN(message, ret, {});
177 const Status<int> ret = message.CheckChannel<TestChannel>( variable
179 REPLY_MESSAGE_RETURN(message, ret, {});
/frameworks/native/services/sensorservice/
H A DSensorEventConnection.cpp203 int ret = looper->addFd(mChannel->getSendFd(), 0, looper_flags, this, NULL); local
204 if (ret == 1) {
208 ALOGE("Looper::addFd failed ret=%d fd=%d", ret, mChannel->getSendFd());
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp383 int ret = generateBuffer(); local
384 if (ret)
385 return ret;
405 int ret = mGraphicBuffer->initCheck(); local
406 if (ret) {
407 return ret;
702 int ret = mGraphicBuffer->initCheck(); local
703 if (ret)
704 return ret;
754 int ret local
780 int ret = mGraphicBuffer->initCheck(); local
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp802 int ret = mRoot(); local
804 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.cpp124 auto ret = permutation.getReturn(); local
125 if (ret) {
126 stream << getHtmlStringForType(*ret);
595 string ret = function->getReturnDocumentation(); local
596 if (!ret.empty()) {
600 *file << " <tr><td>" << ret << "</td></tr>\n"; local
/frameworks/av/camera/ndk/impl/
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...]
/frameworks/av/media/libaudiohal/4.0/
H A DStreamHalHidl.cpp65 Return<void> ret = mStream->getAudioProperties( local
105 Return<void> ret = mStream->getAudioProperties(
111 return processReturn("getAudioProperties", ret);
130 Return<void> ret = utils::getParameters( local
140 return processReturn("getParameters", ret, retval);
164 Return<void> ret = mStream->debug(hidlHandle, {} /* options */); local
167 return processReturn("dump", ret);
183 Return<void> ret = mStream->createMmapBuffer( local
200 return processReturn("createMmapBuffer", ret, retval);
205 Return<void> ret local
398 status_t ret = mEfGroup->wait(static_cast<uint32_t>(MessageQueueFlagBits::NOT_FULL), &efState); local
426 Return<void> ret = mStream->prepareForWriting( local
475 Return<void> ret = mStream->getRenderPosition( local
488 Return<void> ret = mStream->getNextWriteTimestamp( local
556 Return<void> ret = mStream->getPresentationPosition( variable
682 status_t ret = mEfGroup->wait(static_cast<uint32_t>(MessageQueueFlagBits::NOT_EMPTY), &efState); local
710 Return<void> ret = mStream->prepareForReading( local
773 Return<void> ret = mStream->getCapturePosition( variable
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp212 int ret; local
262 ret = Reverb_init(pContext);
264 if (ret < 0){
267 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.cpp731 status_t ret = isPlaying(&state); local
733 reply->writeInt32(ret);
798 status_t ret = getCurrentPosition(&msec); local
800 reply->writeInt32(ret);
806 status_t ret = getDuration(&msec); local
808 reply->writeInt32(ret);
992 status_t ret = getRoutedDeviceId(&deviceId); local
993 reply->writeInt32(ret);
994 if (ret == NO_ERROR) {
H A Dmediaplayer.cpp302 status_t ret = prepareAsync_l(); local
303 if (ret != NO_ERROR) {
305 return ret;
328 status_t ret = NO_ERROR; local
334 ret = NO_ERROR;
341 ret = mPlayer->start();
342 if (ret != NO_ERROR) {
351 ret = INVALID_OPERATION;
356 return ret;
366 status_t ret local
385 status_t ret = mPlayer->pause(); local
516 status_t ret = mPlayer->getDuration(&durationMs); local
610 status_t ret = mPlayer->reset(); local
[all...]
/frameworks/av/media/libmediaplayer2/
H A Dmediaplayer2.cpp711 status_t ret = mPlayer->getBufferingSettings(buffering); local
712 if (ret == NO_ERROR) {
715 ALOGE("getBufferingSettings returned %d", ret);
717 return ret;
772 status_t ret = NO_ERROR; local
778 ret = NO_ERROR;
791 ret = mPlayer->start();
792 if (ret != NO_ERROR) {
801 ret = INVALID_OPERATION;
806 return ret;
815 status_t ret = mPlayer->stop(); local
833 status_t ret = mPlayer->pause(); local
906 status_t ret = mPlayer->getPlaybackSettings(rate); local
930 status_t ret = mPlayer->getSyncSettings(sync, videoFps); local
972 status_t ret = mPlayer->getCurrentPosition(msec); local
992 status_t ret = mPlayer->getDuration(&durationMs); local
1072 status_t ret = mPlayer->reset(); local
[all...]
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Driver.cpp451 status_t ret = mPlayer->getCurrentPosition(&tempUs); local
457 if (ret != OK) {
643 status_t ret = request.readInt32(&methodId); local
644 if (ret != OK) {
645 ALOGE("Failed to retrieve the requested method to invoke, err(%d)", ret);
646 return ret;
1044 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); local
1046 ALOGV("prepareDrm ret: %d", ret);
1048 return ret;
1056 status_t ret = mPlayer->releaseDrm(); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp510 status_t ret = mPlayer->getCurrentPosition(&tempUs); local
516 if (ret != OK) {
716 status_t ret = request.readInt32(&methodId); local
717 if (ret != OK) {
719 return ret;
1085 status_t ret = mPlayer->prepareDrm(uuid, drmSessionId); local
1087 ALOGV("prepareDrm ret: %d", ret);
1089 return ret;
1097 status_t ret local
[all...]

Completed in 168 milliseconds

<<11121314