Home
last modified time | relevance | path

Searched refs:accountTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl116 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
117 void unregisterAccountListener(in String[] accountTypes, String opPackageName); in unregisterAccountListener() argument
DAccountManager.java3018 Handler handler, boolean updateImmediately, String[] accountTypes) {
3029 if (accountTypes != null) {
3031 new HashSet<String>(Arrays.asList(accountTypes)));
3048 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
3078 Set<String> accountTypes = mAccountsUpdatedListenersTypes.get(listener);
3080 if (accountTypes != null) {
3081 accountsArray = accountTypes.toArray(new String[accountTypes.size()]);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java527 List<String> accountTypes, Integer callingUid, UserAccounts accounts) { in getAccountsAndVisibilityForPackage() argument
534 for (String accountType : accountTypes) { in getAccountsAndVisibilityForPackage()
885 public void registerAccountListener(String[] accountTypes, String opPackageName) { in registerAccountListener() argument
893 registerAccountListener(accountTypes, opPackageName, accounts); in registerAccountListener()
899 private void registerAccountListener(String[] accountTypes, String opPackageName, in registerAccountListener() argument
902 if (accountTypes == null) { in registerAccountListener()
904 accountTypes = new String[] {null}; in registerAccountListener()
906 for (String type : accountTypes) { in registerAccountListener()
919 public void unregisterAccountListener(String[] accountTypes, String opPackageName) { in unregisterAccountListener() argument
926 unregisterAccountListener(accountTypes, opPackageName, accounts); in unregisterAccountListener()
[all …]