Searched refs:AuthenticatorDescription (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.aidl19 parcelable AuthenticatorDescription;
H A DAuthenticatorDescription.java25 public class AuthenticatorDescription implements Parcelable { class in inherits:Parcelable
50 /** A constructor for a full AuthenticatorDescription */
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, method in class:AuthenticatorDescription
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, method in class:AuthenticatorDescription
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) { method in class:AuthenticatorDescription
89 private AuthenticatorDescription(Parcel source) { method in class:AuthenticatorDescription
112 if (!(o instanceof AuthenticatorDescription)) retur
[all...]
H A DIAccountAuthenticatorCache.java35 * matched the specified {@link android.accounts.AuthenticatorDescription} or null
41 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo(
42 AuthenticatorDescription type, int userId);
47 Collection<RegisteredServicesCache.ServiceInfo<AuthenticatorDescription>> getAllServices(
62 void setListener(RegisteredServicesCacheListener<AuthenticatorDescription> listener,
H A DAccountAuthenticatorCache.java42 extends RegisteredServicesCache<AuthenticatorDescription>
53 public AuthenticatorDescription parseServiceAttributes(Resources res,
73 return new AuthenticatorDescription(accountType, packageName, labelId, iconId,
80 private static class MySerializer implements XmlSerializerAndParser<AuthenticatorDescription> {
81 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out)
86 public AuthenticatorDescription createFromXml(XmlPullParser parser)
88 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type"));
H A DChooseAccountActivity.java49 private HashMap<String, AuthenticatorDescription> mTypeToAuthDescription
50 = new HashMap<String, AuthenticatorDescription>();
92 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType);
H A DIAccountManager.aidl21 import android.accounts.AuthenticatorDescription;
32 AuthenticatorDescription[] getAuthenticatorTypes();
H A DChooseAccountTypeActivity.java127 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
155 final AuthenticatorDescription desc;
159 AuthInfo(AuthenticatorDescription desc, String name, Drawable drawable) {
H A DGrantCredentialsPermissionActivity.java136 final AuthenticatorDescription[] authenticatorTypes =
139 final AuthenticatorDescription desc = authenticatorTypes[i];
H A DAccountManagerService.java90 implements RegisteredServicesCacheListener<AuthenticatorDescription> {
326 final HashSet<AuthenticatorDescription> knownAuth = Sets.newHashSet();
327 for (RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> service :
347 if (!knownAuth.contains(AuthenticatorDescription.newKey(accountType))) {
423 public void onServiceChanged(AuthenticatorDescription desc, int userId, boolean removed) {
486 public AuthenticatorDescription[] getAuthenticatorTypes() {
495 Collection<AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription>>
497 AuthenticatorDescription[] types =
498 new AuthenticatorDescription[authenticatorCollection.size()];
500 for (AccountAuthenticatorCache.ServiceInfo<AuthenticatorDescription> authenticato
[all...]
H A DChooseTypeAndAccountActivity.java470 AuthenticatorDescription[] descs = AccountManager.get(this).getAuthenticatorTypes();
472 for (AuthenticatorDescription desc : descs) {
H A DAccountManager.java349 * @return An array of {@link AuthenticatorDescription} for every
353 public AuthenticatorDescription[] getAuthenticatorTypes() {
/frameworks/base/core/tests/coretests/src/android/accounts/
H A DAccountManagerServiceTest.java190 private ArrayList<ServiceInfo<AuthenticatorDescription>> mServices;
193 mServices = new ArrayList<ServiceInfo<AuthenticatorDescription>>();
194 AuthenticatorDescription d1 = new AuthenticatorDescription("type1", "p1", 0, 0, 0, 0);
195 AuthenticatorDescription d2 = new AuthenticatorDescription("type2", "p2", 0, 0, 0, 0);
196 mServices.add(new ServiceInfo<AuthenticatorDescription>(d1, null, 0));
197 mServices.add(new ServiceInfo<AuthenticatorDescription>(d2, null, 0));
201 public ServiceInfo<AuthenticatorDescription> getServiceInfo(
202 AuthenticatorDescription typ
[all...]

Completed in 1345 milliseconds