Searched refs:acct (Results 1 – 15 of 15) sorted by relevance
118 private Attachment setupSimpleAttachment(String name, long size, Account acct) { in setupSimpleAttachment() argument120 att.mAccountKey = acct.mId; in setupSimpleAttachment()124 Account acct = ProviderTestUtils.setupAccount("acct1", true, mMockContext); in testSetAttachmentFlagsForNewPolicy() local127 SecurityPolicy.setAccountPolicy(mMockContext, acct, policy1, null); in testSetAttachmentFlagsForNewPolicy()128 Mailbox box = ProviderTestUtils.setupMailbox("box1", acct.mId, true, mMockContext); in testSetAttachmentFlagsForNewPolicy()129 Message msg1 = ProviderTestUtils.setupMessage("message1", acct.mId, box.mId, false, false, in testSetAttachmentFlagsForNewPolicy()132 Attachment att1 = setupSimpleAttachment("fileName1", 10001L, acct); in testSetAttachmentFlagsForNewPolicy()134 Attachment att2 = setupSimpleAttachment("fileName2", 20001L, acct); in testSetAttachmentFlagsForNewPolicy()138 Message msg2 = ProviderTestUtils.setupMessage("message2", acct.mId, box.mId, false, false, in testSetAttachmentFlagsForNewPolicy()141 Attachment att3 = setupSimpleAttachment("fileName3", 70001L, acct); in testSetAttachmentFlagsForNewPolicy()[all …]
871 Account acct = ProviderTestUtils.setupAccount("orphaned body", true, context); in testMessageQueryWithLimit() local872 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testMessageQueryWithLimit()873 Mailbox box2 = ProviderTestUtils.setupMailbox("box2", acct.mId, true, context); in testMessageQueryWithLimit()876 ProviderTestUtils.setupMessage("message1", acct.mId, box1.mId, false, true, context); in testMessageQueryWithLimit()877 ProviderTestUtils.setupMessage("message2", acct.mId, box1.mId, false, true, context); in testMessageQueryWithLimit()878 ProviderTestUtils.setupMessage("message3", acct.mId, box1.mId, false, true, context); in testMessageQueryWithLimit()879 ProviderTestUtils.setupMessage("message4", acct.mId, box1.mId, false, true, context); in testMessageQueryWithLimit()882 ProviderTestUtils.setupMessage("message1", acct.mId, box2.mId, false, true, context); in testMessageQueryWithLimit()883 ProviderTestUtils.setupMessage("message2", acct.mId, box2.mId, false, true, context); in testMessageQueryWithLimit()884 ProviderTestUtils.setupMessage("message3", acct.mId, box2.mId, false, true, context); in testMessageQueryWithLimit()[all …]
140 Account acct = ProviderTestUtils.setupAccount("account", true, context); in testCachedCursors() local141 ProviderTestUtils.setupMailbox("box1", acct.mId, true, context); in testCachedCursors()142 Mailbox box = ProviderTestUtils.setupMailbox("box2", acct.mId, true, context); in testCachedCursors()
203 Account acct = new Account(); in performSync() local204 acct.restore(c); in performSync()206 LogUtils.d(TAG, "Upload sync request for " + acct.mDisplayName); in performSync()212 new String[] {Long.toString(acct.mId)}, in performSync()232 LogUtils.d(TAG, "Sync request for " + acct.mDisplayName); in performSync()237 EmailServiceUtils.getServiceForAccount(context, acct.mId); in performSync()238 service.updateFolderList(acct.mId); in performSync()245 final long inboxId = Mailbox.findMailboxOfType(context, acct.mId, in performSync()
106 final android.accounts.Account acct = new android.accounts.Account(account.mEmailAddress, in requestSync() local117 ContentResolver.requestSync(acct, EmailContent.AUTHORITY, extras); in requestSync()
60 for (ReplyFromAccount acct : mReplyFromAccounts) { in selectCurrentAccount()61 if (TextUtils.equals(mAccount.name, acct.name) in selectCurrentAccount()62 && TextUtils.equals(mAccount.address, acct.address)) { in selectCurrentAccount()72 for (ReplyFromAccount acct : mReplyFromAccounts) { in getMatchingReplyFromAccount()73 if (accountString.equals(acct.address)) { in getMatchingReplyFromAccount()74 return acct; in getMatchingReplyFromAccount()
50 Account acct = accounts[i]; in onBuildHeaders() local51 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()
141 android.accounts.Account acct = account.getAccountManagerAccount();143 !ContentResolver.getSyncAutomatically(acct, account.syncAuthority)) {
1695 public void setAccount(Account acct) { in setAccount() argument1696 mAccount = acct; in setAccount()
1133 public static boolean isOverviewMode(Account acct) { in isOverviewMode() argument1134 return acct.settings.isOverviewMode(); in isOverviewMode()
181 Account acct = mAccount; in onActionItemClicked() local198 acct = MailAppProvider.getAccountFromAccountUri(accountUri); in onActionItemClicked()203 acct, mCheckedSet.values(), true, mFolder, in onActionItemClicked()
719 Account acct = Account.restoreAccountWithId(context, msg.mAccountKey);720 if (acct == null) return true;725 if ((acct.mFlags & Account.FLAGS_SUPPORTS_SMART_FORWARD) != 0) {
1dictionary=main:en_us,locale=en_US,description=English (US),date ...