Searched refs:defaultAccount (Results 1 – 8 of 8) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 337 PhoneAccountHandle defaultAccount = in testDefaultOutgoing() local 339 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 347 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 349 assertEquals(sipAccount, defaultAccount); in testDefaultOutgoing() 350 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 352 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 360 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 362 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 388 PhoneAccountHandle defaultAccount = in testReplacePhoneAccountByGroup() local 390 assertEquals(telAccount1, defaultAccount); in testReplacePhoneAccountByGroup() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 257 final AccountWithDataSet defaultAccount = getDefaultAccount(); in shouldShowAccountChangedNotification() local 263 return defaultAccount == null || !defaultAccount.isNullAccount(); in shouldShowAccountChangedNotification() 271 if (defaultAccount == null) { in shouldShowAccountChangedNotification() 275 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification() 386 final String defaultAccount = previousPrefs.getString(mDefaultAccountKey, null); in maybeMigrateSystemSettings() local 387 if (!TextUtils.isEmpty(defaultAccount)) { in maybeMigrateSystemSettings() 389 defaultAccount); in maybeMigrateSystemSettings()
|
D | DefaultAccountPreference.java | 77 final AccountWithDataSet defaultAccount = mPreferences.getDefaultAccount(); in getSummary() local 78 if (defaultAccount == null || mAccounts == null || in getSummary() 79 !AccountInfo.contains(mAccounts, defaultAccount)) { in getSummary() 82 return AccountInfo.getAccount(mAccounts, defaultAccount).getNameLabel(); in getSummary()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountInfo.java | 128 public static void sortAccounts(AccountWithDataSet defaultAccount, List<AccountInfo> accounts) { in sortAccounts() argument 129 Collections.sort(accounts, sourceComparator(defaultAccount)); in sortAccounts() 139 private static Comparator<AccountInfo> sourceComparator(AccountWithDataSet defaultAccount) { in sourceComparator() argument 140 final AccountComparator accountComparator = new AccountComparator(defaultAccount); in sourceComparator()
|
D | AccountComparator.java | 28 public AccountComparator(AccountWithDataSet defaultAccount) { in AccountComparator() argument 29 mDefaultAccount = defaultAccount; in AccountComparator()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 90 public void saveDefaultAccount(AccountWithDataSet defaultAccount) { in saveDefaultAccount() argument 91 if (defaultAccount == null) { in saveDefaultAccount() 94 mContactsPrefs.setDefaultAccount(defaultAccount); in saveDefaultAccount()
|
D | ContactEditorFragment.java | 1073 AccountWithDataSet defaultAccount = mEditorUtils.getOnlyOrDefaultAccount(accounts); in selectAccountAndCreateContact() local 1074 createContact(defaultAccount); in selectAccountAndCreateContact()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 255 final String defaultAccount = prefs.getString(defaultAccountKey, null); 256 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null : 257 AccountWithDataSet.unstringify(defaultAccount);
|