Searched refs:defaultAccount (Results 1 – 8 of 8) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 273 PhoneAccountHandle defaultAccount = in testDefaultOutgoing() local 275 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 283 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 285 assertEquals(sipAccount, defaultAccount); in testDefaultOutgoing() 286 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 288 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 296 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 298 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 324 PhoneAccountHandle defaultAccount = in testReplacePhoneAccountByGroup() local 326 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 | 254 final String defaultAccount = prefs.getString(defaultAccountKey, null); 255 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null : 256 AccountWithDataSet.unstringify(defaultAccount);
|