/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 245 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/ |
D | UserManagerInternal.java | 219 public abstract boolean isUserRunning(int userId); in isUserRunning() method in UserManagerInternal
|
D | UserManagerService.java | 1561 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/ |
D | MockSystemServices.java | 248 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/ |
D | BaseLockSettingsServiceTests.java | 201 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/ |
D | IUserManager.aidl | 118 boolean isUserRunning(int userId); in isUserRunning() method
|
D | UserManager.java | 2382 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/ |
D | PreBootBroadcaster.java | 90 if (!mService.isUserRunning(mUserId, 0)) { in sendNext()
|
D | UserController.java | 535 && 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);
|
D | ContentProviderHelper.java | 344 if (!mService.mUserController.isUserRunning(userId, 0)) { in getContentProviderImpl()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 326 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/ |
D | ActivityManagerInternal.java | 262 public abstract boolean isUserRunning(@UserIdInt int userId, int flags); in isUserRunning() method in ActivityManagerInternal
|
D | IActivityManager.aidl | 338 boolean isUserRunning(int userid, int flags); in isUserRunning() method
|
D | ActivityManager.java | 4199 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/ |
D | RecentTasks.java | 882 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/ |
D | SettingsInjector.java | 507 if (!am.isUserRunning(setting.mUserHandle.getIdentifier())) { in startService()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 274 doReturn(true).when(amInternal).isUserRunning(anyInt(), anyInt());
|
D | RecentTasksTest.java | 1216 doReturn(true).when(mRecentTasks).isUserRunning(anyInt(), anyInt()); in getRecentTasks()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 662 attestFalse("Failed to stop user " + testUser, mAm.isUserRunning(testUser)); in initializeNewUserAndSwitchBack()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 340 if (um.isUserRunning(userId)) { in onBootPhase()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 171 doReturn(true).when(userManager).isUserRunning(any(UserHandle.class)); in setUp()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2104 if (!isUserRunning(userHandle)) { 2921 protected boolean isUserRunning(UserHandle userHandle) { 2923 return userManager.isUserRunning(userHandle);
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 509 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 1153 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/ |
D | InboundSmsHandler.java | 1335 if (mUserManager.isUserRunning(handle)) { in dispatchIntent()
|