Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java140 assertThat(mMockedUserManager.isUserRunning(TEST_USER_ID)).isTrue(); in testMockUmIsUserRunning_running()
147 assertThat(mMockedUserManager.isUserRunning(TEST_USER_ID)).isFalse(); in testMockUmIsUserRunning_notRunning()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DProfileUserFragment.java176 if (mUserManager.isUserRunning(profileUser)) { in updateTextInfo()
231 if (!mUserManager.isUserRunning(userToUpdate)) { in stopUser()
253 if (mUserManager.isUserRunning(userToUpdate)) { in startUser()
/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java157 when(um.isUserRunning(userId)).thenReturn(isRunning); in mockUmIsUserRunning()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java333 doReturn(true).when(mUserManager).isUserRunning(anyInt()); in setUpServiceWithProfileSupportEnabled()
390 doReturn(false).when(mUserManager).isUserRunning(PROFILE_USER1); in testAssignProfileUserFailForStoppedUser()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java357 int userState = userManager.isUserRunning(info.id) in registerToDaemon()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java253 public boolean isUserRunning(int userId) { in isUserRunning() method in ContactsActor.MockUserManager
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java697 if (!mUserManager.isUserRunning(userId)) { in assignProfileUserToOccupantZone()
/packages/apps/Settings/src/com/android/settings/
DUtils.java777 if (!ActivityManager.getService().isUserRunning(userId, in unlockWorkProfileIfNecessary()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java175 when(userManager.isUserRunning(any(UserHandle.class))).thenReturn(true); in setUp()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1957 if (mUserManager.isUserRunning(user)) { in startAllBackgroundUsersInGarageMode()