Searched refs:mRunningUsers (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 155 mRunningUsers.put(USER_10, false); in testResetThrottling_user_not_running() 161 mRunningUsers.put(USER_10, true); in testResetThrottling_user_not_running() 181 mRunningUsers.put(USER_10, true); in testResetThrottling_user_running() 234 mRunningUsers.put(USER_10, true); in testLauncherCommands() 273 mRunningUsers.put(USER_10, true); in testUnloadUser() 284 mRunningUsers.put(USER_10, true); in testClearShortcuts() 313 mRunningUsers.put(USER_10, true); in testClearShortcuts()
|
D | ShortcutManagerTest6.java | 187 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_multiUser() 226 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_clearCache() 253 mRunningUsers.put(USER_10, false); in testHasShortcutHostPermissionInner_clearCache() 260 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_clearCache() 269 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_clearCache()
|
D | BaseShortcutManagerTest.java | 722 protected final Map<Integer, Boolean> mRunningUsers = new HashMap<>(); field in BaseShortcutManagerTest 813 return b(mRunningUsers.get(userId)) && b(mUnlockedUsers.get(userId)); in setUp() 859 mRunningUsers.put(USER_0, true); in setUp() 860 mRunningUsers.put(USER_10, false); in setUp() 861 mRunningUsers.put(USER_11, false); in setUp() 862 mRunningUsers.put(USER_P0, true); in setUp() 863 mRunningUsers.put(USER_P1, true); in setUp() 2034 mRunningUsers.put(USER_10, true); // this test needs user 10.
|
D | ShortcutManagerTest2.java | 900 mRunningUsers.put(USER_10, true); in testShortcutInfoSaveAndLoad() 994 mRunningUsers.put(USER_10, true); 1062 mRunningUsers.put(USER_10, true); 1932 mRunningUsers.put(USER_10, true); in testReportShortcutUsed() 2130 mRunningUsers.clear(); in testIsUserUnlocked() 2137 mRunningUsers.put(USER_0, true); in testIsUserUnlocked() 2147 mRunningUsers.clear(); in testIsUserUnlocked() 2162 mRunningUsers.put(USER_10, true); // this test needs user 10. in testEphemeralApp()
|
D | ShortcutManagerTest1.java | 326 mRunningUsers.put(USER_10, true); in testSetDynamicShortcuts() 374 mRunningUsers.put(USER_10, true); in testAddDynamicShortcuts() 415 mRunningUsers.put(USER_10, true); in testPublishWithNoActivity() 519 mRunningUsers.put(USER_10, true); in testPublishWithNoActivity_noMainActivityInPackage() 802 mRunningUsers.put(USER_10, true); in testCleanupDanglingBitmaps() 1156 mRunningUsers.put(USER_11, true); in testUpdateShortcuts() 2225 mRunningUsers.put(USER_10, true); in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch() 2968 mRunningUsers.put(USER_10, true); in testLauncherCallback() 3205 mRunningUsers.put(USER_10, true); in testLauncherCallback_crossProfile() 3301 mRunningUsers.put(USER_10, true); in testSaveAndLoadUser() [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 84 private final SparseBooleanArray mRunningUsers = new SparseBooleanArray(2); field in AppBindingService 277 mRunningUsers.append(userId, true); in onStartUser() 300 mRunningUsers.delete(userId); in onStopUser() 311 mRunningUsers.delete(userId); in onUserRemoved() 366 for (int i = 0; i < mRunningUsers.size(); i++) { in rebindAllLocked() 367 if (!mRunningUsers.valueAt(i)) { in rebindAllLocked() 370 final int userId = mRunningUsers.keyAt(i); in rebindAllLocked() 470 for (int i = 0; i < mRunningUsers.size(); i++) { in dump() 471 if (mRunningUsers.valueAt(i)) { in dump() 473 pw.print(mRunningUsers.keyAt(i)); in dump()
|