summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-03 01:10:37 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-03 01:10:37 +0000
commit0e9cc9355135102d473164ef54b6a685398b45bc (patch)
treeb6d6b2a163c15e74cb2ca6d96cbd1ebf356bb5a5
parent8219f78fe61d15fbf20abef1026c74479a0fbf59 (diff)
parentcd86421c8c262e437b607ad37a748a34760cfade (diff)
downloadextras-0e9cc9355135102d473164ef54b6a685398b45bc.tar.gz
Snap for 7419753 from cd86421c8c262e437b607ad37a748a34760cfade to sc-release
Change-Id: I9eefbefa79ad7a5b0f8d6a2771321c1412430e9e
-rw-r--r--simpleperf/cmd_record_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index 869c747f..350a24f8 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -725,7 +725,7 @@ static void TestRecordingApps(const std::string& app_name, const std::string& ap
// Bring the app to foreground to avoid no samples.
ASSERT_TRUE(helper.StartApp("am start " + app_name + "/.MainActivity"));
- ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 3 -e " + GetDefaultEvent()));
+ ASSERT_TRUE(helper.RecordData("--app " + app_name + " -g --duration 10 -e " + GetDefaultEvent()));
// Check if we can profile Java code by looking for a Java method name in dumped symbols, which
// is app_name + ".MainActivity$1.run".