Lines Matching full:bundle_name
27 def stop(cls, bundle_name): argument
28 stop_cmd = ['hdc', 'shell', 'aa', 'force-stop', bundle_name]
35 def uninstall(cls, bundle_name): argument
36 uninstall_cmd = ['hdc', 'uninstall', bundle_name]
51 def start(cls, bundle_name, start_mode=None): argument
52 start_cmd = (['hdc', 'shell', 'aa', 'start', '-a', 'EntryAbility', '-b', bundle_name] +
60 def get_pid(cls, bundle_name): argument
65 if bundle_name in line:
66 logging.info(f'pid of {bundle_name}: ' + line)
71 def launch_application(cls, bundle_name, hap_path, start_mode=None): argument
72 cls.stop(bundle_name)
73 cls.uninstall(bundle_name)
75 cls.start(bundle_name, start_mode)
77 pid = cls.get_pid(bundle_name)