/packages/apps/Settings/src/com/android/settings/security/ |
D | SecurityFeatureProviderImpl.java | 27 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/ |
D | TrustAgentManagerTest.java | 42 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()
|
D | ManageTrustAgentsPreferenceControllerTest.java | 49 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()
|
D | TrustAgentListPreferenceControllerTest.java | 64 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/ |
D | PowerButtonInstantLockPreferenceControllerTest.java | 50 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()
|
D | LockAfterTimeoutPreferenceControllerTest.java | 60 private TrustAgentManager mTrustAgentManager; field in LockAfterTimeoutPreferenceControllerTest 74 .thenReturn(mTrustAgentManager); in setUp()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentsPreferenceController.java | 62 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()
|
D | ManageTrustAgentsPreferenceController.java | 38 private TrustAgentManager mTrustAgentManager; field in ManageTrustAgentsPreferenceController 45 mTrustAgentManager = securityFeatureProvider.getTrustAgentManager(); in ManageTrustAgentsPreferenceController() 72 return mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils).size(); in getTrustAgentCount()
|
D | TrustAgentListPreferenceController.java | 62 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/ |
D | PowerButtonInstantLockPreferenceController.java | 40 private final TrustAgentManager mTrustAgentManager; field in PowerButtonInstantLockPreferenceController 47 mTrustAgentManager = FeatureFactory.getFactory(context) in PowerButtonInstantLockPreferenceController() 74 final CharSequence trustAgentLabel = mTrustAgentManager.getActiveTrustAgentLabel( in updateState()
|
D | LockAfterTimeoutPreferenceController.java | 47 private final TrustAgentManager mTrustAgentManager; field in LockAfterTimeoutPreferenceController 56 mTrustAgentManager = FeatureFactory.getFactory(context) in LockAfterTimeoutPreferenceController() 141 final CharSequence trustAgentLabel = mTrustAgentManager in updateLockAfterPreferenceSummary()
|