/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccountSelectionPreference.java | 49 private PhoneAccountHandle[] mAccounts; field in AccountSelectionPreference 78 mAccounts = accountsList.toArray(new PhoneAccountHandle[accountsList.size()]); in setModel() 79 mEntryValues = new String[mAccounts.length + 1]; in setModel() 80 mEntries = new CharSequence[mAccounts.length + 1]; in setModel() 84 int selectedIndex = mAccounts.length; // Points to nullSelectionString by default in setModel() 86 for ( ; i < mAccounts.length; i++) { in setModel() 87 PhoneAccount account = telecomManager.getPhoneAccount(mAccounts[i]); in setModel() 90 label = pm.getUserBadgedLabel(label, mAccounts[i].getUserHandle()); in setModel() 98 if (Objects.equals(currentSelection, mAccounts[i])) { in setModel() 117 PhoneAccountHandle account = index < mAccounts.length ? mAccounts[index] : null; in onPreferenceChange()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | AccountsListAdapter.java | 41 private final List<AccountWithDataSet> mAccounts; field in AccountsListAdapter 67 mAccounts = getAccounts(accountListFilter); in AccountsListAdapter() 69 && !mAccounts.isEmpty() in AccountsListAdapter() 70 && !mAccounts.get(0).equals(currentAccount) in AccountsListAdapter() 71 && mAccounts.remove(currentAccount)) { in AccountsListAdapter() 72 mAccounts.add(0, currentAccount); in AccountsListAdapter() 99 final AccountWithDataSet account = mAccounts.get(position); in getView() 116 return mAccounts.size(); in getCount() 121 return mAccounts.get(position); in getItem()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | FromAddressSpinner.java | 37 private List<Account> mAccounts; field in FromAddressSpinner 94 final List<Account> accounts = AccountUtils.mergeAccountLists(mAccounts, in initialize() 97 mAccounts = accounts; in initialize() 112 mAccounts = ImmutableList.of(replyAccount); in initialize() 123 if (mAccounts == null || mAccounts.size() == 0) { in initFromSpinner() 130 for (Account account : mAccounts) { in initFromSpinner()
|
D | ComposeActivity.java | 344 private Account[] mAccounts; field in ComposeActivity 771 mAccounts = null; in checkValidAccounts() 785 mAccounts = null; in checkValidAccounts() 789 mAccounts = AccountUtils.getSyncingAccounts(this); in checkValidAccounts() 822 if (mAccounts != null && mAccounts.length > 0) { in obtainAccount() 826 for (Account a : mAccounts) { in obtainAccount() 834 for (Account a : mAccounts) { in obtainAccount() 841 account = mAccounts[0]; in obtainAccount() 966 mFromSpinner.initialize(mComposeMode, mAccount, mAccounts, mRefMessage); in onResume() 1009 final boolean hasAccounts = mAccounts != null && mAccounts.length > 0; in onRestoreInstanceState() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | ContactEditorUtilsTest.java | 78 mAccountTypes.mAccounts = accounts; in setAccounts() 126 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; in testSaveDefaultAndAllAccounts() 130 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts() 134 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A}; in testSaveDefaultAndAllAccounts() 138 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts() 142 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_1_B}; in testSaveDefaultAndAllAccounts() 146 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts() 161 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; in testIsAccountValid() 166 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_2_A}; in testIsAccountValid()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 371 private List<AccountEntry> mAccounts = new LinkedList<AccountEntry>(); field in TelecomAccountRegistry 408 for (AccountEntry entry : mAccounts) { in isVideoPauseSupported() 424 for (AccountEntry entry : mAccounts) { in isMergeCallSupported() 446 for (AccountEntry entry : mAccounts) { in getAddress() 481 for (AccountEntry entry : mAccounts) { in hasAccountEntryForPhoneAccount() 527 mAccounts.add(new AccountEntry(phone, false /* emergency */, in setupAccounts() 536 if (mAccounts.isEmpty()) { in setupAccounts() 537 mAccounts.add(new AccountEntry(PhoneFactory.getDefaultPhone(), true /* emergency */, in setupAccounts() 543 mAccounts.add(new AccountEntry(phones[0], false /* emergency */, true /* isDummy */)); in setupAccounts() 575 for (AccountEntry entry : mAccounts) { in tearDownAccounts() [all …]
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockAccountTypeManager.java | 37 public AccountWithDataSet[] mAccounts; field in MockAccountTypeManager 41 this.mAccounts = accounts; in MockAccountTypeManager() 65 return Arrays.asList(mAccounts); in getAccounts() 70 return Arrays.asList(mAccounts); in getGroupWritableAccounts()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipAccountRegistry.java | 106 private final List<AccountEntry> mAccounts = new CopyOnWriteArrayList<>(); field in SipAccountRegistry 164 mAccounts.remove(accountEntry); in removeSipProfile() 270 mAccounts.add(entry); in startSipServiceForProfile() 281 for (AccountEntry entry : mAccounts) { in getAccountEntry()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 1306 private List<DrawerItem> mAccounts; field in FolderListFragment.AccountsAdapter 1309 mAccounts = new ArrayList<>(); in AccountsAdapter() 1313 mAccounts = accounts; in setAccounts() 1319 return mAccounts.size(); in getCount() 1325 if (position >= mAccounts.size()) { in getItem() 1328 return mAccounts.get(position); in getItem() 1627 private List<Account> mAccounts = new ArrayList<>(); field in FolderListFragment.MiniDrawerAccountsAdapter 1630 mAccounts.clear(); in setAccounts() 1635 mAccounts.add(currentAccount); in setAccounts() 1639 mAccounts.add(account); in setAccounts() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | CustomContactListFilterActivity.java | 549 private AccountSet mAccounts; field in CustomContactListFilterActivity.DisplayAdapter 560 mAccounts = accounts; in setAccounts() 607 final AccountDisplay account = mAccounts.get(groupPosition); in getChildView() 630 final AccountDisplay account = mAccounts.get(groupPosition); in getChild() 654 final AccountDisplay account = mAccounts.get(groupPosition); 661 return mAccounts.get(groupPosition); in getGroup() 666 if (mAccounts == null) { in getGroupCount() 669 return mAccounts.size(); in getGroupCount() 829 if (mAdapter == null || mAdapter.mAccounts == null) { in doSaveAction() 836 final ArrayList<ContentProviderOperation> diff = mAdapter.mAccounts.buildDiff(); in doSaveAction()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarSettingsActivity.java | 38 private Account[] mAccounts; field in CalendarSettingsActivity 64 mAccounts = accounts; in onBuildHeaders() 125 if (accounts != null && !accounts.equals(mAccounts)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | AccountTypeManager.java | 202 private List<AccountWithDataSet> mAccounts = Lists.newArrayList(); field in AccountTypeManagerImpl 510 mAccounts = allAccounts; in loadAccountsInBackground() 522 + mAccounts.size() + " accounts in " + (endTimeWall - startTimeWall) + "ms(wall) " in loadAccountsInBackground() 571 return contactWritableOnly ? mContactWritableAccounts : mAccounts; in getAccounts()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 101 private Account[] mAccounts = new Account[0]; field in ContactsActor 132 return mAccounts; in getAccounts() 711 mAccounts = accounts; in setAccounts()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 4977 private Account[] mAccounts; field in CalendarProvider2.AccountsUpdatedThread 4980 mAccounts = accounts; in AccountsUpdatedThread() 4991 removeStaleAccounts(mAccounts); in run()
|