/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndldic.c | 100 #define COPY_QUE(handle, src, dst) \ argument 101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle)) 110 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id); 111 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id); 112 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id); 113 static NJ_INT16 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que… 114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen); 115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen); 119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yo… 120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *y… [all …]
|
D | ndbdic.c | 112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom); 585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node() 588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node() 595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); in search_node() 596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); in search_node() 598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); in search_node() 599 y = YOMI_INDX_SIZE(loctset->loct.handle); in search_node() 600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); in search_node() 602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in search_node() 950 next = get_stem_next(loctset->loct.handle, stem_data); in search_node() [all …]
|
D | ndapi.c | 46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 66 if (dicinfo->handle != NULL) { in check_search_cursor() 76 loctset->loct.handle = dicinfo->handle; in check_search_cursor() 136 if (loctset->loct.handle == NULL) { in search_word() 140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in search_word() 209 if ((loctset->loct.handle == NULL) || in get_word_and_search_next_word() 215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word() 337 ((loctset->loct.handle != NULL) && in get_word_and_search_next_word() 339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word() 382 if (loctset->loct.handle == NULL) { in njd_get_word_data() [all …]
|
D | ndfdic.c | 88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; in search_data() 95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { in search_data() 106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; in search_data() 120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { in search_data() 131 … hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); in search_data() 329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; in njd_f_get_word() 370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke() 373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); in njd_f_get_stroke() 375 if (YOMI_INDX_CNT(loc->handle) == 0) { in njd_f_get_stroke() 392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); in njd_f_get_stroke() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/nxp/ |
D | NativeNfcSecureElement.java | 53 private native boolean doNativeDisconnectSecureElementConnection(int handle); in doNativeDisconnectSecureElementConnection() argument 55 public boolean doDisconnect(int handle) { in doDisconnect() argument 59 return doNativeDisconnectSecureElementConnection(handle); in doDisconnect() 62 public native byte[] doTransceive(int handle, byte[] data); in doTransceive() argument 64 public native int[] doGetTechList(int handle); in doGetTechList() argument 66 public native byte [] doGetUid(int handle); in doGetUid() argument
|
D | NativeNfcTag.java | 137 private native int doConnect(int handle); in doConnect() argument 261 native int doHandleReconnect(int handle); in doHandleReconnect() argument 262 public synchronized int reconnectWithStatus(int handle) { in reconnectWithStatus() argument 266 int status = doHandleReconnect(handle); in reconnectWithStatus() 450 private void addTechnology(int tech, int handle, int libnfctype) { in addTechnology() argument 458 mNewHandleList[mTechHandles.length] = handle; in addTechnology() 493 public void addNdefFormatableTechnology(int handle, int libnfcType) { in addNdefFormatableTechnology() argument 495 addTechnology(TagTechnology.NDEF_FORMATABLE, handle, libnfcType); in addNdefFormatableTechnology() 504 public void addNdefTechnology(NdefMessage msg, int handle, int libnfcType, in addNdefTechnology() argument 507 addTechnology(TagTechnology.NDEF, handle, libnfcType); in addNdefTechnology() [all …]
|
/packages/apps/Nfc/jni/ |
D | com_android_nfc_NativeP2pDevice.cpp | 107 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) in nfc_jni_transceive_callback() argument 120 phLibNfc_Handle handle = 0; in com_android_nfc_NativeP2pDevice_doConnect() local 135 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doConnect() 145 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback, (void*)&cb_data); in com_android_nfc_NativeP2pDevice_doConnect() 201 phLibNfc_Handle handle = 0; in com_android_nfc_NativeP2pDevice_doDisconnect() local 208 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doDisconnect() 217 TRACE("Disconnecting from target (handle = 0x%x)", handle); in com_android_nfc_NativeP2pDevice_doDisconnect() 226 …status = phLibNfc_RemoteDev_Disconnect(handle, NFC_DISCOVERY_CONTINUE,nfc_jni_disconnect_callback,… in com_android_nfc_NativeP2pDevice_doDisconnect() 277 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doTransceive() local 290 TRACE("Transceive data to target (handle = 0x%x)", handle); in com_android_nfc_NativeP2pDevice_doTransceive() [all …]
|
D | com_android_nfc_NativeNfcTag.cpp | 24 static phLibNfc_Handle handle; variable 132 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) in nfc_jni_transceive_callback() argument 179 phLibNfc_Handle handle = 0; in com_android_nfc_NativeNfcTag_doRead() local 191 handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doRead() 198 status = phLibNfc_Ndef_Read(handle, &nfc_jni_ndef_rw, in com_android_nfc_NativeNfcTag_doRead() 241 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doWrite() local 255 TRACE("Ndef Handle :0x%x\n",handle); in com_android_nfc_NativeNfcTag_doWrite() 258 status = phLibNfc_Ndef_Write(handle, &nfc_jni_ndef_rw,nfc_jni_tag_rw_callback, (void *)&cb_data); in com_android_nfc_NativeNfcTag_doWrite() 448 jobject o, phLibNfc_Handle handle) in com_android_nfc_NativeNfcTag_doConnect() argument 467 storedHandle = handle; in com_android_nfc_NativeNfcTag_doConnect() [all …]
|
D | com_android_nfc.cpp | 471 int handle = devList[target].hTargetDev; in nfc_jni_get_technology_tree() local 478 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree() 484 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree() 486 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type); in nfc_jni_get_technology_tree() 491 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3A, handle, type); in nfc_jni_get_technology_tree() 499 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree() 501 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type); in nfc_jni_get_technology_tree() 506 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO15693, handle, type); in nfc_jni_get_technology_tree() 520 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_MIFARE_UL, handle, type); in nfc_jni_get_technology_tree() 524 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_MIFARE_CLASSIC, handle, type); in nfc_jni_get_technology_tree() [all …]
|
D | com_android_nfc_NativeNfcSecureElement.cpp | 52 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) in com_android_nfc_jni_transceive_callback() argument 475 …tic jboolean com_android_nfc_NativeNfcSecureElement_doDisconnect(JNIEnv *e, jobject o, jint handle) in com_android_nfc_NativeNfcSecureElement_doDisconnect() argument 502 TRACE("Disconnecting from SMX (handle = 0x%x)", handle); in com_android_nfc_NativeNfcSecureElement_doDisconnect() 504 status = phLibNfc_RemoteDev_Disconnect(handle, in com_android_nfc_NativeNfcSecureElement_doDisconnect() 610 jobject o,jint handle, jbyteArray data) in com_android_nfc_NativeNfcSecureElement_doTransceive() argument 663 status = phLibNfc_RemoteDev_Transceive(handle, &transceive_info, in com_android_nfc_NativeNfcSecureElement_doTransceive() 711 static jbyteArray com_android_nfc_NativeNfcSecureElement_doGetUid(JNIEnv *e, jobject o, jint handle) in com_android_nfc_NativeNfcSecureElement_doGetUid() argument 716 if(handle == secureElementHandle) in com_android_nfc_NativeNfcSecureElement_doGetUid() 728 …c jintArray com_android_nfc_NativeNfcSecureElement_doGetTechList(JNIEnv *e, jobject o, jint handle) in com_android_nfc_NativeNfcSecureElement_doGetTechList() argument 733 if(handle == secureElementHandle) in com_android_nfc_NativeNfcSecureElement_doGetTechList()
|
D | com_android_nfc_NativeNfcManager.cpp | 72 phLibNfc_Handle handle, NFCSTATUS status); 79 phLibNfc_eSE_EvtType_t evt_type, phLibNfc_Handle handle, 1134 phLibNfc_eSE_EvtType_t evt_type, phLibNfc_Handle handle, in nfc_jni_transaction_callback() argument 1297 phLibNfc_Handle handle, NFCSTATUS status) in nfc_jni_se_set_mode_callback() argument
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 62 #define NJ_GET_DIC_TYPE_EX(type, handle) \ argument 63 NJ_GET_DIC_TYPE((handle)) 119 extern NJ_INT16 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 120 extern NJ_INT16 njd_l_init_area(NJ_DIC_HANDLE handle); 126 extern NJ_INT16 njd_l_mld_op_commit(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 127 extern NJ_INT16 njd_l_mld_op_commit_to_top(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 128 extern NJ_INT16 njd_l_mld_op_commit_cancel(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 129 extern NJ_INT16 njd_l_mld_op_get_space(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
|
D | nj_lib.h | 148 NJ_DIC_HANDLE handle; member 212 NJ_DIC_HANDLE handle; member 347 NJ_EXTERN NJ_INT16 njx_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 restore, NJ_UINT32 … 350 NJ_EXTERN NJ_INT16 njx_create_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_INT8 type, NJ_UINT32 siz…
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 598 int handle = mSecureElement.doOpenSecureElementConnection(); in executeEeWipe() local 599 if (handle == 0) { in executeEeWipe() 610 byte[] resp = mSecureElement.doTransceive(handle, cmd); in executeEeWipe() 618 mSecureElement.doDisconnect(handle); in executeEeWipe() 1204 mSecureElement.doDisconnect(mOpenEe.handle); in _nfcEeClose() 1247 int handle = mSecureElement.doOpenSecureElementConnection(); in _open() local 1248 if (handle == 0) { in _open() 1253 mOpenEe = new OpenSecureElement(getCallingPid(), handle, b); in _open() 1311 return mSecureElement.doTransceive(mOpenEe.handle, data); in _transceive() 1342 public int handle; // low-level handle field in NfcService.OpenSecureElement [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 439 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, in insertStatusUpdate() argument 441 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, chatMode, in insertStatusUpdate() 445 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, in insertStatusUpdate() argument 447 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0, chatMode, in insertStatusUpdate() 451 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, in insertStatusUpdate() argument 456 values.put(StatusUpdates.IM_HANDLE, handle); in insertStatusUpdate() 515 String handle) { in insertImHandle() argument 521 values.put(Im.DATA, handle); in insertImHandle()
|
/packages/apps/Phone/src/com/android/phone/ |
D | InCallTouchUi.java | 970 public void onGrabbed(View v, int handle) { in onGrabbed() argument 975 public void onReleased(View v, int handle) { in onReleased() argument
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2404 int handle = Integer.parseInt(uri.getPathSegments().get(2)); in query() local 2405 return getObjectReferences(helper, db, handle); in query() 2613 int handle = Integer.parseInt(uri.getPathSegments().get(2)); in bulkInsert() local 2614 return setObjectReferences(helper, db, handle, values); in bulkInsert() 3015 private Cursor getObjectReferences(DatabaseHelper helper, SQLiteDatabase db, int handle) { in getObjectReferences() argument 3018 new String[] { Integer.toString(handle) }, in getObjectReferences() 3041 int handle, ContentValues values[]) { in setObjectReferences() argument 3046 new String[] { Integer.toString(handle) }, in setObjectReferences()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 38 dicInfo->handle = NULL; in clearDictionaryStructure() 362 work->dicSet.dic[ index ].handle = work->dicHandle[ index ]; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 2992 final String handle = values.getAsString(StatusUpdates.IM_HANDLE); in insertStatusUpdate() local 3019 if (TextUtils.isEmpty(handle) || protocol == null) { in insertStatusUpdate() 3041 mSelectionArgs.add(handle); in insertStatusUpdate() 3056 mSelectionArgs.add(handle); in insertStatusUpdate() 3103 mValues.put(StatusUpdates.IM_HANDLE, handle); in insertStatusUpdate()
|