Searched refs:ret (Results 1 - 25 of 148) sorted by relevance

123456

/packages/apps/FMRadio/jni/fmr/
H A Dlibfm_jni.cpp30 int ret = 0; local
32 ret = FMR_open_dev(g_idx); // if success, then ret = 0; else ret < 0
34 LOGD("%s, [ret=%d]\n", __func__, ret);
35 return ret?JNI_FALSE:JNI_TRUE;
40 int ret = 0; local
42 ret = FMR_close_dev(g_idx);
44 LOGD("%s, [ret
50 int ret = 0; local
63 int ret = 0; local
73 int ret = 0; local
85 int ret = 0; local
112 int ret = 0; local
148 int ret = 0; local
163 int ret = 0; local
181 int ret = 0; local
199 int ret = 0; local
213 int ret = 0; local
231 int ret = 0; local
249 int ret = 0; local
261 int ret = 0; local
282 int ret = 0; local
306 int ret = 0; local
388 jint ret = JNI_FALSE; local
[all...]
H A Dcommon.cpp28 int ret = 0; local
38 ret = -ERR_INVALID_FD;
41 LOGI("%s, [fd=%d] [ret=%d]\n", __func__, *fd, ret);
42 return ret;
47 int ret = 0; local
50 ret = close(fd);
51 if (ret) {
54 LOGD("%s, [fd=%d] [ret=%d]\n", __func__, fd, ret);
60 int ret = 0; local
81 int ret = 0; local
106 int ret = 0; local
133 int ret = 0; local
159 int ret = 0; local
178 int ret = 0; local
199 int ret = 0; local
225 int ret = 0; local
239 int ret = 0; local
260 int ret = 0; local
284 fm_s32 ret = 0; local
292 fm_s32 ret = 0; local
301 fm_s32 ret = 0; local
344 int ret; local
370 int ret = 0; local
396 int ret = 0; local
412 int ret = 0; local
438 int ret = 0; local
510 int ret = 0; local
528 int ret = 0; local
549 int ret = 0; local
[all...]
H A Dfmr_core.cpp55 int ret = -1; local
72 ret = 0;
80 return ret;
98 int ret = 0; local
135 ret = 0;
148 int ret = 0; local
153 ret = FMR_cbk_tbl(idx).open_dev(FM_DEV_NAME, &FMR_fd(idx));
154 if (ret || FMR_fd(idx) < 0) {
156 return ret;
160 ret
173 int ret = 0; local
183 int ret = 0; local
204 int ret = 0; local
214 int ret = 0; local
230 int ret = 0; local
242 int ret = 0; local
255 int ret = 0; local
327 int ret = 0; local
396 fm_s32 i, ret = 0; local
489 fm_s32 ret = 0, i, j; local
533 int ret = 0; local
551 int ret = 0; local
583 fm_s32 ret = 0, Num = 0, i, j; local
738 fm_s32 ret = 0; local
779 int ret = 0; local
782 ret = FMR_cbk_tbl(idx).turn_on_off_rds(FMR_fd(idx), onoff); local
792 int ret = 0; local
807 int ret = 0; local
826 int ret = 0; local
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dneapi.c30 NJ_INT16 ret; local
47 ret = set_previous_selection(iwnn, r_result);
48 if (ret < 0) {
49 return ret;
71 NJ_INT16 ret; local
88 ret = njd_get_candidate(iwnn, result, buf, buf_size);
93 ret = NJ_SET_ERR_VAL(NJ_FUNC_NJ_GET_CANDIDATE, NJ_ERR_INVALID_RESULT);
97 return ret;
101 NJ_INT16 ret; local
118 ret
131 NJ_INT16 ret; local
152 NJ_INT16 ret; local
[all...]
H A Dndapi.c127 NJ_INT16 ret = 0; local
153 ret = njd_b_search_word(&cursor->cond, loctset);
157 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
161 ret = njd_f_search_word(&cursor->cond, loctset);
167 if (ret < 0) {
168 return ret;
170 if (ret == 0) {
188 NJ_INT16 ret = -1; local
241 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word);
242 if (ret <
373 NJ_INT16 ret = 0; local
458 NJ_INT16 ret; local
472 NJ_INT16 ret; local
481 NJ_INT16 ret = 0; local
540 NJ_INT16 ret = 0; local
818 NJ_INT16 ret; local
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeLlcpSocket.cpp114 NFCSTATUS ret; local
133 ret = phLibNfc_Llcp_Connect(hRemoteDevice,
139 if(ret != NFCSTATUS_PENDING)
141 ALOGE("phLibNfc_Llcp_Connect(%d) returned 0x%04x[%s]", nSap, ret, nfc_jni_get_status_name(ret));
144 TRACE("phLibNfc_Llcp_Connect(%d) returned 0x%04x[%s]", nSap, ret, nfc_jni_get_status_name(ret));
168 NFCSTATUS ret; local
192 ret = phLibNfc_Llcp_ConnectByUri(hRemoteDevice,
198 if(ret !
229 NFCSTATUS ret; local
250 NFCSTATUS ret; local
311 NFCSTATUS ret; local
377 NFCSTATUS ret; local
406 NFCSTATUS ret; local
[all...]
H A Dcom_android_nfc_NativeLlcpConnectionlessSocket.cpp60 NFCSTATUS ret; local
83 ret = phLibNfc_Llcp_SendTo(hRemoteDevice,
90 if(ret != NFCSTATUS_PENDING)
92 ALOGE("phLibNfc_Llcp_SendTo() returned 0x%04x[%s]", ret, nfc_jni_get_status_name(ret));
95 TRACE("phLibNfc_Llcp_SendTo() returned 0x%04x[%s]", ret, nfc_jni_get_status_name(ret));
122 NFCSTATUS ret; local
164 ret = phLibNfc_Llcp_RecvFrom(hRemoteDevice,
170 if(ret !
210 NFCSTATUS ret; local
[all...]
H A Dcom_android_nfc_NativeLlcpServiceSocket.cpp73 NFCSTATUS ret = NFCSTATUS_SUCCESS; local
115 ret = phLibNfc_Llcp_Accept( hIncomingSocket,
122 if(ret != NFCSTATUS_PENDING)
126 ALOGD("phLibNfc_Llcp_Accept() returned 0x%04x[%s]", ret, nfc_jni_get_status_name(ret));
129 TRACE("phLibNfc_Llcp_Accept() returned 0x%04x[%s]", ret, nfc_jni_get_status_name(ret));
181 NFCSTATUS ret; local
196 ret = phLibNfc_Llcp_Close(hLlcpSocket);
198 if(ret
[all...]
H A Dcom_android_nfc_NativeNfcManager.cpp313 int ret = 0; local
322 ret = hw_get_module(NFC_HARDWARE_MODULE_ID, &hw_module);
323 if (ret) {
327 ret = nfc_pn544_open(hw_module, &pn544_dev);
328 if (ret) {
558 ret = phLibNfc_SE_NtfRegister(nfc_jni_transaction_callback,(void *)nat);
560 if(ret != NFCSTATUS_SUCCESS)
562 ALOGD("phLibNfc_SE_NtfRegister returned 0x%02x",ret);
565 TRACE("phLibNfc_SE_NtfRegister returned 0x%x\n", ret);
909 NFCSTATUS ret; local
1227 NFCSTATUS ret; local
1290 NFCSTATUS ret; local
1365 NFCSTATUS ret; local
1454 unsigned int ret = 0; local
1787 NFCSTATUS ret; local
1853 NFCSTATUS ret; local
1875 NFCSTATUS ret; local
1982 NFCSTATUS ret; local
2112 NFCSTATUS ret; local
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DBoundedRect.java184 RectF ret = new RectF(newInner);
210 ret.left = (p[0] > ret.left) ? p[0] : ret.left;
211 ret.top = (p[1] > ret.top) ? p[1] : ret.top;
215 ret.right = (p[0] < ret.right) ? p[0] : ret
[all...]
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp132 int ret = addFrame(imageYVU); local
139 return ret;
152 int ret = MOSAIC_RET_ERROR; local
171 ret = MOSAIC_RET_OK;
175 ret = MOSAIC_RET_FEW_INLIERS;
178 ret = MOSAIC_RET_LOW_TEXTURE;
181 ret = MOSAIC_RET_ERROR;
188 return ret;
209 int ret = Blend::BLEND_RET_ERROR; local
214 ret
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DMosaic.cpp139 int ret = MOSAIC_RET_ERROR; local
158 ret = MOSAIC_RET_OK;
162 ret = MOSAIC_RET_FEW_INLIERS;
165 ret = MOSAIC_RET_LOW_TEXTURE;
168 ret = MOSAIC_RET_ERROR;
175 return ret;
196 int ret = Blend::BLEND_RET_ERROR; local
201 ret = blender->runBlend((MosaicFrame **) frames, (MosaicFrame **) rframes,
206 switch(ret)
210 ret
[all...]
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
H A DMicrophoneInputStream.java84 final int ret = mAudioRecord.read(b, offset, length);
85 if (ret == AudioRecord.ERROR_INVALID_OPERATION ||
86 ret == AudioRecord.ERROR_BAD_VALUE) {
87 throw new IOException("AudioRecord.read returned: " + ret);
90 return ret;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dmmapped_buffer.cpp88 int ret = munmap(mMmappedBuffer, mAlignedSize); local
89 if (ret != 0) {
90 AKLOGE("DICT: Failure in munmap. ret=%d errno=%d", ret, errno);
92 ret = close(mMmapFd);
93 if (ret != 0) {
94 AKLOGE("DICT: Failure in close. ret=%d errno=%d", ret, errno);
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DExchangeDirectoryProviderTests.java158 final int ret = comparator.compare(lhs, rhs);
159 assertEquals(ret, 1);
167 final int ret = comparator.compare(lhs, rhs);
168 assertEquals(ret, -1);
176 final int ret = comparator.compare(lhs, rhs);
177 assertEquals(ret, 0);
185 final int ret = comparator.compare(lhs, rhs);
186 assertEquals(ret, 1);
194 final int ret = comparator.compare(lhs, rhs);
195 assertEquals(ret,
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventColorPickerDialog.java42 EventColorPickerDialog ret = new EventColorPickerDialog();
43 ret.initialize(R.string.event_color_picker_dialog_title, colors, selectedColor, NUM_COLUMNS,
45 ret.setCalendarColor(calendarColor);
46 return ret;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackSource.java57 boolean ret = true;
63 ret = (-1 != database.insert(FilterStack.TABLE, null, val));
68 return ret;
85 boolean ret = true;
88 ret = (0 != database.delete(FilterStack.TABLE, FilterStack._ID + " = ?",
94 return ret;
108 byte[] ret = null;
117 ret = c.getBlob(0);
126 return ret;
130 ArrayList<FilterUserPresetRepresentation> ret
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DMediaCache.java69 final T ret = get(key);
70 if (ret != null) {
76 ret.addRef();
82 return ret;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterGradRepresentation.java277 boolean[] ret = new boolean[mBands.size()];
280 ret[i++] = !point.mask;
282 return ret;
286 int[] ret = new int[mBands.size()];
289 ret[i++] = point.xPos1;
291 return ret;
295 int[] ret = new int[mBands.size()];
298 ret[i++] = point.yPos1;
300 return ret;
304 int[] ret
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTestUtils.java38 final ContentValues ret = new ContentValues();
43 ret.putNull(name);
45 ret.put(name, (String) value);
47 ret.put(name, (Integer) value);
49 ret.put(name, (Long) value);
54 return ret;
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hid.cpp299 jboolean ret = JNI_TRUE; local
311 ret = JNI_FALSE;
315 return ret;
321 jboolean ret = JNI_TRUE; local
333 ret = JNI_FALSE;
337 return ret;
343 jboolean ret = JNI_TRUE; local
356 ret = JNI_FALSE;
360 return ret;
366 jboolean ret local
388 jboolean ret = JNI_TRUE; local
426 jboolean ret = JNI_TRUE; local
453 jboolean ret = JNI_TRUE; local
479 jboolean ret = JNI_TRUE; local
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DCandidateViewButton.java49 boolean ret = super.onTouchEvent(me);
63 return ret;
/packages/apps/Email/tests/src/com/android/email/mail/transport/
H A DDiscourseLoggerTest.java29 byte[] ret = new byte[chars.length()];
31 ret[i] = (byte) chars.charAt(i);
33 return ret;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifData.java256 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
262 ret.add(t);
267 if (ret.size() == 0) {
270 return ret;
286 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(tags.length);
288 ret.add(t);
290 if (ret.size() == 0) {
293 return ret;
301 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
306 ret
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifData.java256 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
262 ret.add(t);
267 if (ret.size() == 0) {
270 return ret;
286 ArrayList<ExifTag> ret = new ArrayList<ExifTag>(tags.length);
288 ret.add(t);
290 if (ret.size() == 0) {
293 return ret;
301 ArrayList<ExifTag> ret = new ArrayList<ExifTag>();
306 ret
[all...]

Completed in 6850 milliseconds

123456