Searched refs:userManagerInternal (Results 1 – 10 of 10) sorted by relevance
84 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()89 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()98 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration()116 }).when(getServices().userManagerInternal).setBaseUserRestrictionsByDpmsForMigration( in testMigration()213 when(getServices().userManagerInternal.getBaseUserRestrictions( in testMigration2_profileOwnerOnUser0()229 }).when(getServices().userManagerInternal).setBaseUserRestrictionsByDpmsForMigration( in testMigration2_profileOwnerOnUser0()
1112 reset(getServices().userManagerInternal); in testClearDeviceOwner()1122 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testClearDeviceOwner()1652 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()1658 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo()1665 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo()1668 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()1672 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo()1675 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()1680 reset(getServices().userManagerInternal); in testSetUserRestriction_asDo()1694 verify(getServices().userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()[all …]
67 super(services.userManager, services.userManagerInternal, in OwnersTestable()143 return services.userManagerInternal; in getUserManagerInternal()
84 public final UserManagerInternal userManagerInternal; field in MockSystemServices123 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
235 return mMockSystemServices.userManagerInternal; in getUserManagerInternal()
77 final UserManagerInternal userManagerInternal = in setUp() local79 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
1319 final UserManagerInternal userManagerInternal = in resolveUserId() local1324 return userManagerInternal.getUserIds(); in resolveUserId()1327 for (int userId : userManagerInternal.getUserIds()) { in resolveUserId()1328 final int parentUserId = userManagerInternal.getProfileParentId(userId); in resolveUserId()1346 } else if (userManagerInternal.exists(userIdToBeResolved)) { in resolveUserId()1357 ? sourceUserId : userManagerInternal.getProfileParentId(sourceUserId); in resolveUserId()
134 UserManagerInternal userManagerInternal, in Owners() argument137 this(userManager, userManagerInternal, packageManagerInternal, in Owners()143 UserManagerInternal userManagerInternal, in Owners() argument148 mUserManagerInternal = userManagerInternal; in Owners()
1308 UserManagerInternal userManagerInternal = in handleOnBootPhase() local1310 userManagerInternal.addUserRestrictionsListener(mUserRestrictionsListener); in handleOnBootPhase()
4008 final UserManagerInternal userManagerInternal = in onAppOpsChanged() local4010 if (userManagerInternal.isUserInitialized(UserHandle.getUserId(uid))) { in onAppOpsChanged()