/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | AccountSpecifier.java | 23 * that can take an account to retrieve information tied to 24 * a specific account. 27 public void setAccount(Account account); argument
|
H A D | RecipientAlternatesAdapter.java | 79 ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback, 81 getMatchingRecipients(context, adapter, inAddresses, QUERY_TYPE_EMAIL, account, callback, 95 ArrayList<String> inAddresses, int addressType, Account account, 145 addresses, account, matchesNotFound, query, callback, permissionsCheckListener); 152 Account account, Set<String> matchesNotFound, 156 context, recipientEntries, addresses, account, 162 Account account, Set<String> matchesNotFound, Queries.Query query, 190 context, directoryCursor, account); 204 directoryId, account, context, query, permissionsCheckListener); 343 Account account, Contex 78 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument 94 getMatchingRecipients(Context context, BaseRecipientAdapter adapter, ArrayList<String> inAddresses, int addressType, Account account, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument 150 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument 160 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, Queries.Query query, RecipientMatchCallback callback, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument 342 doQuery(CharSequence constraint, int limit, Long directoryId, Account account, Context context, Query query, ChipsUtil.PermissionsCheckListener permissionsCheckListener) argument [all...] |
H A D | BaseRecipientAdapter.java | 673 * Set the account when known. Causes the search to prioritize contacts from that account. 676 public void setAccount(Account account) { argument 677 mAccount = account; 711 Cursor directoryCursor, Account account) { 746 // If an account has been provided and we found a directory that 747 // corresponds to that account, place that directory second, directly 749 if (preferredDirectory == null && account != null 750 && account.name.equals(params.accountName) 751 && account 710 setupOtherDirectories(Context context, Cursor directoryCursor, Account account) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountAndUser.java | 20 * 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 D | GrantCredentialsPermissionActivity.java | 37 public static final String EXTRAS_ACCOUNT = "account"; 65 // Grant 'account'/'type' to mUID 133 private String getAccountLabel(Account account) { argument 138 if (desc.type.equals(account.type)) { 142 return account.type; 144 return account.type; 148 return account.type;
|
H A D | AbstractAccountAuthenticator.java | 49 * <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" 122 * Bundle key used for the {@link String} account type in session bundle. 143 * Bundle key used for the {@link Account} account in session bundle. This is used 186 Account account, Bundle options) throws RemoteException { 188 Log.v(TAG, "confirmCredentials: " + account); 193 new AccountAuthenticatorResponse(response), account, options); 205 handleException(response, "confirmCredentials", account.toString(), e); 236 Account account, String authTokenType, Bundle loginOptions) 239 Log.v(TAG, "getAuthToken: " + account 245 new AccountAuthenticatorResponse(response), account, 185 confirmCredentials(IAccountAuthenticatorResponse response, Account account, Bundle options) argument 235 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 263 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 307 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument 322 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument 337 getAccountCredentialsForCloning(IAccountAuthenticatorResponse response, Account account) argument 353 addAccountFromCredentials(IAccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument 401 startUpdateCredentialsSession( IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 467 isCredentialsUpdateSuggested( IAccountAuthenticatorResponse response, Account account, String statusToken) argument 583 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 625 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 655 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 675 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument 694 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument 712 getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) argument 737 addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument 846 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument 987 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument [all...] |
H A D | ChooseTypeAndAccountActivity.java | 62 * used to filter the allowable account types if add account is selected. 86 * If set then the specified account is already "selected". 176 // If the selected account as specified in the intent matches one in the list we will 185 Log.v(TAG, "selected account name is " + mSelectedAccountName); 206 // In cases where the activity does not need to show an account picker, cut the chase 208 // Single account -> select it directly 209 // No account -> launch add account activity directly 211 // If there are no relevant accounts and only one relevant account typ 406 onAccountSelected(Account account) argument [all...] |
H A D | AccountManager.java | 62 * per account, granting applications access to online resources with 66 * authentication, so the account manager uses pluggable <em>authenticator</em> 67 * modules for different <em>account types</em>. Authenticators (which may be 68 * written by third parties) handle the actual details of validating account 69 * credentials and storing account information. For example, Google, Facebook, 91 * identify particular account subtypes and capabilities. Both the account 98 * account of the appropriate type. 101 * account selection, it must make sure the account i 351 getPassword(final Account account) argument 378 getUserData(final Account account, final String key) argument 562 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument 625 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 730 addAccountExplicitly(Account account, String password, Bundle userdata) argument 754 notifyAccountAuthenticated(Account account) argument 788 renameAccount( final Account account, @Size(min = 1) final String newName, AccountManagerCallback<Account> callback, Handler handler) argument 823 getPreviousName(final Account account) argument 857 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument 916 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 935 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument 959 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 994 removeAccountExplicitly(Account account) argument 1051 peekAuthToken(final Account account, final String authTokenType) argument 1081 setPassword(final Account account, final String password) argument 1109 clearPassword(final Account account) argument 1136 setUserData(final Account account, final String key, final String value) argument 1165 setAuthToken(Account account, final String authTokenType, final String authToken) argument 1199 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument 1274 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1362 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1441 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1589 copyAccountToUser( final Account account, final UserHandle fromUser, final UserHandle toUser, AccountManagerCallback<Boolean> callback, Handler handler) argument 1620 removeSharedAccount(final Account account, UserHandle user) argument 1702 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1716 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument 1780 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1856 someUserHasAccount(@onNull final Account account) argument 2791 startUpdateCredentialsSession( final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2933 isCredentialsUpdateSuggested( final Account account, final String statusToken, AccountManagerCallback<Boolean> callback, Handler handler) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncInfo.java | 40 public final Account account; field in class:SyncInfo 66 public SyncInfo(int authorityId, Account account, String authority, long startTime) { argument 68 this.account = account; 76 this.account = new Account(other.account.name, other.account.type); 89 parcel.writeParcelable(account, flags); 97 account = parcel.readParcelable(Account.class.getClassLoader());
|
H A D | PeriodicSync.java | 30 /** The account to be synced. Can be null. */ 31 public final Account account; field in class:PeriodicSync 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { argument 48 this.account = account; 65 this.account = other.account; 76 public PeriodicSync(Account account, String authority, Bundle extras, argument 78 this.account = account; [all...] |
H A D | AbstractThreadedSyncAdapter.java | 78 * indicate which content authority and for which account types this sync adapter serves. 89 * it sync an account's data. 91 * to intialize the isSyncable state to 1 for that sync adapter for each account that is added. 154 private Account toSyncKey(Account account) { argument 156 return account; 164 public void startSync(ISyncContext syncContext, String authority, Account account, argument 171 final Account threadsKey = toSyncKey(account); 178 if (ContentResolver.getIsSyncable(account, authority) < 0) { 179 ContentResolver.setIsSyncable(account, authority, 1); 188 syncContextClient, authority, account, extra 226 initialize(Account account, String authority) argument 245 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument 322 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument 335 onSecurityException(Account account, Bundle extras, String authority, SyncResult syncResult) argument [all...] |
H A D | SyncRequest.java | 76 * @return account object for this sync. 283 * {@link ContentResolver#getPeriodicSyncs(Account account, String provider)}, so no 359 * Specify an authority and account for this transfer. 362 * @param account Account to sync. Can be null unless this is a periodic 364 * fail. If a sync is performed without an account, the 366 public Builder setSyncAdapter(Account account, String authority) { argument 374 mAccount = account;
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 30 * 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 57 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); 61 AndroidAuthenticator(AccountManager accountManager, Account account, argument 64 mAccount = account;
|
/frameworks/base/core/java/android/provider/ |
H A D | SyncStateContract.java | 30 * 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 D | BrowserContract.java | 109 * 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/base/telecomm/java/android/telecom/ |
H A D | AuthenticatorService.java | 29 * A generic stub account authenticator service often used for sync adapters that do not directly 48 * Stub account authenticator. All methods either return null or throw an exception. 70 Account account, Bundle bundle) 77 Account account, String s, Bundle bundle) 89 Account account, String s, Bundle bundle) 96 Account account, String[] strings) 69 confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle) argument 76 getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) argument 88 updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) argument 95 hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String[] strings) argument
|
H A D | PhoneAccount.java | 96 * traditional SIM-based telephony calls. This account will be treated as a distinct method 271 * @param value The address of the phone account. 378 * Sets the enabled state of the phone account. 416 PhoneAccountHandle account, 427 mAccountHandle = account; 502 * @return {@code true} if the phone account has the capability. 560 * @return {@code true} if the account is enabled by the user, {@code false} otherwise. 597 * Sets the enabled state of the phone account. 415 PhoneAccount( PhoneAccountHandle account, Uri address, Uri subscriptionAddress, int capabilities, Icon icon, int highlightColor, CharSequence label, CharSequence shortDescription, List<String> supportedUriSchemes, Bundle extras, boolean isEnabled) argument
|
H A D | TelecomManager.java | 112 * The {@link android.content.Intent} action used indicate that a new phone account was 121 * The {@link android.content.Intent} action used indicate that a phone account was 545 * account returned depends on the following priorities: 560 * @return The {@link PhoneAccountHandle} corresponding to the account to be used. 583 * @return The user outgoing phone account selected by the user. 616 * @return The phone account handle of the current sim call manager. 634 * @return The phone account handle of the current sim call manager. 654 * @return The phone account handle of the current connection manager. 746 * @param account The {@link PhoneAccountHandle}. 749 public PhoneAccount getPhoneAccount(PhoneAccountHandle account) { argument 828 registerPhoneAccount(PhoneAccount account) argument [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryConstructor.java | 66 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/core/java/com/android/server/accounts/ |
H A D | TokenCache.java | 49 public final Account account; field in class:TokenCache.Key 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { argument 55 this.account = account; 65 return Objects.equals(account, cacheKey.account) 76 return account.hashCode() 142 mTokenEvictors.put(new Pair<>(k.account.type, v.token), tokenEvictor); 144 // Prepare for removal by associated account. 145 Evictor accountEvictor = mAccountEvictors.get(k.account); 164 evict(Account account) argument 188 put( Account account, String token, String tokenType, String packageName, byte[] sigDigest, long expiryMillis) argument 212 remove(Account account) argument 219 get(Account account, String tokenType, String packageName, byte[] sigDigest) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClient.java | 460 * @param realm The account realm used to look up accounts. 461 * @param account An optional account. If not null, the account should be 463 * account, it should be used to log in the user. 467 String account, String args) { 466 onReceivedLoginRequest(WebView view, String realm, String account, String args) argument
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 147 public String blockingGetAuthToken(Account account, String authTokenType, argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 100 public SyncOperation(Account account, int userId, int owningUid, String owningPackage, argument 103 this(new SyncStorageEngine.EndPoint(account, provider, userId), owningUid, owningPackage, 171 * PersistableBundle containing account information at key 'ACCOUNT:key'. The Account object 186 Account account = (Account) value; 188 accountBundle.putString("accountName", account.name); 189 accountBundle.putString("accountType", account.type); 216 jobInfoExtras.putString("accountName", target.account.name); 217 jobInfoExtras.putString("accountType", target.account.type); 277 Account account = new Account(accountsBundle.getString("accountName"), 279 extras.putParcelable(newKey, account); [all...] |
H A D | ContentService.java | 472 public void requestSync(Account account, String authority, Bundle extras) { argument 484 syncManager.scheduleSync(account, userId, uId, authority, extras, 564 * if they match the authority and account, if they are present. 566 * @param account filter the pending and active syncs to cancel using this account, or null. 569 * @param cname cancel syncs running on this service, or null for provider/account. 572 public void cancelSync(Account account, String authority, ComponentName cname) { argument 573 cancelSyncAsUser(account, authority, cname, UserHandle.getCallingUserId()); 578 * if they match the authority and account, if they are present. 583 * @param account filte 590 cancelSyncAsUser(Account account, String authority, ComponentName cname, int userId) argument 692 getSyncAutomatically(Account account, String providerName) argument 701 getSyncAutomaticallyAsUser(Account account, String providerName, int userId) argument 721 setSyncAutomatically(Account account, String providerName, boolean sync) argument 726 setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, int userId) argument 750 addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency) argument 779 removePeriodicSync(Account account, String authority, Bundle extras) argument 803 getPeriodicSyncs(Account account, String providerName, ComponentName cname) argument 825 getIsSyncable(Account account, String providerName) argument 834 getIsSyncableAsUser(Account account, String providerName, int userId) argument 854 setIsSyncable(Account account, String providerName, int syncable) argument 926 isSyncActive(Account account, String authority, ComponentName cname) argument 972 getSyncStatus(Account account, String authority, ComponentName cname) argument 981 getSyncStatusAsUser(Account account, String authority, ComponentName cname, int userId) argument 1011 isSyncPending(Account account, String authority, ComponentName cname) argument 1016 isSyncPendingAsUser(Account account, String authority, ComponentName cname, int userId) argument [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 278 * 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
|