Home
last modified time | relevance | path

Searched refs:isUserRunning (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/os/
DUserManagerInternal.java161 public abstract boolean isUserRunning(int userId); in isUserRunning() method in UserManagerInternal
DIUserManager.aidl100 boolean isUserRunning(int userId); in isUserRunning() method
DUserManager.java1651 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/
DBaseLockSettingsServiceTests.java185 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/
DMockSystemServices.java212 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/
DUserLifecycleTests.java168 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/
DPreBootBroadcaster.java85 if (!mService.isUserRunning(mUserId, 0)) { in sendNext()
DUserController.java389 && 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);
DBroadcastQueue.java1557 .isUserRunning(UserHandle.getUserId(info.activityInfo.applicationInfo.uid), in processNextBroadcastLocked()
DActivityManagerService.java4273 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/
DActivityManagerInternal.java191 public abstract boolean isUserRunning(int userId, int flags); in isUserRunning() method in ActivityManagerInternal
DIActivityManager.aidl298 boolean isUserRunning(int userid, int flags); in isUserRunning() method
DActivityManager.java3901 public boolean isUserRunning(int userId) {
3903 return getService().isUserRunning(userId, 0);
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java852 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()
DActivityRecord.java2512 && mAtmService.mAmInternal.isUserRunning(mUserId, 0 /* flags */)); in okToShowLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java497 if (!am.isUserRunning(setting.mUserHandle.getIdentifier())) { in startService()
/frameworks/base/core/java/android/provider/
DCallLog.java886 if (userManager.isUserRunning(userHandle) in addCall()
DMediaStore.java3520 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/
DPermissionPolicyService.java222 if (um.isUserRunning(userId)) { in onBootPhase()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1141 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/
DSettingsProvider.java2900 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/
DRecentTasksTest.java921 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in assertGetRecentTasksOrder()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java475 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1256 && mUserManager.isUserRunning(userInfo.id); in tiedManagedProfileReadyToUnlock()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java2930 if (!mUserManagerInternal.isUserRunning(userId)) { in startInputOrWindowGainedFocus()

12