Searched refs:isUserRunning (Results 1 – 10 of 10) sorted by relevance
140 assertThat(mMockedUserManager.isUserRunning(TEST_USER_ID)).isTrue(); in testMockUmIsUserRunning_running()147 assertThat(mMockedUserManager.isUserRunning(TEST_USER_ID)).isFalse(); in testMockUmIsUserRunning_notRunning()
176 if (mUserManager.isUserRunning(profileUser)) { in updateTextInfo()231 if (!mUserManager.isUserRunning(userToUpdate)) { in stopUser()253 if (mUserManager.isUserRunning(userToUpdate)) { in startUser()
157 when(um.isUserRunning(userId)).thenReturn(isRunning); in mockUmIsUserRunning()
333 doReturn(true).when(mUserManager).isUserRunning(anyInt()); in setUpServiceWithProfileSupportEnabled()390 doReturn(false).when(mUserManager).isUserRunning(PROFILE_USER1); in testAssignProfileUserFailForStoppedUser()
357 int userState = userManager.isUserRunning(info.id) in registerToDaemon()
253 public boolean isUserRunning(int userId) { in isUserRunning() method in ContactsActor.MockUserManager
697 if (!mUserManager.isUserRunning(userId)) { in assignProfileUserToOccupantZone()
777 if (!ActivityManager.getService().isUserRunning(userId, in unlockWorkProfileIfNecessary()
175 when(userManager.isUserRunning(any(UserHandle.class))).thenReturn(true); in setUp()
1957 if (mUserManager.isUserRunning(user)) { in startAllBackgroundUsersInGarageMode()