Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl119 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
120 void unregisterAccountListener(in String[] accountTypes, String opPackageName); in unregisterAccountListener() argument
DAccountManager.java3008 Handler handler, boolean updateImmediately, String[] accountTypes) {
3019 if (accountTypes != null) {
3021 new HashSet<String>(Arrays.asList(accountTypes)));
3038 mService.registerAccountListener(accountTypes, mContext.getOpPackageName());
3068 Set<String> accountTypes = mAccountsUpdatedListenersTypes.get(listener);
3070 if (accountTypes != null) {
3071 accountsArray = accountTypes.toArray(new String[accountTypes.size()]);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java571 List<String> accountTypes, Integer callingUid, UserAccounts accounts) { in getAccountsAndVisibilityForPackage() argument
578 for (String accountType : accountTypes) { in getAccountsAndVisibilityForPackage()
952 public void registerAccountListener(String[] accountTypes, String opPackageName) { in registerAccountListener() argument
960 registerAccountListener(accountTypes, opPackageName, accounts); in registerAccountListener()
966 private void registerAccountListener(String[] accountTypes, String opPackageName, in registerAccountListener() argument
969 if (accountTypes == null) { in registerAccountListener()
971 accountTypes = new String[] {null}; in registerAccountListener()
973 for (String type : accountTypes) { in registerAccountListener()
986 public void unregisterAccountListener(String[] accountTypes, String opPackageName) { in unregisterAccountListener() argument
993 unregisterAccountListener(accountTypes, opPackageName, accounts); in unregisterAccountListener()
[all …]