/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
PicasaApi.java | 26 import android.accounts.Account; 27 import android.accounts.AccountManager; 28 import android.accounts.AuthenticatorException; 29 import android.accounts.OperationCanceledException; 81 // Return the list of accounts supporting the Picasa GData service. 83 Account[] accounts = {}; local 85 accounts = accountManager.getAccountsByTypeAndFeatures(PicasaService.ACCOUNT_TYPE, 93 return accounts; 98 Account[] accounts = getAccounts(context); local 99 if (accounts == null [all...] |
PicasaContentProvider.java | 23 import android.accounts.Account; 24 import android.accounts.AccountManager; 170 if (activeUsername != null && !context.accounts[i].user.equals(activeUsername)) 172 if (!ContentResolver.getSyncAutomatically(context.accounts[i].account, AUTHORITY)) 175 context.api.setAuth(context.accounts[i]); 206 if (context.accounts == null) { 209 PicasaApi.AuthAccount[] accounts = context.accounts; local 210 int numAccounts = accounts.length; 212 PicasaApi.AuthAccount account = accounts[i] 223 PicasaApi.AuthAccount[] accounts = context.accounts; local 515 public PicasaApi.AuthAccount[] accounts; field in class:PicasaContentProvider.SyncContext [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorException; 22 import android.accounts.OperationCanceledException;
|
/frameworks/base/core/java/android/accounts/ |
AccountAuthenticatorActivity.java | 17 package android.accounts;
|
IAccountManager.aidl | 17 package android.accounts; 19 import android.accounts.IAccountManagerResponse; 20 import android.accounts.Account; 21 import android.accounts.AuthenticatorDescription;
|
AccountManagerResponse.java | 17 package android.accounts;
|
Account.java | 17 package android.accounts;
|
AccountAuthenticatorResponse.java | 17 package android.accounts;
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
AbstractSyncAdapter.java | 46 public final android.accounts.Account mAccountManagerAccount; 69 mAccountManagerAccount = new android.accounts.Account(mAccount.mEmailAddress,
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
AccountPreferenceBase.java | 25 import android.accounts.Account; 26 import android.accounts.AccountManager; 27 import android.accounts.AuthenticatorDescription; 28 import android.accounts.OnAccountsUpdateListener; 60 public void onAccountsUpdated(Account[] accounts) {
|
AddAccountSettings.java | 21 import android.accounts.AccountManager; 22 import android.accounts.AuthenticatorException; 23 import android.accounts.AccountManagerFuture; 24 import android.accounts.OperationCanceledException; 25 import android.accounts.AccountManagerCallback;
|
AccountSyncSettings.java | 23 import android.accounts.AccountManager; 24 import android.accounts.Account; 25 import android.accounts.AccountManagerCallback; 26 import android.accounts.AccountManagerFuture; 27 import android.accounts.AuthenticatorException; 28 import android.accounts.OperationCanceledException; 78 // List of all accounts, updated when accounts are added/removed 79 // We need to re-scan the accounts on sync events, in case sync state changes. 373 public void onAccountsUpdated(Account[] accounts) { [all...] |
/packages/apps/Email/src/com/android/email/service/ |
EasAuthenticatorService.java | 22 import android.accounts.AbstractAccountAuthenticator; 23 import android.accounts.Account; 24 import android.accounts.AccountAuthenticatorResponse; 25 import android.accounts.AccountManager; 26 import android.accounts.NetworkErrorException; 148 String authenticatorIntent = "android.accounts.AccountAuthenticator";
|
/cts/tests/src/android/content/cts/ |
MockSyncAdapter.java | 19 import android.accounts.Account; 114 public void initialize(android.accounts.Account account, java.lang.String authority)
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
AccountUnlockScreen.java | 22 import android.accounts.Account; 23 import android.accounts.AccountManager; 24 import android.accounts.OperationCanceledException; 25 import android.accounts.AccountManagerFuture; 26 import android.accounts.AuthenticatorException; 27 import android.accounts.AccountManagerCallback; 240 Account[] accounts = AccountManager.get(mContext).getAccountsByType("com.google"); local 248 for (Account a: accounts) {
|
/packages/apps/Email/src/com/android/exchange/ |
CalendarSyncEnabler.java | 23 import android.accounts.Account; 24 import android.accounts.AccountManager; 37 * Utility class to enable Exchange calendar sync for all existing Exchange accounts. 43 * to enable calendar sync for all the existing Exchange accounts. 53 * Enable calendar sync for all the existing exchange accounts, and post a notification if any. 64 * Enable calendar sync for all the existing exchange accounts 66 * @return email addresses of the Exchange accounts joined with spaces as delimiters, 67 * or the empty string if there's no Exchange accounts. 93 * @param emailAddresses space delimited list of email addresses of Exchange accounts. It'll
|
/packages/apps/Email/tests/src/com/android/exchange/ |
SyncManagerAccountTests.java | 29 import android.accounts.AccountManager; 53 // Delete any test accounts we might have created earlier 60 // Delete any test accounts we might have created earlier 66 * prexisting (non-test) accounts in the account manager. 74 // *real* accounts here (not in the mock provider) 77 // Now run the test with the "user" accounts in place 85 android.accounts.Account[] accountManagerAccounts = AccountManager.get(context) 87 for (android.accounts.Account accountManagerAccount: accountManagerAccounts) { 100 * Note, there is some inherent risk in this test, as it creates *real* accounts in the 108 // Capture the baseline (account manager accounts) so we can measure the change [all...] |
/packages/apps/Contacts/src/com/android/contacts/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/Email/src/com/android/email/mail/store/ |
ExchangeStore.java | 31 import android.accounts.AccountManager; 32 import android.accounts.AccountManagerCallback; 33 import android.accounts.AccountManagerFuture; 102 * android.accounts.Account, AccountManagerCallback, android.os.Handler)}. 110 android.accounts.Account systemAccount = 111 new android.accounts.Account(acct.mEmailAddress, Email.EXCHANGE_ACCOUNT_MANAGER_TYPE);
|
/frameworks/base/core/java/com/android/internal/content/ |
SyncStateContentProviderHelper.java | 24 import android.accounts.Account; 32 * set of accounts. 117 public void onAccountsChanged(SQLiteDatabase db, Account[] accounts) { 124 if (!ArrayUtils.contains(accounts, account)) {
|
/packages/apps/Email/src/com/android/email/ |
AccountBackupRestore.java | 22 import android.accounts.AccountManagerFuture; 32 * Utility functions to support backup and restore of accounts. 41 * Backup accounts. Can be called from UI thread (does work in a new thread) 57 * Restore accounts if needed. This is blocking, and should only be called in specific 64 // after restoring accounts, register services appropriately 65 Log.w(Email.LOG_TAG, "Register services after restoring accounts"); 75 * Non-UI-Thread worker to backup all accounts 82 // 1. Wipe any existing backup accounts 91 // This is also the quick check for "no accounts" (the only case in which the returned 112 android.accounts.Account acct = new android.accounts.Account [all...] |
/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;
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
Authenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 33 * authenticating accounts in the com.example.android.samplesync domain.
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 22 import android.accounts.Account;
|
SyncInfo.java | 19 import android.accounts.Account;
|