Searched refs:account (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
H A DRequestSync.java32 // account & authority
64 final Account account = mAccountName != null && mAccountType != null
68 if (account != null) {
69 System.out.printf(" Account: %s (%s)\n", account.name, account.type);
83 ContentResolver.requestSync(account, mAuthority, mExtras);
93 } else if (opt.equals("-n") || opt.equals("--account-name")) {
95 } else if (opt.equals("-t") || opt.equals("--account-type")) {
211 "With no options, a sync will be requested for all account and all sync\n" +
214 " -n|--account
[all...]
/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java39 public static final String EXTRAS_ACCOUNT = "account";
67 // Grant 'account'/'type' to mUID
135 private String getAccountLabel(Account account) { argument
140 if (desc.type.equals(account.type)) {
144 return account.type;
146 return account.type;
150 return account.type;
H A DChooseAccountActivity.java107 Log.w(TAG, "No icon name for account type " + accountType);
112 Log.w(TAG, "No icon resource for account type " + accountType);
120 Account account = (Account) mAccounts[position];
121 Log.d(TAG, "selected account " + account);
123 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
124 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
/frameworks/ex/common/java/com/android/common/content/
H A DSyncStateContentProviderHelper.java119 Account account = new Account(accountName, accountType);
120 if (!contains(accounts, account)) {
/frameworks/base/core/java/android/webkit/
H A DWebViewClient.java271 * @param realm The account realm used to look up accounts.
272 * @param account An optional account. If not null, the account should be
274 * account, it should be used to log in the user.
278 String account, String args) {
277 onReceivedLoginRequest(WebView view, String realm, String account, String args) argument
H A DCallbackProxy.java874 String account = msg.getData().getString("account");
877 account, args);
1141 void onReceivedLoginRequest(String realm, String account, String args) { argument
1150 bundle.putString("account", account);
H A DBrowserFrame.java1218 private void autoLogin(String realm, String account, String args) { argument
1219 mCallbackProxy.onReceivedLoginRequest(realm, account, args);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAccountView.java50 * account's login/password to unlock the phone (and reset their lock pattern).
210 * the stored account that they probably intended. Prefer, in order:
221 * @return an account name from the database, or null if we can't
228 // Try to figure out which account they meant if they
265 Account account = findIntendedAccount(login);
266 if (account == null) {
273 AccountManager.get(mContext).confirmCredentialsAsUser(account, options, null /* activity */,
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java52 * account's login/password to unlock the phone (and reset their lock pattern).
218 * the stored account that they probably intended. Prefer, in order:
229 * @return an account name from the database, or null if we can't
235 // Try to figure out which account they meant if they
272 Account account = findIntendedAccount(login);
273 if (account == null) {
280 AccountManager.get(mContext).confirmCredentials(account, options, null /* activity */,
/frameworks/base/core/java/android/provider/
H A DContactsContract.java74 * person and associated with a single account (for example, one of the user's
148 * A query parameter specifing a primary account. This parameter should be used with
152 * For example, in an email composition screen, its implementation can specify an account when
153 * obtaining possible recipients, letting the provider know which account is selected during
154 * the composition. The provider may use the "primary account" information to optimize
160 * A query parameter specifing a primary account. This parameter should be used with
421 * (for instance when the user adds a new Directory account), the directory provider
427 * A directory row can be optionally associated with an existing account
428 * (see {@link android.accounts.AccountManager}). If the account is later removed,
511 * The account typ
654 get(ContentProviderClient provider, Account account) argument
662 getWithUri(ContentProviderClient provider, Account account) argument
670 set(ContentProviderClient provider, Account account, byte[] data) argument
678 newSetOperation(Account account, byte[] data) argument
708 get(ContentProviderClient provider, Account account) argument
716 getWithUri(ContentProviderClient provider, Account account) argument
724 set(ContentProviderClient provider, Account account, byte[] data) argument
732 newSetOperation(Account account, byte[] data) argument
[all...]
H A DContacts.java42 * work but will only return data for the first Google account created, which matches the original
172 * specified account. For this setting the _SYNC_ACCOUNT column must be set.
187 public static String getSetting(ContentResolver cr, String account, String key) { argument
188 // For now we only support a single account and the UI doesn't know what
189 // the account name is, so we're using a global setting for SYNC_EVERYTHING.
190 // Some day when we add multiple accounts to the UI this should honor the account
195 selectString = (account == null)
199 selectArgs = (account == null)
201 : new String[]{account, key};
220 public static void setSetting(ContentResolver cr, String account, Strin argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java145 public String blockingGetAuthToken(Account account, String authTokenType, argument
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java658 * In the future, the function may also take into account global keyboard
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java278 * Set the account when known. Causes the search to prioritize contacts from
279 * that account.
281 public void setAccount(Account account) { argument
282 mAccount = account;
403 // If an account has been provided and we found a directory that
404 // corresponds to that account, place that directory second, directly
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java544 * Set the account when known. Causes the search to prioritize contacts from that account.
547 public void setAccount(Account account) { argument
548 mAccount = account;
592 // If an account has been provided and we found a directory that
593 // corresponds to that account, place that directory second, directly
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java1760 public VCardEntry(int vcardType, Account account) { argument
1762 mAccount = account;

Completed in 420 milliseconds

12