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

  /packages/apps/Exchange/src/com/android/exchange/service/
PingTask.java 41 final android.accounts.Account amAccount,
44 mOperation = new EasPing(context, account, amAccount);
50 final android.accounts.Account amAccount,
53 mOperation = new EasPing(context, account, amAccount);
PingSyncSynchronizer.java 117 final android.accounts.Account amAccount =
120 mPingTask = new PingTask(synchronizer.getContext(), account, amAccount,
173 public boolean pingEnd(final android.accounts.Account amAccount) {
185 EasPing.requestPing(amAccount);
315 public void pingEnd(final long accountId, final android.accounts.Account amAccount) {
324 if (accountState.pingEnd(amAccount)) {
EmailSyncAdapterService.java 242 final android.accounts.Account amAccount = new android.accounts.Account(
246 final HashSet<String> authsToSync = getAuthsToSync(amAccount);
278 scheduleDelayedPing(amAccount, SYNC_ERROR_BACKOFF_MILLIS);
286 final PingTask pingHandler = new PingTask(service, account, amAccount,
295 ContentResolver.addPeriodicSync(amAccount, EmailContent.AUTHORITY, extras,
303 ContentResolver.removePeriodicSync(amAccount, EmailContent.AUTHORITY, extras);
330 * @param amAccount The {@link android.accounts.Account} for this account.
336 public synchronized void pingComplete(final android.accounts.Account amAccount,
355 scheduleDelayedPing(amAccount, SYNC_ERROR_BACKOFF_MILLIS);
    [all...]
EasService.java 289 final android.accounts.Account amAccount = new android.accounts.Account(
292 final Set<String> authsToSync = getAuthoritiesToSync(amAccount, AUTHORITIES_TO_SYNC);
EasServerConnection.java 528 * @param amAccount The {@link android.accounts.Account} for the account we're pinging.
532 protected static void requestSyncForMailbox(final android.accounts.Account amAccount,
535 ContentResolver.requestSync(amAccount, authority, extras);
537 amAccount.toString(), extras.toString());
  /packages/apps/Email/src/com/android/email/service/
EmailBroadcastProcessorService.java 163 for (android.accounts.Account amAccount: amAccounts) {
164 EmailServiceUtils.updateAccountManagerType(this, amAccount, protocolMap);
170 * @param amAccount The account for which to disable syncs.
173 private static void removePeriodicSyncs(final android.accounts.Account amAccount,
176 ContentResolver.getPeriodicSyncs(amAccount, authority);
178 ContentResolver.removePeriodicSync(amAccount, authority, sync.extras);
191 for (android.accounts.Account amAccount : amAccounts) {
193 removePeriodicSyncs(amAccount, EmailContent.AUTHORITY);
194 removePeriodicSyncs(amAccount, CalendarContract.AUTHORITY);
195 removePeriodicSyncs(amAccount, ContactsContract.AUTHORITY)
    [all...]
EmailServiceUtils.java 300 android.accounts.Account amAccount, final Map<String, String> protocolMap) {
303 AccountColumns.EMAIL_ADDRESS + "=?", new String[] { amAccount.name }, null);
323 LogUtils.w(Logging.LOG_TAG, "Converting " + amAccount.name + " to "
345 boolean email = ContentResolver.getSyncAutomatically(amAccount,
349 email = ContentResolver.getSyncAutomatically(amAccount,
352 final boolean contacts = ContentResolver.getSyncAutomatically(amAccount,
354 final boolean calendar = ContentResolver.getSyncAutomatically(amAccount,
360 final String amName = amAccount.name;
361 final String oldType = amAccount.type;
410 .removeAccount(amAccount, null, null)
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasOperation.java 700 * @param amAccount The {@link android.accounts.Account} for the account we're pinging.
703 protected static void requestSyncForMailbox(final android.accounts.Account amAccount,
706 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras);
708 amAccount.toString(), extras.toString());
711 protected static void requestSyncForMailboxes(final android.accounts.Account amAccount,
    [all...]
EasPing.java 92 final android.accounts.Account amAccount) {
94 mAmAccount = amAccount;
420 * @param amAccount Account that needs to ping.
422 public static void requestPing(final android.accounts.Account amAccount) {
426 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras);
428 amAccount.toString(), extras.toString());
  /packages/apps/Email/src/com/android/email/provider/
DBHelper.java     [all...]
EmailProvider.java     [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Account.java 78 private android.accounts.Account amAccount;
474 if (amAccount == null) {
477 amAccount = new android.accounts.Account(accountManagerName, type);
479 return amAccount;
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/
EasAccountService.java 519 android.accounts.Account amAccount = new android.accounts.Account(mAccount.mEmailAddress,
564 if (!ContentResolver.getSyncAutomatically(amAccount, authority)) {
    [all...]
  /packages/apps/Email/src/com/android/email/
SecurityPolicy.java 570 final android.accounts.Account amAccount =
576 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras);
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java     [all...]

Completed in 722 milliseconds