Searched refs:Account (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/accounts/
H A DAccount.aidl19 parcelable Account;
H A DOnAccountsUpdateListener.java28 void onAccountsUpdated(Account[] accounts);
H A DAccount.java24 * Value type that represents an Account in the {@link AccountManager}. This object is
28 public class Account implements Parcelable { class in inherits:Parcelable
34 if (!(o instanceof Account)) return false;
35 final Account other = (Account)o;
46 public Account(String name, String type) { method in class:Account
57 public Account(Parcel in) { method in class:Account
71 public static final Creator<Account> CREATOR = new Creator<Account>() {
72 public Account createFromParce
[all...]
H A DIAccountManager.aidl20 import android.accounts.Account;
30 String getPassword(in Account account);
31 String getUserData(in Account account, String key);
33 Account[] getAccounts(String accountType);
34 Account[] getAccountsForPackage(String packageName, int uid);
35 Account[] getAccountsByTypeForPackage(String type, String packageName);
36 Account[] getAccountsAsUser(String accountType, int userId);
37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features);
39 boolean addAccountExplicitly(in Account account, String password, in Bundle extras);
40 void removeAccount(in IAccountManagerResponse response, in Account accoun
[all...]
H A DIAccountAuthenticator.aidl20 import android.accounts.Account;
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account,
72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account);
78 in Account account);
84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account,
H A DAccountAndUser.java20 * Used to store the Account and the UserId this account is associated with.
25 public Account account;
28 public AccountAndUser(Account account, int userId) {
H A DAccountManager.java83 * identifies the authenticator. Account <em>features</em> are used to
315 public String getPassword(final Account account) {
340 public String getUserData(final Account account, final String key) {
402 * @return An array of {@link Account}, one for each account. Empty
405 public Account[] getAccounts() {
424 * @return An array of {@link Account}, one for each account. Empty
427 public Account[] getAccountsAsUser(int userId) {
444 public Account[] getAccountsForPackage(String packageName, int uid) {
458 * @return An array of {@link Account}, one per matching account. Empty
461 public Account[] getAccountsByTypeForPackag
[all...]
H A DChooseTypeAndAccountActivity.java54 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those
116 private Set<Account> mSetOfAllowableAccounts;
123 private ArrayList<Account> mAccounts;
179 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT);
233 Account account = mAccounts.get(0);
287 // Selected "Add New Account" option
341 Account[] currentAccounts = AccountManager.get(this).getAccountsForPackage(
343 Set<Account> preExistingAccounts = new HashSet<Account>();
[all...]
H A DAbstractAccountAuthenticator.java58 * corresponds to {@link Account#type} for your accounts. One user of the android:icon is the
59 * "Account & Sync" settings page and one user of the android:smallIcon is the Contact Application's
144 Account account, Bundle options) throws RemoteException {
188 Account account, String authTokenType, Bundle loginOptions)
212 public void updateCredentials(IAccountAuthenticatorResponse response, Account account,
252 Account account, String[] features) throws RemoteException {
266 Account account) throws RemoteException {
280 Account account) throws RemoteException {
295 Account account,
411 Account accoun
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DAccountSpecifier.java19 import android.accounts.Account;
27 public void setAccount(Account account);
/frameworks/base/core/java/android/content/
H A DIContentService.aidl19 import android.accounts.Account;
58 void requestSync(in Account account, String authority, in Bundle extras);
64 void cancelSync(in Account account, String authority, in ComponentName cname);
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId);
75 boolean getSyncAutomatically(in Account account, String providerName);
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId);
84 void setSyncAutomatically(in Account account, String providerName, boolean sync);
85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync,
95 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName,
105 void addPeriodicSync(in Account accoun
[all...]
H A DISyncAdapter.aidl19 import android.accounts.Account;
39 in Account account, in Bundle extras);
54 void initialize(in Account account, String authority);
H A DSyncInfo.java19 import android.accounts.Account;
31 * The {@link Account} that is currently being synced.
33 public final Account account;
48 public SyncInfo(int authorityId, Account account, String authority, long startTime) {
58 this.account = new Account(other.account.name, other.account.type);
79 account = parcel.readParcelable(Account.class.getClassLoader());
H A DAbstractThreadedSyncAdapter.java19 import android.accounts.Account;
97 private final HashMap<Account, SyncThread> mSyncThreads = new HashMap<Account, SyncThread>();
109 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
122 * {@link ContentResolver#setIsSyncable(android.accounts.Account, String, int)} with 1 if it
141 private Account toSyncKey(Account account) {
151 public void startSync(ISyncContext syncContext, String authority, Account account,
158 final Account threadsKey = toSyncKey(account);
213 public void initialize(Account accoun
[all...]
H A DPeriodicSync.java22 import android.accounts.Account;
29 public final Account account;
45 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) {
74 public PeriodicSync(Account account, String authority, Bundle extras,
H A DSyncActivityTooManyDeletes.java20 import android.accounts.Account;
42 private Account mAccount;
57 mAccount = (Account) extras.getParcelable("account");
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java19 import android.accounts.Account;
60 public class AccountSorter implements Comparator<Account> {
61 public int compare(Account object1, Account object2) {
72 Account a11 = new Account("account1", "type1");
73 Account a21 = new Account("account2", "type1");
74 Account a31 = new Account("account
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java21 import android.accounts.Account;
34 private final Account mAccount;
41 * @param account Account to authenticate as
44 public AndroidAuthenticator(Context context, Account account, String authTokenType) {
51 * @param account Account to authenticate as
55 public AndroidAuthenticator(Context context, Account account, String authTokenType,
64 * Returns the Account being used by this authenticator.
66 public Account getAccount() {
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java27 import android.accounts.Account;
133 public Account[] getAccounts() {
134 return new Account[]{};
137 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures(
139 AccountManagerCallback<Account[]> callback, Handler handler) {
140 return new MockAccountManagerFuture<Account[]>(new Account[0]);
143 public String blockingGetAuthToken(Account account, String authTokenType,
H A DSyncBaseInstrumentation.java24 import android.accounts.Account;
50 Account account = new Account(accountName, "com.google");
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryConstructor.java18 import android.accounts.Account;
54 private final Account mAccount;
66 public VCardEntryConstructor(final int vcardType, final Account account) {
72 * Use {@link #VCardEntryConstructor(int, Account)}
75 public VCardEntryConstructor(final int vcardType, final Account account,
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncOperationTest.java19 import android.accounts.Account;
39 Account mDummy;
49 mDummy = new Account("account1", "type1");
56 Account account1 = new Account("account1", "type1");
57 Account account2 = new Account("account2", "type2");
/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java24 import android.accounts.Account;
68 * @param account the {@link Account} whose sync state should be returned
74 Account account) throws RemoteException {
98 * @param account the {@link Account} whose sync state should be set
104 Account account, byte[] data) throws RemoteException {
113 Account account, byte[] data) throws RemoteException {
129 Account account) throws RemoteException {
153 * @param account the {@link Account} whose sync state should be set
159 Account account, byte[] data) {
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java20 import android.accounts.Account;
186 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer>
188 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>();
189 private final HashMap<Account, Integer> signinRequiredNotificationIds =
190 new HashMap<Account, Integer>();
193 private final HashMap<String, Account[]> accountCache =
194 new LinkedHashMap<String, Account[]>();
196 private final HashMap<Account, HashMap<String, String>> userDataCache =
197 new HashMap<Account, HashMap<String, String>>();
199 private final HashMap<Account, HashMa
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityModel.java38 Account, // Unlock by entering an account's login and password. enum constant in enum:KeyguardSecurityModel.SecurityMode
105 SecurityMode.Account : SecurityMode.Pattern;
145 return SecurityMode.Account;

Completed in 461 milliseconds

12