Home
last modified time | relevance | path

Searched refs:pContext (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Nfc/jni/
Dcom_android_nfc_NativeP2pDevice.cpp32 static void nfc_jni_presence_check_callback(void* pContext, NFCSTATUS status) in nfc_jni_presence_check_callback() argument
34 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_presence_check_callback()
42 static void nfc_jni_connect_callback(void *pContext, in nfc_jni_connect_callback() argument
46 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_connect_callback()
47 phNfc_sData_t * psGeneralBytes = (phNfc_sData_t *)pCallbackData->pContext; in nfc_jni_connect_callback()
62 static void nfc_jni_disconnect_callback(void *pContext, phLibNfc_Handle hRemoteDev, NFCSTATUS statu… in nfc_jni_disconnect_callback() argument
64 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_disconnect_callback()
72 static void nfc_jni_receive_callback(void *pContext, phNfc_sData_t *data, NFCSTATUS status) in nfc_jni_receive_callback() argument
74 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_receive_callback()
75 phNfc_sData_t **ptr = (phNfc_sData_t **)pCallbackData->pContext; in nfc_jni_receive_callback()
[all …]
Dcom_android_nfc_NativeLlcpConnectionlessSocket.cpp28 static void nfc_jni_receive_callback(void* pContext, uint8_t ssap, NFCSTATUS status) in nfc_jni_receive_callback() argument
30 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_receive_callback()
35 pCallbackData->pContext = (void*)ssap; in nfc_jni_receive_callback()
44 static void nfc_jni_send_callback(void *pContext, NFCSTATUS status) in nfc_jni_send_callback() argument
46 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_send_callback()
188 ssap = (uint32_t)cb_data.pContext; in com_android_nfc_NativeLlcpConnectionlessSocket_doReceiveFrom()
Dcom_android_nfc_NativeLlcpSocket.cpp28 static void nfc_jni_disconnect_callback(void* pContext, in nfc_jni_disconnect_callback() argument
31 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_disconnect_callback()
40 static void nfc_jni_connect_callback(void* pContext, uint8_t nErrCode, NFCSTATUS status) in nfc_jni_connect_callback() argument
42 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_connect_callback()
89 static void nfc_jni_receive_callback(void* pContext, NFCSTATUS status) in nfc_jni_receive_callback() argument
91 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_receive_callback()
99 static void nfc_jni_send_callback(void *pContext, NFCSTATUS status) in nfc_jni_send_callback() argument
101 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_send_callback()
Dcom_android_nfc_NativeNfcSecureElement.cpp31 static void com_android_nfc_jni_ioctl_callback ( void* pContext, in com_android_nfc_jni_ioctl_callback() argument
35 struct nfc_jni_callback_data * pContextData = (struct nfc_jni_callback_data*)pContext; in com_android_nfc_jni_ioctl_callback()
51 static void com_android_nfc_jni_transceive_callback(void *pContext, in com_android_nfc_jni_transceive_callback() argument
54 struct nfc_jni_callback_data * pContextData = (struct nfc_jni_callback_data*)pContext; in com_android_nfc_jni_transceive_callback()
64 static void com_android_nfc_jni_connect_callback(void *pContext, in com_android_nfc_jni_connect_callback() argument
68 struct nfc_jni_callback_data * pContextData = (struct nfc_jni_callback_data*)pContext; in com_android_nfc_jni_connect_callback()
76 static void com_android_nfc_jni_disconnect_callback(void *pContext, in com_android_nfc_jni_disconnect_callback() argument
80 struct nfc_jni_callback_data * pContextData = (struct nfc_jni_callback_data*)pContext; in com_android_nfc_jni_disconnect_callback()
89 static void com_android_nfc_jni_smartMX_setModeCb (void* pContext, in com_android_nfc_jni_smartMX_setModeCb() argument
93 struct nfc_jni_callback_data * pContextData = (struct nfc_jni_callback_data*)pContext; in com_android_nfc_jni_smartMX_setModeCb()
[all …]
Dcom_android_nfc_NativeNfcTag.cpp40 static void nfc_jni_tag_rw_callback(void *pContext, NFCSTATUS status) in nfc_jni_tag_rw_callback() argument
42 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_tag_rw_callback()
50 static void nfc_jni_connect_callback(void *pContext, in nfc_jni_connect_callback() argument
54 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_connect_callback()
59 if (pCallbackData->pContext != NULL) { in nfc_jni_connect_callback()
64 (phLibNfc_sRemoteDevInformation_t**)pCallbackData->pContext; in nfc_jni_connect_callback()
71 static void nfc_jni_checkndef_callback(void *pContext, in nfc_jni_checkndef_callback() argument
74 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_checkndef_callback()
76 phLibNfc_ChkNdef_Info_t* pNdefInfo = (phLibNfc_ChkNdef_Info_t*) (pCallbackData->pContext); in nfc_jni_checkndef_callback()
98 static void nfc_jni_disconnect_callback(void *pContext, in nfc_jni_disconnect_callback() argument
[all …]
Dcom_android_nfc_NativeNfcManager.cpp68 static void nfc_jni_init_callback(void *pContext, NFCSTATUS status);
69 static void nfc_jni_deinit_callback(void *pContext, NFCSTATUS status);
70 static void nfc_jni_discover_callback(void *pContext, NFCSTATUS status);
73 static void nfc_jni_llcpcfg_callback(void *pContext, NFCSTATUS status);
75 static void nfc_jni_Discovery_notification_callback(void *pContext,
113 static void nfc_jni_ioctl_callback(void *pContext, phNfc_sData_t *pOutput, NFCSTATUS status) { in nfc_jni_ioctl_callback() argument
114 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_ioctl_callback()
122 static void nfc_jni_deinit_download_callback(void *pContext, NFCSTATUS status) in nfc_jni_deinit_download_callback() argument
124 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_deinit_download_callback()
748 static void nfc_jni_llcp_linkStatus_callback(void *pContext, in nfc_jni_llcp_linkStatus_callback() argument
[all …]
Dcom_android_nfc_NativeLlcpServiceSocket.cpp24 extern void nfc_jni_llcp_transport_socket_err_callback(void* pContext,
29 static void nfc_jni_llcp_accept_socket_callback(void* pContext, in nfc_jni_llcp_accept_socket_callback() argument
32 struct nfc_jni_callback_data * pCallbackData = (struct nfc_jni_callback_data *) pContext; in nfc_jni_llcp_accept_socket_callback()
Dcom_android_nfc.h190 void* pContext; member
219 bool nfc_cb_data_init(nfc_jni_callback_data* pCallbackData, void* pContext);
Dcom_android_nfc.cpp77 bool nfc_cb_data_init(nfc_jni_callback_data* pCallbackData, void* pContext) in nfc_cb_data_init() argument
90 pCallbackData->pContext = pContext; in nfc_cb_data_init()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java96 public static View initSnippetForInstalledApp(Activity pContext, in initSnippetForInstalledApp() argument
98 final PackageManager pm = pContext.getPackageManager(); in initSnippetForInstalledApp()
115 public static View initSnippetForNewApp(Activity pContext, AppSnippet as, in initSnippetForNewApp() argument
117 View appSnippet = pContext.findViewById(snippetId); in initSnippetForNewApp()
153 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument
155 Resources pRes = pContext.getResources(); in getAppSnippet()
182 icon = pContext.getPackageManager().getDefaultActivityIcon(); in getAppSnippet()