Lines Matching refs:self
32 def test_app_profiler(self): argument
33 self.common_test_app_profiler()
35 def test_app_profiler_profile_from_launch(self): argument
36 self.run_app_profiler(start_activity=True, build_binary_cache=False)
37 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
38 self.check_strings_in_file("report.txt", [
42 def test_report(self): argument
43 self.common_test_report()
44 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
45 self.check_strings_in_file("report.txt", [
49 def test_annotate(self): argument
50 if not self.use_compiled_java_code:
52 self.common_test_annotate()
53 self.check_file_under_dir("annotated_files", "MainActivity.kt")
55 self.check_annotation_summary(summary_file, [
62 def test_report_sample(self): argument
63 self.common_test_report_sample([
67 def test_pprof_proto_generator(self): argument
69 if self.use_compiled_java_code:
73 self.common_test_pprof_proto_generator(
78 def test_inferno(self): argument
79 self.common_test_inferno()
80 self.run_app_profiler()
81 self.run_cmd([INFERNO_SCRIPT, "-sc"])
82 self.check_inferno_report_html([
85 def test_report_html(self): argument
86 self.common_test_report_html()
98 def setUp(self): argument
112 def test_app_profiler(self): argument
113 self.common_test_app_profiler()
123 def test_smoke(self): argument
124 self.run_app_profiler(record_arg="-g -f 1000 --duration 10 -e cpu-clock:u --trace-offcpu")
125 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
127 self.check_strings_in_file("report.txt", [
132 if self.use_compiled_java_code:
134 self.run_cmd(["annotate.py", "-s", self.example_path, '--summary-width', '1000'])
135 self.check_exist(dirname="annotated_files")
136 self.check_file_under_dir("annotated_files", "SleepActivity.kt")
138 self.check_annotation_summary(summary_file, [
146 self.run_cmd([INFERNO_SCRIPT, "-sc"])
147 self.check_inferno_report_html([