Home
last modified time | relevance | path

Searched refs:mAuthenticatorHelper (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountTypesHelper.java48 private AuthenticatorHelper mAuthenticatorHelper; field in AccountTypesHelper
64 mAuthenticatorHelper = new AuthenticatorHelper(mContext, mUserHandle, in AccountTypesHelper()
110 mAuthenticatorHelper.getAuthoritiesForAccountType(accountType); in updateAuthorizedAccountTypes()
154 mAuthenticatorHelper.listenToAccountUpdates(); in listenToAccountUpdates()
159 mAuthenticatorHelper.stopListeningToAccountUpdates(); in stopListeningToAccountUpdates()
168 return mAuthenticatorHelper.getLabelForType(mContext, accountType); in getLabelForType()
179 return mAuthenticatorHelper.getDrawableForType(mContext, accountType); in getDrawableForType()
185 return mAuthenticatorHelper; in getAuthenticatorHelper()
190 mAuthenticatorHelper = helper; in setAuthenticatorHelper()
DAccountListPreferenceController.java62 private AuthenticatorHelper mAuthenticatorHelper; field in AccountListPreferenceController
77 mAuthenticatorHelper = createAuthenticatorHelper(); in AccountListPreferenceController()
107 mAuthenticatorHelper.listenToAccountUpdates(); in onStartInternal()
117 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onStopInternal()
153 mAuthenticatorHelper.stopListeningToAccountUpdates(); in forceUpdateAccountsCategory()
154 mAuthenticatorHelper = createAuthenticatorHelper(); in forceUpdateAccountsCategory()
156 mAuthenticatorHelper.listenToAccountUpdates(); in forceUpdateAccountsCategory()
187 String[] accountTypes = mAuthenticatorHelper.getEnabledAccountTypes(); in getAccountPreferences()
197 CharSequence label = mAuthenticatorHelper.getLabelForType(getContext(), accountType); in getAccountPreferences()
204 Drawable icon = mAuthenticatorHelper.getDrawableForType(getContext(), accountType); in getAccountPreferences()
[all …]
DAccountDetailsFragment.java47 private AuthenticatorHelper mAuthenticatorHelper; field in AccountDetailsFragment
104 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserInfo.getUserHandle(), in onStart()
106 mAuthenticatorHelper.listenToAccountUpdates(); in onStart()
112 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onStop()
DAccountSyncDetailsPreferenceController.java73 private AuthenticatorHelper mAuthenticatorHelper; field in AccountSyncDetailsPreferenceController
130 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), mUserHandle, /* listener= */ in onCreateInternal()
139 mAuthenticatorHelper.listenToAccountUpdates(); in onStartInternal()
152 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onStopInternal()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceBase.java47 protected AuthenticatorHelper mAuthenticatorHelper; field in AccountPreferenceBase
61 mAuthenticatorHelper = new AuthenticatorHelper(activity, mUserHandle, this); in onCreate()
63 new AccountTypePreferenceLoader(this, mAuthenticatorHelper, mUserHandle); in onCreate()
119 mAuthenticatorHelper.updateAuthDescriptions(getActivity()); in updateAuthDescriptions()
124 return mAuthenticatorHelper.getDrawableForType(getActivity(), accountType); in getDrawableForType()
128 return mAuthenticatorHelper.getLabelForType(getActivity(), accountType); in getLabelForType()
DAccountTypePreferenceLoader.java61 private AuthenticatorHelper mAuthenticatorHelper; field in AccountTypePreferenceLoader
68 mAuthenticatorHelper = authenticatorHelper; in AccountTypePreferenceLoader()
80 if (mAuthenticatorHelper.containsAccountType(accountType)) { in addPreferencesForType()
83 desc = mAuthenticatorHelper.getAccountTypeDescription(accountType); in addPreferencesForType()
191 mAuthenticatorHelper.getAccountTypeDescription(acccountType); in isSafeIntent()
DAccountSyncSettings.java166 mAuthenticatorHelper.listenToAccountUpdates(); in onResume()
175 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onPause()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsFragment.java61 private AuthenticatorHelper mAuthenticatorHelper; field in AccountsFragment
65 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), in onCreate()
78 mAuthenticatorHelper.listenToAccountUpdates(); in onStart()
84 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onStop()
DAccountSyncFragment.java88 private AuthenticatorHelper mAuthenticatorHelper; field in AccountSyncFragment
106 mAuthenticatorHelper = new AuthenticatorHelper(getActivity(), mUserHandle, this); in onCreate()
124 mAuthenticatorHelper.listenToAccountUpdates(); in onStart()
125 mAuthenticatorHelper.updateAuthDescriptions(getActivity()); in onStart()
138 mAuthenticatorHelper.stopListeningToAccountUpdates(); in onStop()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsBasePreferenceControllerTest.java62 private AuthenticatorHelper mAuthenticatorHelper; field in AccountDetailsBasePreferenceControllerTest
116 when(mAuthenticatorHelper.getDrawableForType(mContext, mAccount.type)).thenReturn( in onCreate_shouldSetIcon()
135 return mAuthenticatorHelper; in getAuthenticatorHelper()