static int __alarm_context_init()
{
- int fd = 0;
- int ret = 0;
-
if (sub_initialized)
return ALARMMGR_RESULT_SUCCESS;
static int __sub_init()
{
GError *error = NULL;
- int fd = 0;
int ret = 0;
pthread_mutex_lock(&init_lock);
EXPORT_API int alarmmgr_add_alarm_noti_with_localtime(alarm_entry_t *alarm, notification_h noti, alarm_id_t *alarm_id)
{
alarm_info_t *alarm_info = NULL; /* = (alarm_info_t*)alarm; */
- const char *operation = NULL;
int error_code = 0;
- int result;
if (alarm == NULL)
return ERR_ALARM_INVALID_PARAM;
alarm_id_t *alarm_id)
{
int error_code = 0;
- int result;
struct timeval current_time;
struct tm duetime_tm;
alarm_info_t alarm_info;
- const char *operation = NULL;
if (__alarmmgr_init_appsvc() < 0) {
ALARM_MGR_EXCEPTION_PRINT("Unable to initialize dbus!!!\n");
char dst_service_name_mod[MAX_SERVICE_NAME_LEN] = { 0 };
int i = 0;
int j = 0;
- int result;
int error_code;
struct timeval current_time;
struct tm duetime_tm;