/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcSecureElement.java | 53 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 D | NativeNfcTag.java | 52 // 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 D | NativeNfcSecureElement.java | 53 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 D | NativeNfcTag.java | 51 // 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/Nfc/nci/jni/ |
H A D | NativeLlcpConnectionlessSocket.cpp | 66 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 D | NativeSecureElement.cpp | 98 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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | HandleMap.java | 38 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/apps/InCallUI/src/com/android/incallui/ |
H A D | GlowPadWrapper.java | 93 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/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeP2pDevice.cpp | 108 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 D | com_android_nfc.cpp | 406 * 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 D | com_android_nfc_NativeNfcSecureElement.cpp | 52 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...] |
H A D | com_android_nfc_NativeNfcTag.cpp | 26 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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapObexServer.java | 260 long handle = observer.pushMessage(message, folderName, appParams); 261 if (D) Log.d(TAG, "pushMessage handle: " + handle); 262 if (handle < 0) { 266 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); 286 long handle; 300 handle = BluetoothMapUtils.getCpHandle(msgHandle); 303 Log.w(TAG, "Wrongly formatted message handle: " + msgHandle); 308 if (!observer.setMessageStatusDeleted(handle, msgType, value)) { 312 if (!observer.setMessageStatusRead(handle, msgTyp 642 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams) argument [all...] |
H A D | BluetoothMapMessageListingElement.java | 38 private long cpHandle = 0; /* The content provider handle - without type information */ 39 private String mapHandle = null; /* The map hex-string handle with type information */ 61 public void setHandle(long handle, TYPE type) { argument 62 this.cpHandle = handle; 224 xmlMsgElement.attribute("", "handle", mapHandle);
|
H A D | BluetoothMapContentObserver.java | 168 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...] |
H A D | BluetoothMapContent.java | 641 long handle = c.getLong(c.getColumnIndex(BaseColumns._ID)); 652 if (D) Log.d(TAG, "setHandle: " + handle + " - Type: " + type.name()); 653 e.setHandle(handle, type); 1310 public byte[] getMessage(String handle, BluetoothMapAppParams appParams) throws UnsupportedEncodingException{ argument 1311 TYPE type = BluetoothMapUtils.getMsgTypeFromHandle(handle); 1312 long id = BluetoothMapUtils.getCpHandle(handle); 1320 throw new IllegalArgumentException("Email not implemented - invalid message handle."); 1322 throw new IllegalArgumentException("Invalid message handle."); 1446 throw new IllegalArgumentException("SMS handle not found"); 1648 throw new IllegalArgumentException("MMS handle no [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmActivity.java | 77 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/filtershow/imageshow/ |
H A D | EclipseControl.java | 79 int handle = -1; 86 handle = i; 91 return handle; 124 public void actionMove(int handle, float x, float y, Oval oval) { argument 138 switch (handle) {
|
H A D | GradControl.java | 96 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/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndapi.c | 46 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/Bluetooth/jni/ |
H A D | com_android_bluetooth_gatt.cpp | 608 void btgatts_response_confirmation_cb(int status, int handle) argument 612 status, handle); 1221 jint handle, jint offset, jbyteArray val, jint auth_req) 1227 response.attr_value.handle = handle; 1219 gattServerSendResponseNative(JNIEnv *env, jobject object, jint server_if, jint conn_id, jint trans_id, jint status, jint handle, jint offset, jbyteArray val, jint auth_req) argument
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | GlowPadView.java | 74 public void onGrabbed(View v, int handle); argument 75 public void onReleased(View v, int handle); argument 77 public void onGrabbedStateChange(View v, int handle); argument 222 TypedValue handle = a.peekValue(R.styleable.GlowPadView_handleDrawable); 223 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0, 2); 311 // View should be large enough to contain the background + handle and 466 // Animate handle back to the center based on current state. 817 // want to revisit how we handle this. For now we'll allow a canceled event to
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 182 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/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | GlowPadView.java | 74 public void onGrabbed(View v, int handle); argument 75 public void onReleased(View v, int handle); argument 77 public void onGrabbedStateChange(View v, int handle); argument 225 TypedValue handle = a.peekValue(R.styleable.GlowPadView_handleDrawable); 226 mHandleDrawable = new TargetDrawable(res, handle != null ? handle.resourceId : 0, 2); 314 // View should be large enough to contain the background + handle and 492 // Animate handle back to the center based on current state. 849 // want to revisit how we handle this. For now we'll allow a canceled event to
|
/packages/apps/Launcher3/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 182 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...] |