HomeSort by relevance Sort by last modified time
    Searched refs:mSecurityPolicy (Results 1 - 4 of 4) sorted by null

  /packages/apps/Email/provider_src/com/android/email/service/
PolicyService.java 36 private SecurityPolicy mSecurityPolicy;
43 return mSecurityPolicy.isActive(policy);
60 mSecurityPolicy.remoteWipe();
78 mSecurityPolicy.setAccountPolicy(accountId, policy, securityKey, notify);
121 mSecurityPolicy = SecurityPolicy.getInstance(this);
  /packages/apps/Email/tests/src/com/android/email/
SecurityPolicyTests.java 49 private SecurityPolicy mSecurityPolicy;
130 mSecurityPolicy = SecurityPolicy.getInstance(mMockContext);
133 assertEquals(EMPTY_POLICY, mSecurityPolicy.computeAggregatePolicy());
138 assertEquals(EMPTY_POLICY, mSecurityPolicy.computeAggregatePolicy());
146 Policy p3aout = mSecurityPolicy.computeAggregatePolicy();
154 Policy p3bout = mSecurityPolicy.computeAggregatePolicy();
170 Policy p4out = mSecurityPolicy.computeAggregatePolicy();
196 Policy p5out = mSecurityPolicy.computeAggregatePolicy();
312 mSecurityPolicy = SecurityPolicy.getInstance(mMockContext);
315 Policy before = mSecurityPolicy.getAggregatePolicy()
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityManagerService.java 179 private final SecurityPolicy mSecurityPolicy;
231 mSecurityPolicy = new SecurityPolicy();
391 final int resolvedUserId = mSecurityPolicy
397 if (mSecurityPolicy.isCallerInteractingAcrossUsers(userId)) {
423 final int resolvedUserId = mSecurityPolicy
429 if (mSecurityPolicy.canDispatchAccessibilityEventLocked(event)) {
430 mSecurityPolicy.updateActiveAndAccessibilityFocusedWindowLocked(event.getWindowId(),
432 mSecurityPolicy.updateEventSourceLocked(event);
452 final int resolvedUserId = mSecurityPolicy
475 final int resolvedUserId = mSecurityPolicy
    [all...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetServiceImpl.java 188 private final SecurityPolicy mSecurityPolicy;
209 mSecurityPolicy = new SecurityPolicy();
303 final int groupId = mSecurityPolicy.getGroupParent(
411 final int[] profileIds = mSecurityPolicy.getEnabledGroupProfileIds(userId);
497 mSecurityPolicy.enforceCallFromPackage(callingPackage);
533 mSecurityPolicy.enforceCallFromPackage(callingPackage);
559 mSecurityPolicy.enforceCallFromPackage(callingPackage);
602 mSecurityPolicy.enforceCallFromPackage(callingPackage);
634 mSecurityPolicy.enforceModifyAppWidgetBindPermissions(packageName);
658 mSecurityPolicy.enforceModifyAppWidgetBindPermissions(packageName)
    [all...]

Completed in 1244 milliseconds