Lines Matching full:bundle_name
28 def stop(cls, bundle_name): argument
29 stop_cmd = ['hdc', 'shell', 'aa', 'force-stop', bundle_name]
36 def uninstall(cls, bundle_name): argument
37 uninstall_cmd = ['hdc', 'uninstall', bundle_name]
52 def start(cls, bundle_name, start_mode=None): argument
53 start_cmd = (['hdc', 'shell', 'aa', 'start', '-a', 'EntryAbility', '-b', bundle_name] +
61 def get_pid(cls, bundle_name): argument
66 if bundle_name in line:
67 logging.info(f'pid of {bundle_name}: ' + line)
72 def launch_application(cls, bundle_name, hap_path, start_mode=None): argument
73 cls.stop(bundle_name)
74 cls.uninstall(bundle_name)
76 cls.start(bundle_name, start_mode)
79 pid = cls.get_pid(bundle_name)
83 def attach(cls, bundle_name): argument
84 attach_cmd = (['hdc', 'shell', 'aa', 'attach', '-b', bundle_name])