Lines Matching refs:package_name
129 def prepare(cls, example_name, package_name, activity_name, abi=None, adb_root=False): argument
140 cls.package_name = package_name
178 cls.adb.check_run(["uninstall", cls.package_name])
195 args = ['app_profiler.py', '--app', self.package_name, '-r', record_arg, '-o', 'perf.data']
331 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-t", "3"] + append_args)
333 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-f", "1000", "-du", "-t", "1"] +
335 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-e", "100000 cpu-cycles",
369 self.adb.check_run(['shell', 'am', 'force-stop', self.package_name])
371 self.package_name + '/.MultiProcessActivity'])
381 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
383 args = [sys.executable, "app_profiler.py", "--app", self.package_name,
394 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
396 subproc = subprocess.Popen([sys.executable, 'app_profiler.py', '--app', self.package_name,
399 self.adb.check_run(['shell', 'am', 'force-stop', self.package_name])
406 self.run_cmd(['app_profiler.py', '--app', self.package_name, '-a', self.activity_name,
417 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
475 '--app', self.package_name, '-r', '-e task-clock:u -g --duration 3'])
485 self.adb.check_run(['shell', 'am', 'start', '-n', self.package_name + '/.MainActivity'])
487 self.package_name, '--size_limit', '1M'])