/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
MockGrantCredentialsPermissionActivity.java | 7 import android.accounts.Account; 29 static final String ACCOUNT = "account"; 37 Account account = (Account) getIntent().getParcelableExtra(ACCOUNT); local 39 String accountName = account == null ? null : account.name; 40 String message = "account = " + accountName + ", authTokenType = " + authTokenType [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TurnAutoSyncOnDialog.java | 19 import android.accounts.Account; 37 private static final String ACCOUNT = "account"; 59 public static TurnAutoSyncOnDialog newInstance(Account account, 63 args.putParcelable(ACCOUNT, account); 71 final Account account = getArguments().getParcelable(ACCOUNT); local [all...] |
MailboxSelectionActivity.java | 20 import com.android.mail.providers.Account; 61 private static final String ACCOUNT = "name"; 62 private static final String[] COLUMN_NAMES = { ACCOUNT }; 73 // Boolean to indicate that we are waiting for the result from an add account 107 // we should set the title to "Select account". 114 // if we display the account list 221 // No account found, show Add Account screen, for both the widget or 223 // No account found, show Add Account screen, for both the widget o 368 Account account; local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 19 import android.accounts.Account; 39 private static final Account ACCOUNT = new Account(MockAccountAuthenticator.ACCOUNT_NAME, 57 // Need to clean up created account 58 removeAccount(sAccountManager, ACCOUNT, null /* callback */); 75 private void addAccountExplicitly(Account account, String password, Bundle userdata) { 76 assertTrue(sAccountManager.addAccountExplicitly(account, password, userdata)); 79 private boolean removeAccount(AccountManager am, Account account [all...] |
ContentResolverTest.java | 22 import android.accounts.Account; 69 private static final Account ACCOUNT = new Account("cts", "cts"); [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 16 import android.accounts.Account; 25 private static final Account ACCOUNT = new Account("name", "type"); 93 accountManager.getAuthToken(ACCOUNT, authTokenType, null, activity, null, null); 96 assertThat(ACCOUNT.name, equalTo(result.getString(AccountManager.KEY_ACCOUNT_NAME))); 97 assertThat(ACCOUNT.type, equalTo(result.getString(AccountManager.KEY_ACCOUNT_TYPE))); 110 Account[] origAccounts = new Account[] { ACCOUNT, ACCOUNT } [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientCallbackHelperTest.java | 70 static final String ACCOUNT = "account"; 189 mClientHelper.postOnReceivedLoginRequest(REALM, ACCOUNT, ARGS); 192 assertEquals(ACCOUNT, receivedLoginRequestHelper.getAccount());
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 19 import android.accounts.Account; 50 public static final String ACCOUNT_NAME = "android.accounts.cts.account.name"; 51 public static final String ACCOUNT_NEW_NAME = "android.accounts.cts.account.name.rename"; 52 public static final String ACCOUNT_NAME_OTHER = "android.accounts.cts.account.name.other"; 54 public static final String ACCOUNT_TYPE = "android.accounts.cts.account.type"; 55 public static final String ACCOUNT_TYPE_OTHER = "android.accounts.cts.account.type.other"; 57 public static final String ACCOUNT_PASSWORD = "android.accounts.cts.account.password"; 84 public static final Account ACCOUNT = new Account(ACCOUNT_NAME, ACCOUNT_TYPE) [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | 19 import android.accounts.Account; 71 * person and associated with a single account (for example, one of the user's 145 * A query parameter specifing a primary account. This parameter should be used with 149 * For example, in an email composition screen, its implementation can specify an account when 150 * obtaining possible recipients, letting the provider know which account is selected during 151 * the composition. The provider may use the "primary account" information to optimize 157 * A query parameter specifing a primary account. This parameter should be used with 364 * (for instance when the user adds a new Directory account), the directory provider 370 * A directory row can be optionally associated with an existing account 371 * (see {@link android.accounts.AccountManager}). If the account is later removed [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
UIProvider.java | 43 * Values for the current state of a Folder/Account; note that it's possible that more than one 69 * An initial sync is needed for this Account/Folder to be used. This is account-wide, when 70 * the user has added an account, and the first sync has not completed successfully. 74 * Manual sync is required. This is account-wide, when the user has disabled sync on the 75 * Gmail account. 79 * Account initialization is required. 91 * Values for the result of the last attempted sync of a Folder/Account 156 "vnd.android.cursor.dir/vnd.com.android.mail.account"; 158 "vnd.android.cursor.item/vnd.com.android.mail.account"; [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | 80 import com.android.emailcommon.provider.Account; 167 // delete the old backups and trigger a new backup to the account manager 207 private static final int ACCOUNT = ACCOUNT_BASE; 295 array.put(ACCOUNT_BASE >> BASE_SHIFT, Account.TABLE_NAME); 503 // Delete orphaned mailboxes/messages/policies (account no longer exists) 505 AccountColumns._ID, Account.TABLE_NAME); 507 AccountColumns._ID, Account.TABLE_NAME); 509 AccountColumns.POLICY_KEY, Account.TABLE_NAME); 526 * Restore user Account and HostAuth data from our backup database 544 // If there's a backup database (old style) delete it and trigger an account manager backup 1624 Account account = new Account(); local 1687 final Account account = new Account(); local 1733 final Account account = Account.fromJsonString(jsonString); local 1864 final android.accounts.Account account = local 3525 final Account account = Account.restoreAccountWithId(context, accountId); local 4865 final Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey); local 5733 final Account account = Account.restoreAccountWithId(context, accountId); local 5766 final android.accounts.Account account = getAccountManagerAccount(accountId); local 5823 final android.accounts.Account account = getAccountManagerAccount(mailbox.mAccountKey); local 6019 final Account account = Account.restoreAccountWithId(context, accountId); local 6047 final Account account = Account.restoreAccountWithId(context, accountId); local 6210 Account account = new Account(); local [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |