Searched refs:defaultAccount (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 306 final AccountWithDataSet defaultAccount = getDefaultAccount(); in shouldShowAccountChangedNotification() local 313 return defaultAccount == null || !defaultAccount.equals(localAccount); in shouldShowAccountChangedNotification() 321 if (defaultAccount == null) { in shouldShowAccountChangedNotification() 325 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification() 436 final String defaultAccount = previousPrefs.getString(mDefaultAccountKey, null); in maybeMigrateSystemSettings() local 437 if (!TextUtils.isEmpty(defaultAccount)) { in maybeMigrateSystemSettings() 439 defaultAccount); in maybeMigrateSystemSettings() 445 String defaultAccount = mPreferences.getString(mDefaultAccountKey, null); in maybeMigrateSystemSettings() local 446 if (!TextUtils.isEmpty(defaultAccount)) { in maybeMigrateSystemSettings() 448 defaultAccount); in maybeMigrateSystemSettings()
|
/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 547 PhoneAccountHandle defaultAccount = in testDefaultOutgoing() local 549 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 557 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 559 assertEquals(sipAccount, defaultAccount); in testDefaultOutgoing() 560 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 562 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 570 defaultAccount = mRegistrar.getOutgoingPhoneAccountForSchemeOfCurrentUser( in testDefaultOutgoing() 572 assertEquals(telAccount, defaultAccount); in testDefaultOutgoing() 598 PhoneAccountHandle defaultAccount = in testReplacePhoneAccountByGroup() local 600 assertEquals(telAccount1, defaultAccount); in testReplacePhoneAccountByGroup() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorUtils.java | 92 public void saveDefaultAccount(AccountWithDataSet defaultAccount) { in saveDefaultAccount() argument 93 if (defaultAccount == null) { in saveDefaultAccount() 96 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 | 261 final String defaultAccount = prefs.getString(defaultAccountKey, null); 262 final AccountWithDataSet accountWithDataSet = defaultAccount == null ? null : 263 AccountWithDataSet.unstringify(defaultAccount);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 4286 Account defaultAccount = null; in getDefaultAccount() local 4295 defaultAccount = new Account(accountName, accountType); in getDefaultAccount() 4299 return defaultAccount; in getDefaultAccount()
|
D | ContactsProvider2.java | 2579 final Account defaultAccount = mDbHelper.get().getDefaultAccount(); in call() local 2580 response.putParcelable(Settings.KEY_DEFAULT_ACCOUNT, defaultAccount); in call()
|