summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-03-25 07:17:19 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-25 07:17:19 +0000
commitffd57e0b30bdd11e4be88a4653b85a41b2f9bfc3 (patch)
treeb810d088c643c01fc46e38b983d89ea5b40265ba
parentd21bc7d26167d0e19f05b01413b1fde5ef624057 (diff)
parentee19268e1dbb1bc2455076f120657d5294e704dd (diff)
downloadextras-ffd57e0b30bdd11e4be88a4653b85a41b2f9bfc3.tar.gz
Snap for 6330721 from ee19268e1dbb1bc2455076f120657d5294e704dd to mainline-release
Change-Id: I898558d85982a521c4ecf85feff234ed294788d4
-rw-r--r--simpleperf/cmd_record_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index c6bc3f22..0879f955 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -892,12 +892,10 @@ TEST(record_cmd, record_native_app) {
// 4. Check perf.data.
auto process_symbol = [&](const char* name) {
-#if !defined(IN_CTS_TEST)
const char* expected_name_with_keyguard = "NativeActivity"; // when screen is locked
if (strstr(name, expected_name_with_keyguard) != nullptr) {
return true;
}
-#endif
const char* expected_name = "PlayScene::DoFrame"; // when screen is awake
return strstr(name, expected_name) != nullptr;
};