/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
AccountTypeManagerTest.java | 68 // No invite support, no accounts 75 // No invite support, with accounts 82 // With invite support, no accounts 147 private static Collection<AccountWithDataSet> buildAccounts(AccountWithDataSet... accounts) { 149 for (AccountWithDataSet account : accounts) { 160 Collection<AccountWithDataSet> accounts, 165 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
CustomVCardEntry.java | 18 import android.accounts.Account;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
TestUtil.java | 19 import android.accounts.Account;
|
/cts/tests/tests/content/src/android/content/cts/ |
MockSyncAdapter.java | 19 import android.accounts.Account; 115 public void initialize(android.accounts.Account account, java.lang.String authority)
|
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);
|
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 17 package android.accounts; 19 import android.accounts.IAccountManagerResponse; 20 import android.accounts.Account; 21 import android.accounts.AuthenticatorDescription; 76 /* Shared accounts */
|
ChooseTypeAndAccountActivity.java | 16 package android.accounts; 54 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those 60 * A Parcelable ArrayList of String objects that limits the accounts to choose to those 211 // If there are no relevant accounts and only one relevant account type go directly to 442 * @return a value between 0 (inclusive) and accounts.size() (inclusive) or SELECTED_ITEM_NONE. 443 * An index value of accounts.size() indicates 'Add account' option. 445 private int getItemIndexToSelect(ArrayList<Account> accounts, String selectedAccountName, 450 return accounts.size(); 453 for (int i = 0; i < accounts.size(); i++) { 454 if (accounts.get(i).name.equals(selectedAccountName)) 482 final Account[] accounts = accountManager.getAccountsForPackage(mCallingPackage, local [all...] |
Account.java | 17 package android.accounts;
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockAccountTypeManager.java | 39 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { 41 this.mAccounts = accounts;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiverTests.java | 17 package com.android.inputmethod.latin.accounts; 19 import android.accounts.AccountManager;
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountAuthenticator.java | 17 package android.accounts.cts; 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException; 196 intent.setClassName("android.accounts.cts", "android.accounts.cts.AccountDummyActivity");
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AddAccountSettings.java | 17 package com.android.settings.accounts; 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;
|
SyncStateSwitchPreference.java | 17 package com.android.settings.accounts; 19 import android.accounts.Account;
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AuthenticatorDescription; 198 LinearLayout contents = (LinearLayout)mContentView.findViewById(R.id.accounts); 215 Account[] accounts = mgr.getAccountsAsUser(profileId); local 216 final int N = accounts.length; 233 Account account = accounts[i];
|
/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/Email/src/com/android/email/preferences/ |
EmailPreferenceMigrator.java | 46 final List<Account> accounts = new ArrayList<Account>(); local 54 "Null cursor returned from query to %s when migrating accounts from %d to %d", 60 accounts.add(Account.builder().buildFrom(accountCursor)); 67 migrate(context, oldVersion, newVersion, accounts); 72 final List<Account> accounts) { 92 for (final Account account : accounts) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProfileOwnerProvisioningActivity.java | 22 import android.accounts.Account; 23 import android.accounts.AccountManager; 24 import android.accounts.AccountManagerFuture; 25 import android.accounts.AuthenticatorException; 26 import android.accounts.OperationCanceledException;
|
/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)) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinner.java | 87 * accounts. Otherwise, show just the account this was launched 94 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts, local 97 mAccounts = accounts; 105 for (Account account : accounts) { 119 // If there are not yet any accounts in the cached synced accounts
|
/frameworks/base/core/java/com/android/server/backup/ |
AccountSyncSettingsBackupHelper.java | 23 import android.accounts.Account; 24 import android.accounts.AccountManager; 69 private static final String KEY_ACCOUNTS = "accounts"; 122 Account[] accounts = mAccountManager.getAccounts(); local 147 for (Account account : accounts) { 150 // We ignore Accounts that don't have any authorities because there would be no sync 265 // Check if the account already exists. Accounts that don't exist on the device 287 * Helper method - fetch accounts and return them as a HashSet. 289 * @return Accounts in a HashSet. 292 Account[] accounts = mAccountManager.getAccounts() local [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
PingSyncSynchronizer.java | 190 final android.accounts.Account amAccount = 191 new android.accounts.Account(account.mEmailAddress, 208 private boolean pingEnd(final android.accounts.Account amAccount) { 260 final android.accounts.Account amAccount = 261 new android.accounts.Account(account.mEmailAddress, 305 * Map from account ID -> {@link AccountSyncState} for accounts with a running operation. 394 public void pingEnd(final long accountId, final android.accounts.Account amAccount) { 437 * Stops our service if our map contains no active accounts. 444 LogUtils.i(TAG, "PSS has no active accounts; stopping service.");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AccountsSettingsFragment.java | 41 import com.android.inputmethod.latin.accounts.AccountStateChangedListener; 42 import com.android.inputmethod.latin.accounts.LoginAccountUtils; 52 * "Accounts & Privacy" settings sub screen. 205 * Two reasons for disable - work profile or no accounts on device. 280 * @param hasAccountsPermission whether the app has the permission to read accounts. 283 * @param hasAccountsForLogin whether the device has enough accounts for login. 338 * Creates an account picker dialog showing the given accounts in a list and selecting 339 * the selected account by default. The list of accounts must not be null/empty. 343 * @param accounts list of accounts on the device [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionTimeout.java | 53 boolean isTimeoutNeededForCall(Collection<PhoneAccountHandle> accounts, 63 if (!accounts.contains(connectionManager)) {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
PhoneAccountRegistrarTest.java | 334 fail("Phone accounts not equal: " + a + ", " + b); 342 assertEquals(a.accounts.size(), b.accounts.size()); 343 for (int i = 0; i < a.accounts.size(); i++) { 344 assertPhoneAccountEquals(a.accounts.get(i), b.accounts.get(i)); 350 s.accounts.add(makeQuickAccount("id0", 0)); 351 s.accounts.add(makeQuickAccount("id1", 1)); 352 s.accounts.add(makeQuickAccount("id2", 2));
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
AddAccountTx.java | 1 package android.accounts.cts.common.tx;
|