/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MainSettings.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.OnAccountsUpdateListener; 137 public void onAccountsUpdated(Account[] accounts) {
|
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/signin/ |
AccountsChangedReceiver.java | 7 import android.accounts.Account; 8 import android.accounts.AccountManager; 22 * A BroadcastReceiver for acting on changes to Android accounts.
|
/external/chromium_org/google_apis/gaia/ |
merge_session_helper.h | 24 // multiple accounts, one instance of the helper is better than multiple 58 // Signout of |account_id| given a list of accounts already signed in. 59 // Since this involves signing out of all accounts and resigning back in, 60 // the order which |accounts| are given is important as it will dictate 61 // the sign in order. |account_id| does not have to be in |accounts|. 63 const std::vector<std::string>& accounts); 65 // Signout all accounts. 85 const std::vector<std::string>& accounts); 105 // A worklist for this class. Accounts names are stored here if
|
account_tracker.cc | 45 std::vector<AccountIds> accounts; local 56 accounts.insert(accounts.begin(), state.ids); 61 accounts.push_back(state.ids); 64 return accounts; 96 std::vector<std::string> accounts = local 99 DVLOG(1) << "LOGIN " << accounts.size() << " accounts available."; 101 for (std::vector<std::string>::const_iterator it = accounts.begin(); 102 it != accounts.end() [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 16 import android.accounts.Account; 17 import android.accounts.AccountManager; 18 import android.accounts.AccountManagerFuture; 113 Account[] accounts = accountManager.getAccounts(); local 115 assertArrayEquals(origAccounts, accounts); 124 Account[] accounts = accountManager.getAccountsByType("myType"); local 126 assertThat(accounts.length, equalTo(1)); 127 assertThat(accounts[0], equalTo(diffAccount));
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardAccountView.java | 18 import android.accounts.Account; 19 import android.accounts.AccountManager; 20 import android.accounts.AccountManagerCallback; 21 import android.accounts.AccountManagerFuture; 22 import android.accounts.AuthenticatorException; 23 import android.accounts.OperationCanceledException; 223 Account[] accounts = AccountManager.get(mContext).getAccountsByTypeAsUser("com.google", local 232 for (Account a: accounts) {
|
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerCallback; 22 import android.accounts.AccountManagerFuture; 50 "https://www.google.com/accounts/IssueAuthToken?service=gaia&Session=false"); 53 "https://www.google.com/accounts/TokenAuth"); 223 Account[] accounts = getAccounts(activity); local 224 if (accounts == null || accounts.length == 0) { 230 new GoogleAccountLogin(activity, accounts[0], runnable) [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestSyncAdapter.java | 18 import android.accounts.Account; 19 import android.accounts.AccountManager;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountImageUriGetter.java | 17 package com.android.tv.settings.accounts; 23 import android.accounts.Account;
|
AccountSyncSettings.java | 17 package com.android.tv.settings.accounts; 26 import android.accounts.Account; 27 import android.accounts.AccountManager; 28 import android.accounts.OnAccountsUpdateListener; 137 public void onAccountsUpdated(Account[] accounts) { 138 mAccounts = accounts; 139 loadSyncActions(accounts); 194 private void loadSyncActions(Account[] accounts) { 195 new LoadActionsTask().execute(accounts); 198 private ArrayList<Action> getActions(Account[] accounts) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
AccountUtils.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 50 * Get all device accounts having specified domain name.
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2ForTesting.java | 3 import android.accounts.Account; 26 public void onAccountsUpdated(Account[] accounts) {
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
Authenticator.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; 35 * authenticating accounts in the com.example.android.samplesync domain. The
|
/packages/apps/Email/src/com/android/email/service/ |
AuthenticatorService.java | 23 import android.accounts.AbstractAccountAuthenticator; 24 import android.accounts.Account; 25 import android.accounts.AccountAuthenticatorResponse; 26 import android.accounts.AccountManager; 27 import android.accounts.NetworkErrorException;
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 8 import android.accounts.Account; 9 import android.accounts.AccountManager; 10 import android.accounts.AccountManagerFuture; 11 import android.accounts.AuthenticatorDescription; 12 import android.accounts.AuthenticatorException; 13 import android.accounts.OperationCanceledException; 111 Account[] accounts = mAccountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE); local 112 for (Account account : accounts) { 130 Account[] accounts = mAccountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE); local 131 for (Account account : accounts) { [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MailboxSelectionActivity.java | 49 * An activity that shows the list of all the available accounts and return the 149 // Only fetch the accounts, if we are not handling a response from the 207 private void completeSetupWithAccounts(final Cursor accounts) { 211 updateAccountList(accounts); 216 private void updateAccountList(final Cursor accounts) { 220 if (accounts == null || accounts.getCount() == 0) { 235 } else if (mConfigureWidget && accounts.getCount() == 1) { 239 accounts.moveToFirst(); 240 selectAccount(Account.builder().buildFrom(accounts)); 369 ArrayList<Account> accounts = new ArrayList<Account>(); local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenService.java | 7 import android.accounts.Account; 102 * Called by native to list the activite accounts in the OS. 113 * Called by native to list the accounts with OAuth2 refresh tokens. 114 * This can differ from getSystemAccounts as the user add/remove accounts 299 Set<String> accounts = local 302 return accounts == null ? new String[]{} : accounts.toArray(new String[accounts.size()]); 306 private static void saveStoredAccounts(Context context, String[] accounts) { 307 Set<String> set = new HashSet<String>(Arrays.asList(accounts)); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorDescription; 178 LinearLayout contents = (LinearLayout)mContentView.findViewById(R.id.accounts); 184 Account[] accounts = mgr.getAccounts(); local 185 final int N = accounts.length; 199 Account account = accounts[i];
|
/external/chromium_org/components/signin/core/browser/ |
mutable_profile_oauth2_token_service_unittest.cc | 269 std::vector<std::string> accounts = oauth2_service_.GetAccounts(); local 270 EXPECT_EQ(2u, accounts.size()); 271 EXPECT_EQ(1, count(accounts.begin(), accounts.end(), "account_id1")); 272 EXPECT_EQ(1, count(accounts.begin(), accounts.end(), "account_id2")); 274 accounts = oauth2_service_.GetAccounts(); 276 EXPECT_EQ(1, count(accounts.begin(), accounts.end(), "account_id1"));
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
PingSyncSynchronizer.java | 166 final android.accounts.Account amAccount = 167 new android.accounts.Account(account.mEmailAddress, 172 final android.accounts.Account amAccount = 173 new android.accounts.Account(account.mEmailAddress, 189 private boolean pingEnd(final android.accounts.Account amAccount) { 209 final android.accounts.Account amAccount) { 228 final android.accounts.Account amAccount = 229 new android.accounts.Account(account.mEmailAddress, 268 * Map from account ID -> {@link AccountSyncState} for accounts with a running operation. 357 public void pingEnd(final long accountId, final android.accounts.Account amAccount) [all...] |
/development/apps/Development/src/com/android/development/ |
AccountsTester.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.AuthenticatorDescription; 24 import android.accounts.AuthenticatorException; 25 import android.accounts.OnAccountsUpdateListener; 26 import android.accounts.OperationCanceledException; 102 public AccountArrayAdapter(Context context, Account[] accounts) { 103 super(context, R.layout.account_list_item, accounts); 410 Parcelable[] accounts = result.getParcelableArray(AccountManager.KEY_ACCOUNTS); local [all...] |
/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;
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/util/ |
FeatureUtilitiesTest.java | 7 import android.accounts.Account; 8 import android.accounts.AuthenticatorDescription; 103 Account... accounts) { 104 super(localContext, testContext, accounts); 112 // accounts of the requested type are available, so return
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
device_local_account.h | 64 // Stores a list of device-local accounts in |cros_settings|. The accounts are 69 const std::vector<DeviceLocalAccount>& accounts); 71 // Retrieves a list of device-local accounts from |cros_settings|.
|
/external/chromium_org/ios/public/test/ |
fake_profile_oauth2_token_service_ios_provider.h | 41 void SetAccounts(const std::vector<std::string>& accounts);
|