IT. Expert System.

Android Reference

AccountManagerService


android.accounts

Class AccountManagerService

    • Method Detail

      • getSingleton

        public static AccountManagerService getSingleton()
        This should only be called by system code. One should only call this after the service has started.
        Returns:
        a reference to the AccountManagerService instance
      • systemReady

        public void systemReady()
      • validateAccounts

        public void validateAccounts(int userId)
        Validate internal set of accounts against installed authenticators for given user. Clears cached authenticators before validating.
      • getUserAccounts

        protected android.accounts.AccountManagerService.UserAccounts getUserAccounts(int userId)
      • hasFeatures

        public void hasFeatures(IAccountManagerResponse response,
                       Account account,
                       String[] features)
      • removeAccount

        public void removeAccount(IAccountManagerResponse response,
                         Account account)
      • removeAccountInternal

        protected void removeAccountInternal(Account account)
      • invalidateAuthToken

        public void invalidateAuthToken(String accountType,
                               String authToken)
      • setAuthToken

        public void setAuthToken(Account account,
                        String authTokenType,
                        String authToken)
      • setPassword

        public void setPassword(Account account,
                       String password)
      • clearPassword

        public void clearPassword(Account account)
      • getAuthToken

        public void getAuthToken(IAccountManagerResponse response,
                        Account account,
                        String authTokenType,
                        boolean notifyOnAuthFailure,
                        boolean expectActivityLaunch,
                        Bundle loginOptionsIn)
      • addAcount

        public void addAcount(IAccountManagerResponse response,
                     String accountType,
                     String authTokenType,
                     String[] requiredFeatures,
                     boolean expectActivityLaunch,
                     Bundle optionsIn)
      • confirmCredentialsAsUser

        public void confirmCredentialsAsUser(IAccountManagerResponse response,
                                    Account account,
                                    Bundle options,
                                    boolean expectActivityLaunch,
                                    int userId)
      • updateCredentials

        public void updateCredentials(IAccountManagerResponse response,
                             Account account,
                             String authTokenType,
                             boolean expectActivityLaunch,
                             Bundle loginOptions)
      • editProperties

        public void editProperties(IAccountManagerResponse response,
                          String accountType,
                          boolean expectActivityLaunch)
      • getAccounts

        public Account[] getAccounts(int userId)
        Returns the accounts for a specific user
      • getRunningAccounts

        public AccountAndUser[] getRunningAccounts()
        Returns accounts for all running users.
      • getAccountsAsUser

        public Account[] getAccountsAsUser(String type,
                                  int userId)
      • getAccountsByFeatures

        public void getAccountsByFeatures(IAccountManagerResponse response,
                                 String type,
                                 String[] features)
      • cancelNotification

        protected void cancelNotification(int id,
                              UserHandle user)
      • getAccountsFromCacheLocked

        protected Account[] getAccountsFromCacheLocked(android.accounts.AccountManagerService.UserAccounts userAccounts,
                                           String accountType)
      • writeUserDataIntoCacheLocked

        protected void writeUserDataIntoCacheLocked(android.accounts.AccountManagerService.UserAccounts accounts,
                                        SQLiteDatabase db,
                                        Account account,
                                        String key,
                                        String value)
      • writeAuthTokenIntoCacheLocked

        protected void writeAuthTokenIntoCacheLocked(android.accounts.AccountManagerService.UserAccounts accounts,
                                         SQLiteDatabase db,
                                         Account account,
                                         String key,
                                         String value)
      • readAuthTokenInternal

        protected String readAuthTokenInternal(android.accounts.AccountManagerService.UserAccounts accounts,
                                   Account account,
                                   String authTokenType)
      • readUserDataInternal

        protected String readUserDataInternal(android.accounts.AccountManagerService.UserAccounts accounts,
                                  Account account,
                                  String key)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 258 / 158851167. Delta: 0.12758 с