Searched refs:amAccount (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailBroadcastProcessorService.java | 161 for (android.accounts.Account amAccount: amAccounts) { in updateAccountManagerAccountsOfType() 162 EmailServiceUtils.updateAccountManagerType(this, amAccount, protocolMap); in updateAccountManagerAccountsOfType() 171 private static void removePeriodicSyncs(final android.accounts.Account amAccount, in removePeriodicSyncs() argument 174 ContentResolver.getPeriodicSyncs(amAccount, authority); in removePeriodicSyncs() 176 ContentResolver.removePeriodicSync(amAccount, authority, sync.extras); in removePeriodicSyncs() 189 for (android.accounts.Account amAccount : amAccounts) { in fixPeriodicSyncs() 191 removePeriodicSyncs(amAccount, EmailContent.AUTHORITY); in fixPeriodicSyncs() 192 removePeriodicSyncs(amAccount, CalendarContract.AUTHORITY); in fixPeriodicSyncs() 193 removePeriodicSyncs(amAccount, ContactsContract.AUTHORITY); in fixPeriodicSyncs() 198 final Integer syncInterval = syncIntervals.get(amAccount.name); in fixPeriodicSyncs() [all …]
|
D | EmailServiceUtils.java | 329 android.accounts.Account amAccount, final Map<String, String> protocolMap) { in updateAccountManagerType() argument 332 AccountColumns.EMAIL_ADDRESS + "=?", new String[] { amAccount.name }, null); in updateAccountManagerType() 352 LogUtils.w(LogUtils.TAG, "Converting %s to %s", amAccount.name, newProtocol); in updateAccountManagerType() 373 boolean email = ContentResolver.getSyncAutomatically(amAccount, in updateAccountManagerType() 377 email = ContentResolver.getSyncAutomatically(amAccount, in updateAccountManagerType() 380 final boolean contacts = ContentResolver.getSyncAutomatically(amAccount, in updateAccountManagerType() 382 final boolean calendar = ContentResolver.getSyncAutomatically(amAccount, in updateAccountManagerType() 388 final String amName = amAccount.name; in updateAccountManagerType() 389 final String oldType = amAccount.type; in updateAccountManagerType() 438 .removeAccount(amAccount, null, null); in updateAccountManagerType()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | DBHelper.java | 1576 final android.accounts.Account amAccount = new android.accounts.Account(login, type); in createAccountManagerAccount() local 1577 accountManager.addAccountExplicitly(amAccount, password, null); in createAccountManagerAccount() 1578 ContentResolver.setIsSyncable(amAccount, EmailContent.AUTHORITY, 1); in createAccountManagerAccount() 1579 ContentResolver.setSyncAutomatically(amAccount, EmailContent.AUTHORITY, true); in createAccountManagerAccount() 1580 ContentResolver.setIsSyncable(amAccount, ContactsContract.AUTHORITY, 0); in createAccountManagerAccount() 1581 ContentResolver.setIsSyncable(amAccount, CalendarContract.AUTHORITY, 0); in createAccountManagerAccount() 1644 android.accounts.Account amAccount = new android.accounts.Account( in migrateLegacyAccounts() local 1647 ContentResolver.setIsSyncable(amAccount, EmailContent.AUTHORITY, 1); in migrateLegacyAccounts() 1648 ContentResolver.setSyncAutomatically(amAccount, in migrateLegacyAccounts()
|
D | EmailProvider.java | 1697 final android.accounts.Account amAccount = in backupAccounts() local 1699 am.setUserData(amAccount, ACCOUNT_MANAGER_JSON_TAG, jsonString); in backupAccounts() 1729 for (final android.accounts.Account amAccount : amAccounts) { in restoreAccounts() 1730 final String jsonString = am.getUserData(amAccount, ACCOUNT_MANAGER_JSON_TAG); in restoreAccounts() 1741 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras); in restoreAccounts() 2055 final android.accounts.Account amAccount = in update() local 2057 if (amAccount != null) { in update() 2059 uri.getAuthority(), amAccount, mailboxId); in update()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Account.java | 81 private android.accounts.Account amAccount; field in Account 550 if (amAccount == null) { in getAccountManagerAccount() 553 amAccount = new android.accounts.Account(accountManagerName, type); in getAccountManagerAccount() 555 return amAccount; in getAccountManagerAccount()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | SecurityPolicy.java | 582 final android.accounts.Account amAccount = in syncAccount() local 588 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras); in syncAccount()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 2228 for (android.accounts.Account amAccount : amAccountList) { in amAccountListHasAccount() 2229 if (amAccount.name.equals(email)) { in amAccountListHasAccount()
|