Home
last modified time | relevance | path

Searched refs:AccountPreference (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountListPreferenceController.java139 private boolean onAccountPreferenceClicked(AccountPreference preference) { in onAccountPreferenceClicked()
188 ArrayList<AccountPreference> accountPreferences = in getAccountPreferences()
208 String key = AccountPreference.buildKey(account); in getAccountPreferences()
209 AccountPreference preference = (AccountPreference) mPreferences.getOrDefault(key, in getAccountPreferences()
210 new AccountPreference(getContext(), account, label, icon)); in getAccountPreferences()
212 (Preference pref) -> onAccountPreferenceClicked((AccountPreference) pref)); in getAccountPreferences()
228 (AccountPreference a) -> a.getSummary().toString()) in getAccountPreferences()
229 .thenComparing((AccountPreference a) -> a.getTitle().toString())); in getAccountPreferences()
276 private static class AccountPreference extends CarUiPreference { class in AccountListPreferenceController
281 private AccountPreference(Context context, Account account, CharSequence label, in AccountPreference() method in AccountListPreferenceController.AccountPreference
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceTest.java37 private AccountPreference mPreference;
44 mPreference = spy(new AccountPreference( in setUp()
55 mPreference.setSyncStatus(AccountPreference.SYNC_ERROR, true); in setSyncStatus_differentStatus_shouldUpdate()
62 mPreference.setSyncStatus(AccountPreference.SYNC_ERROR, true); in setSyncStatus_sameStatus_shouldNotUpdate()
66 mPreference.setSyncStatus(AccountPreference.SYNC_ERROR, true); in setSyncStatus_sameStatus_shouldNotUpdate()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java75 final class AccountPreference extends Preference { class in PhoneAccountSelectionFragment
78 public AccountPreference( in AccountPreference() method in PhoneAccountSelectionFragment.AccountPreference
121 screen.addPreference(new AccountPreference(context, handle, account)); in onResume()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreference.java36 public class AccountPreference extends Preference { class
48 public AccountPreference(Context context, Account account, Drawable icon, in AccountPreference() method in AccountPreference