Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java245 protected boolean isUserRunning(UserHandle userHandle) { in isUserRunning() method in ChooserWrapperActivity
247 return super.isUserRunning(userHandle); in isUserRunning()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java219 public abstract boolean isUserRunning(int userId); in isUserRunning() method in UserManagerInternal
DUserManagerService.java1561 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManagerService
1563 return mLocalService.isUserRunning(userId); in isUserRunning()
5045 final boolean running = am.isUserRunning(user.id, 0); in runList()
5542 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManagerService.LocalService
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java248 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(true); in addUser()
300 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(false); in removeUser()
344 when(userManager.isUserRunning(MockUtils.checkUserHandle(userId))) in setUserRunning()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java201 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true); in installChildProfile()
210 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
/frameworks/base/core/java/android/os/
DIUserManager.aidl118 boolean isUserRunning(int userId); in isUserRunning() method
DUserManager.java2382 public boolean isUserRunning(UserHandle user) { in isUserRunning() method in UserManager
2383 return isUserRunning(user.getIdentifier()); in isUserRunning()
2389 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManager
2391 return mService.isUserRunning(userId); in isUserRunning()
2417 return ActivityManager.getService().isUserRunning( in isUserRunningOrStopping()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java90 if (!mService.isUserRunning(mUserId, 0)) { in sendNext()
DUserController.java535 && isUserRunning(parent.id, ActivityManager.FLAG_AND_UNLOCKED)) { in finishUserBoot()
2251 boolean isUserRunning(@UserIdInt int userId, int flags) {
2461 if (isUserRunning(userId, 0)) {
2468 return isUserRunning(parentUserId, 0);
2515 return isUserRunning(userId, ActivityManager.FLAG_AND_LOCKED);
DContentProviderHelper.java344 if (!mService.mUserController.isUserRunning(userId, 0)) { in getContentProviderImpl()
/frameworks/base/core/java/android/provider/
DCallLog.java326 if (userManager.isUserRunning(userHandle) in storeCallComposerPicture()
1796 if (userManager.isUserRunning(userHandle) in addCall()
1818 if (userManager.isUserRunning(targetUserHandle) in addCall()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java262 public abstract boolean isUserRunning(@UserIdInt int userId, int flags); in isUserRunning() method in ActivityManagerInternal
DIActivityManager.aidl338 boolean isUserRunning(int userid, int flags); in isUserRunning() method
DActivityManager.java4199 public boolean isUserRunning(int userId) { in isUserRunning() method in ActivityManager
4201 return getService().isUserRunning(userId, 0); in isUserRunning()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java882 boolean isUserRunning(int userId, int flags) { in isUserRunning() method in RecentTasks
883 return mService.mAmInternal.isUserRunning(userId, flags); in isUserRunning()
902 if (!isUserRunning(userId, FLAG_AND_UNLOCKED)) { in getRecentTasksImpl()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java507 if (!am.isUserRunning(setting.mUserHandle.getIdentifier())) { in startService()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java274 doReturn(true).when(amInternal).isUserRunning(anyInt(), anyInt());
DRecentTasksTest.java1216 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in getRecentTasks()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java662 attestFalse("Failed to stop user " + testUser, mAm.isUserRunning(testUser)); in initializeNewUserAndSwitchBack()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java340 if (um.isUserRunning(userId)) { in onBootPhase()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java171 doReturn(true).when(userManager).isUserRunning(any(UserHandle.class)); in setUp()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2104 if (!isUserRunning(userHandle)) {
2921 protected boolean isUserRunning(UserHandle userHandle) {
2923 return userManager.isUserRunning(userHandle);
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java509 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1153 if (!userManager.isUserRunning(userId)) { in restoreSystemUnlockedUsers()
1547 if (vol.mountUserId >= 0 && !amInternal.isUserRunning(vol.mountUserId, 0)) { in onVolumeCreatedLocked()
3370 } else if (umInternal.isUserRunning(user.id)) { in prepareUserStorageIfNeeded()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1335 if (mUserManager.isUserRunning(handle)) { in dispatchIntent()

12