Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl122 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
123 void unregisterAccountListener(in String[] accountTypes, String opPackageName); in unregisterAccountListener() argument
DAccountManager.java2902 Handler handler, boolean updateImmediately, String[] accountTypes) {
2913 if (accountTypes != null) {
2915 new HashSet<String>(Arrays.asList(accountTypes)));
2932 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
2962 Set<String> accountTypes = mAccountsUpdatedListenersTypes.get(listener);
2964 if (accountTypes != null) {
2965 accountsArray = accountTypes.toArray(new String[accountTypes.size()]);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java525 List<String> accountTypes, Integer callingUid, UserAccounts accounts) { in getAccountsAndVisibilityForPackage() argument
532 for (String accountType : accountTypes) { in getAccountsAndVisibilityForPackage()
881 public void registerAccountListener(String[] accountTypes, String opPackageName) { in registerAccountListener() argument
889 registerAccountListener(accountTypes, opPackageName, accounts); in registerAccountListener()
895 private void registerAccountListener(String[] accountTypes, String opPackageName, in registerAccountListener() argument
898 if (accountTypes == null) { in registerAccountListener()
900 accountTypes = new String[] {null}; in registerAccountListener()
902 for (String type : accountTypes) { in registerAccountListener()
915 public void unregisterAccountListener(String[] accountTypes, String opPackageName) { in unregisterAccountListener() argument
922 unregisterAccountListener(accountTypes, opPackageName, accounts); in unregisterAccountListener()
[all …]