Home
last modified time | relevance | path

Searched refs:authorities (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/accounts/
DChooseAccountPreferenceController.java81 public void initialize(String[] authorities, String[] accountTypesFilter, UserHandle userHandle, in initialize() argument
84 mAuthorities = authorities; in initialize()
212 List<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in getAuthoritiesForAccountType() local
213 if (authorities == null) { in getAuthoritiesForAccountType()
214 authorities = new ArrayList<>(); in getAuthoritiesForAccountType()
215 mAccountTypeToAuthorities.put(sa.accountType, authorities); in getAuthoritiesForAccountType()
221 authorities.add(sa.authority); in getAuthoritiesForAccountType()
DAccountPersonalDashboardFragment.java75 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local
76 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers()
81 Context context, SettingsPreferenceFragment parent, String[] authorities, in buildAccountPreferenceControllers() argument
84 new AccountPreferenceController(context, parent, authorities, in buildAccountPreferenceControllers()
DAccountWorkProfileDashboardFragment.java75 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local
76 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers()
81 Context context, SettingsPreferenceFragment parent, String[] authorities, in buildAccountPreferenceControllers() argument
84 new AccountPreferenceController(context, parent, authorities, in buildAccountPreferenceControllers()
DAccountDashboardFragment.java82 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local
83 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers()
94 Context context, SettingsPreferenceFragment parent, String[] authorities, in buildAccountPreferenceControllers() argument
97 new AccountPreferenceController(context, parent, authorities, in buildAccountPreferenceControllers()
DAccountRestrictionHelper.java117 public static boolean showAccount(String[] authorities, ArrayList<String> auths) { in showAccount() argument
119 if (authorities != null && auths != null) { in showAccount()
121 for (String requestedAuthority : authorities) { in showAccount()
DChooseAccountFragment.java44 final String[] authorities = getIntent().getStringArrayExtra( in onAttach() local
52 use(ChooseAccountPreferenceController.class).initialize(authorities, accountTypesFilter, in onAttach()
DAddAccountSettings.java219 final String[] authorities = in requestChooseAccount() local
224 if (authorities != null) { in requestChooseAccount()
225 intent.putExtra(AccountPreferenceBase.AUTHORITIES_FILTER_KEY, authorities); in requestChooseAccount()
DAccountPreference.java49 ArrayList<String> authorities, boolean showTypeIcon) { in AccountPreference() argument
52 mAuthorities = authorities; in AccountPreference()
DAccountSyncSettings.java513 ArrayList<SyncAdapterType> authorities = new ArrayList<>(); in updateAccountSwitches() local
523 authorities.add(sa); in updateAccountSwitches()
537 for (int j = 0, m = authorities.size(); j < m; j++) { in updateAccountSwitches()
538 final SyncAdapterType syncAdapter = authorities.get(j); in updateAccountSwitches()
DAccountPreferenceController.java139 String[] authorities, @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController() argument
140 this(context, parent, authorities, new AccountRestrictionHelper(context), type); in AccountPreferenceController()
145 String[] authorities, AccountRestrictionHelper helper, in AccountPreferenceController() argument
149 mAuthorities = authorities; in AccountPreferenceController()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsFragment.java64 String[] authorities = activityIntent.getStringArrayExtra(Settings.EXTRA_AUTHORITIES); in onAttach() local
66 if (authorities != null || accountTypes != null) { in onAttach()
68 .setAuthorities(authorities); in onAttach()
70 .setAuthorities(authorities).setAccountTypes(accountTypes); in onAttach()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DChooseAccountFragment.java48 String[] authorities = intent.getStringArrayExtra(Settings.EXTRA_AUTHORITIES); in onAttach() local
49 if (authorities != null) { in onAttach()
50 preferenceController.setAuthorities(Arrays.asList(authorities)); in onAttach()
DAddAccountPreferenceController.java48 public AddAccountPreferenceController setAuthorities(String[] authorities) { in setAuthorities() argument
49 mAuthorities = authorities; in setAuthorities()
DAccountTypesHelper.java74 public void setAuthorities(List<String> authorities) { in setAuthorities() argument
75 mAuthorities = authorities; in setAuthorities()
DChooseAccountPreferenceController.java65 public void setAuthorities(List<String> authorities) { in setAuthorities() argument
66 mAccountTypesHelper.setAuthorities(authorities); in setAuthorities()
DAccountListPreferenceController.java81 public void setAuthorities(String[] authorities) { in setAuthorities() argument
82 mAuthorities = authorities; in setAuthorities()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceTest.java41 final ArrayList<String> authorities = new ArrayList<>(); in setUp() local
42 authorities.add("authority"); in setUp()
48 authorities, in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsWithSyncStatusPreferenceControllerTest.java207 private void setUpSyncAdapters(String... authorities) { in setUpSyncAdapters() argument
208 for (String authority : authorities) { in setUpSyncAdapters()
216 private void setUpVisibleSyncAdapters(String... authorities) { in setUpVisibleSyncAdapters() argument
217 for (String authority : authorities) { in setUpVisibleSyncAdapters()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java364 ArrayList<String> authorities = new ArrayList<>(syncAdapters.length); in updateAccountSwitches() local
373 authorities.add(sa.authority); in updateAccountSwitches()
382 final List<Preference> switches = new ArrayList<>(authorities.size()); in updateAccountSwitches()
387 for (final String authority : authorities) { in updateAccountSwitches()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSyncDetailsPreferenceControllerTest.java514 private void setUpVisibleSyncAdapters(String... authorities) { in setUpVisibleSyncAdapters() argument
515 SyncAdapterType[] syncAdapters = new SyncAdapterType[authorities.length]; in setUpVisibleSyncAdapters()
516 for (int i = 0; i < authorities.length; i++) { in setUpVisibleSyncAdapters()
517 String authority = authorities[i]; in setUpVisibleSyncAdapters()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp387 authorities.resize(nscount); in read()
389 cur = authorities[i].read(cur, buffer_end); in read()
427 header.nscount = htons(authorities.size()); in write()
438 for (const DNSRecord& authority : authorities) { in write()
907 header->authorities.clear(); in makeErrorResponse()
920 header->authorities.clear(); in makeTruncatedResponse()
Ddns_responder.h97 std::vector<DNSRecord> authorities; member
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java639 List<String> authorities = new ArrayList<>(); in getExcludedAuthorities() local
647 authorities.add(provider.authority); in getExcludedAuthorities()
653 return authorities; in getExcludedAuthorities()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5572 header.authorities.push_back(std::move(recordAuthority)); in TEST_P()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...

12