/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
D | OAuth2TokenService.java | 16 import org.chromium.sync.signin.AccountManagerHelper; 79 AccountManagerHelper accountManagerHelper = AccountManagerHelper.get(context); in getAccountOrNullFromUsername() 93 AccountManagerHelper accountManagerHelper = AccountManagerHelper.get(context); in getAccounts() 115 AccountManagerHelper accountManagerHelper = AccountManagerHelper.get(context); in getOAuth2AuthToken() 117 null, account, oauth2Scope, new AccountManagerHelper.GetAuthTokenCallback() { in getOAuth2AuthToken() 136 AccountManagerHelper.GetAuthTokenCallback callback) { in getOAuth2AccessToken() 138 AccountManagerHelper.get(context).getAuthTokenFromForeground( in getOAuth2AccessToken() 162 new AccountManagerHelper.GetAuthTokenCallback() { in getOAuth2AccessTokenWithTimeout() 188 return AccountManagerHelper.get(context).hasAccountForName(accountName); in hasOAuth2RefreshToken() 197 AccountManagerHelper.get(context).invalidateAuthToken(accessToken); in invalidateOAuth2AuthToken() [all …]
|
D | AndroidProfileOAuth2TokenServiceHelper.java | 11 import org.chromium.sync.signin.AccountManagerHelper; 30 Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) { in getOAuth2AccessToken()
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
D | OAuth2TokenServiceTest.java | 13 import org.chromium.sync.signin.AccountManagerHelper; 32 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); in setUp() 45 Account account1 = AccountManagerHelper.createAccountFromName("foo@gmail.com"); in testGetAccountsOneAccountRegistered() 57 Account account1 = AccountManagerHelper.createAccountFromName("foo@gmail.com"); in testGetAccountsTwoAccountsRegistered() 60 Account account2 = AccountManagerHelper.createAccountFromName("bar@gmail.com"); in testGetAccountsTwoAccountsRegistered() 90 Account account = AccountManagerHelper.createAccountFromName("test@gmail.com"); in runTestOfGetOAuth2AccessTokenWithTimeout()
|
D | OAuth2TokenServiceIntegrationTest.java | 16 import org.chromium.sync.signin.AccountManagerHelper; 31 AccountManagerHelper.createAccountFromName("foo@gmail.com"); 33 AccountManagerHelper.createAccountFromName("bar@gmail.com"); 54 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); in setUp()
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
D | AccountManagerHelper.java | 39 public class AccountManagerHelper { class 49 private static AccountManagerHelper sAccountManagerHelper; 68 private AccountManagerHelper(Context context, in AccountManagerHelper() method in AccountManagerHelper 84 public static AccountManagerHelper get(Context context) { in get() 87 sAccountManagerHelper = new AccountManagerHelper(context, in get() 98 sAccountManagerHelper = new AccountManagerHelper(context, accountManager); in overrideAccountManagerHelperForTests()
|
D | ChromeSigninController.java | 65 return AccountManagerHelper.createAccountFromName(syncAccountName); in getSignedInUser()
|
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/ |
D | AccountChooserFragment.java | 14 import org.chromium.sync.signin.AccountManagerHelper; 31 List<String> accountsList = AccountManagerHelper.get(getActivity()).getGoogleAccountNames(); in onCreateDialog()
|
D | SyncController.java | 20 import org.chromium.sync.signin.AccountManagerHelper; 98 final Account account = AccountManagerHelper.createAccountFromName(accountName); in signIn()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
D | DelayedSyncController.java | 20 import org.chromium.sync.signin.AccountManagerHelper; 52 Account account = AccountManagerHelper.createAccountFromName(accountName); in resumeDelayedSyncs()
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/ |
D | SyncTest.java | 27 import org.chromium.sync.signin.AccountManagerHelper; 56 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); in setUp() 141 AccountManagerHelper.createAccountFromName(SyncTestUtil.DEFAULT_TEST_ACCOUNT); in testDisableAndEnableSync()
|
D | DelayedSyncControllerTest.java | 24 import org.chromium.sync.signin.AccountManagerHelper; 28 AccountManagerHelper.createAccountFromName("something@gmail.com");
|
D | ChromiumSyncAdapterTest.java | 19 import org.chromium.sync.signin.AccountManagerHelper; 24 AccountManagerHelper.createAccountFromName("test@gmail.com");
|
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ |
D | InvalidationServiceTest.java | 25 import org.chromium.sync.signin.AccountManagerHelper; 524 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntent() 549 Account account2 = AccountManagerHelper.createAccountFromName("test2@example.com"); in testRegistrationIntent() 605 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentWithTypesAndObjectIds() 675 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentNoProxyTabsUsingReady() 705 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentNoProxyTabsAlreadyWithClientId() 742 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentWhenClientShouldNotBeRunning() 769 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testDeferredRegistrationsIssued()
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/ |
D | InvalidationControllerTest.java | 27 import org.chromium.sync.signin.AccountManagerHelper; 121 Account account = AccountManagerHelper.createAccountFromName("test@gmail.com"); in setupSync() 223 Account storedAccount = AccountManagerHelper.createAccountFromName("test@gmail.com"); in testRefreshShouldReadValuesFromDiskWithSpecificTypes() 262 Account storedAccount = AccountManagerHelper.createAccountFromName("test@gmail.com"); in testRefreshShouldReadValuesFromDiskWithAllTypes()
|
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
D | MockAccountManager.java | 28 import org.chromium.sync.signin.AccountManagerHelper; 116 if (!AccountManagerHelper.GOOGLE_ACCOUNT_TYPE.equals(type)) { in getAccountsByType() 190 AccountManager.KEY_ACCOUNT_TYPE, AccountManagerHelper.GOOGLE_ACCOUNT_TYPE); 290 if (!AccountManagerHelper.GOOGLE_ACCOUNT_TYPE.equals(accountType)) { 306 AccountManagerHelper.GOOGLE_ACCOUNT_TYPE, "p1", 0, 0, 0, 0);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
D | InvalidationService.java | 26 import org.chromium.sync.signin.AccountManagerHelper; 204 AccountManagerHelper.get(this).getNewAuthTokenFromForeground( in requestAuthToken() 206 new AccountManagerHelper.GetAuthTokenCallback() { in requestAuthToken()
|
D | SyncStatusHelper.java | 16 import org.chromium.sync.signin.AccountManagerHelper; 378 Account[] googleAccounts = AccountManagerHelper.get(mApplicationContext). in makeSyncable()
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/ |
D | SyncTestUtil.java | 23 import org.chromium.sync.signin.AccountManagerHelper; 292 Account account = AccountManagerHelper.createAccountFromName(accountName); in setupTestAccount()
|