/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ChooseAccountPreferenceController.java | 81 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()
|
D | AccountDashboardFragment.java | 66 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local 67 return buildPreferenceControllers(context, this /* parent */, authorities); in createPreferenceControllers() 71 SettingsPreferenceFragment parent, String[] authorities) { in buildPreferenceControllers() argument 75 new AccountPreferenceController(context, parent, authorities); in buildPreferenceControllers()
|
D | AccountRestrictionHelper.java | 68 public static boolean showAccount(String[] authorities, ArrayList<String> auths) { in showAccount() argument 70 if (authorities != null && auths != null) { in showAccount() 72 for (String requestedAuthority : authorities) { in showAccount()
|
D | AddAccountSettings.java | 216 final String[] authorities = in requestChooseAccount() local 221 if (authorities != null) { in requestChooseAccount() 222 intent.putExtra(AccountPreferenceBase.AUTHORITIES_FILTER_KEY, authorities); in requestChooseAccount()
|
D | ChooseAccountFragment.java | 53 final String[] authorities = getIntent().getStringArrayExtra( in onAttach() local 61 use(ChooseAccountPreferenceController.class).initialize(authorities, accountTypesFilter, in onAttach()
|
D | AccountSyncSettings.java | 497 ArrayList<SyncAdapterType> authorities = new ArrayList<>(); in updateAccountSwitches() local 507 authorities.add(sa); in updateAccountSwitches() 521 for (int j = 0, m = authorities.size(); j < m; j++) { in updateAccountSwitches() 522 final SyncAdapterType syncAdapter = authorities.get(j); in updateAccountSwitches()
|
D | AccountPreference.java | 49 ArrayList<String> authorities, boolean showTypeIcon) { in AccountPreference() argument 52 mAuthorities = authorities; in AccountPreference()
|
D | AccountPreferenceController.java | 133 String[] authorities) { in AccountPreferenceController() argument 134 this(context, parent, authorities, new AccountRestrictionHelper(context)); in AccountPreferenceController() 139 String[] authorities, AccountRestrictionHelper helper) { in AccountPreferenceController() argument 142 mAuthorities = authorities; in AccountPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ChooseAccountPreferenceController.java | 81 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()
|
D | AccountDashboardFragment.java | 66 final String[] authorities = getIntent().getStringArrayExtra(EXTRA_AUTHORITIES); in createPreferenceControllers() local 67 return buildPreferenceControllers(context, this /* parent */, authorities); in createPreferenceControllers() 71 SettingsPreferenceFragment parent, String[] authorities) { in buildPreferenceControllers() argument 75 new AccountPreferenceController(context, parent, authorities); in buildPreferenceControllers()
|
D | AccountRestrictionHelper.java | 68 public static boolean showAccount(String[] authorities, ArrayList<String> auths) { in showAccount() argument 70 if (authorities != null && auths != null) { in showAccount() 72 for (String requestedAuthority : authorities) { in showAccount()
|
D | AddAccountSettings.java | 216 final String[] authorities = in requestChooseAccount() local 221 if (authorities != null) { in requestChooseAccount() 222 intent.putExtra(AccountPreferenceBase.AUTHORITIES_FILTER_KEY, authorities); in requestChooseAccount()
|
D | ChooseAccountFragment.java | 53 final String[] authorities = getIntent().getStringArrayExtra( in onAttach() local 61 use(ChooseAccountPreferenceController.class).initialize(authorities, accountTypesFilter, in onAttach()
|
D | AccountSyncSettings.java | 497 ArrayList<SyncAdapterType> authorities = new ArrayList<>(); in updateAccountSwitches() local 507 authorities.add(sa); in updateAccountSwitches() 521 for (int j = 0, m = authorities.size(); j < m; j++) { in updateAccountSwitches() 522 final SyncAdapterType syncAdapter = authorities.get(j); in updateAccountSwitches()
|
D | AccountPreference.java | 49 ArrayList<String> authorities, boolean showTypeIcon) { in AccountPreference() argument 52 mAuthorities = authorities; in AccountPreference()
|
D | AccountPreferenceController.java | 133 String[] authorities) { in AccountPreferenceController() argument 134 this(context, parent, authorities, new AccountRestrictionHelper(context)); in AccountPreferenceController() 139 String[] authorities, AccountRestrictionHelper helper) { in AccountPreferenceController() argument 142 mAuthorities = authorities; in AccountPreferenceController()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountDetailsWithSyncStatusPreferenceControllerTest.java | 141 private void setUpVisibleSyncAdapters(String... authorities) { in setUpVisibleSyncAdapters() argument 142 SyncAdapterType[] syncAdapters = new SyncAdapterType[authorities.length]; in setUpVisibleSyncAdapters() 143 for (int i = 0; i < authorities.length; i++) { in setUpVisibleSyncAdapters() 144 String authority = authorities[i]; in setUpVisibleSyncAdapters()
|
D | AccountSyncDetailsFragmentTest.java | 201 private void setUpSyncAdapters(String... authorities) { in setUpSyncAdapters() argument 202 SyncAdapterType[] syncAdapters = new SyncAdapterType[authorities.length]; in setUpSyncAdapters() 203 for (int i = 0; i < authorities.length; i++) { in setUpSyncAdapters() 204 String authority = authorities[i]; in setUpSyncAdapters()
|
D | AccountSyncDetailsPreferenceControllerTest.java | 514 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/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | ChooseAccountFragment.java | 44 String[] authorities = requireActivity().getIntent().getStringArrayExtra( in onAttach() local 46 if (authorities != null) { in onAttach() 48 .setAuthorities(Arrays.asList(authorities)); in onAttach()
|
D | AccountSettingsFragment.java | 68 String[] authorities = getActivity().getIntent().getStringArrayExtra( in onAttach() local 70 if (authorities != null) { in onAttach() 72 .setAuthorities(authorities); in onAttach()
|
D | ChooseAccountPreferenceController.java | 78 public void setAuthorities(List<String> authorities) { in setAuthorities() argument 79 mAuthorities = authorities; in setAuthorities()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountPreferenceTest.java | 41 final ArrayList<String> authorities = new ArrayList<>(); in setUp() local 42 authorities.add("authority"); in setUp() 48 authorities, in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 348 ArrayList<String> authorities = new ArrayList<>(syncAdapters.length); in updateAccountSwitches() local 357 authorities.add(sa.authority); in updateAccountSwitches() 366 final List<Preference> switches = new ArrayList<>(authorities.size()); in updateAccountSwitches() 371 for (final String authority : authorities) { in updateAccountSwitches()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 357 authorities.resize(nscount); in read() 359 cur = authorities[i].read(cur, buffer_end); in read() 397 header.nscount = htons(authorities.size()); in write() 408 for (const DNSRecord& authority : authorities) { in write() 877 header->authorities.clear(); in makeErrorResponse() 890 header->authorities.clear(); in makeTruncatedResponse()
|