/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 27 import android.accounts.Account; 28 import android.accounts.AccountManager; 29 import android.accounts.AuthenticatorException; 30 import android.accounts.OperationCanceledException;
|
/frameworks/base/core/java/android/accounts/ |
AccountManagerResponse.java | 17 package android.accounts;
|
Account.java | 17 package android.accounts;
|
AccountAuthenticatorResponse.java | 17 package android.accounts;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
SyncOperationTest.java | 19 import android.accounts.Account;
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
AccountTypeManagerTest.java | 65 // No invite support, no accounts 72 // No invite support, with accounts 79 // With invite support, no accounts 144 private static Collection<AccountWithDataSet> buildAccounts(AccountWithDataSet... accounts) { 146 for (AccountWithDataSet account : accounts) { 157 Collection<AccountWithDataSet> accounts, 162 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types);
|
/cts/tests/src/android/content/cts/ |
MockSyncAdapter.java | 19 import android.accounts.Account; 115 public void initialize(android.accounts.Account account, java.lang.String authority)
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockAccountTypeManager.java | 40 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { 42 this.mAccounts = accounts;
|
/packages/apps/Exchange/src/com/android/exchange/ |
CalendarSyncEnabler.java | 21 import android.accounts.Account; 22 import android.accounts.AccountManager; 34 * Utility class to enable Exchange calendar sync for all existing Exchange accounts. 40 * to enable calendar sync for all the existing Exchange accounts. 50 * Enable calendar sync for all the existing exchange accounts, and post a notification if any. 61 * Enable calendar sync for all the existing exchange accounts 63 * @return email addresses of the Exchange accounts joined with spaces as delimiters, 64 * or the empty string if there's no Exchange accounts. 93 * @param emailAddresses space delimited list of email addresses of Exchange accounts. It'll
|
EmailSyncAdapterService.java | 24 import android.accounts.Account; 25 import android.accounts.OperationCanceledException;
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountPreferenceBase.java | 17 package com.android.settings.accounts; 26 import android.accounts.Account; 27 import android.accounts.AccountManager; 28 import android.accounts.AuthenticatorDescription; 29 import android.accounts.OnAccountsUpdateListener; 59 public void onAccountsUpdated(Account[] accounts) {
|
AccountSyncSettings.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerCallback; 22 import android.accounts.AccountManagerFuture; 23 import android.accounts.AuthenticatorException; 24 import android.accounts.OperationCanceledException; 79 // List of all accounts, updated when accounts are added/removed 80 // We need to re-scan the accounts on sync events, in case sync state changes [all...] |
ManageAccountsSettings.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.OnAccountsUpdateListener; 255 public void onAccountsUpdated(Account[] accounts) { 258 for (int i = 0, n = accounts.length; i < n; i++) { 259 final Account account = accounts[i];
|
SyncStateCheckBoxPreference.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 24 import android.accounts.Account; 25 import android.accounts.AccountManager; 26 import android.accounts.AuthenticatorDescription; 27 import android.accounts.OnAccountsUpdateListener; 92 // Request updates when packages or accounts change 176 public void onAccountsUpdated(Account[] accounts) { 177 // Refresh to catch any changed accounts 227 Log.w(TAG, "Problem loading accounts: " + e.toString()); 251 final Account[] accounts = am.getAccounts(); local 254 for (Account account : accounts) { [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/ |
CalendarSyncEnablerTest.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerFuture; 22 import android.accounts.AuthenticatorException; 23 import android.accounts.OperationCanceledException; 57 // Delete any test accounts we might have created earlier 70 // Delete any test accounts we might have created earlier 74 // Note we restore only for Exchange accounts. 75 // Other accounts should remain intact throughout the tests. Plus we don't know if the 76 // Calendar.AUTHORITY is supported by other types of accounts [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 19 import android.accounts.Account; 30 * set of accounts. 113 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { 120 if (!contains(accounts, account)) {
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerCallback; 22 import android.accounts.AccountManagerFuture; 23 import android.accounts.AuthenticatorException; 24 import android.accounts.OperationCanceledException; 336 * Test to verify that a SyncAdapter is called on all the accounts accounts 356 requestSync(null /* all accounts */, AUTHORITY, LATCH_TIMEOUT_MS);
|
/packages/apps/Email/src/com/android/email/service/ |
PopImapSyncAdapterService.java | 19 import android.accounts.Account; 20 import android.accounts.OperationCanceledException;
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 22 import android.accounts.Account;
|
SyncInfo.java | 19 import android.accounts.Account;
|
/frameworks/base/test-runner/src/android/test/ |
SyncBaseInstrumentation.java | 24 import android.accounts.Account; 77 ContentResolver.cancelSync(null /* all accounts */, null /* all authorities */);
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsUtils.java | 182 final List<AccountWithDataSet> accounts = local 184 return !accounts.isEmpty(); 188 final List<AccountWithDataSet> accounts = local 190 return !accounts.isEmpty();
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
ExchangeBroadcastProcessorService.java | 19 import android.accounts.AccountManager; 72 Log.d(Logging.LOG_TAG, "Login accounts changed; reconciling...");
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 352 Account[] accounts = mAccountManager.getAccountsByType("com.google"); local 354 assertTrue("Didn't find any Google accounts", accounts.length > 0); 356 Account account = accounts[accounts.length - 1]; 357 Log.v(TAG, "Found " + accounts.length + " accounts; using the last one, " + account.name);
|