Lines Matching refs:TEST_HELPER

174 TEST_HELPER = TestHelper()  variable
180 self.test_dir = TEST_HELPER.test_dir('%s.%s' % (
211 TEST_HELPER.write_progress(
217 args += TEST_HELPER.browser_option
219 args = [sys.executable, TEST_HELPER.script_path(args[0])] + args[1:]
278 cls.example_path = TEST_HELPER.testdata_path(example_name)
298 cls.use_compiled_java_code = TEST_HELPER.android_version <= 8
299 cls.testcase_dir = TEST_HELPER.test_dir(cls.__name__)
309 if 'TraceOffCpu' in self.id() and not TEST_HELPER.is_trace_offcpu_supported():
503 args = [sys.executable, TEST_HELPER.script_path("app_profiler.py"),
517 [sys.executable, TEST_HELPER.script_path('app_profiler.py'),
801 abi=TEST_HELPER.get_32bit_abi())
810 abi=TEST_HELPER.get_32bit_abi(),
820 abi=TEST_HELPER.get_32bit_abi())
940 self.is_rooted_device = TEST_HELPER.adb.switch_to_root()
957 pid = int(TEST_HELPER.adb.check_run_and_return_output(['shell', 'pidof', 'system_server']))
974 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_symbols.data'))
1012 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_trace_offcpu.data'))
1021 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_tracepoint_event.data'))
1029 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_trace_offcpu.data'))
1035 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_trace_offcpu.data'))
1056 report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_interpreter_frames.data'))
1079 report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_interpreter_frames.data'))
1102 self.report_lib.SetRecordFile(TEST_HELPER.testdata_path('perf_with_tracepoint_event.data'))
1129 binary_cache_path = TEST_HELPER.testdata_dir
1239 binary_cache_path = TEST_HELPER.testdata_dir
1318 path = os.path.join(TEST_HELPER.testdata_dir, dso_path)
1330 [TEST_HELPER.testdata_path('SimpleperfExampleWithNative'),
1331 TEST_HELPER.testdata_path('SimpleperfExampleOfKotlin')])
1333 return os.path.join(TEST_HELPER.testdata_dir, path.replace('/', os.sep))
1354 self.assertTrue(is_elf_file(TEST_HELPER.testdata_path(
1367 self.adb = TEST_HELPER.adb
1382 downloader.collect_native_libs_on_host(TEST_HELPER.testdata_path(
1430 shutil.copyfile(TEST_HELPER.testdata_path('data/symfs_without_build_id/elf'), name)
1454 TEST_HELPER.testdata_path('perf_with_long_callchain.data')])
1461 TEST_HELPER.testdata_path('aggregatable_perf1.data'),
1462 TEST_HELPER.testdata_path('aggregatable_perf2.data')])
1473 TEST_HELPER.testdata_path('aggregatable_perf1.data'),
1474 TEST_HELPER.testdata_path('aggregatable_perf2.data')])
1488 perf_data = TEST_HELPER.testdata_path('two_process_perf.data')
1526 origin_file = TEST_HELPER.testdata_path(filename)
1552 symfs_dir = TEST_HELPER.testdata_path('data/symfs_without_build_id')
1563 adb = TEST_HELPER.adb
1564 if TEST_HELPER.android_version < ord(min_android_version) - ord('L') + 5:
1570 apk_path = TEST_HELPER.testdata_path(apk_name)
1645 testdata_path = TEST_HELPER.testdata_path(testdata_file)
1651 testdata_paths = [TEST_HELPER.testdata_path(f) for f in testdata_files]
1727 self.adb = TEST_HELPER.adb
1752 self.install_apk(TEST_HELPER.testdata_path('DisplayBitmaps.apk'),
1754 self.install_apk(TEST_HELPER.testdata_path('DisplayBitmapsTest.apk'),
1761 if TEST_HELPER.android_version >= 9:
1765 self.install_apk(TEST_HELPER.testdata_path(
1785 TEST_HELPER.build_testdata()
1790 remove(TEST_HELPER.testdata_dir)
1819 if TEST_HELPER.android_version < 7:
1823 remove(TEST_HELPER.test_base_dir)
1826 TEST_HELPER.browser_option = ['--no_browser']
1829 TEST_HELPER.progress_fh = open(args.progress_file, 'w')
1834 TEST_HELPER.write_progress('Test end')