From 1cf1e86d6f69ec0647d09119117cad96031c7e28 Mon Sep 17 00:00:00 2001 From: Ickhee Woo Date: Fri, 2 Dec 2016 11:45:06 +0900 Subject: [PATCH] fix code for coding convention Change-Id: I1cbd44269ec11b2cbcce77a1d8e7dac6ee3b0737 Signed-off-by: Ickhee Woo --- include/account_PG.h | 1605 ++++++++++++++++++------------------- packaging/libaccount-service.spec | 2 +- 2 files changed, 800 insertions(+), 807 deletions(-) diff --git a/include/account_PG.h b/include/account_PG.h index c24c8c5..0e01688 100644 --- a/include/account_PG.h +++ b/include/account_PG.h @@ -73,130 +73,130 @@ int account_disconnect(void); @code void insert_test(void) { - int ret = -1; - account_h account; - - ret = account_connect(); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_create(&account); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_user_name(account, "tarun.kr"); - - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_display_name(account, "Tarun Kumar"); - - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_domain_name(account, "Samsung electronics"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_email_address(account, "tarun@gmail.com"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_package_name(account, "com.samsung.twiter"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_icon_path(account, "icon-path"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_access_token(account, "ACCESSTOKEN"); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_auth_type( account, ACCOUNT_AUTH_TYPE_OAUTH ); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - - ret = account_set_secret( account, ACCOUNT_SECRECY_INVISIBLE ); - if(ret != ACCOUNT_ERROR_NONE) - { - SECURE_LOGD("(%d)-[Account] ret = %d, account=%p\n", __LINE__, ret, account); - } - ret = account_set_source(account, "URUSA inc."); - - int i; - - for(i=0;i