Home
last modified time | relevance | path

Searched refs:mRunningUsers (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest7.java161 mRunningUsers.put(USER_10, false); in testResetThrottling_user_not_running()
167 mRunningUsers.put(USER_10, true); in testResetThrottling_user_not_running()
187 mRunningUsers.put(USER_10, true); in testResetThrottling_user_running()
240 mRunningUsers.put(USER_10, true); in testLauncherCommands()
267 mRunningUsers.put(USER_10, true); in testUnloadUser()
278 mRunningUsers.put(USER_10, true); in testClearShortcuts()
307 mRunningUsers.put(USER_10, true); in testClearShortcuts()
337 mRunningUsers.put(USER_10, true); in testGetShortcuts()
368 mRunningUsers.put(USER_10, true); in testGetShortcuts()
DShortcutManagerTest6.java60 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_multiUser()
DShortcutManagerTest2.java925 mRunningUsers.put(USER_10, true); in testShortcutInfoSaveAndLoad()
1020 mRunningUsers.put(USER_10, true);
1089 mRunningUsers.put(USER_10, true);
1166 mRunningUsers.put(USER_10, true);
2128 mRunningUsers.put(USER_10, true); in testReportShortcutUsed()
2332 mRunningUsers.clear(); in testIsUserUnlocked()
2339 mRunningUsers.put(USER_0, true); in testIsUserUnlocked()
2349 mRunningUsers.clear(); in testIsUserUnlocked()
2364 mRunningUsers.put(USER_10, true); // this test needs user 10. in testEphemeralApp()
DBaseShortcutManagerTest.java1067 protected final Map<Integer, Boolean> mRunningUsers = new HashMap<>(); field in BaseShortcutManagerTest
1166 return b(mRunningUsers.get(userId)) && b(mUnlockedUsers.get(userId)); in setUp()
1212 mRunningUsers.put(USER_0, true); in setUp()
1213 mRunningUsers.put(USER_10, false); in setUp()
1214 mRunningUsers.put(USER_11, false); in setUp()
1215 mRunningUsers.put(USER_P0, true); in setUp()
1216 mRunningUsers.put(USER_P1, true); in setUp()
2443 mRunningUsers.put(USER_10, true); // this test needs user 10.
DShortcutManagerTest1.java345 mRunningUsers.put(USER_10, true); in testSetDynamicShortcuts()
393 mRunningUsers.put(USER_10, true); in testAddDynamicShortcuts()
575 mRunningUsers.put(USER_10, true); in testPublishWithNoActivity()
679 mRunningUsers.put(USER_10, true); in testPublishWithNoActivity_noMainActivityInPackage()
1017 mRunningUsers.put(USER_10, true); in testCleanupDanglingBitmaps()
1371 mRunningUsers.put(USER_11, true); in testUpdateShortcuts()
2845 mRunningUsers.put(USER_10, true); in testPinShortcutAndGetPinnedShortcuts_crossProfile_plusLaunch()
3588 mRunningUsers.put(USER_10, true); in testLauncherCallback()
3825 mRunningUsers.put(USER_10, true); in testLauncherCallback_crossProfile()
3921 mRunningUsers.put(USER_10, true); in testSaveAndLoadUser()
[all …]
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java85 private final SparseBooleanArray mRunningUsers = new SparseBooleanArray(2); field in AppBindingService
282 mRunningUsers.append(userId, true); in onStartUser()
305 mRunningUsers.delete(userId); in onStopUser()
316 mRunningUsers.delete(userId); in onUserRemoved()
371 for (int i = 0; i < mRunningUsers.size(); i++) { in rebindAllLocked()
372 if (!mRunningUsers.valueAt(i)) { in rebindAllLocked()
375 final int userId = mRunningUsers.keyAt(i); in rebindAllLocked()
475 for (int i = 0; i < mRunningUsers.size(); i++) { in dump()
476 if (mRunningUsers.valueAt(i)) { in dump()
478 pw.print(mRunningUsers.keyAt(i)); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java217 int[] mRunningUsers = new int[] {USER_ID}; field in AppStandbyControllerTests.MyInjector
321 return mRunningUsers; in getRunningUserIds()
1637 mInjector.mRunningUsers = new int[] {USER_ID, USER_ID2, USER_ID3}; in testUserInteraction_CrossProfile()