Searched refs:mMockDevicePolicyManager (Results 1 – 3 of 3) sorted by relevance
83 private DevicePolicyManager mMockDevicePolicyManager; field in TelephonyPermissionsTest106 mMockDevicePolicyManager); in setUp()125 when(mMockDevicePolicyManager.checkDeviceIdentifierAccess(eq(PACKAGE), eq(PID), in setUp()315 when(mMockDevicePolicyManager.checkDeviceIdentifierAccess(eq(PACKAGE), eq(PID), in testCheckReadDeviceIdentifiers_hasDPMDeviceIDAccess()420 when(mMockDevicePolicyManager.checkDeviceIdentifierAccess(eq(PACKAGE), anyInt(), in testCheckCallingOrSelfReadSubscriberIdentifiers_noPermissions()
111 @Mock private DevicePolicyManager mMockDevicePolicyManager; field in AccountManagerServiceTest158 mMockDevicePolicyManager); in setUp()488 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()515 mMockDevicePolicyManager); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()516 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()1002 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()1028 mMockDevicePolicyManager); in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()1029 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()1403 mMockDevicePolicyManager); in testRemoveAccountAsUserUserCannotModifyAccountType()1404 when(mMockDevicePolicyManager.getAccountTypesWithManagementDisabledAsUser(anyInt())) in testRemoveAccountAsUserUserCannotModifyAccountType()[all …]
148 return mMockDevicePolicyManager; in getSystemService()616 protected DevicePolicyManager mMockDevicePolicyManager; field in BaseShortcutManagerTest757 mMockDevicePolicyManager = mock(DevicePolicyManager.class); in setUp()