/cts/tests/src/android/content/cts/ |
MockSyncAdapter.java | 33 private ArrayList<Account> mAccounts = new ArrayList<Account>(); 42 return mAccounts; 66 mAccounts.clear(); 82 mAccounts.add(account); 102 mAccounts.clear(); 118 mAccounts.add(account);
|
/packages/apps/Browser/src/com/android/browser/ |
DeviceAccountLogin.java | 35 Account[] mAccounts; 60 mAccounts = mAccountManager.getAccountsByType(realm); 64 if (mAccounts.length == 0) { 69 for (Account a : mAccounts) { 132 mAccounts[accountIndex], mAuthToken, null, 137 String[] names = new String[mAccounts.length]; 138 for (int i = 0; i < mAccounts.length; i++) { 139 names[i] = mAccounts[i].name;
|
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/ |
AccountChooserFragment.java | 26 private String[] mAccounts; 32 mAccounts = accountsList.toArray(new String[accountsList.size()]); 35 .setSingleChoiceItems(mAccounts, mSelectedAccount, this) 45 selectAccount(mAccounts[mSelectedAccount]);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
AccountsListAdapter.java | 41 private final List<AccountWithDataSet> mAccounts; 66 mAccounts = getAccounts(accountListFilter); 68 && !mAccounts.isEmpty() 69 && !mAccounts.get(0).equals(currentAccount) 70 && mAccounts.remove(currentAccount)) { 71 mAccounts.add(0, currentAccount); 93 final AccountWithDataSet account = mAccounts.get(position); 110 return mAccounts.size(); 115 return mAccounts.get(position);
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockAccountTypeManager.java | 36 public AccountWithDataSet[] mAccounts; 40 this.mAccounts = accounts; 56 return Arrays.asList(mAccounts); 61 return Arrays.asList(mAccounts);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinner.java | 37 private List<Account> mAccounts; 95 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts, 98 mAccounts = accounts; 113 mAccounts = ImmutableList.of(replyAccount); 124 if (mAccounts == null || mAccounts.size() == 0) { 130 for (Account account : mAccounts) {
|
ComposeActivity.java | 294 private Account[] mAccounts; 583 mAccounts = null; 597 mAccounts = null; 601 mAccounts = AccountUtils.getSyncingAccounts(this); 634 if (mAccounts != null && mAccounts.length > 0) { 638 for (Account a : mAccounts) { 646 for (Account a : mAccounts) { 653 account = mAccounts[0]; 765 mFromSpinner.initialize(mComposeMode, mAccount, mAccounts, mRefMessage) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
ContactEditorUtilsTest.java | 78 mAccountTypes.mAccounts = accounts; 126 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; 130 Sets.newHashSet(mAccountTypes.mAccounts), 134 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A}; 138 Sets.newHashSet(mAccountTypes.mAccounts), 142 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_1_B}; 146 Sets.newHashSet(mAccountTypes.mAccounts), 161 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; 166 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_2_A};
|
/frameworks/base/core/java/android/accounts/ |
ChooseAccountActivity.java | 45 private Parcelable[] mAccounts = null; 56 mAccounts = getIntent().getParcelableArrayExtra(AccountManager.KEY_ACCOUNTS); 61 if (mAccounts == null) { 69 AccountInfo[] mAccountInfos = new AccountInfo[mAccounts.length]; 70 for (int i = 0; i < mAccounts.length; i++) { 71 mAccountInfos[i] = new AccountInfo(((Account) mAccounts[i]).name, 72 getDrawableForType(((Account) mAccounts[i]).type)); 120 Account account = (Account) mAccounts[position];
|
ChooseTypeAndAccountActivity.java | 123 private ArrayList<Account> mAccounts; 173 mAccounts = savedInstanceState.getParcelableArrayList(KEY_INSTANCE_STATE_ACCOUNT_LIST); 196 mAccounts = getAcceptableAccountChoices(AccountManager.get(this)); 197 if (mAccounts.isEmpty() 213 mAccounts = getAcceptableAccountChoices(accountManager); 222 if (mAccounts.isEmpty()) { 232 if (!mAlwaysPromptForAccount && mAccounts.size() == 1) { 233 Account account = mAccounts.get(0); 239 String[] listItems = getListOfDisplayableOptions(mAccounts); 241 mAccounts, mSelectedAccountName, mSelectedAddNewAccount) [all...] |
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
MockAccountManager.java | 79 private final Set<AccountHolder> mAccounts; 94 mAccounts = new HashSet<AccountHolder>(); 98 mAccounts.add(AccountHolder.create().account(account).alwaysAccept(true).build()); 119 if (mAccounts == null) { 122 Account[] accounts = new Account[mAccounts.size()]; 124 for (AccountHolder ah : mAccounts) { 139 boolean result = mAccounts.add(accountHolder); 147 mAccounts.remove(getAccountHolder(account)); 166 mAccounts.add(getAccountHolder(account).withPassword(password)); 268 synchronized (mAccounts) { [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarSettingsActivity.java | 38 private Account[] mAccounts; 64 mAccounts = accounts; 125 if (accounts != null && !accounts.equals(mAccounts)) {
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPatternView.java | 300 private final Account[] mAccounts; 305 mAccounts = accountManager.getAccountsByTypeAsUser("com.google", 312 if (mEnableFallback || mAccountIndex >= mAccounts.length) { 317 mAccountManager.confirmCredentialsAsUser(mAccounts[mAccountIndex], null, null, this,
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 55 private ArrayList<AccountData> mAccounts; 103 mAccounts = new ArrayList<AccountData>(); 104 mAccountAdapter = new AccountAdapter(this, mAccounts); 247 mAccounts.clear(); 260 mAccounts.add(data);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
CustomContactListFilterActivity.java | 546 private AccountSet mAccounts; 557 mAccounts = accounts; 604 final AccountDisplay account = mAccounts.get(groupPosition); 627 final AccountDisplay account = mAccounts.get(groupPosition); 651 final AccountDisplay account = mAccounts.get(groupPosition); 658 return mAccounts.get(groupPosition); 663 if (mAccounts == null) { 666 return mAccounts.size(); 831 if (mAdapter == null || mAdapter.mAccounts == null) { 838 final ArrayList<ContentProviderOperation> diff = mAdapter.mAccounts.buildDiff() [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
AccountTypeManager.java | 199 private List<AccountWithDataSet> mAccounts = Lists.newArrayList(); 513 mAccounts = allAccounts; 525 + mAccounts.size() + " accounts in " + (endTimeWall - startTimeWall) + "ms(wall) " 574 return contactWritableOnly ? mContactWritableAccounts : mAccounts; [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 80 private Account[] mAccounts; 375 updateAccountCheckboxes(mAccounts); 441 mAccounts = accounts;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsActor.java | 89 private Account[] mAccounts = new Account[0]; 120 return mAccounts; 519 mAccounts = accounts;
|
/frameworks/base/services/java/com/android/server/content/ |
SyncStorageEngine.java | 341 private final HashMap<AccountAndUser, AccountInfo> mAccounts 677 for (AccountInfo accountInfo : mAccounts.values()) { 721 for (AccountInfo accountInfo : mAccounts.values()) { [all...] |
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | [all...] |