#include "telephony_modem.h"
#include "telephony_private.h"
+/* LCOV_EXCL_START */
int telephony_modem_get_imei(telephony_h handle, char **imei)
{
GVariant *gv = NULL;
error = TELEPHONY_ERROR_OPERATION_FAILED;
}
g_error_free(gerr);
- /* LCOV_EXCL_STOP */
}
return error;
}
+/* LCOV_EXCL_STOP */
int telephony_modem_get_power_status(telephony_h handle,
telephony_modem_power_status_e *status)
}
+/* LCOV_EXCL_START */
int telephony_modem_get_meid(telephony_h handle, char **meid)
{
int ret = TELEPHONY_ERROR_NONE;
}
g_variant_unref(gv);
} else {
- /* LCOV_EXCL_START */
LOGE("g_dbus_conn failed. error (%s)", gerr->message);
if (strstr(gerr->message, "AccessDenied")) {
if (telephony_check_legacy_telephony_privilege()) {
ret = TELEPHONY_ERROR_OPERATION_FAILED;
}
g_error_free(gerr);
- /* LCOV_EXCL_STOP */
}
return ret;
}
+/* LCOV_EXCL_STOP */
#include "telephony_private.h"
+/* LCOV_EXCL_START */
static bool telephony_check_privilege(const char *privilege)
{
cynara *cynara_handle;
return telephony_check_privilege(
"http://tizen.org/privilege/telephony");
}
+/* LCOV_EXCL_STOP */
}
/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
int telephony_sim_get_icc_id(telephony_h handle, char **icc_id)
{
int error_code = TELEPHONY_ERROR_NONE;
g_free(iccid);
g_variant_unref(sync_gv);
} else {
- /* LCOV_EXCL_START */
LOGE("g_dbus_conn failed. error (%s)", gerr->message);
error_code = _convert_dbus_errmsg_to_sim_error(gerr->message);
if (error_code == TELEPHONY_ERROR_PERMISSION_DENIED) {
}
}
g_error_free(gerr);
- /* LCOV_EXCL_STOP */
}
return error_code;
}
+/* LCOV_EXCL_STOP */
int telephony_sim_get_operator(telephony_h handle, char **sim_operator)
{