Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java347 long nextExpiringAccountId = SecurityPolicy.findShortestExpiration(mMockContext); in testFindExpiringAccount() local
348 assertEquals(-1, nextExpiringAccountId); in testFindExpiringAccount()
358 nextExpiringAccountId = SecurityPolicy.findShortestExpiration(mMockContext); in testFindExpiringAccount()
359 assertEquals(a2.mId, nextExpiringAccountId); in testFindExpiringAccount()
368 nextExpiringAccountId = SecurityPolicy.findShortestExpiration(mMockContext); in testFindExpiringAccount()
369 assertEquals(a2.mId, nextExpiringAccountId); in testFindExpiringAccount()
378 nextExpiringAccountId = SecurityPolicy.findShortestExpiration(mMockContext); in testFindExpiringAccount()
379 assertEquals(a4.mId, nextExpiringAccountId); in testFindExpiringAccount()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java760 long nextExpiringAccountId = findShortestExpiration(context); in onPasswordExpiring() local
763 if (nextExpiringAccountId == -1) { in onPasswordExpiring()
776 nc.showPasswordExpiringNotificationSynchronous(nextExpiringAccountId); in onPasswordExpiring()
781 nc.showPasswordExpiredNotificationSynchronous(nextExpiringAccountId); in onPasswordExpiring()