/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest7.java | 161 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()
|
D | ShortcutManagerTest6.java | 60 mRunningUsers.put(USER_10, true); in testHasShortcutHostPermissionInner_multiUser()
|
D | ShortcutManagerTest2.java | 925 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()
|
D | BaseShortcutManagerTest.java | 1067 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.
|
D | ShortcutManagerTest1.java | 345 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/ |
D | AppBindingService.java | 85 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/ |
D | AppStandbyControllerTests.java | 217 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()
|