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

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
Account.java 617 public static boolean isValidId(Context context, long accountId) {
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java 367 assertTrue(Account.isValidId(mMockContext, account1.mId));
368 assertTrue(Account.isValidId(mMockContext, account2.mId));
370 assertFalse(Account.isValidId(mMockContext, 1234567)); // Some random ID
371 assertFalse(Account.isValidId(mMockContext, -1));
372 assertFalse(Account.isValidId(mMockContext, -500));
    [all...]

Completed in 27 milliseconds