Lines Matching refs:key
153 * Bundle key used for the {@link String} account name in results
159 * Bundle key used for the {@link String} account type in results
165 * Bundle key used for the auth token value in results
171 * Bundle key used for an {@link Intent} in results from methods that
178 * Bundle key used to supply the password directly in options to
317 * Gets the user data named by "key" associated with the account.
329 * @return The user data, null if the account or key doesn't exist
331 public String getUserData(final Account account, final String key) {
333 if (key == null) throw new IllegalArgumentException("key is null");
335 return mService.getUserData(account, key);
721 * Sets one userdata key for an account. Intended by use for the
732 * @param key The userdata key to set. Must not be null
733 * @param value The value to set, null to clear this userdata key
735 public void setUserData(final Account account, final String key, final String value) {
737 if (key == null) throw new IllegalArgumentException("key is null");
739 mService.setUserData(account, key, value);