/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityMediumTests.java | 71 Account acct = Utility.findExistingAccount(mMockContext, -1, "address-ha1", "login-ha1"); in testFindExistingAccount() local 72 assertNotNull(acct); in testFindExistingAccount() 73 assertEquals("account1", acct.mDisplayName); in testFindExistingAccount() 74 acct = Utility.findExistingAccount(mMockContext, -1, "address-ha2", "login-ha2"); in testFindExistingAccount() 75 assertNotNull(acct); in testFindExistingAccount() 76 assertEquals("account2", acct.mDisplayName); in testFindExistingAccount() 78 acct = Utility.findExistingAccount(mMockContext, -1, "address-ha3", "login-ha3"); in testFindExistingAccount() 79 assertNull(acct); in testFindExistingAccount() 81 acct = Utility.findExistingAccount(mMockContext, account1.mId, "address-ha1", "login-ha1"); in testFindExistingAccount() 82 assertNull(acct); in testFindExistingAccount() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MessagesAdapterTests.java | 44 Account acct = ProviderTestUtils.setupAccount("acct1", false, mProviderContext); in createAccount() local 46 acct.mHostAuthRecv = in createAccount() 48 acct.mHostAuthKeyRecv = acct.mHostAuthRecv.mId; in createAccount() 49 acct.save(mProviderContext); in createAccount() 50 return acct.mId; in createAccount()
|
D | MailboxFinderTest.java | 97 Account acct = ProviderTestUtils.setupAccount("acct1", false, mProviderContext); in createAccount() local 99 acct.mFlags |= Account.FLAGS_SECURITY_HOLD; in createAccount() 101 acct.save(mProviderContext); in createAccount() 102 return acct.mId; in createAccount()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarSettingsActivity.java | 50 Account acct = accounts[i]; in onBuildHeaders() local 51 if (ContentResolver.getIsSyncable(acct, CalendarContract.AUTHORITY) > 0) { in onBuildHeaders() 53 accountHeader.title = acct.name; in onBuildHeaders() 57 args.putString(Calendars.ACCOUNT_NAME, acct.name); in onBuildHeaders() 58 args.putString(Calendars.ACCOUNT_TYPE, acct.type); in onBuildHeaders()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 582 android.accounts.Account acct = new android.accounts.Account(mAccount.mEmailAddress, in loadSettings() local 585 .getSyncAutomatically(acct, ContactsContract.AUTHORITY)); in loadSettings() 588 .getSyncAutomatically(acct, CalendarProviderStub.AUTHORITY)); in loadSettings() 591 .getSyncAutomatically(acct, EmailContent.AUTHORITY)); in loadSettings() 668 android.accounts.Account acct = new android.accounts.Account(mAccount.mEmailAddress, in saveSettings() local 670 ContentResolver.setSyncAutomatically(acct, ContactsContract.AUTHORITY, in saveSettings() 672 ContentResolver.setSyncAutomatically(acct, CalendarProviderStub.AUTHORITY, in saveSettings() 674 ContentResolver.setSyncAutomatically(acct, EmailContent.AUTHORITY, in saveSettings()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 137 Account acct = ProviderTestUtils.setupAccount("account", true, context); in testCachedCursors() local 138 ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testCachedCursors() 139 Mailbox box = ProviderTestUtils.setupMailbox("box2", acct.mId, true, context); in testCachedCursors()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | ExchangeService.java | 369 Account acct = Account.restoreAccountWithId(exchangeService, m.mAccountKey); 370 if (acct == null) return; 374 if (onSyncDisabledHold(acct)) { 375 releaseSyncHolds(exchangeService, AbstractSyncService.EXIT_ACCESS_DENIED, acct); 377 } else if (onSecurityHold(acct)) { 379 acct); 859 Account acct = Account.restoreAccountWithId(getContext(), acctId); in addAccountMailbox() local 863 main.mAccountKey = acct.mId; in addAccountMailbox() 868 log("Initializing account: " + acct.mDisplayName); in addAccountMailbox() 1360 Account acct = Account.restoreAccountWithId(context, accountId); in reloadFolderList() local [all …]
|
D | EasSyncService.java | 928 Account acct = Account.restoreAccountWithId(context, accountId); in searchGal() local 929 if (acct != null) { in searchGal() 930 EasSyncService svc = setupServiceForAccount(context, acct); in searchGal()
|