Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/security/
DSecurityFeatureProviderImpl.java27 private TrustAgentManager mTrustAgentManager; field in SecurityFeatureProviderImpl
32 if (mTrustAgentManager == null) { in getTrustAgentManager()
33 mTrustAgentManager = new TrustAgentManager(); in getTrustAgentManager()
35 return mTrustAgentManager; in getTrustAgentManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentManagerTest.java42 private TrustAgentManager mTrustAgentManager; field in TrustAgentManagerTest
47 mTrustAgentManager = new TrustAgentManager(); in setUp()
60 assertThat(mTrustAgentManager.shouldProvideTrust(resolveInfo, mPackageManager)).isTrue(); in shouldProvideTrust_doesProvideTrustWithPermission()
73 assertThat(mTrustAgentManager.shouldProvideTrust(resolveInfo, mPackageManager)).isFalse(); in shouldProvideTrust_doesNotProvideTrustWithoutPermission()
DManageTrustAgentsPreferenceControllerTest.java49 private TrustAgentManager mTrustAgentManager; field in ManageTrustAgentsPreferenceControllerTest
66 .thenReturn(mTrustAgentManager); in setUp()
97 when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils)) in updateState_isSecure_noTrustAgent_shouldShowGenericSummary()
110 when(mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils)) in updateState_isSecure_hasTrustAgent_shouldShowDetailedSummary()
DTrustAgentListPreferenceControllerTest.java64 private TrustAgentManager mTrustAgentManager; field in TrustAgentListPreferenceControllerTest
91 .thenReturn(mTrustAgentManager); in setUp()
135 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_shouldAddNewAgents()
155 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_ifNotAvailable_shouldNotAddNewAgents()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DPowerButtonInstantLockPreferenceControllerTest.java50 private TrustAgentManager mTrustAgentManager; field in PowerButtonInstantLockPreferenceControllerTest
63 .thenReturn(mTrustAgentManager); in setUp()
107 when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils)) in updateState_shouldSetPref()
116 when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils)) in updateState_shouldSetPref()
DLockAfterTimeoutPreferenceControllerTest.java60 private TrustAgentManager mTrustAgentManager; field in LockAfterTimeoutPreferenceControllerTest
74 .thenReturn(mTrustAgentManager); in setUp()
/packages/apps/Settings/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceController.java62 private final TrustAgentManager mTrustAgentManager; field in TrustAgentsPreferenceController
74 mTrustAgentManager = securityFeatureProvider.getTrustAgentManager(); in TrustAgentsPreferenceController()
145 if (!mTrustAgentManager.shouldProvideTrust(resolveInfo, mPackageManager)) { in findAvailableTrustAgents()
149 final ComponentName componentName = mTrustAgentManager.getComponentName(resolveInfo); in findAvailableTrustAgents()
DManageTrustAgentsPreferenceController.java38 private TrustAgentManager mTrustAgentManager; field in ManageTrustAgentsPreferenceController
45 mTrustAgentManager = securityFeatureProvider.getTrustAgentManager(); in ManageTrustAgentsPreferenceController()
72 return mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils).size(); in getTrustAgentCount()
DTrustAgentListPreferenceController.java62 private final TrustAgentManager mTrustAgentManager; field in TrustAgentListPreferenceController
75 mTrustAgentManager = provider.getTrustAgentManager(); in TrustAgentListPreferenceController()
157 mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils); in updateTrustAgents()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DPowerButtonInstantLockPreferenceController.java40 private final TrustAgentManager mTrustAgentManager; field in PowerButtonInstantLockPreferenceController
47 mTrustAgentManager = FeatureFactory.getFactory(context) in PowerButtonInstantLockPreferenceController()
74 final CharSequence trustAgentLabel = mTrustAgentManager.getActiveTrustAgentLabel( in updateState()
DLockAfterTimeoutPreferenceController.java47 private final TrustAgentManager mTrustAgentManager; field in LockAfterTimeoutPreferenceController
56 mTrustAgentManager = FeatureFactory.getFactory(context) in LockAfterTimeoutPreferenceController()
141 final CharSequence trustAgentLabel = mTrustAgentManager in updateLockAfterPreferenceSummary()