#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
void __attribute__ ((constructor)) lib_init()
{
}
net_nfc_client_tag_deinit();
net_nfc_client_manager_deinit();
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API
net_nfc_error_e net_nfc_client_initialize()
return ret;
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API net_nfc_error_e net_nfc_create_data_only(data_h *data)
{
return net_nfc_create_data(data, NULL, 0);
return NET_NFC_OK;
}
+
+/* LCOV_EXCL_STOP */
+
#include "net_nfc_client_manager.h"
#include "net_nfc_client_handover.h"
+/* LCOV_EXCL_START */
+
#ifndef NET_NFC_EXPORT_API
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
handover_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#include "net_nfc_client_hce_ipc.h"
#include "net_nfc_client_hce.h"
+/* LCOV_EXCL_START */
+
#ifndef NET_NFC_EXPORT_API
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
hce_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#include <signal.h>
#include <glib-object.h>
+/* LCOV_EXCL_START */
+
#include "net_nfc_typedef_internal.h"
#include "net_nfc_debug_internal.h"
#include "net_nfc_util_defines.h"
if (net_nfc_client_hce_ipc_is_initialized() == true)
_finalize_client_socket();
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
typedef struct _LlcpFuncData LlcpFuncData;
struct _LlcpFuncData {
llcp_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
#define DEACTIVATE_DELAY 500 /* ms */
#define ACTIVATE_DELAY 100 /* ms */
return is_activated;
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static NetNfcGDbusNdef *ndef_proxy = NULL;
static gboolean ndef_is_supported_tag(void);
ndef_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
#ifndef NET_NFC_MANAGER_DATA_PATH
#define NET_NFC_MANAGER_DATA_PATH "/opt/usr/share/nfc-manager-daemon"
return result;
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API
net_nfc_error_e net_nfc_create_carrier_config(net_nfc_carrier_config_h *config,
net_nfc_conn_handover_carrier_type_e type)
{
return net_nfc_util_create_handover_error_record((ndef_record_s **)record, reason, data);
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API
net_nfc_error_e net_nfc_create_record(ndef_record_h *record,
net_nfc_record_tnf_e tnf, data_h typeName, data_h id, data_h payload)
return net_nfc_util_create_uri_string_from_uri_record(
(ndef_record_s *)record, uri);
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
typedef struct _P2p_SignalHandler P2pSignalHandler;
struct _P2p_SignalHandler {
p2p_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
typedef struct _SeFuncData SeFuncData;
struct _SeFuncData {
auto_start_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API net_nfc_error_e net_nfc_sign_records(ndef_message_h msg, int begin_index, int end_index, char *cert_file, char *password)
{
return net_nfc_util_sign_records((ndef_message_s *)msg, begin_index, end_index, cert_file, password);
{
return net_nfc_util_verify_signature_records((ndef_record_s *)begin_record, (ndef_record_s *)sign_record);
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static NetNfcGDbusSnep *snep_proxy = NULL;
/*******************************************************************/
snep_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static NetNfcGDbusPopup *popup_proxy = NULL;
static int popup_state = 0;
popup_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static NetNfcGDbusTag *tag_proxy = NULL;
static NetNfcCallback tag_discovered_func_data;
tag_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
#define FELICA_CMD_POLL 0x00
#define FELICA_CMD_REQ_SERVICE 0x02
#define FELICA_CMD_REQ_RESPONSE 0x04
callback,
user_data);
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
#define JEWEL_CMD_REQA 0x26
#define JEWEL_CMD_WUPA 0x52
callback,
user_data);
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
#define MIFARE_CMD_RAW 0x00U
#define MIFARE_CMD_AUTH_A 0x60U /**< authenticate with key A */
#define MIFARE_CMD_AUTH_B 0x61U /**< authenticate with key B */
return net_nfc_create_data(key, net_nfc_forum_key, 6);
}
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
NET_NFC_EXPORT_API
net_nfc_error_e net_nfc_get_tag_type(net_nfc_target_info_h target_info,
net_nfc_target_type_e *type)
return result;
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static void test_call_sim_test_callback(GObject *source_object,
GAsyncResult *res,
gpointer user_data);
test_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+
#define NET_NFC_EXPORT_API __attribute__((visibility("default")))
#endif
+/* LCOV_EXCL_START */
+
static NetNfcGDbusTransceive *transceive_proxy = NULL;
static GVariant *transceive_data_to_transceive_variant(
transceive_proxy = NULL;
}
}
+
+/* LCOV_EXCL_STOP */
+