Searched refs:ret (Results 26 - 50 of 632) sorted by relevance

1234567891011>>

/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_buffer_queue-test.cpp71 int ret = api_.WriteBufferQueueCreate( local
74 ASSERT_EQ(0, ret);
81 int ret = api_.WriteBufferQueueCreate( local
84 ASSERT_EQ(0, ret);
93 int ret = api_.WriteBufferQueueCreate( local
96 ASSERT_EQ(0, ret);
99 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue);
101 ASSERT_EQ(0, ret);
108 int ret = api_.WriteBufferQueueCreate( local
111 ASSERT_EQ(0, ret);
130 int ret = api_.WriteBufferQueueCreate( local
149 int ret = api_.WriteBufferQueueCreate( local
222 int ret = api_.WriteBufferQueueCreate( local
245 int ret = api_.WriteBufferQueueCreate( local
363 int ret = api_.WriteBufferQueueCreate( local
382 int ret = api_.WriteBufferQueueCreate( local
529 int ret = api_.WriteBufferQueueCreate( local
[all...]
/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/opt/telephony/src/java/com/android/internal/telephony/
H A DDriverCall.java82 DriverCall ret = new DriverCall();
89 ret.index = p.nextInt();
90 ret.isMT = p.nextBoolean();
91 ret.state = stateFromCLCC(p.nextInt());
93 ret.isVoice = (0 == p.nextInt());
94 ret.isMpty = p.nextBoolean();
97 ret.numberPresentation = PhoneConstants.PRESENTATION_ALLOWED;
102 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString());
104 if (ret.number.length() == 0) {
105 ret
[all...]
H A DSmsResponse.java43 String ret = "{ mMessageRef = " + mMessageRef
47 return ret;
H A DOemHookResponse.java43 byte[] ret = null;
45 ret = RIL.arrayListToPrimitiveArray(data);
46 RadioResponse.sendMessageResponse(rr.mResult, ret);
48 mRil.processResponseDone(rr, responseInfo, ret);
/frameworks/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp38 int ret; local
40 ret = ioctl(fd, BLKGETSIZE64, &size);
42 if (ret)
51 int ret; local
60 ret = ioctl(fd, BLKSECDISCARD, &range);
61 if (ret < 0) {
65 ret = ioctl(fd, BLKDISCARD, &range);
66 if (ret < 0) {
76 return ret;
101 const int ret local
[all...]
/frameworks/base/libs/hwui/debug/
H A DDefaultGlesDriver.h27 #define GL_ENTRY(ret, api, ...) virtual ret api##_(__VA_ARGS__) override;
H A DFatalBaseDriver.h30 #define GL_ENTRY(ret, api, ...) virtual ret api##_(__VA_ARGS__) override;
H A DGlesErrorCheckWrapper.h29 #define GL_ENTRY(ret, api, ...) virtual ret api##_(__VA_ARGS__) override;
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestVirtualDisplay.cpp47 int ret = mOutputBuffer.getOutputBuffer(outHandle, &acquireFence); local
49 return ret;
71 int ret = mExpectedBuffer.generateExpectedBuffer(testLayers, allLayers, local
73 if (ret)
74 return ret;
86 int ret = mkdir(DIR_NAME, DEFFILEMODE); local
87 if (ret && errno != EEXIST)
88 return ret;
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java75 String ret = makeProxyRequestNativeLocked(url, host);
76 if ((ret == null) || (ret.length() == 0)) {
78 ret = null;
80 return ret;
/frameworks/rs/script_api/
H A Drs_debug.spec29 ret: void
45 ret: void
55 ret: void
63 ret: void
72 ret: void
82 ret: void
89 ret: void
97 ret: void
106 ret: void
116 ret
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DSdpMnsRecord.java85 String ret = "Bluetooth MNS SDP Record:\n";
88 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
91 ret += "L2CAP PSM: " + mL2capPsm + "\n";
94 ret += "Service Name: " + mServiceName + "\n";
97 ret += "Supported features: " + mSupportedFeatures + "\n";
100 ret += "Profile_version: " + mProfileVersion + "\n";
102 return ret;
H A DSdpMasRecord.java115 String ret = "Bluetooth MAS SDP Record:\n";
118 ret += "Mas Instance Id: " + mMasInstanceId + "\n";
121 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
124 ret += "L2CAP PSM: " + mL2capPsm + "\n";
127 ret += "Service Name: " + mServiceName + "\n";
130 ret += "Profile version: " + mProfileVersion + "\n";
133 ret += "Supported msg types: " + mSupportedMessageTypes + "\n";
136 ret += "Supported features: " + mSupportedFeatures + "\n";
138 return ret;
H A DSdpPseRecord.java96 String ret = "Bluetooth MNS SDP Record:\n";
99 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
102 ret += "L2CAP PSM: " + mL2capPsm + "\n";
105 ret += "profile version: " + mProfileVersion + "\n";
108 ret += "Service Name: " + mServiceName + "\n";
111 ret += "Supported features: " + mSupportedFeatures + "\n";
114 ret += "Supported repositories: " + mSupportedRepositories + "\n";
117 return ret;
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp22 Status<void> ret; local
28 ret.SetError(status.error());
29 return ret;
35 ret.SetError(ESHUTDOWN);
42 ret.SetError(-error_);
44 ret.SetValue();
47 return ret;
143 void Transaction::SendTransaction(int opcode, Status<void>* ret, argument
147 *ret = client_.CheckReconnect();
148 if (!*ret)
167 SendTransaction(int opcode, Status<int>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument
188 SendTransaction(int opcode, Status<LocalHandle>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument
209 SendTransaction(int opcode, Status<LocalChannelHandle>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument
[all...]
/frameworks/rs/rsov/compiler/spirit/
H A Dbuilder.cpp25 Module *ret = new Module(this); local
26 ret->initialize();
27 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...]
/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_common.cpp55 int ret; local
64 ret = syscall(__NR_finit_module, fd, args, 0);
67 if (ret < 0) {
68 PLOG(ERROR) << "finit_module return: " << ret;
71 return ret;
75 int ret = -1; local
79 ret = delete_module(modname, O_NONBLOCK | O_EXCL);
80 if (ret < 0 && errno == EAGAIN)
86 if (ret != 0)
88 return ret;
95 int ret = 0; local
215 int ret = 0; local
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsConfig.java562 int ret = 0;
564 ret = miConfig.getConfigInt(item);
569 if (DBG) Rlog.d(TAG, "getInt(): item = " + item + ", ret =" + ret);
571 return ret;
590 String ret = "Unknown";
592 ret = miConfig.getConfigString(item);
597 if (DBG) Rlog.d(TAG, "getConfigString(): item = " + item + ", ret =" + ret);
599 return ret;
[all...]
/frameworks/native/libs/binder/
H A DIInterface.cpp56 android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; local
57 *ret = android::IInterface::asBinder((android::IInterface*)self);
63 android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; local
64 *ret = android::IInterface::asBinder((android::IInterface*)self);
/frameworks/native/libs/vr/libbufferhub/
H A Ddetached_buffer.cpp33 const int ret = ImportGraphicBuffer(); local
34 if (ret < 0) {
36 strerror(-ret));
37 client_.Close(ret);
43 const int ret = ImportGraphicBuffer(); local
44 if (ret < 0) {
46 strerror(-ret));
47 client_.Close(ret);
74 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) {
75 ALOGE("Failed to import GraphicBuffer, error=%d", ret);
[all...]
/frameworks/base/native/webview/plat_support/
H A Djni_entry_point.cpp31 jint ret = vm->AttachCurrentThread(&env, NULL); local
32 LOG_ALWAYS_FATAL_IF(ret != JNI_OK, "AttachCurrentThread failed");
/frameworks/rs/
H A Drs_compat.spec8 ret RsAllocation
/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...]

Completed in 885 milliseconds

1234567891011>>