commit | b006fb7b0f6237b245f821f3079afd2e53137cfd | [log] [tgz] |
---|---|---|
author | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Fri Aug 23 19:55:39 2024 +0000 |
committer | Esteban Barrero-Hernandez <estebanbarrero@google.com> | Mon Aug 26 16:25:36 2024 +0000 |
tree | 87c29f5839b2c61b50b9116090ffac405a34a89c | |
parent | 9c3afb3b38807cb3f593d03526fc5ef83d6fb79a [diff] |
Added AdbDevice APIs needed to execute the user-switch event. Added 4 new APIs to device.py, implementing functionality for getting all users on a device, checking if a user exists on a deivce, getting the current user on a device, and performing a user switch on a device. Finally, added 9 new units tests to test/device_unit_test.py to test new APIs. Test: atest device_unit_test Bug: 356402331 Change-Id: Iabc02f4c08f5071376c9dbe537b749271f3c1902