/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentListPreferenceControllerTest.java | 63 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()
|
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()
|
/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/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 | ManageTrustAgentsPreferenceController.java | 38 private TrustAgentManager mTrustAgentManager; field in ManageTrustAgentsPreferenceController 49 mTrustAgentManager = securityFeatureProvider.getTrustAgentManager(); in ManageTrustAgentsPreferenceController() 76 return mTrustAgentManager.getActiveTrustAgents(mContext, mLockPatternUtils).size(); in getTrustAgentCount()
|
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 | TrustAgentListPreferenceController.java | 65 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/ |
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()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecuritySettingsTest.java | 57 private TrustAgentManager mTrustAgentManager; field in SecuritySettingsTest 68 when(mSecurityFeatureProvider.getTrustAgentManager()).thenReturn(mTrustAgentManager); in setup()
|