Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAlwaysOnVpnCurrentUserPreferenceControllerTest.java66 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isAlwaysOnVpnSetInCurrentUser()) in testUpdateState()
69 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isInCompMode()).thenReturn(false); in testUpdateState()
73 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isInCompMode()).thenReturn(true); in testUpdateState()
80 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isAlwaysOnVpnSetInCurrentUser()) in testIsAvailable()
84 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isAlwaysOnVpnSetInCurrentUser()) in testIsAvailable()
DEnterprisePrivacyPreferenceControllerTest.java65 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getDeviceOwnerOrganizationName()) in testUpdateState()
73 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getDeviceOwnerOrganizationName()) in testUpdateState()
81 when(mFeatureFactory.enterprisePrivacyFeatureProvider.hasDeviceOwner()).thenReturn(false); in testIsAvailable()
84 when(mFeatureFactory.enterprisePrivacyFeatureProvider.hasDeviceOwner()).thenReturn(true); in testIsAvailable()
DSecurityLogsPreferenceControllerTest.java40 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getLastSecurityLogRetrievalTime()) in setDate()
47 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isSecurityLoggingEnabled()) in testIsAvailable()
55 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isSecurityLoggingEnabled()) in testIsAvailable()
DNetworkLogsPreferenceControllerTest.java40 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getLastNetworkLogRetrievalTime()) in setDate()
47 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isNetworkLoggingEnabled()) in testIsAvailable()
55 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isNetworkLoggingEnabled()) in testIsAvailable()
DImePreferenceControllerTest.java64 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getImeLabelIfOwnerSet()) in testUpdateState()
72 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getImeLabelIfOwnerSet()) in testIsAvailable()
76 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getImeLabelIfOwnerSet()) in testIsAvailable()
DAlwaysOnVpnManagedProfilePreferenceControllerTest.java57 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isAlwaysOnVpnSetInManagedProfile()) in testIsAvailable()
61 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isAlwaysOnVpnSetInManagedProfile()) in testIsAvailable()
DGlobalHttpProxyPreferenceControllerTest.java57 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isGlobalHttpProxySet()) in testIsAvailable()
61 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isGlobalHttpProxySet()) in testIsAvailable()
DCaCertsCurrentUserPreferenceControllerTest.java59 when(mFeatureFactory.enterprisePrivacyFeatureProvider in mockGetNumberOfCaCerts()
77 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isInCompMode()) in assertUpdateState()
DManageDeviceAdminPreferenceControllerTest.java63 when(mFeatureFactory.enterprisePrivacyFeatureProvider in testUpdateState()
71 when(mFeatureFactory.enterprisePrivacyFeatureProvider in testUpdateState()
DEnterprisePrivacySettingsTest.java70 when(mFeatureFactory.enterprisePrivacyFeatureProvider.hasDeviceOwner()) in isPageEnabled_hasDeviceOwner_shouldReturnTrue()
79 when(mFeatureFactory.enterprisePrivacyFeatureProvider.hasDeviceOwner()) in isPageEnabled_noDeviceOwner_shouldReturnFalse()
DFailedPasswordWipeCurrentUserPreferenceControllerTest.java40 when(mFeatureFactory.enterprisePrivacyFeatureProvider in setMaximumFailedPasswordsBeforeWipe()
DFailedPasswordWipeManagedProfilePreferenceControllerTest.java40 when(mFeatureFactory.enterprisePrivacyFeatureProvider in setMaximumFailedPasswordsBeforeWipe()
DCaCertsManagedProfilePreferenceControllerTest.java30 when(mFeatureFactory.enterprisePrivacyFeatureProvider in mockGetNumberOfCaCerts()
DBugReportsPreferenceControllerTest.java41 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getLastBugReportRequestTime()) in setDate()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java113 when(mFeatureFactory.enterprisePrivacyFeatureProvider.isInCompMode()).thenReturn(false); in testMultipleAppsForOneTypeOfDefault()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeFeatureFactory.java62 public final EnterprisePrivacyFeatureProvider enterprisePrivacyFeatureProvider; field in FakeFeatureFactory
106 enterprisePrivacyFeatureProvider = mock(EnterprisePrivacyFeatureProvider.class); in FakeFeatureFactory()
164 return enterprisePrivacyFeatureProvider; in getEnterprisePrivacyFeatureProvider()