Chromium Code Reviews
Description[devil] Provide device.GetApplicationPids()
A convenient method for clients to get PIDs when they know the exact
application (package) name of the process they want to get, without
having to inspect and validate the return value of GetPids().
Also provides an |at_most_one| option to raise an exception if many
PIDs are found but at most one was expected.
BUG=catapult:#3378
Review-Url: https://codereview.chromium.org/2744373003
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/7da88470e422e865aded98d9d5ff41baeb290af7
Patch Set 1 #
Total comments: 5
Messages
Total messages: 12 (5 generated)
|
||||||||||||||||||||||||||||