Searched refs:handle (Results 1 - 25 of 40) sorted by relevance

12

/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcSecureElement.java53 private native boolean doNativeDisconnectSecureElementConnection(int handle); argument
55 public boolean doDisconnect(int handle) { argument
59 return doNativeDisconnectSecureElementConnection(handle);
62 public native byte[] doTransceive(int handle, byte[] data); argument
64 public native int[] doGetTechList(int handle); argument
66 public native byte [] doGetUid(int handle); argument
H A DNativeNfcTag.java52 // mConnectedHandle stores the *real* libnfc handle
60 // may occur runtime, whereas the underlying handle
62 // same handle, with the exception of multi-protocol
136 private native int doConnect(int handle); argument
144 // Get the handle and connect, if not already connected
146 // We're not yet connected to this handle, there are
150 // a different handle (multi-protocol tag); we support
157 // Connect to a tech with a different handle
158 Log.d(TAG,"Connect to a tech with a different handle");
168 // handle; w
276 doHandleReconnect(int handle) argument
277 reconnectWithStatus(int handle) argument
444 addTechnology(int tech, int handle, int libnfctype) argument
500 addNdefFormatableTechnology(int handle, int libnfcType) argument
511 addNdefTechnology(NdefMessage msg, int handle, int libnfcType, int javaType, int maxLength, int cardState) argument
563 hasTechOnHandle(int tech, int handle) argument
[all...]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcSecureElement.java53 private native boolean doNativeDisconnectSecureElementConnection(int handle); argument
55 public boolean doDisconnect(int handle) { argument
59 return doNativeDisconnectSecureElementConnection(handle);
62 public native byte[] doTransceive(int handle, byte[] data); argument
64 public native int[] doGetTechList(int handle); argument
66 public native byte [] doGetUid(int handle); argument
H A DNativeNfcTag.java51 // mConnectedHandle stores the *real* libnfc handle
59 // may occur runtime, whereas the underlying handle
61 // same handle, with the exception of multi-protocol
135 private native int doConnect(int handle); argument
147 // Get the handle and connect, if not already connected
149 // We're not yet connected to this handle, there are
153 // a different handle (multi-protocol tag); we support
159 // Connect to a tech with a different handle
168 // handle; we do not support connecting at a different
170 // any handle)
266 doHandleReconnect(int handle) argument
267 reconnectWithStatus(int handle) argument
455 addTechnology(int tech, int handle, int libnfctype) argument
498 addNdefFormatableTechnology(int handle, int libnfcType) argument
509 addNdefTechnology(NdefMessage msg, int handle, int libnfcType, int javaType, int maxLength, int cardState) argument
561 hasTechOnHandle(int tech, int handle) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DHandleMap.java38 int handle = 0; field in class:HandleMap.Entry
46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument
49 this.handle = handle;
55 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument
58 this.handle = handle;
64 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { argument
67 this.handle = handle;
89 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance) argument
93 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument
98 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument
102 setStarted(int serverIf, int handle, boolean started) argument
114 getByHandle(int handle) argument
165 addRequest(int requestId, int handle) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndldic.c100 #define COPY_QUE(handle, src, dst) \
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_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg);
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_UINT1
150 get_search_index_address(NJ_DIC_HANDLE handle, NJ_UINT8 search_pattern) argument
263 get_que_type_and_next(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
292 get_que_yomiLen_and_hyoukiLen(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
323 get_que_allHinsi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
352 get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
386 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
433 continue_cnt(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
481 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument
505 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg) argument
593 que_strcmp_include(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi) argument
680 get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument
766 get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument
1196 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
1395 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to) argument
1531 str_que_cmp(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 yomiLen, NJ_UINT16 que_id, NJ_UINT8 mode) argument
1656 calculate_hindo(NJ_DIC_HANDLE handle, NJ_INT32 freq, NJ_DIC_FREQ *dic_freq, NJ_INT16 freq_max, NJ_INT16 freq_min) argument
1838 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle) argument
2307 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
[all...]
H A Dndbdic.c112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom);
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle);
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle);
595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle);
596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle);
598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle);
599 y = YOMI_INDX_SIZE(loctset->loct.handle);
600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle);
602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle);
950 next = get_stem_next(loctset->loct.handle, stem_dat
2250 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT32 top, NJ_DIC_HANDLE handle, NJ_UINT32 * ret_bottom) argument
[all...]
H A Dndfdic.c88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset;
95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) {
106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE;
120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) {
131 hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current);
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current;
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current;
373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data);
375 if (YOMI_INDX_CNT(loc->handle) == 0) {
392 len = convert_to_yomi(loc->handle, are
[all...]
H A Dndapi.c46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
66 if (dicinfo->handle != NULL) {
76 loctset->loct.handle = dicinfo->handle;
136 if (loctset->loct.handle == NULL) {
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
209 if ((loctset->loct.handle == NULL) ||
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
337 ((loctset->loct.handle != NULL) &&
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
580 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle) argument
839 njx_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 restore, NJ_UINT32 size) argument
[all...]
/packages/apps/Nfc/nci/jni/
H A DNativeSecureElement.cpp98 ALOGD("%s: exit; return handle=0x%X", __FUNCTION__, secElemHandle);
110 ** handle: Handle of secure element.
115 static jboolean nativeNfcSecureElement_doDisconnectSecureElementConnection (JNIEnv*, jobject, jint handle) argument
117 ALOGD("%s: enter; handle=0x%04x", __FUNCTION__, handle);
120 stat = SecureElement::getInstance().disconnectEE (handle);
125 SecureElement::getInstance().deactivate (handle);
143 ** handle: Secure element's handle.
149 static jbyteArray nativeNfcSecureElement_doTransceive (JNIEnv* e, jobject, jint handle, jbyteArra argument
[all...]
H A DNativeLlcpConnectionlessSocket.cpp66 jint handle = e->GetIntField(o, f); local
77 tNFA_STATUS status = NFA_P2pSendUI((tNFA_HANDLE) handle, nsap, byte_count, raw_ptr);
266 jint handle = e->GetIntField(o, f); local
268 tNFA_STATUS status = NFA_P2pDisconnect((tNFA_HANDLE) handle, FALSE);
H A DPeerToPeer.cpp125 ** Description: Find a PeerToPeer object by connection handle.
127 ** nfaP2pServerHandle: Connectin handle.
152 ** Description: Find a PeerToPeer object by connection handle.
204 ** jniHandle: Connection handle.
213 ALOGD ("%s: enter; service name: %s JNI handle: %u", fn, serviceName, jniHandle);
220 ALOGD ("%s: service name=%s already registered, handle: 0x%04x", fn, serviceName, pSrv->mNfaP2pServerHandle);
222 // Update JNI handle
234 ALOGD ("%s: added new p2p server index: %d handle: %u name: %s", fn, ii, jniHandle, serviceName);
250 ALOGE ("%s: invalid server handle", fn);
262 ** jniHandle: Connection handle
[all...]
H A DRoutingManager.cpp238 ALOGD("%s: NFA_CE_REGISTERED_EVT; status=0x%X; h=0x%X", fn, ce_registered.status, ce_registered.handle);
245 ALOGD("%s: NFA_CE_DEREGISTERED_EVT; h=0x%X", fn, ce_deregistered.handle);
263 ALOGD("%s: NFA_CE_DATA_EVT; h=0x%X; data len=%u", fn, ce_data.handle, ce_data.len);
300 ALOGD ("%s: NFA_EE_MODE_SET_EVT; status: 0x%04X handle: 0x%04X mActiveEeHandle: 0x%04X", fn,
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java168 long handle; field in class:BluetoothMapContentObserver.Event
173 public Event(String eventType, long handle, String folder, argument
177 this.handle = handle;
203 xmlEvtReport.attribute("", "handle", BluetoothMapUtils.getMapHandle(handle, msgType));
261 Log.d(TAG, "sendEvent: " + evt.eventType + " " + evt.handle + " "
438 private boolean deleteMessageMms(long handle) { argument
440 Uri uri = ContentUris.withAppendedId(Mms.CONTENT_URI, handle);
452 mMsgListMms.remove(handle);
470 unDeleteMessageMms(long handle) argument
505 deleteMessageSms(long handle) argument
538 unDeleteMessageSms(long handle) argument
562 setMessageStatusDeleted(long handle, TYPE type, int statusValue) argument
583 setMessageStatusRead(long handle, TYPE type, int statusValue) argument
742 moveDraftToOutbox(long handle) argument
902 writeMmsDataPart(long handle, MimePart part, int count) argument
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeP2pDevice.cpp108 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status)
121 phLibNfc_Handle handle = 0; local
136 handle = nfc_jni_get_p2p_device_handle(e, o);
146 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback, (void*)&cb_data);
202 phLibNfc_Handle handle = 0; local
209 handle = nfc_jni_get_p2p_device_handle(e, o);
218 TRACE("Disconnecting from target (handle = 0x%x)", handle);
227 status = phLibNfc_RemoteDev_Disconnect(handle, NFC_DISCOVERY_CONTINUE,nfc_jni_disconnect_callback, (void *)&cb_data);
278 phLibNfc_Handle handle local
107 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
360 phLibNfc_Handle handle; local
416 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); local
[all...]
H A Dcom_android_nfc_NativeNfcTag.cpp26 static phLibNfc_Handle handle; variable
134 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status)
181 phLibNfc_Handle handle = 0; local
193 handle = nfc_jni_get_connected_handle(e, o);
200 status = phLibNfc_Ndef_Read(handle, &nfc_jni_ndef_rw,
243 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); local
257 TRACE("Ndef Handle :0x%x\n",handle);
260 status = phLibNfc_Ndef_Write(handle, &nfc_jni_ndef_rw,nfc_jni_tag_rw_callback, (void *)&cb_data);
441 jobject o, phLibNfc_Handle handle)
458 storedHandle = handle;
133 nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
440 com_android_nfc_NativeNfcTag_doConnect(JNIEnv *e, jobject o, phLibNfc_Handle handle) argument
495 com_android_nfc_NativeNfcTag_doHandleReconnect(JNIEnv *e, jobject o, phLibNfc_Handle handle) argument
554 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e,o); local
569 phLibNfc_Handle handle = 0; local
710 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); local
935 phLibNfc_Handle handle = 0; local
1008 phLibNfc_Handle handle = 0; local
1103 phLibNfc_Handle handle = 0; local
1154 phLibNfc_Handle handle = 0; local
[all...]
H A Dcom_android_nfc.cpp406 * Utility to get a technology tree and a corresponding handle list from a detected tag.
419 // ISO handle is usually the second, and we prefer the ISO. Should implement
420 // a method to find the "preferred handle order" and use that instead,
424 int handle = devList[target].hTargetDev; local
431 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
437 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
439 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type);
444 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3A, handle, type);
452 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type);
454 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, typ
[all...]
H A Dcom_android_nfc_NativeNfcSecureElement.cpp52 phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status)
134 TRACE("Protocol %d handle=%x type=%d", i, psRemoteDevList[i].hTargetDev,
474 static jboolean com_android_nfc_NativeNfcSecureElement_doDisconnect(JNIEnv *e, jobject o, jint handle) argument
501 TRACE("Disconnecting from SMX (handle = 0x%x)", handle);
503 status = phLibNfc_RemoteDev_Disconnect(handle,
609 jobject o,jint handle, jbyteArray data)
662 status = phLibNfc_RemoteDev_Transceive(handle, &transceive_info,
710 static jbyteArray com_android_nfc_NativeNfcSecureElement_doGetUid(JNIEnv *e, jobject o, jint handle) argument
715 if(handle
51 com_android_nfc_jni_transceive_callback(void *pContext, phLibNfc_Handle handle, phNfc_sData_t *pResBuffer, NFCSTATUS status) argument
608 com_android_nfc_NativeNfcSecureElement_doTransceive(JNIEnv *e, jobject o,jint handle, jbyteArray data) argument
727 com_android_nfc_NativeNfcSecureElement_doGetTechList(JNIEnv *e, jobject o, jint handle) argument
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DGlowPadWrapper.java93 public void onGrabbed(View v, int handle) { argument
99 public void onReleased(View v, int handle) { argument
132 public void onGrabbedStateChange(View v, int handle) { argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_ext.h62 #define NJ_GET_DIC_TYPE_EX(type, handle) \
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);
H A Dnj_lib.h148 NJ_DIC_HANDLE handle; member in struct:__anon38
212 NJ_DIC_HANDLE handle; member in struct:__anon43
347 NJ_EXTERN NJ_INT16 njx_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 restore, NJ_UINT32 size);
350 NJ_EXTERN NJ_INT16 njx_create_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_INT8 type, NJ_UINT32 size);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGradControl.java96 int handle = -1;
103 handle = i;
108 return handle;
140 public void actionMove(int handle, float x, float y, Line line) { argument
157 switch (handle) {
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.java77 public void onGrabbed(View v, int handle) { argument
82 public void onReleased(View v, int handle) { argument
106 public void onGrabbedStateChange(View v, int handle) { argument
248 // Do this on key down to handle a few of the system keys.
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java182 public int handle; field in class:GLES20Canvas.ShaderParameter
199 handle = GLES20.glGetUniformLocation(program, mName);
211 handle = GLES20.glGetAttribLocation(program, mName);
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0);
547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX,
557 int positionHandle = params[INDEX_POSITION].handle;
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE);
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0);
709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0);
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlph
[all...]
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java182 public int handle; field in class:GLES20Canvas.ShaderParameter
199 handle = GLES20.glGetUniformLocation(program, mName);
211 handle = GLES20.glGetAttribLocation(program, mName);
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0);
547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX,
557 int positionHandle = params[INDEX_POSITION].handle;
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE);
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0);
709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0);
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlph
[all...]

Completed in 367 milliseconds

12