Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountListPreferenceController.java126 private boolean onAccountPreferenceClicked(AccountPreference preference) { in onAccountPreferenceClicked()
176 ArrayList<AccountPreference> accountPreferences = in getAccountPreferences()
196 String key = AccountPreference.buildKey(account); in getAccountPreferences()
197 AccountPreference preference = (AccountPreference) mPreferences.getOrDefault(key, in getAccountPreferences()
198 new AccountPreference(getContext(), account, label, icon)); in getAccountPreferences()
200 (Preference pref) -> onAccountPreferenceClicked((AccountPreference) pref)); in getAccountPreferences()
216 (AccountPreference a) -> a.getSummary().toString()) in getAccountPreferences()
217 .thenComparing((AccountPreference a) -> a.getTitle().toString())); in getAccountPreferences()
254 private static class AccountPreference extends CarUiPreference { class in AccountListPreferenceController
259 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreference.java36 public class AccountPreference extends Preference { class
48 public AccountPreference(Context context, Account account, Drawable icon, in AccountPreference() method in AccountPreference
/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