/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 161 public abstract boolean isUserRunning(int userId); in isUserRunning() method in UserManagerInternal
|
D | IUserManager.aidl | 100 boolean isUserRunning(int userId); in isUserRunning() method
|
D | UserManager.java | 1651 public boolean isUserRunning(UserHandle user) { in isUserRunning() method in UserManager 1652 return isUserRunning(user.getIdentifier()); in isUserRunning() 1656 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManager 1658 return mService.isUserRunning(userId); in isUserRunning() 1683 return ActivityManager.getService().isUserRunning( in isUserRunningOrStopping()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 185 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true); in installChildProfile() 193 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 212 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(true); in addUser() 260 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(false); in removeUser() 304 when(userManager.isUserRunning(MockUtils.checkUserHandle(userId))) in setUserRunning()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 168 attestTrue("Failed to switch to user " + testUser, mAm.isUserRunning(testUser)); in switchUser_running() 358 attestFalse("Failed to stop user " + testUser, mAm.isUserRunning(testUser)); in initializeNewUserAndSwitchBack()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 85 if (!mService.isUserRunning(mUserId, 0)) { in sendNext()
|
D | UserController.java | 389 && isUserRunning(parent.id, ActivityManager.FLAG_AND_UNLOCKED)) { in finishUserBoot() 1782 boolean isUserRunning(int userId, int flags) { 1962 if (isUserRunning(userId, 0)) { 1969 return isUserRunning(parentUserId, 0);
|
D | BroadcastQueue.java | 1557 .isUserRunning(UserHandle.getUserId(info.activityInfo.applicationInfo.uid), in processNextBroadcastLocked()
|
D | ActivityManagerService.java | 4273 if (mUserController.isUserRunning(user, 0)) { in forceStopPackage() 6945 if (!mUserController.isUserRunning(userId, 0)) { in getContentProviderImpl() 17600 public boolean isUserRunning(int userId, int flags) { in isUserRunning() method in ActivityManagerService 17611 return mUserController.isUserRunning(userId, flags); in isUserRunning() 18009 public boolean isUserRunning(int userId, int flags) { in isUserRunning() method in ActivityManagerService.LocalService 18011 return mUserController.isUserRunning(userId, flags); in isUserRunning()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 191 public abstract boolean isUserRunning(int userId, int flags); in isUserRunning() method in ActivityManagerInternal
|
D | IActivityManager.aidl | 298 boolean isUserRunning(int userid, int flags); in isUserRunning() method
|
D | ActivityManager.java | 3901 public boolean isUserRunning(int userId) { 3903 return getService().isUserRunning(userId, 0);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 852 boolean isUserRunning(int userId, int flags) { in isUserRunning() method in RecentTasks 853 return mService.mAmInternal.isUserRunning(userId, flags); in isUserRunning() 872 if (!isUserRunning(userId, FLAG_AND_UNLOCKED)) { in getRecentTasksImpl()
|
D | ActivityRecord.java | 2512 && mAtmService.mAmInternal.isUserRunning(mUserId, 0 /* flags */)); in okToShowLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | SettingsInjector.java | 497 if (!am.isUserRunning(setting.mUserHandle.getIdentifier())) { in startService()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 886 if (userManager.isUserRunning(userHandle) in addCall()
|
D | MediaStore.java | 3520 if (um.isUserUnlocked(user) && um.isUserRunning(user)) { in getContributedMediaSize() 3548 if (um.isUserUnlocked(user) && um.isUserRunning(user)) { in deleteContributedMedia()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 222 if (um.isUserRunning(userId)) { in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1141 public boolean isUserRunning(int userId) { in isUserRunning() method in UserManagerService 1143 return mLocalService.isUserRunning(userId); in isUserRunning() 3673 String running = am.isUserRunning(users.get(i).id, 0) ? " running" : ""; in runList() 3987 public boolean isUserRunning(int userId) { in isUserRunning() method in UserManagerService.LocalService
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2900 if (!mUserManager.isUserRunning(new UserHandle(userId))) { 3103 if (mUserManager.isUserRunning(UserHandle.of(userId))) { 3116 if (!mUserManager.isUserRunning(UserHandle.of(userId))) {
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 921 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in assertGetRecentTasksOrder()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 475 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1256 && mUserManager.isUserRunning(userInfo.id); in tiedManagedProfileReadyToUnlock()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 2930 if (!mUserManagerInternal.isUserRunning(userId)) { in startInputOrWindowGainedFocus()
|