Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentListPreferenceControllerTest.java63 private TrustAgentManager mTrustAgentManager; field in TrustAgentListPreferenceControllerTest
90 .thenReturn(mTrustAgentManager); in setUp()
125 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_shouldClearOldAgents()
144 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_shouldAddNewAgents()
164 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_ifNotAvailable_shouldNotAddNewAgents()
183 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in onResume_controllerShouldHasKey()
203 when(mTrustAgentManager.getActiveTrustAgents(mActivity, mLockPatternUtils)) in updateDynamicRawDataToIndex_shouldIndexAgents()
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()
/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/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/
DManageTrustAgentsPreferenceController.java38 private TrustAgentManager mTrustAgentManager; field in ManageTrustAgentsPreferenceController
49 mTrustAgentManager = securityFeatureProvider.getTrustAgentManager(); in ManageTrustAgentsPreferenceController()
76 return mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils).size(); in getTrustAgentCount()
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()
DTrustAgentListPreferenceController.java65 private final TrustAgentManager mTrustAgentManager; field in TrustAgentListPreferenceController
81 mTrustAgentManager = provider.getTrustAgentManager(); in TrustAgentListPreferenceController()
176 return mTrustAgentManager.getActiveTrustAgents(context, mLockPatternUtils); in getActiveTrustAgents()
/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()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DSecuritySettingsTest.java57 private TrustAgentManager mTrustAgentManager; field in SecuritySettingsTest
68 when(mSecurityFeatureProvider.getTrustAgentManager()).thenReturn(mTrustAgentManager); in setup()