Home
last modified time | relevance | path

Searched refs:app_type (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Denvironment.cpp722 SimpleperfAppRunner(int user_id, const std::string& package_name, const std::string app_type) in SimpleperfAppRunner() argument
726 app_type_ = app_type == "unknown" ? "profileable" : app_type; in SimpleperfAppRunner()
794 std::string app_type = GetAppType(app_package_name); in RunInAppContext() local
795 if (app_type == "unknown" && IsAppDebuggable(user_id, app_package_name)) { in RunInAppContext()
796 app_type = "debuggable"; in RunInAppContext()
799 if (allow_run_as && app_type == "debuggable") { in RunInAppContext()
806 if (app_type == "debuggable" || app_type == "profileable" || app_type == "unknown") { in RunInAppContext()
807 in_app_runner.reset(new SimpleperfAppRunner(user_id, app_package_name, app_type)); in RunInAppContext()
Dcmd_record_test.cpp723 static void TestRecordingApps(const std::string& app_name, const std::string& app_type) { in TestRecordingApps() argument
749 ASSERT_EQ(it->second, app_type); in TestRecordingApps()