Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java348 assertTrue(Account.isValidId(mMockContext, account1.mId)); in testAccountIsValidId()
349 assertTrue(Account.isValidId(mMockContext, account2.mId)); in testAccountIsValidId()
351 assertFalse(Account.isValidId(mMockContext, 1234567)); // Some random ID in testAccountIsValidId()
352 assertFalse(Account.isValidId(mMockContext, -1)); in testAccountIsValidId()
353 assertFalse(Account.isValidId(mMockContext, -500)); in testAccountIsValidId()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java569 public static boolean isValidId(Context context, long accountId) { in isValidId() method in Account