Searched refs:account (Results 1 - 25 of 59) sorted by relevance

123

/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 DIAccountManager.aidl30 * Central application service that provides account management.
34 String getPassword(in Account account);
35 String getUserData(in Account account, String key);
41 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features,
47 boolean addAccountExplicitly(in Account account, String password, in Bundle extras);
48 void removeAccount(in IAccountManagerResponse response, in Account account,
50 void removeAccountAsUser(in IAccountManagerResponse response, in Account account,
52 boolean removeAccountExplicitly(in Account account);
53 void copyAccountToUser(in IAccountManagerResponse response, in Account account,
56 String peekAuthToken(in Account account, Strin
[all...]
H A DIAccountAuthenticator.aidl29 * prompts the user for account information and adds the result to the IAccountManager
35 * prompts the user for the credentials of the account
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
63 * returns a Bundle where the boolean value BOOLEAN_RESULT_KEY is set if the account has the
66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account,
70 * Gets whether or not the account is allowed to be removed.
72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account);
75 * Returns a Bundle containing the required credentials to copy the account acros
[all...]
H A DAccountManagerInternal.java31 * Listener for explicit UID account access grant changes.
37 * access an account changes.
39 * @param account The account
42 public void onAppPermissionChanged(Account account, int uid); argument
46 * Requests that a given package is given access to an account.
51 * @param account The account for which to request.
56 public abstract void requestAccountAccess(@NonNull Account account, argument
61 * Check whether the given UID has access to the account
67 hasAccountAccess(@onNull Account account, @IntRange(from = 0) int uid) argument
[all...]
H A DAbstractAccountAuthenticator.java49 * <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
189 Account account, Bundle options) throws RemoteException {
191 Log.v(TAG, "confirmCredentials: " + account);
196 new AccountAuthenticatorResponse(response), account, options);
208 handleException(response, "confirmCredentials", account.toString(), e);
239 Account account, String authTokenType, Bundle loginOptions)
242 Log.v(TAG, "getAuthToken: " + account
248 new AccountAuthenticatorResponse(response), account,
188 confirmCredentials(IAccountAuthenticatorResponse response, Account account, Bundle options) argument
238 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
266 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
310 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
325 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument
340 getAccountCredentialsForCloning(IAccountAuthenticatorResponse response, Account account) argument
356 addAccountFromCredentials(IAccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
404 startUpdateCredentialsSession( IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
470 isCredentialsUpdateSuggested( IAccountAuthenticatorResponse response, Account account, String statusToken) argument
588 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
633 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
663 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
683 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
702 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument
720 getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) argument
745 addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
850 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument
989 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument
[all...]
H A DAccountManager.java76 * per account, granting applications access to online resources with
80 * authentication, so the account manager uses pluggable <em>authenticator</em>
81 * modules for different <em>account types</em>. Authenticators (which may be
82 * written by third parties) handle the actual details of validating account
83 * credentials and storing account information. For example, Google, Facebook,
105 * identify particular account subtypes and capabilities. Both the account
112 * account of the appropriate type.
115 * account selection, it must make sure the account i
481 getPassword(final Account account) argument
511 getUserData(final Account account, final String key) argument
708 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument
769 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
880 addAccountExplicitly(Account account, String password, Bundle userdata) argument
914 addAccountExplicitly(Account account, String password, Bundle extras, Map<String, Integer> visibility) argument
936 getPackagesAndVisibilityForAccount(Account account) argument
998 setAccountVisibility(Account account, String packageName, @AccountVisibility int visibility) argument
1027 getAccountVisibility(Account account, String packageName) argument
1052 notifyAccountAuthenticated(Account account) argument
1086 renameAccount( final Account account, @Size(min = 1) final String newName, AccountManagerCallback<Account> callback, Handler handler) argument
1122 getPreviousName(final Account account) argument
1156 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
1215 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1234 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument
1258 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument
1293 removeAccountExplicitly(Account account) argument
1350 peekAuthToken(final Account account, final String authTokenType) argument
1380 setPassword(final Account account, final String password) argument
1408 clearPassword(final Account account) argument
1435 setUserData(final Account account, final String key, final String value) argument
1464 setAuthToken(Account account, final String authTokenType, final String authToken) argument
1498 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument
1573 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1662 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1742 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1890 copyAccountToUser( final Account account, final UserHandle fromUser, final UserHandle toUser, AccountManagerCallback<Boolean> callback, Handler handler) argument
1921 removeSharedAccount(final Account account, UserHandle user) argument
2003 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
2017 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
2081 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
2157 someUserHasAccount(@onNull final Account account) argument
3123 startUpdateCredentialsSession( final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
3264 isCredentialsUpdateSuggested( final Account account, final String statusToken, AccountManagerCallback<Boolean> callback, Handler handler) argument
3306 hasAccountAccess(@onNull Account account, @NonNull String packageName, @NonNull UserHandle userHandle) argument
3330 createRequestAccountAccessIntentSenderAsUser(@onNull Account account, @NonNull String packageName, @NonNull UserHandle userHandle) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncInfo.java40 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 DPeriodicSync.java30 /** 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 DIContentService.aidl58 void requestSync(in Account account, String authority, in Bundle extras);
64 void cancelSync(in Account account, String authority, in ComponentName cname);
65 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId);
75 boolean getSyncAutomatically(in Account account, String providerName);
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId);
84 void setSyncAutomatically(in Account account, String providerName, boolean sync);
85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync,
90 * @param account account for authority, must be null if cname is non-null.
92 * @param cname component to identify sync service, must be null if account/providerNam
[all...]
H A DAbstractThreadedSyncAdapter.java85 * indicate which content authority and for which account types this sync adapter serves.
96 * it sync an account's data.
98 * to intialize the isSyncable state to 1 for that sync adapter for each account that is added.
165 private Account toSyncKey(Account account) { argument
167 return account;
182 public void startSync(ISyncContext syncContext, String authority, Account account, argument
188 Log.d(TAG, "startSync() start " + authority + " " + account + " " + extras);
196 final Account threadsKey = toSyncKey(account);
204 if (ContentResolver.getIsSyncable(account, authority) < 0) {
205 ContentResolver.setIsSyncable(account, authorit
296 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
449 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument
462 onSecurityException(Account account, Bundle extras, String authority, SyncResult syncResult) argument
[all...]
H A DISyncAdapter.aidl31 * adapter is ready for the account
38 * Initiate a sync for this account. SyncAdapter-specific parameters may
44 * @param account the account that should be synced
48 in Account account, in Bundle extras);
/frameworks/opt/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
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountsDbTest.java88 Account account = new Account("name", "example.com");
89 long id = mAccountsDb.insertCeAccount(account, "");
95 Account account = new Account("name", "example.com");
97 mAccountsDb.insertDeAccount(account, accId);
98 long actualId = mAccountsDb.findDeAccountId(account);
100 // Delete and verify that account no longer exists
102 actualId = mAccountsDb.findDeAccountId(account);
109 Account account = new Account("name", "example.com");
110 long accId = mAccountsDb.insertCeAccount(account, "password");
111 long actualId = mAccountsDb.findCeAccountId(account);
[all...]
H A DTestAccountType1Authenticator.java32 * This authenticator is to mock account authenticator to test AccountManagerService.
107 Account account,
109 if (!mAccountType.equals(account.type)) {
114 if (account.name.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_SUCCESS)) {
117 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
118 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
119 } else if (account.name.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_INTERVENE)) {
123 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);
124 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, account.type);
146 Account account,
105 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
144 getAuthToken( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
199 updateCredentials( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
237 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
316 startUpdateCredentialsSession( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
423 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument
445 getAccountRemovalAllowed( AccountAuthenticatorResponse response, Account account) argument
[all...]
H A DTestAccountType2Authenticator.java32 * This authenticator is to mock account authenticator to test AccountManagerService.
66 Account account,
75 Account account,
91 Account account,
101 Account account,
121 Account account,
141 Account account,
64 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
73 getAuthToken( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
89 updateCredentials( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
99 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
119 startUpdateCredentialsSession( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
139 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportProgressServiceTest.java102 private Account account(String email) { method in class:BugreportProgressServiceTest
110 assertEquals(account(expectedEmail), actual.second);
127 // 1 account
129 array(account("abc@gmail.com")));
140 array(account("abc@gmail.com"), account("def@gmail.com")));
151 array(account("abc@gmail.com"), account("def@android.com")));
160 // Plut an account that doesn't look like an email address.
162 array(account("notemai
[all...]
/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...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java49 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...]
H A DAccountManagerService.java137 * A system service that provides account, password, and authtoken management for all
225 * type == null is used to get notifications about all account types
232 * Caches the previous names associated with an account. Previous names
337 // Need to cancel account request notifications if the update/install can access the account
352 // Cancel account request notification if an app op was preventing the account access
376 // Cancel account request notification if a permission was preventing the account access
401 for (Account account
438 cancelAccountAccessRequestNotificationIfNeeded(Account account, int uid, boolean checkAccess) argument
449 cancelAccountAccessRequestNotificationIfNeeded(Account account, int uid, String packageName, boolean checkAccess) argument
460 addAccountExplicitlyWithVisibility(Account account, String password, Bundle extras, Map packageToVisibility) argument
549 getPackagesAndVisibilityForAccount(Account account) argument
583 getPackagesAndVisibilityForAccountLocked(Account account, UserAccounts accounts) argument
595 getAccountVisibility(Account account, String packageName) argument
643 getAccountVisibilityFromCache(Account account, String packageName, UserAccounts accounts) argument
663 resolveAccountVisibility(Account account, @NonNull String packageName, UserAccounts accounts) argument
760 setAccountVisibility(Account account, String packageName, int newVisibility) argument
799 setAccountVisibility(Account account, String packageName, int newVisibility, boolean notify, UserAccounts accounts) argument
858 updateAccountVisibilityLocked(Account account, String packageName, int newVisibility, UserAccounts accounts) argument
951 sendNotificationAccountUpdated(Account account, UserAccounts accounts) argument
979 getRequestingPackages(Account account, UserAccounts accounts) argument
997 getAccountRemovedReceivers(Account account, UserAccounts accounts) argument
1018 shouldNotifyPackageOnAccountRemoval(Account account, String packageName, UserAccounts accounts) argument
1062 sendAccountRemovedBroadcast(Account account, String packageName, int userId) argument
1450 getPassword(Account account) argument
1475 readPasswordInternal(UserAccounts accounts, Account account) argument
1493 getPreviousName(Account account) argument
1510 readPreviousNameInternal(UserAccounts accounts, Account account) argument
1530 getUserData(Account account, String key) argument
1617 addAccountExplicitly(Account account, String password, Bundle extras) argument
1622 copyAccountToUser(final IAccountManagerResponse response, final Account account, final int userFrom, int userTo) argument
1680 accountAuthenticated(final Account account) argument
1713 updateLastAuthenticatedTime(Account account) argument
1722 completeCloningAccount(IAccountManagerResponse response, final Bundle accountCredentials, final Account account, final UserAccounts targetUser, final int parentUserId) argument
1773 addAccountInternal(UserAccounts accounts, Account account, String password, Bundle extras, int callingUid, Map<String, Integer> packageToVisibility) argument
1858 addAccountToLinkedRestrictedUsers(Account account, int parentUserId) argument
1872 hasFeatures(IAccountManagerResponse response, Account account, String[] features, String opPackageName) argument
1903 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument
2102 removeAccount(IAccountManagerResponse response, Account account, boolean expectActivityLaunch) argument
2112 removeAccountAsUser(IAccountManagerResponse response, Account account, boolean expectActivityLaunch, int userId) argument
2191 removeAccountExplicitly(Account account) argument
2231 RemoveAccountSession(UserAccounts accounts, IAccountManagerResponse response, Account account, boolean expectActivityLaunch) argument
2277 removeAccountInternal(Account account) argument
2281 removeAccountInternal(UserAccounts accounts, Account account, int callingUid) argument
2428 saveCachedToken( UserAccounts accounts, Account account, String callerPkg, byte[] callerSigDigest, String tokenType, String token, long expiryMillis) argument
2448 saveAuthTokenToDatabase(UserAccounts accounts, Account account, String type, String authToken) argument
2482 peekAuthToken(Account account, String authTokenType) argument
2515 setAuthToken(Account account, String authTokenType, String authToken) argument
2543 setPassword(Account account, String password) argument
2568 setPasswordInternal(UserAccounts accounts, Account account, String password, int callingUid) argument
2609 clearPassword(Account account) argument
2635 setUserData(Account account, String key, String value) argument
2665 accountExistsCache(UserAccounts accounts, Account account) argument
2678 setUserdataInternal(UserAccounts accounts, Account account, String key, String value) argument
2776 getAuthToken( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3025 createNoCredentialsPermissionNotification(Account account, Intent intent, String packageName, int userId) argument
3058 newGrantCredentialsPermissionIntent(Account account, String packageName, int uid, AccountAuthenticatorResponse response, String authTokenType, boolean startInNewTask) argument
3080 getCredentialPermissionNotificationId(Account account, String authTokenType, int uid) argument
3100 getSigninRequiredNotificationId(UserAccounts accounts, Account account) argument
3634 confirmCredentialsAsUser( IAccountManagerResponse response, final Account account, final Bundle options, final boolean expectActivityLaunch, int userId) argument
3681 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3721 startUpdateCredentialsSession( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3785 isCredentialsUpdateSuggested( IAccountManagerResponse response, final Account account, final String statusToken) argument
3913 hasAccountAccess(@onNull Account account, @NonNull String packageName, @NonNull UserHandle userHandle) argument
3964 hasAccountAccess(@onNull Account account, @Nullable String packageName, int uid) argument
3988 createRequestAccountAccessIntentSenderAsUser(@onNull Account account, @NonNull String packageName, @NonNull UserHandle userHandle) argument
4023 newRequestAccountAccessIntent(Account account, String packageName, int uid, RemoteCallback callback) argument
4056 someUserHasAccount(@onNull final Account account) argument
4366 addSharedAccountAsUser(Account account, int userId) argument
4382 renameSharedAccountAsUser(Account account, String newName, int userId) argument
4398 removeSharedAccountAsUser(Account account, int userId) argument
4402 removeSharedAccountAsUser(Account account, int userId, int callingUid) argument
5255 doNotification(UserAccounts accounts, Account account, CharSequence message, Intent intent, String packageName, final int userId) argument
5403 permissionIsGranted( Account account, String authTokenType, int callerUid, int userId) argument
5593 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument
5707 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument
5729 grantAppPermission(Account account, String authTokenType, int uid) argument
5764 revokeAppPermission(Account account, String authTokenType, int uid) argument
5797 removeAccountFromCacheLocked(UserAccounts accounts, Account account) argument
5826 insertAccountIntoCacheLocked(UserAccounts accounts, Account account) argument
5989 writeUserDataIntoCacheLocked(UserAccounts accounts, Account account, String key, String value) argument
6003 readCachedTokenInternal( UserAccounts accounts, Account account, String tokenType, String callingPackage, byte[] pkgSigDigest) argument
6016 writeAuthTokenIntoCacheLocked(UserAccounts accounts, Account account, String key, String value) argument
6030 readAuthTokenInternal(UserAccounts accounts, Account account, String authTokenType) argument
6053 readUserDataInternal(UserAccounts accounts, Account account, String key) argument
6116 requestAccountAccess(@onNull Account account, @NonNull String packageName, @IntRange(from = 0) int userId, @NonNull RemoteCallback callback) argument
6174 hasAccountAccess(@onNull Account account, @IntRange(from = 0) int uid) argument
[all...]
H A DAccountsDb.java121 // addingAccount, which might not lead to addition of account on grounds
128 //This action doesn't add account to accountdb. Account is only
315 * Returns information about auth tokens and their account for the specified query
335 Map<String, String> findAuthTokensByAccount(Account account) { argument
341 new String[] {account.name, account.type},
438 Map<String, String> findUserExtrasForAccount(Account account) { argument
441 String[] selectionArgs = {account.name, account.type};
456 long findCeAccountId(Account account) { argument
484 insertCeAccount(Account account, String password) argument
683 insertSharedAccount(Account account) argument
692 deleteSharedAccount(Account account) argument
698 renameSharedAccount(Account account, String newName) argument
731 findSharedAccountId(Account account) argument
747 findAccountLastAuthenticatedTime(Account account) argument
756 updateAccountLastAuthenticatedTime(Account account) argument
784 findDeAccountId(Account account) argument
816 findDeAccountPreviousName(Account account) argument
830 insertDeAccount(Account account, long accountId) argument
875 findMatchingGrantsCount(int uid, String authTokenType, Account account) argument
881 findMatchingGrantsCountAnyToken(int uid, Account account) argument
911 findAccountVisibility(Account account, String packageName) argument
958 findAllVisibilityValuesForAccount(Account account) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DAuthenticatorService.java29 * 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
/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/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java56 Account account = new Account(accountName, "com.google");
58 ContentResolver.requestSync(account, authority, extras);
73 if (ContentResolver.isSyncActive(account, authority)) {
/frameworks/base/core/java/com/android/server/backup/
H A DAccountSyncSettingsBackupHelper.java53 * Helper for backing up account sync settings (whether or not a service should be synced). The
91 * Take a snapshot of the current account sync settings and write them to the given output.
119 Log.e(TAG, "Couldn't backup account sync settings\n" + e);
152 for (Account account : accounts) {
153 List<String> authorities = accountTypeToAuthorities.get(account.type);
162 accountJSON.put(KEY_ACCOUNT_NAME, account.name);
163 accountJSON.put(KEY_ACCOUNT_TYPE, account.type);
168 int syncState = ContentResolver.getIsSyncable(account, authority);
169 boolean syncEnabled = ContentResolver.getSyncAutomatically(account, authority);
242 * Restore account syn
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java105 public SyncOperation(Account account, int userId, int owningUid, String owningPackage, argument
108 this(new SyncStorageEngine.EndPoint(account, provider, userId), owningUid, owningPackage,
179 * PersistableBundle containing account information at key 'ACCOUNT:key'. The Account object
194 Account account = (Account) value;
196 accountBundle.putString("accountName", account.name);
197 accountBundle.putString("accountType", account.type);
224 jobInfoExtras.putString("accountName", target.account.name);
225 jobInfoExtras.putString("accountType", target.account.type);
292 Account account = new Account(accountsBundle.getString("accountName"),
294 extras.putParcelable(newKey, account);
[all...]

Completed in 3006 milliseconds

123