diff options
| author | 2023-11-24 21:41:35 +0000 | |
|---|---|---|
| committer | 2023-12-08 00:36:21 +0000 | |
| commit | 91cbc6895b79384197d6484958f288ac1eb9a05b (patch) | |
| tree | 85027ed846b39dbfae09a56fd4d7f9cfb7714e4d /libs/androidfw/StringPool.cpp | |
| parent | 90e467e10b5af93ad8048ab1c0e06137250133b3 (diff) | |
Add tests for private profile delayed locking
This change adds UserControllerTests for testing the delayed locking
flows for private profile. The following scenarios are covered:
- Private profile should be stopped and locked if stopUser is called
- Private profile should be stopped and locked if
stopUserWithDelayedLocking is called but the private profile feature
flags are disabled
- Private profile should be stopped and locked if
stopUserWithDelayedLocking is called but mMaxRunningUsers is less than
the total running users
- Private profile should be stopped and unlocked if
stopUserWithDelayedLocking is called with private profile flags turned
on and mMaxRunningUsers greater than the total running users
Test: atest UserControllerTests
Bug: 312184187
Change-Id: I2af727edf52340c9f4b64614715f70226b88fd75
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions