Searched defs:ret (Results 151 - 175 of 216) sorted by relevance

123456789

/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/libs/hwui/
H A DOpenGLRenderer.h727 bool reportAndClearDirty() { bool ret = mDirty; mDirty = false; return ret; } local
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_AudioEffect.cpp734 jobjectArray ret; local
794 ret = env->NewObjectArray(returnedEffectsCount, fields.clazzDesc, NULL);
795 if (ret == NULL) {
799 env->SetObjectArrayElement(ret, i, env->GetObjectArrayElement(temp, i));
802 return ret;
831 jobjectArray ret = env->NewObjectArray(numEffects, fields.clazzDesc, NULL); local
832 if (ret == NULL) {
834 return ret;
869 env->DeleteLocalRef(ret);
873 env->SetObjectArrayElement(ret,
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp743 int ret; local
750 ret = getopt_long(argc, argv, "ds:",
753 if (ret < 0) {
757 switch(ret) {
/frameworks/opt/telephony/src/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/rs/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/rs/cpu_ref/
H A DrsCpuScript.cpp793 int ret = mRoot(); local
795 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/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
1351 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.c101 int ret; local
138 ret = Reverb_Init(module, aux, preset);
139 if (ret < 0) {
142 return ret;
454 int ret; local
484 ret = Reverb_setConfig(pRvbModule, &pRvbModule->config, true);
485 if (ret < 0) {
486 ALOGV("Reverb_Init error %d on module %p", ret, pRvbModule);
489 return ret;
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp833 status_t ret; local
835 ret = mCurrentInfo->updateMime(name);
837 ret = mCurrentInfo->addMime(name);
840 if (ret != OK) {
841 return ret;
/frameworks/av/media/mtp/
H A DMtpServer.cpp161 int ret = mRequest.read(fd); local
162 if (ret < 0) {
163 ALOGV("request read returned %d, errno: %d", ret, errno);
182 int ret = mData.read(fd); local
183 if (ret < 0) {
184 ALOGE("data read returned %d, errno: %d", ret, errno);
203 ret = mData.write(fd);
204 if (ret < 0) {
205 ALOGE("request write returned %d, errno: %d", ret, errno);
216 ret
277 int ret = mEvent.write(mFD); local
790 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); local
870 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); local
968 int ret = mkdir((const char *)path, mDirectoryPermission); local
995 int ret, initialData; local
1212 int ret = mData.read(mFD); local
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java229 SpannableStringBuilder ret = replace(start, end, "", 0, 0);
234 return ret; // == this
874 T[] ret = (T[]) Array.newInstance(kind, count);
877 getSpansRec(queryStart, queryEnd, kind, treeRoot(), ret, prioSortBuffer,
880 sort(ret, prioSortBuffer, orderSortBuffer);
884 return ret;
931 * @param ret Array to be filled with results.
942 int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) {
951 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority,
978 int p = getSpanFlags(ret[
941 getSpansRec(int queryStart, int queryEnd, Class<T> kind, int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) argument
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_time_server.cpp1067 bool ret = false; local
1091 ret = true;
1100 return ret;
1110 bool ret = false; local
1129 ret = true;
1136 return ret;
1140 bool ret = false; local
1176 ret = true;
1180 return ret;
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp990 status_t ret; local
992 ret = BAD_VALUE;
994 ret = mp->setRetransmitEndpoint(cAddrString,
1002 if (ret == INVALID_OPERATION ) {
1006 return (jint) ret;
H A Dandroid_mtp_MtpDatabase.cpp1193 jint ret = env->CallIntMethod(mDatabase, method_getDeviceProperty, local
1195 if (ret == MTP_RESPONSE_OK) {
1203 ALOGE("unable to read device property, response: %04X", ret);
/frameworks/native/cmds/atrace/
H A Datrace.cpp1015 int ret; local
1026 ret = getopt_long(argc, argv, "a:b:cf:k:ns:t:zo:",
1029 if (ret < 0) {
1039 switch(ret) {
/frameworks/native/cmds/installd/
H A Dinstalld.cpp514 int ret = -1; local
544 ret = cmds[i].func(arg + 1, reply);
553 n = snprintf(cmd, BUFFER_MAX, "%d %s", ret, reply);
555 n = snprintf(cmd, BUFFER_MAX, "%d", ret);
H A Dotapreopt.cpp877 int ret = android::installd::gOps.Main(argc, argv); local
879 return ret;
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp62 int ret; local
76 ret = pipe(pipefd);
77 if (ret < 0)
78 return ret;
95 ret = read(pipefd[0], &status, sizeof(status));
96 //printf("pipe read returned %d, status %d\n", ret, status);
98 if (ret == sizeof(status)) {
99 ret = status;
102 if (ret >= 0) {
103 ret
133 status_t ret; local
168 int ret; local
186 int ret; local
252 int ret; local
323 status_t ret; local
332 status_t ret; local
341 status_t ret; local
352 status_t ret; local
367 status_t ret; local
410 status_t ret; local
474 status_t ret; local
494 status_t ret; local
515 status_t ret; local
538 status_t ret; local
564 status_t ret; local
610 int ret; local
636 EXPECT_EQ(sizeof(buf), ret); local
660 int ret; local
722 int ret; local
819 int ret; local
841 int ret; local
864 int ret; local
909 status_t ret; local
937 int ret; local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp298 bool ret = mSensors.remove(handle); local
305 return ret;
739 int ret = looper->pollOnce(timeout); local
740 if (ret == ALOOPER_POLL_TIMEOUT) {
/frameworks/native/vulkan/libvulkan/
H A Ddriver.cpp501 int ret = posix_memalign(&ptr, std::max(alignment, sizeof(void*)), size); local
503 ret, ptr);
504 return ret == 0 ? ptr : nullptr;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DTelephonyMetrics.java1339 * @param ret The returned RIL response
1342 int rilRequest, Object ret) {
1345 DataCallResponse dataCall = (DataCallResponse) ret;
1362 SmsResponse smsResponse = (SmsResponse) ret;
1341 writeOnRilSolicitedResponse(int phoneId, int rilSerial, int rilError, int rilRequest, Object ret) argument
/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;
745 bool ret = mIO.sendToClient(cmdID, subID, data, len, waitForSpace); local
747 return ret;

Completed in 460 milliseconds

123456789