diff options
| author | 2022-09-07 18:03:36 -0700 | |
|---|---|---|
| committer | 2022-09-08 09:12:53 -0700 | |
| commit | 9e932dddc8ddf310e174a03bea86b5d0393abd32 (patch) | |
| tree | 4d2c611b7f45e5d3e39d9ea237c398b7ec07fe05 /libs/androidfw/StringPool.cpp | |
| parent | 0e7702f7c85ea38e8749d2013e46a34e4105bf1f (diff) | |
Added more unit tests for UserManagerInternal.
This CL adds tests for the following 2 methods:
- void assignUserToDisplay(int userId)
- void unassignUserFromDisplay(int displayId)
It also makes some minor changes on those methods to throw exceptions
on invalid usage.
Bug: 244452695
Bug: 244644281
Test: atest FrameworksMockingServicesTests:com.android.server.pm.UserManagerServiceTest UserManagerInternalTest
Change-Id: Ieb17e7e8a43f7d697f98a45d1b0660d999ca28ec
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions