Searched refs:SecurityPolicy (Results 1 – 6 of 6) sorted by relevance
19 import com.android.email.SecurityPolicy;30 private SecurityPolicy mSecurityPolicy;47 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);75 mSecurityPolicy = SecurityPolicy.getInstance(this); in onBind()
34 import com.android.email.SecurityPolicy;125 SecurityPolicy.onDeviceAdminReceiverMessage(this, message); in onHandleIntent()
34 import com.android.email.SecurityPolicy;110 SecurityPolicy security = SecurityPolicy.getInstance(this); in onCreate()176 SecurityPolicy security = SecurityPolicy.getInstance(this); in tryAdvanceSecurity()232 if ((inactiveReasons & SecurityPolicy.INACTIVE_NEED_PASSWORD) != 0) { in tryAdvanceSecurity()252 if ((inactiveReasons & SecurityPolicy.INACTIVE_NEED_ENCRYPTION) != 0) { in tryAdvanceSecurity()284 private void repostNotification(final Account account, final SecurityPolicy security) { in repostNotification()353 activity.mAccount, SecurityPolicy.getInstance(activity)); in onClick()
53 public class SecurityPolicy { class55 private static SecurityPolicy sInstance = null;73 public synchronized static SecurityPolicy getInstance(Context context) { in getInstance()75 sInstance = new SecurityPolicy(context.getApplicationContext()); in getInstance()83 private SecurityPolicy(Context context) { in SecurityPolicy() method in SecurityPolicy810 SecurityPolicy instance = SecurityPolicy.getInstance(context);
1168 SecurityPolicy.getInstance(context).reducePolicies();
67 -keepclasseswithmembers class com.android.email.SecurityPolicy {