Apply secure logs.
authorBum-Sung Cho <bs0111.cho@samsung.com>
Fri, 19 Apr 2013 05:33:15 +0000 (14:33 +0900)
committerBum-Sung Cho <bs0111.cho@samsung.com>
Fri, 19 Apr 2013 05:33:15 +0000 (14:33 +0900)
Change-Id: I7a57062f410801c6545158e4268749e3f00e0252
Signed-off-by: Bum-Sung Cho <bs0111.cho@samsung.com>
src/FUiIme_ImeInfo.cpp
src/FUiIme_InputMethodManagerImpl.cpp
src/FUiIme_InputServiceBinder.cpp

index 9b45dbd..44095f0 100644 (file)
@@ -76,7 +76,7 @@ _ImeInfo::Construct(const char* uuid, const char* name, const char* language)
        __name = name;\r
        __language = language;\r
 \r
-       SysLog(NID_UI_IME, "The _ImeInfo has been constructed. The uuid is %s, the name is %s, and the language is %s.", uuid, name, language);\r
+       SysSecureLog(NID_UI_IME, "The _ImeInfo has been constructed. The uuid is %s, the name is %s, and the language is %s.", uuid, name, language);\r
 \r
        return r;\r
 }\r
index 6b046af..f1f900f 100644 (file)
@@ -89,7 +89,7 @@ _InputMethodManagerImpl::GetInstance(InputMethodManager& inputMethodManager)
 InputMethodInfo*\r
 _InputMethodManagerImpl::GetInputMethodInfoN(const char* pAppRootPath)\r
 {\r
-       SysLog(NID_UI_IME, "The root path of the application is %s.", pAppRootPath);\r
+       SysSecureLog(NID_UI_IME, "The root path of the application is %s.", pAppRootPath);\r
 \r
        result r = E_SUCCESS;\r
 \r
@@ -167,7 +167,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                if (pXmlChar)\r
                                {\r
                                        pInputMethodInfoImpl->SetAppId(reinterpret_cast<char*>(pXmlChar));\r
-                                       SysLog(NID_UI_IME, "The package ID is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The package ID is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -177,7 +177,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                if (pXmlChar)\r
                                {\r
                                        pInputMethodInfoImpl->SetUuid(reinterpret_cast<char*>(pXmlChar));\r
-                                       SysLog(NID_UI_IME, "The UUID is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The UUID is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -192,7 +192,7 @@ _InputMethodManagerImpl::ParseInputMethodInfo(const xmlNodePtr pXmlRootElement,
                                        pInputMethodInfoImpl->SetAppId(appId);\r
 \r
                                        pInputMethodInfoImpl->SetName(String(reinterpret_cast<char*>(pXmlChar)));\r
-                                       SysLog(NID_UI_IME, "The name is %s.", reinterpret_cast<char*>(pXmlChar));\r
+                                       SysSecureLog(NID_UI_IME, "The name is %s.", reinterpret_cast<char*>(pXmlChar));\r
                                        xmlFree(pXmlChar);\r
                                }\r
                        }\r
@@ -241,7 +241,7 @@ _InputMethodManagerImpl::PackageManagerAppIdHandler(pkgmgrinfo_appinfo_h handle,
        r = pInputMethodAppIdList->Add(pAppId);\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
 \r
-       SysLog(NID_UI_IME, "The application ID of the input method installed in the system is %s.", appId);\r
+       SysSecureLog(NID_UI_IME, "The application ID of the input method installed in the system is %s.", appId);\r
 \r
        return 0;\r
 \r
@@ -384,7 +384,7 @@ _InputMethodManagerImpl::GetInputMethodInfoListN(void) const
        r = pInputMethodInfoImpl->SetLanguageList(*(pLanguageList.get()));\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
 \r
-       SysLog(NID_UI_IME, "The UUID of the preloaded IME application is %s.", dpList[preloadedImeIndex]);\r
+       SysSecureLog(NID_UI_IME, "The UUID of the preloaded IME application is %s.", dpList[preloadedImeIndex]);\r
 \r
        r = pInputMethodInfoList->Add(pInputMethodInfo);\r
        SysTryCatch(NID_UI_IME, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));\r
@@ -447,7 +447,7 @@ _InputMethodManagerImpl::SetInputMethod(const AppId& id)
        result r = E_SUCCESS;\r
 \r
        std::unique_ptr<char[]> pLog(_StringConverter::CopyToCharArrayN(id.GetPointer()));\r
-       SysLog(NID_UI_IME, "The application ID is %s.", pLog.get());\r
+       SysSecureLog(NID_UI_IME, "The application ID is %s.", pLog.get());\r
 \r
        if (id == _PRELOADED_IME_APPID)\r
        {\r
index 86cd77b..4903970 100644 (file)
@@ -118,7 +118,7 @@ _InputServiceBinder::Bind(void)
        bindingId = __pHelperAgent->open_connection(helperInfo, ":0");\r
        SysTryReturn(NID_UI_IME, bindingId > -1, bindingId, E_CONNECTION_FAILED, "[E_CONNECTION_FAILED] The connection to the specific destination fails.");\r
 \r
-       SysLog(NID_UI_IME, "The binding ID is %d.", bindingId);\r
+       SysSecureLog(NID_UI_IME, "The binding ID is %d.", bindingId);\r
 \r
        return bindingId;\r
 }\r