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.java110 @Mock private DevicePolicyManagerInternal mMockDevicePolicyManagerInternal; field in AccountManagerServiceTest
464 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
465 when(mMockDevicePolicyManagerInternal.createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
467 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
481 verify(mMockDevicePolicyManagerInternal).createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
521 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
522 when(mMockDevicePolicyManagerInternal.createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
524 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
538 verify(mMockDevicePolicyManagerInternal).createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
946 DevicePolicyManagerInternal.class, mMockDevicePolicyManagerInternal); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
[all …]