Searched refs:authorities (Results 1 – 25 of 27) sorted by relevance
12
81 public void initialize(String[] authorities, String[] accountTypesFilter, UserHandle userHandle, in initialize() argument84 mAuthorities = authorities; in initialize()212 List<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in getAuthoritiesForAccountType() local213 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()
75 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local76 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers()81 Context context, SettingsPreferenceFragment parent, String[] authorities, in buildAccountPreferenceControllers() argument84 new AccountPreferenceController(context, parent, authorities, in buildAccountPreferenceControllers()
82 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local83 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers()94 Context context, SettingsPreferenceFragment parent, String[] authorities, in buildAccountPreferenceControllers() argument97 new AccountPreferenceController(context, parent, authorities, in buildAccountPreferenceControllers()
117 public static boolean showAccount(String[] authorities, ArrayList<String> auths) { in showAccount() argument119 if (authorities != null && auths != null) { in showAccount()121 for (String requestedAuthority : authorities) { in showAccount()
44 final String[] authorities = getIntent().getStringArrayExtra( in onAttach() local52 use(ChooseAccountPreferenceController.class).initialize(authorities, accountTypesFilter, in onAttach()
219 final String[] authorities = in requestChooseAccount() local224 if (authorities != null) { in requestChooseAccount()225 intent.putExtra(AccountPreferenceBase.AUTHORITIES_FILTER_KEY, authorities); in requestChooseAccount()
49 ArrayList<String> authorities, boolean showTypeIcon) { in AccountPreference() argument52 mAuthorities = authorities; in AccountPreference()
513 ArrayList<SyncAdapterType> authorities = new ArrayList<>(); in updateAccountSwitches() local523 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()
139 String[] authorities, @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController() argument140 this(context, parent, authorities, new AccountRestrictionHelper(context), type); in AccountPreferenceController()145 String[] authorities, AccountRestrictionHelper helper, in AccountPreferenceController() argument149 mAuthorities = authorities; in AccountPreferenceController()
64 String[] authorities = activityIntent.getStringArrayExtra(Settings.EXTRA_AUTHORITIES); in onAttach() local66 if (authorities != null || accountTypes != null) { in onAttach()68 .setAuthorities(authorities); in onAttach()70 .setAuthorities(authorities).setAccountTypes(accountTypes); in onAttach()
48 String[] authorities = intent.getStringArrayExtra(Settings.EXTRA_AUTHORITIES); in onAttach() local49 if (authorities != null) { in onAttach()50 preferenceController.setAuthorities(Arrays.asList(authorities)); in onAttach()
48 public AddAccountPreferenceController setAuthorities(String[] authorities) { in setAuthorities() argument49 mAuthorities = authorities; in setAuthorities()
74 public void setAuthorities(List<String> authorities) { in setAuthorities() argument75 mAuthorities = authorities; in setAuthorities()
65 public void setAuthorities(List<String> authorities) { in setAuthorities() argument66 mAccountTypesHelper.setAuthorities(authorities); in setAuthorities()
81 public void setAuthorities(String[] authorities) { in setAuthorities() argument82 mAuthorities = authorities; in setAuthorities()
41 final ArrayList<String> authorities = new ArrayList<>(); in setUp() local42 authorities.add("authority"); in setUp()48 authorities, in setUp()
207 private void setUpSyncAdapters(String... authorities) { in setUpSyncAdapters() argument208 for (String authority : authorities) { in setUpSyncAdapters()216 private void setUpVisibleSyncAdapters(String... authorities) { in setUpVisibleSyncAdapters() argument217 for (String authority : authorities) { in setUpVisibleSyncAdapters()
364 ArrayList<String> authorities = new ArrayList<>(syncAdapters.length); in updateAccountSwitches() local373 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()
514 private void setUpVisibleSyncAdapters(String... authorities) { in setUpVisibleSyncAdapters() argument515 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()
387 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()
97 std::vector<DNSRecord> authorities; member
639 List<String> authorities = new ArrayList<>(); in getExcludedAuthorities() local647 authorities.add(provider.authority); in getExcludedAuthorities()653 return authorities; in getExcludedAuthorities()
5572 header.authorities.push_back(std::move(recordAuthority)); in TEST_P()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...