Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accounts/
DChooseAccountActivity.java73 private String[] mAuthorities; field in ChooseAccountActivity
118 mAuthorities = getIntent().getStringArrayExtra( in onCreate()
158 if (mAuthorities != null && mAuthorities.length > 0 && accountAuths != null) { in onAuthDescriptionsUpdated()
160 for (int k = 0; k < mAuthorities.length; k++) { in onAuthDescriptionsUpdated()
161 if (accountAuths.contains(mAuthorities[k])) { in onAuthDescriptionsUpdated()
207 for (String a : mAuthorities) { in onAuthDescriptionsUpdated()
DAccountPreferenceController.java87 private String[] mAuthorities; field in AccountPreferenceController
142 mAuthorities = authorities; in AccountPreferenceController()
144 if (mAuthorities != null) { in AccountPreferenceController()
145 mAuthoritiesCount = mAuthorities.length; in AccountPreferenceController()
238 intent.putExtra(EXTRA_AUTHORITIES, mAuthorities); in onPreferenceClick()
514 if (!AccountRestrictionHelper.showAccount(mAuthorities, auths)) { in getAccountTypePreferences()
561 if (authoritiesForType.contains(mAuthorities[j])) { in accountTypeHasAnyRequestedAuthorities()
DAccountPreference.java43 private ArrayList<String> mAuthorities; field in AccountPreference
51 mAuthorities = authorities; in AccountPreference()
69 return mAuthorities; in getAuthorities()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceTest.java43 private ArrayList<String> mAuthorities; field in AccountPreferenceTest
50 mAuthorities = new ArrayList<>(); in setUp()
51 mAuthorities.add("authority"); in setUp()
54 mContext, mAccount, null /* icon */, mAuthorities, false /* showTypeIcon */)); in setUp()