/frameworks/base/core/java/android/accounts/ |
H A D | Account.aidl | 19 parcelable Account;
|
H A D | OnAccountsUpdateListener.java | 28 void onAccountsUpdated(Account[] accounts);
|
H A D | Account.java | 24 * 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 D | IAccountManager.aidl | 20 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[] getAccountsAsUser(String accountType, int userId); 35 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); 37 boolean addAccount(in Account account, String password, in Bundle extras); 38 void removeAccount(in IAccountManagerResponse response, in Account account); 40 String peekAuthToken(in Account account, String authTokenType); 41 void setAuthToken(in Account accoun [all...] |
H A D | IAccountAuthenticator.aidl | 20 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);
|
H A D | AccountAndUser.java | 20 * 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 D | ChooseTypeAndAccountActivity.java | 49 * A Parcelable ArrayList of Account objects that limits the choosable accounts to those 110 private Set<Account> mSetOfAllowableAccounts; 117 private ArrayList<Account> mAccounts; 150 Account selectedAccount = (Account) intent.getParcelableExtra(EXTRA_SELECTED_ACCOUNT); 192 Account account = mAccounts.get(0); 245 // Selected "Add New Account" option 299 Account[] currentAccounts = AccountManager.get(this).getAccounts(); 300 Set<Account> preExistingAccounts = new HashSet<Account>(); [all...] |
H A D | AccountManager.java | 80 * identifies the authenticator. Account <em>features</em> are used to 306 public String getPassword(final Account account) { 331 public String getUserData(final Account account, final String key) { 371 * @return An array of {@link Account}, one for each account. Empty 374 public Account[] getAccounts() { 396 * @return An array of {@link Account}, one per matching account. Empty 399 public Account[] getAccountsByType(String type) { 404 public Account[] getAccountsByTypeAsUser(String type, UserHandle userHandle) { 424 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { 464 * Account feature [all...] |
H A D | AccountManagerService.java | 165 private final HashMap<Pair<Pair<Account, String>, Integer>, Integer> 167 new HashMap<Pair<Pair<Account, String>, Integer>, Integer>(); 168 private final HashMap<Account, Integer> signinRequiredNotificationIds = 169 new HashMap<Account, Integer>(); 172 private final HashMap<String, Account[]> accountCache = 173 new LinkedHashMap<String, Account[]>(); 175 private HashMap<Account, HashMap<String, String>> userDataCache = 176 new HashMap<Account, HashMap<String, String>>(); 178 private HashMap<Account, HashMap<String, String>> authTokenCache = 179 new HashMap<Account, HashMa [all...] |
H A D | AbstractAccountAuthenticator.java | 58 * 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 { 379 Account account, Bundle options) 400 Account account, String authTokenType, Bundle options) 430 Account accoun [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | AccountSpecifier.java | 19 import android.accounts.Account; 27 public void setAccount(Account account);
|
/frameworks/base/core/java/android/content/ |
H A D | IContentService.aidl | 19 import android.accounts.Account; 56 void requestSync(in Account account, String authority, in Bundle extras); 57 void cancelSync(in Account account, String authority); 64 boolean getSyncAutomatically(in Account account, String providerName); 72 void setSyncAutomatically(in Account account, String providerName, boolean sync); 80 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName); 89 void addPeriodicSync(in Account account, String providerName, in Bundle extras, 99 void removePeriodicSync(in Account account, String providerName, in Bundle extras); 105 int getIsSyncable(in Account account, String providerName); 111 void setIsSyncable(in Account accoun [all...] |
H A D | ISyncAdapter.aidl | 19 import android.accounts.Account; 39 in Account account, in Bundle extras); 54 void initialize(in Account account, String authority);
|
H A D | AbstractThreadedSyncAdapter.java | 19 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) { 150 public void startSync(ISyncContext syncContext, String authority, Account account, 157 final Account threadsKey = toSyncKey(account); 208 public void initialize(Account accoun [all...] |
H A D | PeriodicSync.java | 22 import android.accounts.Account; 30 public final Account account; 39 public PeriodicSync(Account account, String authority, Bundle extras, long period) { 59 return new PeriodicSync(Account.CREATOR.createFromParcel(source),
|
H A D | SyncInfo.java | 19 import android.accounts.Account; 32 * The {@link Account} that is currently being synced. 34 public final Account account; 49 SyncInfo(int authorityId, Account account, String authority, 73 account = new Account(parcel);
|
H A D | SyncActivityTooManyDeletes.java | 20 import android.accounts.Account; 42 private Account mAccount; 57 mAccount = (Account) extras.getParcelable("account");
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | SyncOperationTest.java | 19 import android.accounts.Account; 37 Account account1 = new Account("account1", "type1"); 38 Account account2 = new Account("account2", "type2");
|
H A D | SyncStorageEngineTest.java | 21 import android.accounts.Account; 49 final Account account = new Account("a@example.com", "example.type"); 70 final Account account1 = new Account("a@example.com", "example.type"); 71 final Account account2 = new Account("b@example.com", "example.type.2"); 124 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId, 136 final Account account1 = new Account(" [all...] |
/frameworks/base/core/tests/coretests/src/android/accounts/ |
H A D | AccountManagerServiceTest.java | 58 public class AccountSorter implements Comparator<Account> { 59 public int compare(Account object1, Account object2) { 70 Account a11 = new Account("account1", "type1"); 71 Account a21 = new Account("account2", "type1"); 72 Account a31 = new Account("account3", "type1"); 73 Account a1 [all...] |
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 21 import android.accounts.Account; 34 private final Account mAccount; 40 * @param account Account to authenticate as 43 public AndroidAuthenticator(Context context, Account account, String authTokenType) { 50 * Returns the Account being used by this authenticator. 52 public Account getAccount() {
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 27 import android.accounts.Account; 135 public Account[] getAccounts() { 136 return new Account[]{}; 139 public AccountManagerFuture<Account[]> getAccountsByTypeAndFeatures( 141 AccountManagerCallback<Account[]> callback, Handler handler) { 142 return new MockAccountManagerFuture<Account[]>(new Account[0]); 145 public String blockingGetAuthToken(Account account, String authTokenType,
|
H A D | SyncBaseInstrumentation.java | 24 import android.accounts.Account; 50 Account account = new Account(accountName, "com.google");
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryConstructor.java | 18 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/core/java/android/provider/ |
H A D | SyncStateContract.java | 24 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) {
|