/frameworks/base/core/java/android/content/ |
D | SyncAdapterType.java | 29 public final String accountType; field in SyncAdapterType 37 public SyncAdapterType(String authority, String accountType, boolean userVisible, in SyncAdapterType() argument 42 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType() 43 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); in SyncAdapterType() 46 this.accountType = accountType; in SyncAdapterType() 56 public SyncAdapterType(String authority, String accountType, boolean userVisible, in SyncAdapterType() argument 64 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType() 65 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); in SyncAdapterType() 68 this.accountType = accountType; in SyncAdapterType() 77 private SyncAdapterType(String authority, String accountType) { in SyncAdapterType() argument [all …]
|
D | SyncAdaptersCache.java | 64 final String accountType = in parseServiceAttributes() local 66 if (authority == null || accountType == null) { in parseServiceAttributes() 83 return new SyncAdapterType(authority, accountType, userVisible, supportsUploading, in parseServiceAttributes() 144 out.attribute(null, "accountType", item.accountType); in writeAsXml() 150 final String accountType = parser.getAttributeValue(null, "accountType"); in createFromXml() local 151 return SyncAdapterType.newKey(authority, accountType); in createFromXml()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 79 public void preloadDrawableForType(final Context context, final String accountType) { in preloadDrawableForType() argument 83 getDrawableForType(context, accountType); in preloadDrawableForType() 95 public Drawable getDrawableForType(Context context, final String accountType) { in getDrawableForType() argument 98 if (mAccTypeIconCache.containsKey(accountType)) { in getDrawableForType() 99 return mAccTypeIconCache.get(accountType); in getDrawableForType() 102 if (mTypeToAuthDescription.containsKey(accountType)) { in getDrawableForType() 104 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getDrawableForType() 110 mAccTypeIconCache.put(accountType, icon); in getDrawableForType() 127 public CharSequence getLabelForType(Context context, final String accountType) { in getLabelForType() argument 129 if (mTypeToAuthDescription.containsKey(accountType)) { in getLabelForType() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 33 Account[] getAccounts(String accountType, String opPackageName); in getAccounts() argument 36 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() argument 39 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in getAccountsByFeatures() argument 49 void invalidateAuthToken(String accountType, String authToken); in invalidateAuthToken() argument 60 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument 63 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument 68 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument 73 void getAuthTokenLabel(in IAccountManagerResponse response, String accountType, in getAuthTokenLabel() argument 87 void startAddAccountSession(in IAccountManagerResponse response, String accountType, in startAddAccountSession() argument
|
D | AbstractAccountAuthenticator.java | 157 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 161 Log.v(TAG, "addAccount: accountType " + accountType in addAccount() 169 accountType, authTokenType, features, options); in addAccount() 180 handleException(response, "addAccount", accountType, e); in addAccount() 293 String accountType) throws RemoteException { in editProperties() argument 297 new AccountAuthenticatorResponse(response), accountType); in editProperties() 302 handleException(response, "editProperties", accountType, e); in editProperties() 372 String accountType, String authTokenType, String[] features, Bundle options) in startAddAccountSession() argument 376 "startAddAccountSession: accountType " + accountType in startAddAccountSession() 383 new AccountAuthenticatorResponse(response), accountType, authTokenType, in startAddAccountSession() [all …]
|
D | IAccountAuthenticator.aidl | 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 60 void editProperties(in IAccountAuthenticatorResponse response, String accountType); in editProperties() argument 91 void startAddAccountSession(in IAccountAuthenticatorResponse response, String accountType, in startAddAccountSession() argument 105 void finishSession(in IAccountAuthenticatorResponse response, String accountType, in finishSession() argument
|
D | ChooseTypeAndAccountActivity.java | 306 String accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); in onActivityResult() local 307 if (accountType != null) { in onActivityResult() 308 runAddAccountForAuthenticator(accountType); in onActivityResult() 316 String accountType = null; in onActivityResult() local 320 accountType = data.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); in onActivityResult() 323 if (accountName == null || accountType == null) { in onActivityResult() 333 accountType = account.type; in onActivityResult() 339 if (accountName != null || accountType != null) { in onActivityResult() 340 setResultAndFinish(accountName, accountType); in onActivityResult() 411 private void setResultAndFinish(final String accountName, final String accountType) { in setResultAndFinish() argument [all …]
|
D | AccountManager.java | 580 final String accountType, final String authTokenType, in getAuthTokenLabel() argument 582 if (accountType == null) throw new IllegalArgumentException("accountType is null"); in getAuthTokenLabel() 587 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel() 1019 public void invalidateAuthToken(final String accountType, final String authToken) { 1020 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 1023 mService.invalidateAuthToken(accountType, authToken); 1512 public AccountManagerFuture<Bundle> addAccount(final String accountType, 1516 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 1526 mService.addAccount(mResponse, accountType, authTokenType, 1536 public AccountManagerFuture<Bundle> addAccountAsUser(final String accountType, [all …]
|
D | ChooseAccountActivity.java | 97 private Drawable getDrawableForType(String accountType) { in getDrawableForType() argument 99 if(mTypeToAuthDescription.containsKey(accountType)) { in getDrawableForType() 101 AuthenticatorDescription desc = mTypeToAuthDescription.get(accountType); in getDrawableForType() 107 Log.w(TAG, "No icon name for account type " + accountType); in getDrawableForType() 112 Log.w(TAG, "No icon resource for account type " + accountType); in getDrawableForType()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 528 final String accountType = cursor.getString(1); in validateAccountsInternal() local 531 if (obsoleteAuthType.contains(accountType)) { in validateAccountsInternal() 533 + accountType + "'s registered authenticator no longer exist."); in validateAccountsInternal() 551 final Account account = new Account(accountName, accountType); in validateAccountsInternal() 556 ArrayList<String> accountNames = accountNamesByType.get(accountType); in validateAccountsInternal() 559 accountNamesByType.put(accountType, accountNames); in validateAccountsInternal() 565 final String accountType = cur.getKey(); in validateAccountsInternal() local 569 accountsForType[i] = new Account(accountNames.get(i), accountType); in validateAccountsInternal() 571 accounts.accountCache.put(accountType, accountsForType); in validateAccountsInternal() 1729 public void invalidateAuthToken(String accountType, String authToken) { in invalidateAuthToken() argument [all …]
|
D | AccountAuthenticatorCache.java | 61 final String accountType = in parseServiceAttributes() local 73 if (TextUtils.isEmpty(accountType)) { in parseServiceAttributes() 76 return new AuthenticatorDescription(accountType, packageName, labelId, iconId, in parseServiceAttributes()
|
D | TokenCache.java | 156 public void evict(String accountType, String token) { in evict() argument 157 Evictor evictor = mTokenEvictors.get(new Pair<>(accountType, token)); in evict() 208 public void remove(String accountType, String token) { in remove() argument 209 mCachedTokens.evict(accountType, token); in remove()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 140 if (!accountTypeToAuthorities.containsKey(syncAdapter.accountType)) { in serializeAccountSyncSettingsToJSON() 141 accountTypeToAuthorities.put(syncAdapter.accountType, new ArrayList<String>()); in serializeAccountSyncSettingsToJSON() 143 accountTypeToAuthorities.get(syncAdapter.accountType).add(syncAdapter.authority); in serializeAccountSyncSettingsToJSON() 282 String accountType = accountJSON.getString(KEY_ACCOUNT_TYPE); in restoreFromJsonArray() local 286 account = new Account(accountName, accountType); in restoreFromJsonArray() 399 String accountType = accountJSON.getString(KEY_ACCOUNT_TYPE); in restoreExistingAccountSyncSettingsFromJSON() local 401 final Account account = new Account(accountName, accountType); in restoreExistingAccountSyncSettingsFromJSON()
|
/frameworks/ex/common/java/com/android/common/content/ |
D | SyncStateContentProviderHelper.java | 118 final String accountType = c.getString(1); in onAccountsChanged() local 119 Account account = new Account(accountName, accountType); in onAccountsChanged() 122 new String[]{accountName, accountType}); in onAccountsChanged()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1392 @Nullable String accountType, @Nullable PersistableBundle accountOptions) { in createUserCreationIntent() argument 1397 if (accountName != null && accountType == null) { in createUserCreationIntent() 1404 if (accountType != null) { in createUserCreationIntent() 1405 intent.putExtra(EXTRA_USER_ACCOUNT_TYPE, accountType); in createUserCreationIntent() 1468 public void setSeedAccountData(int userId, String accountName, String accountType, in setSeedAccountData() argument 1471 mService.setSeedAccountData(userId, accountName, accountType, accountOptions, in setSeedAccountData() 2181 public boolean someUserHasSeedAccount(String accountName, String accountType) { in someUserHasSeedAccount() argument 2183 return mService.someUserHasSeedAccount(accountName, accountType); in someUserHasSeedAccount()
|
D | IUserManager.aidl | 77 in String accountType, in PersistableBundle accountOptions, boolean persist); in setSeedAccountData() argument 82 boolean someUserHasSeedAccount(in String accountName, in String accountType); in someUserHasSeedAccount() argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 239 String accountName, accountType; in maybeCreateFromJobExtras() local 254 accountType = jobExtras.getString("accountType"); in maybeCreateFromJobExtras() 283 Account account = new Account(accountName, accountType); in maybeCreateFromJobExtras()
|
D | SyncStorageEngine.java | 1631 String accountType = parser.getAttributeValue(null, "type"); in parseAuthority() local 1636 if (accountType == null && packageName == null) { in parseAuthority() 1637 accountType = "com.google"; in parseAuthority() 1644 + " accountType=" + accountType in parseAuthority() 1659 new Account(accountName, accountType), in parseAuthority() 1886 String accountType = hasType in readAndDeleteLegacyAccountInfoLocked() local 1888 if (accountType == null) { in readAndDeleteLegacyAccountInfoLocked() 1889 accountType = "com.google"; in readAndDeleteLegacyAccountInfoLocked() 1894 new EndPoint(new Account(accountName, accountType), in readAndDeleteLegacyAccountInfoLocked()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 103 public String accountType; field in BaseEmailAddressAdapter.DirectoryPartition 385 partition.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); in onDirectoryLoadFinished() 407 mAccount.type.equals(partition.accountType)) { in onDirectoryLoadFinished()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 336 String accountType, int userId) { in checkIfAccountManagementDisabled() argument 337 if (accountType == null) { in checkIfAccountManagementDisabled() 348 if (accountType.equals(type)) { in checkIfAccountManagementDisabled()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | BaseRecipientAdapter.java | 112 public String accountType; field in BaseRecipientAdapter.DirectorySearchParams 730 params.accountType = directoryCursor.getString(DirectoryListQuery.ACCOUNT_TYPE); in setupOtherDirectories() 751 && account.type.equals(params.accountType)) { in setupOtherDirectories()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 390 for (String accountType : requiredAccounts.split(",")) { in parseArgs() 391 mRequiredAccounts.add(accountType); in parseArgs()
|
/frameworks/base/docs/html/training/sync-adapters/ |
D | creating-authenticator.jd | 192 <code>android:accountType</code> 242 android:accountType="example.com"
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 200 …void setAccountManagementDisabled(in ComponentName who, in String accountType, in boolean disabled… in setAccountManagementDisabled() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 3044 public void setSeedAccountData(int userId, String accountName, String accountType, in setSeedAccountData() argument 3056 userData.seedAccountType = accountType; in setSeedAccountData() 3108 public boolean someUserHasSeedAccount(String accountName, String accountType) in someUserHasSeedAccount() argument 3119 if (data.seedAccountType == null || !data.seedAccountType.equals(accountType)) { in someUserHasSeedAccount()
|