Searched refs:isUserRunning (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/java/android/os/
H A DUserManagerInternal.java161 public abstract boolean isUserRunning(int userId); method in class:UserManagerInternal
H A DIUserManager.aidl99 boolean isUserRunning(int userId);
H A DUserManager.java1457 public boolean isUserRunning(UserHandle user) { method in class:UserManager
1458 return isUserRunning(user.getIdentifier());
1462 public boolean isUserRunning(@UserIdInt int userId) { method in class:UserManager
1464 return mService.isUserRunning(userId);
1472 * This is like {@link #isUserRunning(UserHandle)}, but will also return
1489 return ActivityManager.getService().isUserRunning(
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DBaseLockSettingsServiceTests.java163 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true);
171 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java206 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(true);
254 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(false);
298 when(userManager.isUserRunning(MockUtils.checkUserHandle(userId)))
/frameworks/base/services/core/java/com/android/server/am/
H A DPreBootBroadcaster.java84 if (!mService.isUserRunning(mUserId, 0)) {
H A DUserController.java368 && isUserRunning(parent.id, ActivityManager.FLAG_AND_UNLOCKED)) {
1650 boolean isUserRunning(int userId, int flags) { method in class:UserController
1818 if (isUserRunning(userId, 0)) {
1825 return isUserRunning(parentUserId, 0);
H A DRecentTasks.java718 if (!mService.isUserRunning(userId, FLAG_AND_UNLOCKED)) {
H A DBroadcastQueue.java1295 .isUserRunning(UserHandle.getUserId(info.activityInfo.applicationInfo.uid),
H A DActivityRecord.java2183 && service.mUserController.isUserRunning(userId, 0 /* flags */));
H A DActiveServices.java3395 || !mAm.mUserController.isUserRunning(sr.userId, 0)) {
H A DActivityManagerService.java6850 if (mUserController.isUserRunning(user, 0)) {
12323 if (!mUserController.isUserRunning(userId, 0)) {
26143 public boolean isUserRunning(int userId, int flags) { method in class:ActivityManagerService
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java801 if (userManager.isUserRunning(userHandle)
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java1114 public boolean isUserRunning(int userId) { method in class:UserManagerService
1115 checkManageOrInteractPermIfCallerInOtherProfileGroup(userId, "isUserRunning");
1116 return mLocalService.isUserRunning(userId);
3577 String running = am.isUserRunning(users.get(i).id, 0) ? " running" : "";
3891 public boolean isUserRunning(int userId) { method in class:UserManagerService.LocalService
H A DPackageManagerService.java13865 if (!mUserManagerInternal.isUserRunning(userId)) {
19279 } else if (umInternal.isUserRunning(userId)) {
22171 } else if (umInternal.isUserRunning(user.id)) {
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java3994 public boolean isUserRunning(int userId) { method in class:ActivityManager
3996 return getService().isUserRunning(userId, 0);
H A DIActivityManager.aidl295 boolean isUserRunning(int userid, int flags);
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java289 if (!mActivityManager.isUserRunning(userInfo.id)) {
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DRecentTasksTest.java855 public boolean isUserRunning(int userId, int flags) { method in class:RecentTasksTest.MyTestActivityManagerService
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java2611 if (!mUserManager.isUserRunning(new UserHandle(userId))) {
2812 if (mUserManager.isUserRunning(UserHandle.of(userId))) {
2825 if (!mUserManager.isUserRunning(UserHandle.of(userId))) {
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java1204 && mUserManager.isUserRunning(userInfo.id);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java10959 if (!mUserManager.isUserRunning(new UserHandle(deviceOwnerUserId))) {
/frameworks/base/config/
H A Dboot-image-profile.txt591 HPLandroid/app/IActivityManager$Stub$Proxy;->isUserRunning(II)Z
[all...]

Completed in 327 milliseconds