Lines Matching defs:Account

50 public class Account implements Parcelable {
65 * Account manager name. MUST MATCH SYSTEM ACCOUNT MANAGER NAME
75 * Account type. MUST MATCH SYSTEM ACCOUNT MANAGER TYPE
81 * Cached android.accounts.Account based on the above two values
84 private android.accounts.Account amAccount;
299 public Account buildFrom(Cursor cursor) {
300 return new Account(cursor);
303 public Account buildFrom(JSONObject json) throws JSONException {
304 return new Account(json);
307 public Account buildFrom(Parcel in, ClassLoader loader) {
308 return new Account(in, loader);
328 * Overrides the default {@code Account.Builder}
336 * Create a new instance of an Account object using a serialized instance created previously
341 * @return Account object
343 public static Account newInstance(String serializedAccount) {
344 // The heavy lifting is done by Account(name, type, json). This method
358 * Construct a new Account instance from a previously serialized string.
366 protected Account(JSONObject json) throws JSONException {
427 "Unexpected null settings in Account(name, type, jsonAccount)");
432 protected Account(Cursor cursor) {
512 public static Account[] getAllAccounts(ObjectCursor<Account> cursor) {
516 return new Account[0];
519 final Account[] allAccounts = new Account[initialLength];
529 public android.accounts.Account getAccountManagerAccount() {
533 amAccount = new android.accounts.Account(accountManagerName, type);
569 protected Account(Parcel in, ClassLoader loader) {
607 LogUtils.e(LOG_TAG, new Throwable(), "Unexpected null settings in Account(Parcel)");
680 final Account other = (Account) o;
719 * @param other Account object to compare
722 public final boolean settingsDiffer(Account other) {
773 public boolean matches(Account other) {
814 * @return if the address belongs to this Account (either as the main address or as a
830 * "Work Account" or "Old ISP POP3 account".
832 * Account renaming only applies to Email, so a Gmail account should always return the primary
835 * @return Account display name
868 public static final ClassLoaderCreator<Account> CREATOR = new ClassLoaderCreator<Account>() {
870 public Account createFromParcel(Parcel source, ClassLoader loader) {
875 public Account createFromParcel(Parcel source) {
880 public Account[] newArray(int size) {
881 return new Account[size];
935 public final static CursorCreator<Account> FACTORY = new CursorCreator<Account>() {
937 public Account createFromCursor(Cursor c) {
943 return "Account CursorCreator";