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

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 645 public static boolean isValidId(Context context, long accountId) {
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java 376 assertTrue(Account.isValidId(mMockContext, account1.mId));
377 assertTrue(Account.isValidId(mMockContext, account2.mId));
379 assertFalse(Account.isValidId(mMockContext, 1234567)); // Some random ID
380 assertFalse(Account.isValidId(mMockContext, -1));
381 assertFalse(Account.isValidId(mMockContext, -500));
    [all...]

Completed in 441 milliseconds