Searched defs:account (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/ex/chips/src/com/android/ex/chips/
H A DAccountSpecifier.java23 * that can take an account to retrieve information tied to
24 * a specific account.
27 public void setAccount(Account account); argument
H A DRecipientAlternatesAdapter.java77 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) {
78 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback);
92 ArrayList<String> inAddresses, int addressType, Account account,
148 directoryCursor, account);
171 paramsList.get(i).directoryId, account,
310 Account account, ContentResolver resolver, Query query) {
321 if (account != null) {
322 builder.appendQueryParameter(BaseRecipientAdapter.PRIMARY_ACCOUNT_NAME, account.name);
323 builder.appendQueryParameter(BaseRecipientAdapter.PRIMARY_ACCOUNT_TYPE, account.type);
76 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) argument
91 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, int addressType, Account account, RecipientMatchCallback callback) argument
309 doQuery(CharSequence constraint, int limit, Long directoryId, Account account, ContentResolver resolver, Query query) argument
H A DBaseRecipientAdapter.java575 * Set the account when known. Causes the search to prioritize contacts from that account.
578 public void setAccount(Account account) { argument
579 mAccount = account;
599 Cursor directoryCursor, Account account) {
634 // If an account has been provided and we found a directory that
635 // corresponds to that account, place that directory second, directly
637 if (account != null && account.name.equals(params.accountName) &&
638 account
598 setupOtherDirectories(Context context, Cursor directoryCursor, Account account) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java20 * Used to store the Account and the UserId this account is associated with.
25 public Account account; field in class:AccountAndUser
28 public AccountAndUser(Account account, int userId) { argument
29 this.account = account;
37 return this.account.equals(other.account)
43 return account.hashCode() + userId;
47 return account.toString() + " u" + userId;
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 DAbstractAccountAuthenticator.java47 * &lt;account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
144 Account account, Bundle options) throws RemoteException {
146 Log.v(TAG, "confirmCredentials: " + account);
151 new AccountAuthenticatorResponse(response), account, options);
161 handleException(response, "confirmCredentials", account.toString(), e);
188 Account account, String authTokenType, Bundle loginOptions)
191 Log.v(TAG, "getAuthToken: " + account
197 new AccountAuthenticatorResponse(response), account,
208 account.toString() + "," + authTokenType, e);
212 public void updateCredentials(IAccountAuthenticatorResponse response, Account account, argument
143 confirmCredentials(IAccountAuthenticatorResponse response, Account account, Bundle options) argument
187 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
251 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
265 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument
279 getAccountCredentialsForCloning(IAccountAuthenticatorResponse response, Account account) argument
294 addAccountFromCredentials(IAccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
410 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
431 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
461 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
481 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
500 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument
518 getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) argument
542 addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
[all...]
H A DChooseTypeAndAccountActivity.java62 * used to filter the allowable account types if add account is selected.
86 * If set then the specified account is already "selected".
91 * If true then display the account selection list even if there is just
92 * one account to choose from. boolean.
177 // If the selected account as specified in the intent matches one in the list we will
186 Log.v(TAG, "selected account name is " + mSelectedAccountName);
215 // In cases where the activity does not need to show an account picker, cut the chase
217 // Single account -> select it directly
218 // No account
412 onAccountSelected(Account account) argument
[all...]
H A DAccountManager.java55 * per account, granting applications access to online resources with
59 * authentication, so the account manager uses pluggable <em>authenticator</em>
60 * modules for different <em>account types</em>. Authenticators (which may be
61 * written by third parties) handle the actual details of validating account
62 * credentials and storing account information. For example, Google, Facebook,
84 * identify particular account subtypes and capabilities. Both the account
91 * account of the appropriate type.
94 * account selection, it must make sure the account i
313 getPassword(final Account account) argument
338 getUserData(final Account account, final String key) argument
465 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument
526 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
609 addAccountExplicitly(Account account, String password, Bundle userdata) argument
640 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
701 peekAuthToken(final Account account, final String authTokenType) argument
727 setPassword(final Account account, final String password) argument
751 clearPassword(final Account account) argument
776 setUserData(final Account account, final String key, final String value) argument
803 setAuthToken(Account account, final String authTokenType, final String authToken) argument
837 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument
911 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1001 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1079 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1176 addSharedAccount(final Account account, UserHandle user) argument
1193 removeSharedAccount(final Account account, UserHandle user) argument
1271 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1285 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1347 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncInfo.java34 public final Account account; field in class:SyncInfo
49 public SyncInfo(int authorityId, Account account, String authority, argument
52 this.account = account;
60 this.account = new Account(other.account.name, other.account.type);
73 account.writeToParcel(parcel, 0);
81 account = new Account(parcel);
H A DPeriodicSync.java28 /** The account to be synced. Can be null. */
29 public final Account account; field in class:PeriodicSync
48 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { argument
49 this.account = account;
66 this.account = other.account;
77 public PeriodicSync(Account account, String authority, Bundle extras, argument
79 this.account = account;
[all...]
H A DAbstractThreadedSyncAdapter.java65 * indicate which content authority and for which account types this sync adapter serves.
76 * it sync an account's data.
78 * to intialize the isSyncable state to 1 for that sync adapter for each account that is added.
141 private Account toSyncKey(Account account) { argument
143 return account;
151 public void startSync(ISyncContext syncContext, String authority, Account account, argument
158 final Account threadsKey = toSyncKey(account);
165 if (ContentResolver.getIsSyncable(account, authority) < 0) {
166 ContentResolver.setIsSyncable(account, authority, 1);
175 syncContextClient, authority, account, extra
213 initialize(Account account, String authority) argument
232 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
305 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument
[all...]
H A DSyncRequest.java82 * @return true if this sync uses an account/authority pair, or false if this sync is bound to
91 * @return account object for this sync.
93 * specify an account/provider authority.
107 * specify an account/provider authority.
402 * Specify an authority and account for this transfer.
405 * @param account Account to sync. Can be null unless this is a periodic sync.
407 public Builder setSyncAdapter(Account account, String authority) { argument
415 mAccount = account;
587 // Verify that account and provider are not null.
H A DContentResolver.java73 public static final String SYNC_EXTRAS_ACCOUNT = "account";
148 * the given account/authority pair. One required initialization step is to
1598 * adapter that's registered for the authority of the provided uri. No account will be
1716 Account account = null;
1720 account = new Account(accountName, "com.google");
1724 requestSync(account, uri != null ? uri.getAuthority() : null, extras);
1742 * @param account which account should be synced
1746 public static void requestSync(Account account, String authority, Bundle extras) { argument
1752 .setSyncAdapter(account, authorit
1830 cancelSync(Account account, String authority) argument
1858 getSyncAutomatically(Account account, String authority) argument
1875 setSyncAutomatically(Account account, String authority, boolean sync) argument
1914 addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency) argument
1944 removePeriodicSync(Account account, String authority, Bundle extras) argument
1962 getPeriodicSyncs(Account account, String authority) argument
1976 getIsSyncable(Account account, String authority) argument
1990 setIsSyncable(Account account, String authority, int syncable) argument
2041 isSyncActive(Account account, String authority) argument
2099 getSyncStatus(Account account, String authority) argument
2115 isSyncPending(Account account, String authority) argument
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java30 * tokens of a specified type for a specified account.
41 * @param account Account to authenticate as
44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { argument
45 this(context, account, authTokenType, false);
51 * @param account Account to authenticate as
55 public AndroidAuthenticator(Context context, Account account, String authTokenType, argument
58 mAccount = account;
/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java30 * The ContentProvider contract for associating data with ana data array account.
36 * A reference to the name of the account to which this data belongs
42 * A reference to the type of the account to which this data belongs
48 * The sync data associated with this account.
64 * Get the sync state that is associated with the account or null.
68 * @param account the {@link Account} whose sync state should be returned
69 * @return the sync state or null if there is no sync state associated with the account
74 Account account) throws RemoteException {
76 new String[]{account.name, account
73 get(ContentProviderClient provider, Uri uri, Account account) argument
103 set(ContentProviderClient provider, Uri uri, Account account, byte[] data) argument
112 insert(ContentProviderClient provider, Uri uri, Account account, byte[] data) argument
128 getWithUri(ContentProviderClient provider, Uri uri, Account account) argument
158 newSetOperation(Uri uri, Account account, byte[] data) argument
[all...]
H A DBrowserContract.java109 * account, including sync information that an account may need.
114 * The name of the account instance to which this row belongs, which when paired with
115 * {@link #ACCOUNT_TYPE} identifies a specific account.
121 * The type of account to which this row belongs, which when paired with
122 * {@link #ACCOUNT_NAME} identifies a specific account.
128 * String that uniquely identifies this row to its source account.
142 * to be synchronized by its owning account.
307 * Query parameter used to specify an account name
313 * Query parameter used to specify an account typ
524 get(ContentProviderClient provider, Account account) argument
532 getWithUri(ContentProviderClient provider, Account account) argument
540 set(ContentProviderClient provider, Account account, byte[] data) argument
548 newSetOperation(Account account, byte[] data) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryConstructor.java66 public VCardEntryConstructor(final int vcardType, final Account account) { argument
67 this(vcardType, account, null);
75 public VCardEntryConstructor(final int vcardType, final Account account, argument
78 mAccount = account;
/frameworks/base/services/java/com/android/server/content/
H A DSyncQueue.java66 op.account, op.userId, op.authority);
68 SyncAdapterType.newKey(op.authority, op.account.type), op.userId);
75 op.account, op.userId, op.reason, op.syncSource, op.authority, op.extras,
77 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority),
125 operation.account, operation.userId, operation.reason, operation.syncSource,
167 public void onBackoffChanged(Account account, int userId, String providerName, long backoff) { argument
168 // for each op that matches the account and provider update its
171 if (op.account.equals(account) && op.authority.equals(providerName)
179 public void onDelayUntilTimeChanged(Account account, Strin argument
190 remove(Account account, int userId, String authority) argument
[all...]
H A DSyncOperation.java58 public final Account account; field in class:SyncOperation
85 public SyncOperation(Account account, int userId, int reason, int source, String authority, argument
89 this.account = account;
144 this.account = other.account;
166 .append(account.name)
169 .append(account.type)
235 sb.append(" account {name=" + account
[all...]
H A DContentService.java319 public void requestSync(Account account, String authority, Bundle extras) { argument
330 syncManager.scheduleSync(account, userId, uId, authority, extras,
364 final Account account = request.getAccount();
376 new PeriodicSync(account, provider, extras, runAtTime, flextime);
382 account, userId, uId, provider, extras,
397 * if they match the authority and account, if they are present.
398 * @param account filter the pending and active syncs to cancel using this account
402 public void cancelSync(Account account, String authority) { argument
414 syncManager.clearScheduledSyncOperations(account, userI
441 getSyncAutomatically(Account account, String providerName) argument
460 setSyncAutomatically(Account account, String providerName, boolean sync) argument
482 addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency) argument
514 removePeriodicSync(Account account, String authority, Bundle extras) argument
544 getPeriodicSyncs(Account account, String providerName) argument
564 getIsSyncable(Account account, String providerName) argument
583 setIsSyncable(Account account, String providerName, int syncable) argument
638 isSyncActive(Account account, String authority) argument
669 getSyncStatus(Account account, String authority) argument
690 isSyncPending(Account account, String authority) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClient.java272 * @param realm The account realm used to look up accounts.
273 * @param account An optional account. If not null, the account should be
275 * account, it should be used to log in the user.
279 String account, String args) {
278 onReceivedLoginRequest(WebView view, String realm, String account, String args) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java76 final Account account = new Account("a@example.com", "example.type");
86 account, 0, SyncOperation.REASON_PERIODIC, authority, time0,
109 assertEquals(pop.account, popRetrieved.account);
172 syncs = engine.getPeriodicSyncs(sync2.account, 1, sync2.authority);
233 syncs = engine.getPeriodicSyncs(sync2.account, 1, sync2.authority);
238 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, int userId, String authority) { argument
239 engine.setIsSyncable(account, userId, authority, engine.getIsSyncable(account, 0, authority));
240 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account, userI
[all...]
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java145 public String blockingGetAuthToken(Account account, String authTokenType, argument
/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/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java704 public void onReceivedLoginRequest(String realm, String account, String args) { argument
707 mWebViewClient.onReceivedLoginRequest(mWebView, realm, account, args);

Completed in 623 milliseconds

12