commit | d27721f48c8f1153783b5b363ae471d24d161d80 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Mon Jul 01 19:37:50 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Thu Jul 11 12:10:51 2024 -0700 |
tree | ad45808d079d05c76046d66b2650e588b2da97b0 | |
parent | 91277279e09ad549c9d1d8b818f3c30c76a82c89 [diff] |
Add filtering over action collection to test util The getFutureForIntent utils currently filter on a single action, but often we want to listen for multiple actions. Add a version which takes a collection of actions, completing if the predicate succeeds following any of the actions being received. Flag: TEST_ONLY Test: atest CtsAudioRecordPermissionTests Bug: 349468644 Change-Id: I13d7b60f373897413316b6b96564e0c0c75236d1