HomeSort by relevance Sort by last modified time
    Searched refs:AuthenticatorDescription (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/base/core/java/android/accounts/
AuthenticatorDescription.aidl 19 parcelable AuthenticatorDescription;
AuthenticatorDescription.java 25 public class AuthenticatorDescription implements Parcelable {
50 /** A constructor for a full AuthenticatorDescription */
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId,
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId,
70 * A factory method for creating an AuthenticatorDescription that can be used as a key
74 public static AuthenticatorDescription newKey(String type) {
76 return new AuthenticatorDescription(type);
79 private AuthenticatorDescription(String type) {
89 private AuthenticatorDescription(Parcel source) {
112 if (!(o instanceof AuthenticatorDescription)) return false
    [all...]
ChooseAccountActivity.java 49 private HashMap<String, AuthenticatorDescription> mTypeToAuthDescription
50 = new HashMap<String, AuthenticatorDescription>();
92 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
IAccountManager.aidl 21 import android.accounts.AuthenticatorDescription;
32 AuthenticatorDescription[] getAuthenticatorTypes(int userId);
ChooseAccountTypeActivity.java 127 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
155 final AuthenticatorDescription desc;
159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) {
GrantCredentialsPermissionActivity.java 134 final AuthenticatorDescription[] authenticatorTypes =
137 final AuthenticatorDescription desc = authenticatorTypes[i];
  /frameworks/base/services/core/java/com/android/server/accounts/
IAccountAuthenticatorCache.java 19 import android.accounts.AuthenticatorDescription;
36 * matched the specified {@link android.accounts.AuthenticatorDescription} or null
42 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo(
43 AuthenticatorDescription type, int userId);
48 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> getAllServices(
63 void setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener,
AccountAuthenticatorCache.java 20 import android.accounts.AuthenticatorDescription;
45 extends RegisteredServicesCache<AuthenticatorDescription>
56 public AuthenticatorDescription parseServiceAttributes(Resources res,
76 return new AuthenticatorDescription(accountType, packageName, labelId, iconId,
83 private static class MySerializer implements XmlSerializerAndParser<AuthenticatorDescription> {
84 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out)
89 public AuthenticatorDescription createFromXml(XmlPullParser parser)
91 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type"));
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AuthenticatorHelper.java 21 import android.accounts.AuthenticatorDescription;
35 private Map<String, AuthenticatorDescription> mTypeToAuthDescription
36 = new HashMap<String, AuthenticatorDescription>();
37 private AuthenticatorDescription[] mAuthDescs;
60 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
83 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
123 public AuthenticatorDescription getAccountTypeDescription(String accountType) {
129 AuthenticatorDescription desc = getAccountTypeDescription(accountType);
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 20 import android.accounts.AuthenticatorDescription;
192 private ArrayList<ServiceInfo<AuthenticatorDescription>> mServices;
195 mServices = new ArrayList<ServiceInfo<AuthenticatorDescription>>();
196 AuthenticatorDescription d1 = new AuthenticatorDescription("type1", "p1", 0, 0, 0, 0);
197 AuthenticatorDescription d2 = new AuthenticatorDescription("type2", "p2", 0, 0, 0, 0);
198 mServices.add(new ServiceInfo<AuthenticatorDescription>(d1, null, 0));
199 mServices.add(new ServiceInfo<AuthenticatorDescription>(d2, null, 0));
203 public ServiceInfo<AuthenticatorDescription> getServiceInfo
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AuthenticatorHelper.java 23 import android.accounts.AuthenticatorDescription;
54 private Map<String, AuthenticatorDescription> mTypeToAuthDescription
55 = new HashMap<String, AuthenticatorDescription>();
56 private AuthenticatorDescription[] mAuthDescs;
110 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
137 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
157 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
171 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
193 public AuthenticatorDescription getAccountTypeDescription(String accountType) {
199 AuthenticatorDescription desc = getAccountTypeDescription(accountType)
    [all...]
ChooseAccountActivity.java 20 import android.accounts.AuthenticatorDescription;
64 private AuthenticatorDescription[] mAuthDescs;
66 private Map<String, AuthenticatorDescription> mTypeToAuthDescription
67 = new HashMap<String, AuthenticatorDescription>();
216 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
240 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
AccountPreferenceBase.java 20 import android.accounts.AuthenticatorDescription;
144 AuthenticatorDescription desc = null;