Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java84 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()
DDevicePolicyManagerTest.java1112 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 …]
DDevicePolicyManagerServiceTestable.java67 super(services.userManager, services.userManagerInternal, in OwnersTestable()
143 return services.userManagerInternal; in getUserManagerInternal()
DMockSystemServices.java84 public final UserManagerInternal userManagerInternal; field in MockSystemServices
123 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
DDpmMockContext.java235 return mMockSystemServices.userManagerInternal; in getUserManagerInternal()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java77 final UserManagerInternal userManagerInternal = in setUp() local
79 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java1319 final UserManagerInternal userManagerInternal = in resolveUserId() local
1324 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()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java134 UserManagerInternal userManagerInternal, in Owners() argument
137 this(userManager, userManagerInternal, packageManagerInternal, in Owners()
143 UserManagerInternal userManagerInternal, in Owners() argument
148 mUserManagerInternal = userManagerInternal; in Owners()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1308 UserManagerInternal userManagerInternal = in handleOnBootPhase() local
1310 userManagerInternal.addUserRestrictionsListener(mUserRestrictionsListener); in handleOnBootPhase()
DStorageManagerService.java4008 final UserManagerInternal userManagerInternal = in onAppOpsChanged() local
4010 if (userManagerInternal.isUserInitialized(UserHandle.getUserId(uid))) { in onAppOpsChanged()