Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java112 @Mock private DevicePolicyManagerInternal mMockDevicePolicyManagerInternal; field in AccountManagerServiceTest
461 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
462 when(mMockDevicePolicyManagerInternal.createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
464 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
478 verify(mMockDevicePolicyManagerInternal).createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
518 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
519 when(mMockDevicePolicyManagerInternal.createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
521 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
535 verify(mMockDevicePolicyManagerInternal).createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
939 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
[all …]