Add log temp 92/66892/2 accepted/tizen/common/20160422.171802 accepted/tizen/mobile/20160422.070319 submit/tizen/20160422.011342
authorSEUNGTAEK HAN <s.t.han@samsung.com>
Fri, 22 Apr 2016 01:06:04 +0000 (10:06 +0900)
committerSEUNGTAEK HAN <s.t.han@samsung.com>
Fri, 22 Apr 2016 01:08:36 +0000 (10:08 +0900)
Change-Id: Ib26a31509c956d10aa8c444d51be2d64f49ae5ed

client/src/PrivacyGuardClient.cpp
pkgmgr_plugin/privileges.cpp
server/src/PrivacyGuardDb.cpp
server/src/service/PrivacyInfoService.cpp

index 2a6be74f1645fc378e1d21120ad72111687ab68f..4c90732bce16d0f5773f0e452e8cfe70bb68b514 100755 (executable)
@@ -107,6 +107,7 @@ PrivacyGuardClient::PgAddPrivacyAccessLogBeforeTerminate(void)
 int
 PrivacyGuardClient::PgAddMonitorPolicy(const int userId, const std::string pkgId, const std::list < std::string >& list, int monitorPolicy)
 {
+       LOGD("[STHAN] PgAddMonitorPolicy - START");
 
        std::list < std::string > privacyList;
 
index da18170d1f49b7c6d211aa9787dae1d49beea66a..41db8545d7b85eb131b8afdc3a143348cb821eb4 100755 (executable)
@@ -42,6 +42,8 @@ extern "C"
 __attribute__ ((visibility("default")))
 int PKGMGR_PARSER_PLUGIN_INSTALL(xmlDocPtr docPtr, const char* packageId)
 {
+       LOGD("[STHAN] PKGMGR_PARSER_PLUGIN_INSTALL - START");
+
        int ret;
 
        // Node: <privileges>
@@ -123,6 +125,8 @@ extern "C"
 __attribute__ ((visibility("default")))
 int PKGMGR_PARSER_PLUGIN_UNINSTALL(xmlDocPtr docPtr, const char* packageId)
 {
+       LOGD("[STHAN] PKGMGR_PARSER_PLUGIN_UNINSTALL - START");
+
        if (packageId == NULL)
                return PRIV_GUARD_ERROR_INVALID_PARAMETER;
 
@@ -148,6 +152,8 @@ extern "C"
 __attribute__ ((visibility("default")))
 int PKGMGR_PARSER_PLUGIN_UPGRADE(xmlDocPtr docPtr, const char* packageId)
 {
+       LOGD("[STHAN] PKGMGR_PARSER_PLUGIN_UPGRADE - START");
+
        int res = 0;
 
     LOGD("Update privacy Info");
index af54ebec9feec5c52c4d563486e8ba930428822b..14bb400333c261dec2f8a4927f12e1681e039941 100755 (executable)
@@ -237,6 +237,8 @@ PrivacyGuardDb::PgAddPrivacyAccessLogTest(const int userId, const std::string pa
 int
 PrivacyGuardDb::PgAddMonitorPolicy(const int userId, const std::string packageId, const std::list < std::string > privacyList, bool monitorPolicy)
 {
+       LOGD("[STHAN] PgAddMonitorPolicy - START");
+
        int res = -1;
 
        static const std::string QUERY_INSERT = std::string("INSERT INTO MonitorPolicy(USER_ID, PKG_ID, PRIVACY_ID, MONITOR_POLICY) VALUES(?, ?, ?, ?)");
index ba64dd90ebb19959dba4af68978d61af432300e0..c500472799c969b19285ddb50195e095de0c6b97 100755 (executable)
@@ -54,6 +54,8 @@ PrivacyInfoService::PgAddPrivacyAccessLogTest(SocketConnection* pConnector)
 void
 PrivacyInfoService::PgAddMonitorPolicy(SocketConnection* pConnector)
 {
+       LOGD("[STHAN] PgAddMonitorPolicy - START");
+
        int userId = 0;
        std::string pkgId;
        std::list < std::string > list;