Home
last modified time | relevance | path

Searched refs:accountName (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java332 String accountName = null; in onActivityResult() local
336 accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in onActivityResult()
340 if (accountName == null || accountType == null) { in onActivityResult()
349 accountName = account.name; in onActivityResult()
356 if (accountName != null || accountType != null) { in onActivityResult()
357 setResultAndFinish(accountName, accountType); in onActivityResult()
417 private void setResultAndFinish(final String accountName, final String accountType) { in setResultAndFinish() argument
419 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in setResultAndFinish()
424 + "selected account " + accountName + ", " + accountType); in setResultAndFinish()
DAccountManager.java2148 final String accountName = result.getString(KEY_ACCOUNT_NAME);
2150 if (TextUtils.isEmpty(accountName) || TextUtils.isEmpty(accountType)) {
2154 final Account account = new Account(accountName, accountType);
/frameworks/base/test-runner/src/android/test/
DSyncBaseInstrumentation.java47 protected void syncProvider(Uri uri, String accountName, String authority) throws Exception { in syncProvider() argument
50 Account account = new Account(accountName, "com.google"); in syncProvider()
/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java117 final String accountName = c.getString(0); in onAccountsChanged() local
119 Account account = new Account(accountName, accountType); in onAccountsChanged()
122 new String[]{accountName, accountType}); in onAccountsChanged()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java102 public String accountName; field in BaseEmailAddressAdapter.DirectoryPartition
384 partition.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in onDirectoryLoadFinished()
406 if (mAccount != null && mAccount.name.equals(partition.accountName) && in onDirectoryLoadFinished()
/frameworks/opt/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java99 public String accountName; field in BaseRecipientAdapter.DirectorySearchParams
648 params.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in setupOtherDirectories()
668 if (account != null && account.name.equals(params.accountName) && in setupOtherDirectories()
/frameworks/base/docs/html/google/play-services/
Dauth.jd113 …>{@code getTokenWithNotification(Context context, String accountName, String scope, Bundle extras)…
116 …>{@code getTokenWithNotification(Context context, String accountName, String scope, Bundle extras,…
131 …>{@code getTokenWithNotification(Context context, String accountName, String scope, Bundle extras,…
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java401 final String accountName = cursor.getString(2); in validateAccountsInternal() local
404 Slog.w(TAG, "deleting account " + accountName + " because type " in validateAccountsInternal()
408 final Account account = new Account(accountName, accountType); in validateAccountsInternal()
417 accountNames.add(accountName); in validateAccountsInternal()
426 for (String accountName : accountNames) { in validateAccountsInternal()
427 accountsForType[i] = new Account(accountName, accountType); in validateAccountsInternal()
1309 String accountName = cursor.getString(1); in invalidateAuthTokenLocked() local
1312 writeAuthTokenIntoCacheLocked(accounts, db, new Account(accountName, accountType), in invalidateAuthTokenLocked()
2621 String accountName = result.getString(AccountManager.KEY_ACCOUNT_NAME); in onResult() local
2623 if (!TextUtils.isEmpty(accountName) && !TextUtils.isEmpty(accountType)) { in onResult()
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java2003 String accountName = parser.getAttributeValue(null, "account"); in parseAuthority() local
2016 + " account=" + accountName in parseAuthority()
2030 if (accountName != null && authorityName != null) { in parseAuthority()
2032 new Account(accountName, accountType), in parseAuthority()
2059 + accountName + " auth=" + authorityName in parseAuthority()
2274 String accountName = c.getString(c.getColumnIndex("account")); in readAndDeleteLegacyAccountInfoLocked() local
2283 new EndPoint(new Account(accountName, accountType), in readAndDeleteLegacyAccountInfoLocked()
/frameworks/base/core/java/android/content/
DContentResolver.java1737 String accountName = extras.getString(SYNC_EXTRAS_ACCOUNT); in startSync() local
1738 if (!TextUtils.isEmpty(accountName)) { in startSync()
1739 account = new Account(accountName, "com.google"); in startSync()
/frameworks/base/docs/html/google/gcm/
Dnotifications.jd163 <pre>String accountName = getAccount();
170 id_token = GoogleAuthUtil.getToken(context, accountName, scope);
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/api/
Dsystem-current.txt25993 field public static final java.lang.String ACCOUNT_NAME = "accountName";
Dcurrent.txt24403 field public static final java.lang.String ACCOUNT_NAME = "accountName";