/frameworks/base/core/java/android/content/ |
H A D | SyncAdapterType.java | 29 public final String accountType; field in class:SyncAdapterType 37 public SyncAdapterType(String authority, String accountType, boolean userVisible, argument 42 if (TextUtils.isEmpty(accountType)) { 43 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); 46 this.accountType = accountType; 56 public SyncAdapterType(String authority, String accountType, boolean userVisible, argument 64 if (TextUtils.isEmpty(accountType)) { 65 throw new IllegalArgumentException("the accountType mus 77 SyncAdapterType(String authority, String accountType) argument 151 newKey(String authority, String accountType) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 48 * android:accountType="typeOfAuthenticator" 55 * Replace the icons and labels with your own resources. The <code>android:accountType</code> 127 public void addAccount(IAccountAuthenticatorResponse response, String accountType, argument 131 Log.v(TAG, "addAccount: accountType " + accountType 139 accountType, authTokenType, features, options); 150 handleException(response, "addAccount", accountType, e); 263 String accountType) throws RemoteException { 267 new AccountAuthenticatorResponse(response), accountType); 272 handleException(response, "editProperties", accountType, 262 editProperties(IAccountAuthenticatorResponse response, String accountType) argument 396 editProperties(AccountAuthenticatorResponse response, String accountType) argument 419 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument [all...] |
H A D | ChooseAccountActivity.java | 97 private Drawable getDrawableForType(String accountType) { argument 99 if(mTypeToAuthDescription.containsKey(accountType)) { 101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); 107 Log.w(TAG, "No icon name for account type " + accountType); 112 Log.w(TAG, "No icon resource for account type " + accountType);
|
H A D | ChooseTypeAndAccountActivity.java | 306 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 307 if (accountType != null) { 308 runAddAccountForAuthenticator(accountType); 316 String accountType = null; 320 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 323 if (accountName == null || accountType == null) { 333 accountType = account.type; 339 if (accountName != null || accountType != null) { 340 setResultAndFinish(accountName, accountType); 411 private void setResultAndFinish(final String accountName, final String accountType) { argument [all...] |
H A D | AccountManager.java | 176 public static final String KEY_ACCOUNT_TYPE = "accountType"; 556 * @param accountType the type of the authenticator. must not be null. 564 final String accountType, final String authTokenType, 566 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 570 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); 997 * @param accountType The account type of the auth token to invalidate, must not be null 1000 public void invalidateAuthToken(final String accountType, final String authToken) { argument 1001 if (accountType == null) throw new IllegalArgumentException("accountType i 563 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 1497 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1520 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1817 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2155 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2351 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | TokenCache.java | 156 public void evict(String accountType, String token) { argument 157 Evictor evictor = mTokenEvictors.get(new Pair<>(accountType, token)); 208 public void remove(String accountType, String token) { argument 209 mCachedTokens.evict(accountType, token);
|
H A D | AccountManagerService.java | 390 final String accountType = cursor.getString(1); 393 if (!knownAuth.contains(AuthenticatorDescription.newKey(accountType))) { 395 + accountType + " no longer has a registered authenticator"); 402 final Account account = new Account(accountName, accountType); 407 ArrayList<String> accountNames = accountNamesByType.get(accountType); 410 accountNamesByType.put(accountType, accountNames); 417 final String accountType = cur.getKey(); 422 accountsForType[i] = new Account(accountName, accountType); 425 accounts.accountCache.put(accountType, accountsForType); 1404 public void invalidateAuthToken(String accountType, Strin argument 1433 invalidateCustomTokenLocked( UserAccounts accounts, String accountType, String authToken) argument 1444 invalidateAuthTokenLocked(UserAccounts accounts, SQLiteDatabase db, String accountType, String authToken) argument 1761 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument 2116 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument 2190 addAccountAsUser(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn, int userId) argument 2370 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument 2902 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult, String accountName, boolean authDetailsRequired) argument 2909 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult, String accountName, boolean authDetailsRequired, boolean updateLastAuthenticatedTime) argument 3771 isAccountVisibleToCaller(String accountType, int callingUid, int userId, String opPackageName) argument 3781 isAccountManagedByCaller(String accountType, int callingUid, int userId) argument 3821 isAccountPresentForCaller(String accountName, String accountType) argument 3884 checkReadAccountsPermitted( int callingUid, String accountType, int userId, String opPackageName) argument 3907 canUserModifyAccountsForType(int userId, String accountType) argument 4118 getAccountsFromCacheLocked(UserAccounts userAccounts, String accountType, int callingUid, String callingPackage) argument [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
H A D | BaseEmailAddressAdapter.java | 103 public String accountType; field in class:BaseEmailAddressAdapter.DirectoryPartition 131 private static final String DIRECTORY_ACCOUNT_TYPE = "accountType"; 385 partition.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); 407 mAccount.type.equals(partition.accountType)) {
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 100 public String accountType; field in class:BaseRecipientAdapter.DirectorySearchParams 653 params.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); 673 account.type.equals(params.accountType)) {
|
/frameworks/base/core/java/android/app/admin/ |
H A D | DevicePolicyManager.java | 3889 * @param accountType For which account management is disabled or enabled. 3893 public void setAccountManagementDisabled(@NonNull ComponentName admin, String accountType, argument 3897 mService.setAccountManagementDisabled(admin, accountType, disabled);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 5681 public void setAccountManagementDisabled(ComponentName who, String accountType, argument 5691 ap.accountTypesWithManagementDisabled.add(accountType); 5693 ap.accountTypesWithManagementDisabled.remove(accountType);
|