Searched refs:pids (Results 1 – 3 of 3) sorted by relevance
102 def send_flush_signal(pids=None): argument122 if not pids:124 pids = [pid.strip() for pid in output.split()]125 pids = pids[1:] # ignore the column header126 pids = [pid for pid in pids if _has_handler_sig37(pid)]128 if not pids:132 adb_shell(['kill', '-37'] + pids)153 pids = adb_shell(['pidof'] + args.procnames, text=True).split()156 pids = None159 send_flush_signal(pids)
148 pids = processes[process_name]149 if len(pids) > 1:150 msg = "multiple processes match '{}': {}".format(process_name, pids)154 return pids[0]