940e8577a1569140521fb605336997863529f7ad |
|
26-Jan-2016 |
Fyodor Kupolov <fkupolov@google.com> |
Added SystemApi for getting serial numbers of users Also added UserHandle version of queryBroadcastReceiversAsUser. Bug: 25844894 Change-Id: I78ecbef186e4ced10425ae2899db72c2d91c5792
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
9cbfc9e212151e84910a22387365644916dde446 |
|
08-Oct-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added DISALLOW_RUN_IN_BACKGROUND user restriction It forces the user to stop instead of going into the background. Also changed behavior of stopUser method. Now it also attempts to stop related users along with the specified userId. Based on ag/807976, with the only difference that it's now a user restriction. Bug: 24579258 Bug: 24708668 Change-Id: I357298908816fc58feeed83b7e9979fc33d25da6
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
068c54a5be697c3df4657dcda33cd17c4b547710 |
|
13-Oct-2015 |
Makoto Onuki <omakoto@google.com> |
Layer user restrictions - Now DPMS remembers user restrictions set by DO / PO in their ActiveAdmin. - User restrictions set by DO/PO will no longer be saved by UserManger. Instead, when needed, UMS will consult DPMS to build "effective" user restrictions. - UM.getUserRestrictions() will now always return "effective" user restrictions. - DPMS migrates existing user restrictions per the eng spec. - Also now UM.setUserRestrictions() will crash. UMS.setUserRestrictions() has been removed. This was needed because UM.setUserRestrctions(UM.getUserRestrictions()) will no longer be a valid use like it used to be. - Also introduced a fined-grained lock for user restrictions in UM to avoid deadlock between DPMS and also for better performance. Bug 23902097 Change-Id: If0e1e49344e2f3e9226532d00777976d1eaa7df3
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
72d9c026561bb681392d1a56d98faf1667a0cc48 |
|
21-Aug-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Update UserManagerTest This makes it work in split system user mode. Bug: 19913735 Change-Id: Ia1bd7043aba9fb34333e0edcc7375d287570c80a
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
385de624aa990266ffbaf70711ac8a330569429e |
|
11-Apr-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Use UserHandle instead of int for public APIs Bug: 20049349 Change-Id: If5671fb47aa9a3cffebff16787daeae9ca7361e8
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
ff7233e2e3df4965b9ecadabfd78bb991fd1e102 |
|
08-Apr-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added getUserCreationTime to query user/profile creation time Added public api to query creation time of the user or of a managed profile associated with the calling user. Bug: 20049349 Change-Id: I7f9263fe434233e6f7d4f165c974cab64ca7107c
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
0e8d7d63ba439cc0604af7055679dae3d30fdc48 |
|
03-Sep-2014 |
Amith Yamasani <yamasani@google.com> |
Add some @SystemApi tags for internal user-related APIs Also added an internal isManagedProfile() Bug: 17371392 Change-Id: Ibcc26771d954505cbd530192bf4a8a25a8d4cae0
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
95ab7849444125387dc88088bb5197ee463d8c17 |
|
12-Aug-2014 |
Amith Yamasani <yamasani@google.com> |
Decouple user limit from guest creation Allow Guest to be created even if there are N users. Allow N users to be created even if there are N-1 users and a Guest. Limit number of guests and managed profiles that can be added. Added unit tests. Bug: 15934700 Change-Id: I1a8f0fa38a91d71ef7b2980e05c974244dfc337a
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
05191053545065c9c71afae173d3ab42a2d947fa |
|
26-Mar-2013 |
Amith Yamasani <yamasani@google.com> |
Match tests to new API. Change-Id: I9a537a437c721ae64d9307b889b9de5d5429670f
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
6794458f8626c3be27eac3db3a5c89d94f132675 |
|
22-Feb-2013 |
Maggie Benthall <mbenthall@google.com> |
Add location sharing toggle user restriction. And add support for respecting it. Change-Id: Ia5cf9134c5f5741c3f55afadbe54f862da7bfe5b
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
20949a76fee62e89d7dc22858a74469efa14f61d |
|
12-Feb-2013 |
Amith Yamasani <yamasani@google.com> |
Fix UserManager test Change-Id: I927ffdda3dd5f69dc136e65c8069f2e480badfe9
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
e4cf73437a18c1444055f88a1fcc0d146ec23ac5 |
|
17-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Starting point for User Restrictions API Restrictions saved as key/value pairs, mostly booleans right now but might be expanded to other types later. Save and restore restrictions in the user manager service. Enforce some of the restrictions at the framework level. Some are enforced (also) at the app level, such as in Settings. Change-Id: Id11ffe129cb6a177e094edf79635727388c26f40
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
db6a14cc85cede0769735fdac4da70766989a3ce |
|
18-Oct-2012 |
Amith Yamasani <yamasani@google.com> |
Fix crashes when quickly adding and removing users Make USER_REMOVED an ordered broadcast and send it before the user's state is completely removed from the system. This gives services the opportunity to clean up their state, while still having access to the user's directory and UserInfo object (such as serial number). Tell SyncManager to skip over dying/partially created users. Improve UserManager tests, waiting for users to be removed fully. Bug: 7382252 Change-Id: I93cfb39c9efe6f15087bf83c569a2d154ef27168
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
2a00329c6d55c6cd9166e01963d7410e95d80d21 |
|
15-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
UserHandle to UserSerialNo mapping Use AtomicFile for usermanager files. Added a MANAGE_USERS permission that apps (signature permission) can use to create/query/modify/remove users. Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
258848d2ae04f447ff1c18023fa76b139fcc0862 |
|
11-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
User Manager service to manage users and query user details Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
135936072b24b090fb63940aea41b408d855a4f3 |
|
23-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
User management and switching Broadcast intents that get sent out when users are added/removed/switched. More work on generating user-specific information in package manager queries. APIs to update user name and query a user by id. Removed Package.mSetStopped and mSetEnabled, since they're not user specific. User removal: - Cleanup ActivityManager, PackageManager, WallpaperManager, AppWidgetService and AccountManager. - Shutdown processes belonging to the user. Don't show vibrate option in long-press power if there's no vibrator. Lock the screen when switching users, to force unlocking. Change-Id: Ib23a721cb75285eef5fd6ba8c7272462764038fa
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|
0b285499db739ba50f2f839d633e763c70e67f96 |
|
15-Apr-2011 |
Amith Yamasani <yamasani@google.com> |
Plumbing in PackageManager and installd for multi-user support. - Create /data/user directory and symlink /data/user/0 -> /data/data for backward compatibility - Create data directories for all packages for new user - Remove data directories when removing a user - Create data directories for all users when a package is created - Clear / Remove data for multiple users - Fixed a bug in verifying the location of a system app - pm commands for createUser and removeUser (will be disabled later) - symlink duplicate lib directories to the original lib directory Change-Id: Id9fdfcf0e62406a8896aa811314dfc08d5f6ed95
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java
|