/frameworks/base/core/java/android/content/ |
D | SyncAdapterType.java | 29 public final String accountType; field in SyncAdapterType 34 public SyncAdapterType(String authority, String accountType, boolean userVisible, in SyncAdapterType() argument 39 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType() 40 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); in SyncAdapterType() 43 this.accountType = accountType; in SyncAdapterType() 49 private SyncAdapterType(String authority, String accountType) { in SyncAdapterType() argument 53 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType() 54 throw new IllegalArgumentException("the accountType must not be empty: " + accountType); in SyncAdapterType() 57 this.accountType = accountType; in SyncAdapterType() 79 public static SyncAdapterType newKey(String authority, String accountType) { in newKey() argument [all …]
|
D | SyncAdaptersCache.java | 53 final String accountType = in parseServiceAttributes() local 55 if (authority == null || accountType == null) { in parseServiceAttributes() 63 return new SyncAdapterType(authority, accountType, userVisible, supportsUploading); in parseServiceAttributes() 72 out.attribute(null, "accountType", item.accountType); in writeAsXml() 78 final String accountType = parser.getAttributeValue(null, "accountType"); in createFromXml() local 79 return SyncAdapterType.newKey(authority, accountType); in createFromXml()
|
D | SyncStorageEngine.java | 1552 String accountType = parser.getAttributeValue(null, "type"); in parseAuthority() local 1553 if (accountType == null) { in parseAuthority() 1554 accountType = "com.google"; in parseAuthority() 1565 new Account(accountName, accountType), authorityName, id, false); in parseAuthority() 1787 String accountType = hasType in readAndDeleteLegacyAccountInfoLocked() local 1789 if (accountType == null) { in readAndDeleteLegacyAccountInfoLocked() 1790 accountType = "com.google"; in readAndDeleteLegacyAccountInfoLocked() 1794 new Account(accountName, accountType), in readAndDeleteLegacyAccountInfoLocked()
|
D | SyncManager.java | 1077 if (!syncAdapterType.type.accountType.equals(account.type)) { in dumpSyncState()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 33 Account[] getAccounts(String accountType); in getAccounts() argument 35 …void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] fe… in getAccountsByFeatures() argument 38 void invalidateAuthToken(String accountType, String authToken); in invalidateAuthToken() argument 48 void addAcount(in IAccountManagerResponse response, String accountType, in addAcount() argument 53 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument
|
D | AccountManager.java | 567 public void invalidateAuthToken(final String accountType, final String authToken) { 568 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 571 mService.invalidateAuthToken(accountType, authToken); 949 public AccountManagerFuture<Bundle> addAccount(final String accountType, 953 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 956 mService.addAcount(mResponse, accountType, authTokenType, 1127 public AccountManagerFuture<Bundle> editProperties(final String accountType, 1130 if (accountType == null) throw new IllegalArgumentException("accountType is null"); 1133 mService.editProperties(mResponse, accountType, activity != null); 1460 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, [all …]
|
D | AccountManagerService.java | 243 final String accountType = cursor.getString(1); in validateAccounts() local 245 if (mAuthenticatorCache.getServiceInfo(AuthenticatorDescription.newKey(accountType)) in validateAccounts() 248 + accountType + " no longer has a registered authenticator"); in validateAccounts() 270 final String accountType = cursor.getString(1); in onServiceChanged() local 273 + accountType + " no longer has a registered authenticator"); in onServiceChanged() 368 public Account[] getAccountsByType(String accountType) { in getAccountsByType() argument 371 final String selection = accountType == null ? null : (ACCOUNTS_TYPE + "=?"); in getAccountsByType() 372 final String[] selectionArgs = accountType == null ? null : new String[]{accountType}; in getAccountsByType() 589 public void invalidateAuthToken(String accountType, String authToken) { in invalidateAuthToken() argument 590 if (accountType == null) throw new IllegalArgumentException("accountType is null"); in invalidateAuthToken() [all …]
|
D | AbstractAccountAuthenticator.java | 119 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 123 Log.v(TAG, "addAccount: accountType " + accountType in addAccount() 131 accountType, authTokenType, features, options); in addAccount() 285 String accountType) throws RemoteException { in editProperties() argument 289 new AccountAuthenticatorResponse(response), accountType); in editProperties() 364 String accountType); in editProperties() argument 386 public abstract Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
|
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
|
D | AccountAuthenticatorCache.java | 61 final String accountType = in parseServiceAttributes() local 100 if (TextUtils.isEmpty(accountType)) { in parseServiceAttributes() 103 return new AuthenticatorDescription(accountType, packageName, labelId, iconId, in parseServiceAttributes()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | SyncStateContentProviderHelper.java | 122 final String accountType = c.getString(1); in onAccountsChanged() local 123 Account account = new Account(accountName, accountType); in onAccountsChanged() 126 new String[]{accountName, accountType}); in onAccountsChanged()
|
/frameworks/base/docs/html/sdk/api_diff/5/ |
D | missingSinces.txt | 295 NO DOC BLOCK: android.R.attr Field accountType
|