Home
last modified time | relevance | path

Searched refs:mSecurityPolicy (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java49 private SecurityPolicy mSecurityPolicy; field in SecurityPolicyTests
130 mSecurityPolicy = SecurityPolicy.getInstance(mMockContext); in testAggregator()
133 assertEquals(EMPTY_POLICY, mSecurityPolicy.computeAggregatePolicy()); in testAggregator()
138 assertEquals(EMPTY_POLICY, mSecurityPolicy.computeAggregatePolicy()); in testAggregator()
146 Policy p3aout = mSecurityPolicy.computeAggregatePolicy(); in testAggregator()
154 Policy p3bout = mSecurityPolicy.computeAggregatePolicy(); in testAggregator()
170 Policy p4out = mSecurityPolicy.computeAggregatePolicy(); in testAggregator()
196 Policy p5out = mSecurityPolicy.computeAggregatePolicy(); in testAggregator()
312 mSecurityPolicy = SecurityPolicy.getInstance(mMockContext); in testDisableAdmin()
315 Policy before = mSecurityPolicy.getAggregatePolicy(); in testDisableAdmin()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DPolicyService.java36 private SecurityPolicy mSecurityPolicy; field in PolicyService
43 return mSecurityPolicy.isActive(policy);
60 mSecurityPolicy.remoteWipe();
78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify);
121 mSecurityPolicy = SecurityPolicy.getInstance(this); in onBind()