HomeSort by relevance Sort by last modified time
    Searched refs:accountId (Results 26 - 50 of 90) sorted by null

12 3 4

  /packages/apps/Exchange/src/com/android/exchange/service/
EasService.java 87 public void loadAttachment(final IEmailServiceCallback callback, final long accountId,
90 final EasLoadAttachment operation = new EasLoadAttachment(EasService.this, accountId,
96 public void updateFolderList(final long accountId) {
97 final EasFolderSync operation = new EasFolderSync(EasService.this, accountId);
101 public void sendMail(final long accountId) {
106 public int sync(final long accountId, Bundle syncExtras) {
107 EasFullSyncOperation op = new EasFullSyncOperation(EasService.this, accountId, syncExtras);
112 public void pushModify(final long accountId) {
113 LogUtils.d(TAG, "IEmailService.pushModify: %d", accountId);
114 final Account account = Account.restoreAccountWithId(EasService.this, accountId);
    [all...]
AbstractSyncAdapterService.java 110 public static Intent createAccountSettingsIntent(long accountId, String accountName) {
113 IntentUtilities.setAccountId(builder, accountId);
118 protected void showAuthNotification(long accountId, String accountName) {
122 createAccountSettingsIntent(accountId, accountName),
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
MailboxUtilities.java 165 private static void setAccountSyncAdapterFlag(Context context, long accountId, boolean start) {
166 Account account = Account.restoreAccountWithId(context, accountId);
179 * @param accountId the account that is starting to change its mailbox list
181 public static void startMailboxChanges(Context context, long accountId) {
182 setAccountSyncAdapterFlag(context, accountId, true);
188 * @param accountId the account that is finished with changes to its mailbox list
190 public static void endMailboxChanges(Context context, long accountId) {
191 setAccountSyncAdapterFlag(context, accountId, false);
198 * @param accountId the account whose mailboxes are to be checked
201 public static void checkMailboxConsistency(Context context, long accountId) {
    [all...]
Account.java 478 final long accountId = cursor.getLong(Account.ID_PROJECTION_COLUMN);
480 if (accountId == lastUsedAccountId) {
481 return accountId;
485 firstAccount = accountId;
501 * @param accountId the id of the account to be examined
504 public static String getProtocol(Context context, long accountId) {
505 Account account = Account.restoreAccountWithId(context, accountId);
553 long accountId = getAccountIdForMessageId(context, messageId);
554 if (accountId != -1) {
555 return Account.restoreAccountWithId(context, accountId);
    [all...]
Mailbox.java 467 public static Mailbox newSystemMailbox(Context context, long accountId, int mailboxType) {
493 box.mAccountKey = accountId;
509 * @param accountId the ID of the account
512 public static Mailbox restoreMailboxForPath(Context context, long accountId, String path) {
517 new String[] { path, Long.toString(accountId) },
540 public static Mailbox getMailboxForPath(Context context, long accountId, String path) {
541 Mailbox mailbox = restoreMailboxForPath(context, accountId, path);
661 * @param accountId the id of the account to be queried
665 public static long findMailboxOfType(Context context, long accountId, int type) {
666 final String[] bindArguments = new String[] {Long.toString(type), Long.toString(accountId)};
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
AccountServiceProxy.java 47 public int getAccountColor(final long accountId) {
51 mReturn = mService.getAccountColor(accountId);
  /packages/apps/Email/src/com/android/email/service/
AccountService.java 44 public int getAccountColor(long accountId) {
45 return ResourceHelper.getInstance(mContext).getAccountColor(accountId);
EmailServiceStub.java 122 public void loadAttachment(final IEmailServiceCallback cb, final long accountId,
284 public void updateFolderList(final long accountId) throws RemoteException {
285 final Account account = Account.restoreAccountWithId(mContext, accountId);
287 LogUtils.e(LogUtils.TAG, "Account %d not found in updateFolderList", accountId);
297 if (Mailbox.findMailboxOfType(mContext, accountId, type) == Mailbox.NO_MAILBOX) {
298 final Mailbox mailbox = Mailbox.newSystemMailbox(mContext, accountId, type);
344 mContext, accountId, mailboxId);
397 public int searchMessages(final long accountId, final SearchParams params,
405 public void pushModify(final long accountId) throws RemoteException {
406 LogUtils.e(Logging.LOG_TAG, "pushModify invalid for account type for %d", accountId);
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
ExchangeTestCase.java 45 for (Long accountId: mCreatedAccountIds) {
46 resolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, accountId), null,
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasPing.java 196 final long accountId = getAccountId();
199 LogUtils.i(TAG, "Ping expired for account %d", accountId);
204 LogUtils.i(TAG, "Ping found changed folders for account %d", accountId);
212 LogUtils.e(TAG, "Bad ping request for account %d", accountId);
217 "old duration %d new duration %d", accountId, mPingDuration, newDuration);
222 LogUtils.i(TAG, "Too many folders for account %d", accountId);
225 LogUtils.i(TAG, "FolderSync needed for account %d", accountId);
229 LogUtils.i(TAG, "Server error for account %d", accountId);
233 LogUtils.i(TAG, "Retryable server error for account %d", accountId);
EasSearchGal.java 28 public EasSearchGal(Context context, final long accountId, final String filter,
30 super(context, accountId);
EasFolderSync.java 70 * @param accountId
72 public EasFolderSync(final Context context, final long accountId) {
73 super(context, accountId);
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTestUtils.java 75 public static void deleteAccount(Context context, long accountId) {
77 Account.CONTENT_URI, accountId), null, null);
83 public static HostAuth setupHostAuth(String name, long accountId, boolean saveIt,
112 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
114 return setupMailbox(name, accountId, saveIt, context, Mailbox.TYPE_MAIL);
116 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
118 return setupMailbox(name, accountId, saveIt, context, type, '/');
120 public static Mailbox setupMailbox(String name, long accountId, boolean saveIt,
133 box.mAccountKey = accountId;
152 public static Message setupMessage(String name, long accountId, long mailboxId
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 154 String accountId = segments.get(0);
157 AttachmentUtilities.getAttachmentDirectory(context, Long.parseLong(accountId));
169 String accountId = segments.get(0);
175 String filename = "thmb_" + accountId + "_" + id;
180 getAttachmentUri(Long.parseLong(accountId), Long.parseLong(id));
221 new File(getContext().getDatabasePath(accountId + ".db_att"), id),
260 String accountId = segments.get(0);
EmailProvider.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForGroupMembership.java 208 final long accountId = accountIdOrNull;
219 if (entry.accountId == accountId) {
225 entry.accountId = accountId;
233 new String[]{sourceId, Long.toString(accountId)}, null, null, null);
240 groupValues.put(GroupsColumns.ACCOUNT_ID, accountId);
TransactionContext.java 55 public void rawContactInserted(long rawContactId, long accountId) {
57 mInsertedRawContactsAccounts.put(rawContactId, accountId);
  /packages/apps/Email/src/com/android/email/
AttachmentInfo.java 196 * @param accountId the account associated with the attachment (or 0 if we don't need to
200 public Intent getAttachmentIntent(Context context, long accountId) {
201 Uri contentUri = getUriForIntent(context, accountId);
209 protected Uri getUriForIntent(Context context, long accountId) {
210 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId);
211 if (accountId > 0) {
SecurityPolicy.java 450 public static void setAccountHoldFlag(Context context, long accountId, boolean newState) {
451 Account account = Account.restoreAccountWithId(context, accountId);
486 * @param accountId the account for which sync cannot proceed
488 public void policiesRequired(long accountId) {
489 Account account = Account.restoreAccountWithId(mContext, accountId);
586 public void setAccountPolicy(long accountId, Policy policy, String securityKey,
588 Account account = Account.restoreAccountWithId(mContext, accountId);
626 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId);
714 long accountId = c.getLong(EmailContent.ID_PROJECTION_COLUMN);
715 Uri uri = EmailProvider.uiUri("uiaccount", accountId);
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
EmailPreferenceActivity.java 79 final long accountId = IntentUtilities.getAccountIdFromIntent(intent);
80 if (accountId < 0) {
116 final long accountId = IntentUtilities.getAccountIdFromIntent(i);
117 if (accountId != -1) {
118 final Bundle args = AccountSettingsFragment.buildArguments(accountId);
AccountSecurity.java 95 * @param accountId The account of interest
101 public static Intent actionUpdateSecurityIntent(Context context, long accountId,
104 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
114 public static Intent actionDevicePasswordExpirationIntent(Context context, long accountId,
117 intent.putExtra(EXTRA_ACCOUNT_ID, accountId);
129 final long accountId = i.getLongExtra(EXTRA_ACCOUNT_ID, -1);
132 if (accountId == -1) {
202 final long accountId = args.getLong(EXTRA_ACCOUNT_ID, -1);
209 return new AccountAndPolicyLoader(getApplicationContext(), accountId,
252 AccountAndPolicyLoader(final Context context, final long accountId,
    [all...]
  /packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java 221 private Intent getViewIntent(long accountId, long mailboxId) {
225 EmailProvider.uiUri("uiaccount", accountId),
230 LogUtils.e(LOG_TAG, "Null account cursor for mAccountId %d", accountId);
250 accountId, mailboxId);
260 accountId, mailboxId);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
IntentUtilities.java 57 public static void setAccountId(Uri.Builder b, long accountId) {
58 if (accountId != -1) {
59 b.appendQueryParameter(ACCOUNT_ID_PARAM, Long.toString(accountId));
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 84 final long accountId = 1;
89 "local-message", accountId, mailboxId, false, true, mProviderContext);
95 "local-message", accountId, mailboxId, false, true, mProviderContext);
142 final long accountId = 1;
177 "local-message", accountId, mailboxId, false, true, mProviderContext);
192 final long accountId = 1;
195 "local-message", accountId, mailboxId, false, true, mProviderContext);
  /packages/apps/Email/tests/src/com/android/email/service/
EmailBroadcastProcessorServiceTests.java 72 private int getAccountFlags(long accountId) throws NoSuchElementException {
73 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, accountId);

Completed in 1926 milliseconds

12 3 4