Home
last modified time | relevance | path

Searched refs:app_package_name (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Denvironment.h94 bool RunInAppContext(const std::string& app_package_name, const std::string& cmd,
97 std::string GetAppType(const std::string& app_package_name);
Denvironment.cpp772 std::string GetAppType(const std::string& app_package_name) { in GetAppType() argument
776 std::string cmd = "simpleperf_app_runner " + app_package_name + " --show-app-type"; in GetAppType()
788 bool RunInAppContext(const std::string& app_package_name, const std::string& cmd, in RunInAppContext() argument
794 std::string app_type = GetAppType(app_package_name); in RunInAppContext()
795 if (app_type == "unknown" && IsAppDebuggable(user_id, app_package_name)) { in RunInAppContext()
800 in_app_runner.reset(new RunAs(user_id, app_package_name)); in RunInAppContext()
807 in_app_runner.reset(new SimpleperfAppRunner(user_id, app_package_name, app_type)); in RunInAppContext()
814 LOG(ERROR) << "Package " << app_package_name in RunInAppContext()
Dcmd_report_sample.cpp459 meta_info.app_package_name().c_str()); in DumpProtobufReport()
502 std::string app_package_name = it != meta_info.end() ? it->second : ""; in PrintMetaInfo() local
509 if (!app_package_name.empty()) { in PrintMetaInfo()
510 meta_info->set_app_package_name(app_package_name); in PrintMetaInfo()
519 if (!app_package_name.empty()) { in PrintMetaInfo()
520 FprintIndented(report_fp_, 1, "app_package_name: %s\n", app_package_name.c_str()); in PrintMetaInfo()
Dcmd_report_sample.proto122 optional string app_package_name = 2; field
/system/apex/apexer/
Dapexer.py657 app_package_name = manifest_apex.name
658 f.write(PrepareAndroidManifest(app_package_name, manifest_apex.version))