Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/
H A DContentCaptureManagerServiceTest.java95 @Mock private ContentProtectionConsentManager mMockContentProtectionConsentManager; field in ContentCaptureManagerServiceTest
127 verifyZeroInteractions(mMockContentProtectionConsentManager); in constructor_contentProtection_flagDisabled_noManagers()
140 verifyZeroInteractions(mMockContentProtectionConsentManager); in constructor_contentProtection_componentNameNull_noManagers()
153 verifyZeroInteractions(mMockContentProtectionConsentManager); in constructor_contentProtection_componentNameBlank_noManagers()
166 verifyZeroInteractions(mMockContentProtectionConsentManager); in constructor_contentProtection_enabled_createsManagers()
191 verify(mMockContentProtectionConsentManager).isConsentGranted(USER_ID); in getOptions_contentCaptureDisabled_contentProtectionDisabled()
229 verify(mMockContentProtectionConsentManager).isConsentGranted(USER_ID); in getOptions_contentCaptureEnabled_contentProtectionDisabled()
263 verify(mMockContentProtectionConsentManager).isConsentGranted(USER_ID); in isWhitelisted_packageName_contentCaptureDisabled_contentProtectionNotGranted()
307 verify(mMockContentProtectionConsentManager, never()).isConsentGranted(anyInt()); in isWhitelisted_packageName_contentCaptureEnabled_contentProtectionNotChecked()
321 verify(mMockContentProtectionConsentManager).isConsentGranted(USER_ID); in isWhitelisted_componentName_contentCaptureDisabled_contentProtectionNotGranted()
[all …]