Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
H A DContentProtectionConsentManagerTest.java80 @Mock private DevicePolicyManagerInternal mMockDevicePolicyManagerInternal; field in ContentProtectionConsentManagerTest
104 verifyZeroInteractions(mMockDevicePolicyManagerInternal); in isConsentGranted_packageVerifierNotGranted()
114 verify(mMockDevicePolicyManagerInternal).isUserOrganizationManaged(TEST_USER_ID); in isConsentGranted_packageVerifierGranted_userNotManaged()
119 when(mMockDevicePolicyManagerInternal.isUserOrganizationManaged(TEST_USER_ID)) in isConsentGranted_packageVerifierGranted_userManaged()
136 verifyZeroInteractions(mMockDevicePolicyManagerInternal); in isConsentGranted_packageVerifierDefault()
153 verify(mMockDevicePolicyManagerInternal).isUserOrganizationManaged(TEST_USER_ID); in contentObserver()
161 mMockDevicePolicyManagerInternal); in createContentProtectionConsentManager()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java116 @Mock private DevicePolicyManagerInternal mMockDevicePolicyManagerInternal; field in AccountManagerServiceTest
517 when(mMockDevicePolicyManagerInternal.createUserRestrictionSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
519 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
576 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
590 verify(mMockDevicePolicyManagerInternal).createShowAdminSupportIntent( in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
1036 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1124 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()
1137 verify(mMockDevicePolicyManagerInternal).createShowAdminSupportIntent( in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()
2014 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testAddAccountAsUserUserCannotModifyAccountWithDPM()
2073 when(mMockDevicePolicyManagerInternal.createShowAdminSupportIntent( in testAddAccountAsUserUserCannotModifyAccountForTypeWithDPM()
[all …]