This patch is for debugging.
Change-Id: I49cda06d89c00a4c4c645bd4bee55c4ec14edd4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
int AppExecutor::StepEnableTrustAnchor() {
+ _W("trust_anchor_launch ++ %s", app_info_->GetAppId().c_str());
int ret = trust_anchor_launch(app_info_->GetPkgId().c_str(),
app_info_->IsGlobal() ? GLOBAL_USER : getuid());
+ _W("trust_anchor_launch -- %s", app_info_->GetAppId().c_str());
if (ret != TRUST_ANCHOR_ERROR_NONE &&
ret != TRUST_ANCHOR_ERROR_NOT_INSTALLED) {
_E("trust_anchor_launch() returns %d", ret);
}
void Enable() {
+ _I("BEGIN");
int result = -1;
int retry_count = 0;
auto message = std::unique_ptr<DBusMessage, decltype(dbus_message_unref)*>(
_D("Result: %d", result);
if (result < 0)
THROW(-EIO);
+ _I("END");
}
private:
}
int StepPrepareExecution::TrustAnchorLaunch(AppInfo* app_info) {
+ _W("trust_anchor_launch ++ %s", app_info->GetAppId().c_str());
int ret = trust_anchor_launch(app_info->GetPkgId().c_str(),
app_info->IsGlobal() ? GLOBAL_USER : getuid());
+ _W("trust_anchor_launch -- %s", app_info->GetAppId().c_str());
if (ret != TRUST_ANCHOR_ERROR_NONE &&
ret != TRUST_ANCHOR_ERROR_NOT_INSTALLED) {
_E("trust_anchor_launch() is failed. error: %d", ret);