Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java315 String accountName = null; in onActivityResult() local
319 accountName = data.getStringExtra(AccountManager.KEY_ACCOUNT_NAME); in onActivityResult()
323 if (accountName == null || accountType == null) { in onActivityResult()
332 accountName = account.name; 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
413 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in setResultAndFinish()
418 + "selected account " + accountName + ", " + accountType); in setResultAndFinish()
DAccountManager.java2352 final String accountName = result.getString(KEY_ACCOUNT_NAME);
2354 if (TextUtils.isEmpty(accountName) || TextUtils.isEmpty(accountType)) {
2359 final Account account = new Account(accountName, accountType, accessId);
/frameworks/base/core/java/android/os/
DIUserManager.aidl55 void setUserAccount(int userHandle, String accountName); in setUserAccount() argument
76 void setSeedAccountData(int userHandle, in String accountName, in setSeedAccountData() argument
82 boolean someUserHasSeedAccount(in String accountName, in String accountType); in someUserHasSeedAccount() argument
DUserManager.java1387 @Nullable String accountName, in createUserCreationIntent() argument
1393 if (accountName != null && accountType == null) { in createUserCreationIntent()
1397 if (accountName != null) { in createUserCreationIntent()
1398 intent.putExtra(EXTRA_USER_ACCOUNT_NAME, accountName); in createUserCreationIntent()
1464 public void setSeedAccountData(int userId, String accountName, String accountType, in setSeedAccountData() argument
1467 mService.setSeedAccountData(userId, accountName, accountType, accountOptions, in setSeedAccountData()
1592 public void setUserAccount(@UserIdInt int userHandle, @Nullable String accountName) { in setUserAccount() argument
1594 mService.setUserAccount(userHandle, accountName); in setUserAccount()
2177 public boolean someUserHasSeedAccount(String accountName, String accountType) { in someUserHasSeedAccount() argument
2179 return mService.someUserHasSeedAccount(accountName, accountType); in someUserHasSeedAccount()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java72 String accountName = "Test Account"; in testAddUserWithAccount() local
73 um.setUserAccount(tempUserId, accountName); in testAddUserWithAccount()
74 assertEquals(accountName, um.getUserAccount(tempUserId)); in testAddUserWithAccount()
/frameworks/base/test-runner/src/android/test/
DSyncBaseInstrumentation.java53 protected void syncProvider(Uri uri, String accountName, String authority) throws Exception { in syncProvider() argument
56 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/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java281 String accountName = accountJSON.getString(KEY_ACCOUNT_NAME); in restoreFromJsonArray() local
286 account = new Account(accountName, accountType); in restoreFromJsonArray()
294 if (DEBUG) Log.i(TAG, "Restoring Sync Settings for" + accountName); in restoreFromJsonArray()
398 String accountName = accountJSON.getString(KEY_ACCOUNT_NAME); in restoreExistingAccountSyncSettingsFromJSON() local
401 final Account account = new Account(accountName, accountType); in restoreExistingAccountSyncSettingsFromJSON()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java239 String accountName, accountType; in maybeCreateFromJobExtras() local
253 accountName = jobExtras.getString("accountName"); in maybeCreateFromJobExtras()
283 Account account = new Account(accountName, accountType); in maybeCreateFromJobExtras()
DSyncStorageEngine.java1653 String accountName = parser.getAttributeValue(null, "account"); in parseAuthority() local
1666 + " account=" + accountName in parseAuthority()
1680 if (accountName != null && authorityName != null) { in parseAuthority()
1682 new Account(accountName, accountType), in parseAuthority()
1715 + accountName + " auth=" + authorityName in parseAuthority()
1908 String accountName = c.getString(c.getColumnIndex("account")); in readAndDeleteLegacyAccountInfoLocked() local
1917 new EndPoint(new Account(accountName, accountType), in readAndDeleteLegacyAccountInfoLocked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerBackupHelper.java174 final String accountName = cursor.getString(nameColumnIdx); in backupAccountAccessPermissions() local
188 PackageUtils.computeSha256Digest(accountName.getBytes())); in backupAccountAccessPermissions()
DAccountManagerService.java654 final String accountName = cursor.getString(2); in validateAccountsInternal() local
657 Slog.w(TAG, "deleting account " + accountName + " because type " in validateAccountsInternal()
676 final Account account = new Account(accountName, accountType); in validateAccountsInternal()
686 accountNames.add(accountName); in validateAccountsInternal()
1933 String accountName = cursor.getString(1); in invalidateAuthTokenLocked() local
1939 new Account(accountName, accountType), in invalidateAuthTokenLocked()
2900 String accountName, in StartAccountSession() argument
2905 true /* stripAuthTokenFromResult */, accountName, authDetailsRequired, in StartAccountSession()
4131 boolean expectActivityLaunch, boolean stripAuthTokenFromResult, String accountName,
4134 accountName, authDetailsRequired, false /* updateLastAuthenticatedTime */);
[all …]
/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.java111 public String accountName; field in BaseRecipientAdapter.DirectorySearchParams
729 params.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in setupOtherDirectories()
750 && account.name.equals(params.accountName) in setupOtherDirectories()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java496 public void setUserAccount(int userId, String accountName) { in setUserAccount() argument
507 if (!Objects.equal(currentAccount, accountName)) { in setUserAccount()
508 userData.account = accountName; in setUserAccount()
3045 public void setSeedAccountData(int userId, String accountName, String accountType, in setSeedAccountData() argument
3056 userData.seedAccountName = accountName; in setSeedAccountData()
3109 public boolean someUserHasSeedAccount(String accountName, String accountType) in someUserHasSeedAccount() argument
3117 if (data.seedAccountName == null || !data.seedAccountName.equals(accountName)) { in someUserHasSeedAccount()
/frameworks/base/core/java/android/content/
DContentResolver.java1878 String accountName = extras.getString(SYNC_EXTRAS_ACCOUNT); in startSync() local
1879 if (!TextUtils.isEmpty(accountName)) { in startSync()
1881 account = new Account(accountName, "com.google"); in startSync()
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/id/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/
Dcalendar-provider.jd328 String accountName = null;
334 accountName = cur.getString(PROJECTION_ACCOUNT_NAME_INDEX);

12