/frameworks/base/services/core/java/android/os/ |
D | UserManagerInternal.java | 192 public abstract boolean isUserRunning(int userId); in isUserRunning() method in UserManagerInternal
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 231 protected boolean isUserRunning(UserHandle userHandle) { in isUserRunning() method in ChooserWrapperActivity 233 return super.isUserRunning(userHandle); in isUserRunning()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 240 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(true); in addUser() 292 when(userManager.isUserRunning(eq(new UserHandle(userId)))).thenReturn(false); in removeUser() 336 when(userManager.isUserRunning(MockUtils.checkUserHandle(userId))) in setUserRunning()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 114 boolean isUserRunning(int userId); in isUserRunning() method
|
D | UserManager.java | 2189 public boolean isUserRunning(UserHandle user) { in isUserRunning() method in UserManager 2190 return isUserRunning(user.getIdentifier()); in isUserRunning() 2196 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManager 2198 return mService.isUserRunning(userId); in isUserRunning() 2224 return ActivityManager.getService().isUserRunning( in isUserRunningOrStopping()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 204 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true); in installChildProfile() 213 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 85 if (!mService.isUserRunning(mUserId, 0)) { in sendNext()
|
D | UserController.java | 530 && isUserRunning(parent.id, ActivityManager.FLAG_AND_UNLOCKED)) { in finishUserBoot() 2094 boolean isUserRunning(@UserIdInt int userId, int flags) { 2287 if (isUserRunning(userId, 0)) { 2294 return isUserRunning(parentUserId, 0); 2341 return isUserRunning(userId, ActivityManager.FLAG_AND_LOCKED);
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 214 public abstract boolean isUserRunning(@UserIdInt int userId, int flags); in isUserRunning() method in ActivityManagerInternal
|
D | IActivityManager.aidl | 333 boolean isUserRunning(int userid, int flags); in isUserRunning() method
|
D | ActivityManager.java | 4405 public boolean isUserRunning(int userId) { 4407 return getService().isUserRunning(userId, 0);
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 253 attestTrue("Failed to switch to user " + testUser, mAm.isUserRunning(testUser)); in switchUser_running() 634 attestFalse("Failed to stop user " + testUser, mAm.isUserRunning(testUser)); in initializeNewUserAndSwitchBack()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 869 boolean isUserRunning(int userId, int flags) { in isUserRunning() method in RecentTasks 870 return mService.mAmInternal.isUserRunning(userId, flags); in isUserRunning() 889 if (!isUserRunning(userId, FLAG_AND_UNLOCKED)) { in getRecentTasksImpl()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | SettingsInjector.java | 504 if (!am.isUserRunning(setting.mUserHandle.getIdentifier())) { in startService()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 887 if (userManager.isUserRunning(userHandle) in addCall()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 268 doReturn(true).when(amInternal).isUserRunning(anyInt(), anyInt());
|
D | RecentTasksTest.java | 1052 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in testTaskInfo_expectNoExtras() 1090 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in assertGetRecentTasksOrder()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 333 if (um.isUserRunning(userId)) { in onBootPhase()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 204 doReturn(true).when(userManager).isUserRunning(any(UserHandle.class)); in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1458 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManagerService 1460 return mLocalService.isUserRunning(userId); in isUserRunning() 4621 final boolean running = am.isUserRunning(user.id, 0); in runList() 5028 public boolean isUserRunning(@UserIdInt int userId) { in isUserRunning() method in UserManagerService.LocalService
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2040 if (!isUserRunning(userHandle)) { 2892 protected boolean isUserRunning(UserHandle userHandle) { 2894 return userManager.isUserRunning(userHandle);
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 503 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 1217 if (mUserManager.isUserRunning(handle)) { in dispatchIntent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1145 if (!userManager.isUserRunning(userId)) { in restoreAllUnlockedUsers() 1493 && !amInternal.isUserRunning(vol.mountUserId, 0)) { in onVolumeCreatedLocked() 3353 } else if (umInternal.isUserRunning(user.id)) { in prepareUserStorageIfNeeded()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 3124 if (!mUserManager.isUserRunning(new UserHandle(userId))) { 3349 if (mUserManager.isUserRunning(UserHandle.of(userId))) { 3362 if (!mUserManager.isUserRunning(UserHandle.of(userId))) {
|