Searched refs:ums (Results 1 – 6 of 6) sorted by relevance
37 private lateinit var ums: UserManagerService variable in com.android.server.pm.UserManagerServiceDemoModeTest59 ums = UserManagerService(rule.mocks().context) in setUp()66 assertThat(ums.isDemoUser(0)).isTrue() in isDemoUser_returnsTrue_whenSystemPropertyIsSet()73 assertThat(ums.isDemoUser(0)).isFalse() in isDemoUser_returnsFalse_whenSystemPropertyIsSet()78 assertThat(ums.isDemoUser(0)).isFalse() in isDemoUser_returnsFalse_whenSystemPropertyIsNotSet()
638 final UserManagerService ums = mock(UserManagerService.class);639 doReturn(ums).when(this).getUserManager();640 doReturn(TEST_USER_PROFILE_IDS).when(ums).getProfileIds(anyInt(), eq(true));
107 UserManagerService ums = new UserManagerService(InstrumentationRegistry.getContext()); in setup() local110 mUserSystemPackageInstaller = new UserSystemPackageInstaller(ums, userTypes); in setup()
182 UserSystemPackageInstaller(UserManagerService ums, ArrayMap<String, Long> whitelist, in UserSystemPackageInstaller() argument184 mUm = ums; in UserSystemPackageInstaller()
349 UserManagerService ums = UserManagerService.getInstance(); in sendSessionCommitBroadcast() local350 if (ums == null || sessionInfo.isStaged()) { in sendSessionCommitBroadcast()353 final UserInfo parent = ums.getProfileParent(userId); in sendSessionCommitBroadcast()
3133 UserManagerService ums = mInjector.getUserManager();3134 return ums != null ? ums.getUserIds() : new int[] { 0 };