Modify onProfileActionStatusChange and add tests.

Modified onProfileActionStatusChange in UserManagerState to make it more
generalised for all kinds of profiles that may come up in the future.
Added tests for getUserIdToLabelMap and getUserIdToBadgeMap.

Bug: 321894374
Test: atest DocumentsUIGoogleTests:UserManagerStateTest
Change-Id: Id2e9f668b3746cee3475d1faf824d40cef1e974b
7 files changed