Searched refs:mMockDevicePolicyManager (Results 1 – 1 of 1) sorted by relevance
113 @Mock private DevicePolicyManager mMockDevicePolicyManager; field in AccountManagerServiceTest159 mMockDevicePolicyManager); in setUp()485 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()512 mMockDevicePolicyManager); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()513 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()995 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()1021 mMockDevicePolicyManager); in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()1022 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()1392 mMockDevicePolicyManager); in testRemoveAccountAsUserUserCannotModifyAccountType()1393 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testRemoveAccountAsUserUserCannotModifyAccountType()[all …]