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.java122 private boolean onAccountPreferenceClicked(AccountPreference preference) { in onAccountPreferenceClicked()
168 ArrayList<AccountPreference> accountPreferences = in getAccountPreferences()
188 String key = AccountPreference.buildKey(account); in getAccountPreferences()
189 AccountPreference preference = (AccountPreference) mPreferences.getOrDefault(key, in getAccountPreferences()
190 new AccountPreference(getContext(), account, label, icon)); in getAccountPreferences()
192 (Preference pref) -> onAccountPreferenceClicked((AccountPreference) pref)); in getAccountPreferences()
208 (AccountPreference a) -> a.getSummary().toString()) in getAccountPreferences()
209 .thenComparing((AccountPreference a) -> a.getTitle().toString())); in getAccountPreferences()
246 private static class AccountPreference extends Preference { class in AccountListPreferenceController
251 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
/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