Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java844 reset(mContext.userManagerInternal); in testClearDeviceOwner()
850 verify(mContext.userManagerInternal).setDevicePolicyUserRestrictions( in testClearDeviceOwner()
1202 reset(mContext.userManagerInternal); in testSetUserRestriction_asDo()
1205 verify(mContext.userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()
1210 reset(mContext.userManagerInternal); in testSetUserRestriction_asDo()
1213 verify(mContext.userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()
1218 reset(mContext.userManagerInternal); in testSetUserRestriction_asDo()
1232 verify(mContext.userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()
1237 reset(mContext.userManagerInternal); in testSetUserRestriction_asDo()
1249 verify(mContext.userManagerInternal).setDevicePolicyUserRestrictions( in testSetUserRestriction_asDo()
[all …]
DDevicePolicyManagerServiceMigrationTest.java87 when(mMockContext.userManagerInternal.getBaseUserRestrictions( in testMigration()
92 when(mMockContext.userManagerInternal.getBaseUserRestrictions( in testMigration()
101 when(mMockContext.userManagerInternal.getBaseUserRestrictions( in testMigration()
122 }).when(mContext.userManagerInternal).setBaseUserRestrictionsByDpmsForMigration( in testMigration()
218 when(mMockContext.userManagerInternal.getBaseUserRestrictions( in testMigration2_profileOwnerOnUser0()
237 }).when(mContext.userManagerInternal).setBaseUserRestrictionsByDpmsForMigration( in testMigration2_profileOwnerOnUser0()
DDevicePolicyManagerServiceTestable.java58 super(context.userManager, context.userManagerInternal, context.packageManagerInternal); in OwnersTestable()
137 return context.userManagerInternal; in getUserManagerInternal()
DDpmMockContext.java250 public final UserManagerInternal userManagerInternal; field in DpmMockContext
285 userManagerInternal = mock(UserManagerInternal.class); in DpmMockContext()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java108 UserManagerInternal userManagerInternal, in Owners() argument
111 mUserManagerInternal = userManagerInternal; in Owners()