This step is moved to aul lib constuctor.
Change-Id: I35b7f791c3c5c9ed8e33233c7ef88506d10c3cfc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
std::bind(&AppExecutor::StepWaitTepMount, this));
prepare_funcs_.push_back(
std::bind(&AppExecutor::StepPrepareAppSocketAndIdFile, this));
- prepare_funcs_.push_back(
- std::bind(&AppExecutor::StepSendStartupSignal, this));
auto& process_pool_config = Config::GetInst().GetProcessPool();
process_pool_ = std::unique_ptr<ProcessPool>(
return Util::PrepareAppIdFile(app_info_);
}
-int AppExecutor::StepSendStartupSignal() {
- Util::SendCmdToAmd(AmdCmd::AppStartupSignal);
- return 0;
-}
-
void AppExecutor::CheckAndPrepareDebugging() {
auto& debug = Debug::GetInst();
auto& b = app_info_->GetBundle();
int StepSetEnvironments();
int StepWaitTepMount();
int StepPrepareAppSocketAndIdFile();
- int StepSendStartupSignal();
void CheckAndPrepareDebugging();
std::vector<std::string> GetLauncherArgv(const std::string& app_type);
std::placeholders::_1),
std::bind(&StepPrepareExecution::PrepareIdFile, this,
std::placeholders::_1),
- std::bind(&StepPrepareExecution::SendStartupSignal, this,
- std::placeholders::_1),
};
}
return 0;
}
-int StepPrepareExecution::SendStartupSignal(AppInfo* app_info) {
- if (Util::SendCmdToAmd(AmdCmd::AppStartupSignal) != 0)
- _W("Failed to send startup signal");
-
- return 0;
-}
-
} // namespace launchpad
int WaitTepMount(AppInfo* app_info);
int PrepareAppSocket(AppInfo* app_info);
int PrepareIdFile(AppInfo* app_info);
- int SendStartupSignal(AppInfo* app_info);
private:
std::vector<std::function<int(AppInfo*)>> steps_;