Home
last modified time | relevance | path

Searched defs:account (Results 1 – 25 of 64) sorted by relevance

123

/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
DAccountManagerDelegate.java25 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, in getAuthToken()
28 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, in getAuthToken()
33 String blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) in blockingGetAuthToken()
38 boolean addAccountExplicitly(Account account, String password, Bundle userdata); in addAccountExplicitly()
40 AccountManagerFuture<Boolean> removeAccount(Account account, in removeAccount()
43 String getPassword(Account account); in getPassword()
45 void setPassword(Account account, String password); in setPassword()
47 void clearPassword(Account account); in clearPassword()
49 AccountManagerFuture<Bundle> confirmCredentials(Account account, Bundle bundle, in confirmCredentials()
52 String peekAuthToken(Account account, String authTokenType); in peekAuthToken()
DSystemAccountManagerDelegate.java39 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, in getAuthToken()
46 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, in getAuthToken()
59 public String blockingGetAuthToken(Account account, String authTokenType, in blockingGetAuthToken()
71 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly()
76 public AccountManagerFuture<Boolean> removeAccount(Account account, in removeAccount()
82 public String getPassword(Account account) { in getPassword()
87 public void setPassword(Account account, String password) { in setPassword()
92 public void clearPassword(Account account) { in clearPassword()
97 public AccountManagerFuture<Bundle> confirmCredentials(Account account, Bundle bundle, in confirmCredentials()
103 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken()
DAccountManagerHelper.java164 public String getAuthTokenFromBackground(Account account, String authTokenType) { in getAuthTokenFromBackground()
178 public void getAuthTokenFromForeground(Activity activity, Account account, String authTokenType, in getAuthTokenFromForeground()
193 ConnectionRetry(Account account, String authTokenType, GetAuthTokenCallback callback, in ConnectionRetry()
248 private void getAuthTokenAsynchronously(@Nullable Activity activity, final Account account, in getAuthTokenAsynchronously()
284 private void onGotAuthTokenResult(Account account, String authTokenType, String authToken, in onGotAuthTokenResult()
311 public String getNewAuthToken(Account account, String authToken, String authTokenType) { in getNewAuthToken()
336 public void getNewAuthTokenFromForeground(Account account, String authToken, in getNewAuthTokenFromForeground()
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
DSyncStatusHelper.java57 private void ensureSettingsAreForAccount(Account account) { in ensureSettingsAreForAccount()
73 public boolean getSyncAutomatically(Account account) { in getSyncAutomatically()
78 public void updateSyncSettingsForAccount(Account account) { in updateSyncSettingsForAccount()
83 public void setIsSyncable(Account account) { in setIsSyncable()
89 public void setSyncAutomatically(Account account, boolean value) { in setSyncAutomatically()
96 protected void updateSyncSettingsForAccountInternal(Account account) { in updateSyncSettingsForAccountInternal()
117 protected void setIsSyncableInternal(Account account) { in setIsSyncableInternal()
126 protected void setSyncAutomaticallyInternal(Account account, boolean value) { in setSyncAutomaticallyInternal()
279 public boolean isSyncEnabled(Account account) { in isSyncEnabled()
312 public boolean isSyncEnabledForChrome(Account account) { in isSyncEnabledForChrome()
[all …]
DSyncContentResolverDelegate.java26 void setSyncAutomatically(Account account, String authority, boolean sync); in setSyncAutomatically()
28 boolean getSyncAutomatically(Account account, String authority); in getSyncAutomatically()
30 void setIsSyncable(Account account, String authority, int syncable); in setIsSyncable()
32 int getIsSyncable(Account account, String authority); in getIsSyncable()
DSystemSyncContentResolverDelegate.java35 public boolean getSyncAutomatically(Account account, String authority) { in getSyncAutomatically()
40 public void setSyncAutomatically(Account account, String authority, boolean sync) { in setSyncAutomatically()
45 public void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable()
50 public int getIsSyncable(Account account, String authority) { in getIsSyncable()
DInvalidationIntentProtocol.java63 public static Intent createRegisterIntent(Account account, in createRegisterIntent()
88 public static Intent createRegisterIntent(Account account, int[] objectSources, in createRegisterIntent()
DInvalidationService.java84 Account account = intent.hasExtra(InvalidationIntentProtocol.EXTRA_ACCOUNT) ? in onHandleIntent() local
194 @Nullable Account account = ChromeSigninController.get(this).getSignedInUser(); in requestAuthToken() local
444 Account account = ChromeSigninController.get(this).getSignedInUser(); in requestSync() local
455 Bundle bundle, Account account, String contractAuthority) { in requestSyncFromContentResolver()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
DOAuth2TokenService.java37 void onRefreshTokenAvailable(Account account); in onRefreshTokenAvailable()
38 void onRefreshTokenRevoked(Account account); in onRefreshTokenRevoked()
80 Account account = accountManagerHelper.getAccountFromName(username); in getAccountOrNullFromUsername() local
108 Account account = getAccountOrNullFromUsername(context, username); in getOAuth2AuthToken() local
135 Account account, String scope, in getOAuth2AccessToken()
155 Context context, @Nullable Activity activity, Account account, String scope, in getOAuth2AccessTokenWithTimeout()
215 public void fireRefreshTokenAvailable(Account account) { in fireRefreshTokenAvailable()
224 Account account = AccountManagerHelper.createAccountFromName(accountName); in notifyRefreshTokenAvailable() local
234 public void fireRefreshTokenRevoked(Account account) { in fireRefreshTokenRevoked()
243 Account account = AccountManagerHelper.createAccountFromName(accountName); in notifyRefreshTokenRevoked() local
DAndroidProfileOAuth2TokenServiceHelper.java30 Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) { in getOAuth2AccessToken()
47 @Nullable Activity activity, Account account, String scope, in getOAuth2AccessTokenWithTimeout()
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/signin/
DSyncStatusHelperTest.java37 public boolean getSyncAutomatically(Account account, String authority) { in getSyncAutomatically()
43 public int getIsSyncable(Account account, String authority) { in getIsSyncable()
49 public void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable()
55 public void setSyncAutomatically(Account account, String authority, boolean sync) { in setSyncAutomatically()
72 protected void updateSyncSettingsForAccountInternal(Account account) { in updateSyncSettingsForAccountInternal()
78 protected void setIsSyncableInternal(Account account) { in setIsSyncableInternal()
84 protected void setSyncAutomaticallyInternal(Account account, boolean value) { in setSyncAutomaticallyInternal()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAccountTest.java18 Account account = new Account("name", "type"); in shouldHaveStringsConstructor() local
32 Account account = new Account(p); in shouldHaveParcelConstructor() local
61 Account account = new Account("name", "type"); in shouldHaveToString() local
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/
DSyncController.java98 final Account account = AccountManagerHelper.createAccountFromName(accountName); in signIn() local
149 Account account = mChromeSigninController.getSignedInUser(); in start() local
160 Account account = mChromeSigninController.getSignedInUser(); in stop() local
174 Account account = mChromeSigninController.getSignedInUser(); in syncStateChanged() local
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
DMockSyncContentResolverDelegate.java85 public boolean getSyncAutomatically(Account account, String authority) { in getSyncAutomatically()
93 public void setSyncAutomatically(Account account, String authority, boolean sync) { in setSyncAutomatically()
111 public void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable()
140 public int getIsSyncable(Account account, String authority) { in getIsSyncable()
151 private static String createKey(Account account, String authority) { in createKey()
DMockAccountManager.java132 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly()
145 public AccountManagerFuture<Boolean> removeAccount(Account account, in removeAccount()
DAccountHolder.java28 private AccountHolder(Account account, String password, Map<String, String> authTokens, in AccountHolder()
136 public Builder account(Account account) { in account() method in AccountHolder.Builder
/external/chromium_org/chrome/browser/extensions/api/identity/
Daccount_tracker.cc83 void AccountTracker::NotifyAccountAdded(const AccountState& account) { in NotifyAccountAdded()
89 void AccountTracker::NotifyAccountRemoved(const AccountState& account) { in NotifyAccountRemoved()
95 void AccountTracker::NotifySignInChanged(const AccountState& account) { in NotifySignInChanged()
110 AccountState& account = accounts_[account_key]; in UpdateSignInState() local
135 AccountState& account = accounts_[account_key]; in StopTrackingAccount() local
164 AccountState& account = accounts_[account_key]; in OnUserInfoFetchSuccess() local
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
DInvalidationController.java43 public void setRegisteredTypes(Account account, boolean allTypes, Set<ModelType> types) { in setRegisteredTypes()
60 Account account = invalidationPreferences.getSavedSyncedAccount(); in refreshRegisteredTypes() local
76 Account account = invalidationPreferences.getSavedSyncedAccount(); in setRegisteredObjectIds() local
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
DDelayedSyncController.java52 Account account = AccountManagerHelper.createAccountFromName(accountName); in resumeDelayedSyncs() local
63 void requestSyncOnBackgroundThread(final Context context, final Account account) { in requestSyncOnBackgroundThread()
93 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { in shouldPerformSync()
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
DInvalidationServiceTest.java524 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntent() local
605 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentWithTypesAndObjectIds() local
675 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentNoProxyTabsUsingReady() local
705 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentNoProxyTabsAlreadyWithClientId() local
742 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testRegistrationIntentWhenClientShouldNotBeRunning() local
769 Account account = AccountManagerHelper.createAccountFromName("test@example.com"); in testDeferredRegistrationsIssued() local
827 private Intent createRegisterIntent(Account account, boolean allTypes, Set<ModelType> types) { in createRegisterIntent()
834 Account account, int[] objectSources, String[] objectNames) { in createRegisterIntent()
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/
DSyncTestUtil.java258 public static void verifySyncIsSignedIn(Context context, Account account) in verifySyncIsSignedIn()
268 public static void verifySignedInWithAccount(Context context, Account account) { in verifySignedInWithAccount()
292 Account account = AccountManagerHelper.createAccountFromName(accountName); in setupTestAccount() local
323 public static void verifySyncIsDisabled(Context context, Account account) { in verifySyncIsDisabled()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DAutoLoginDelegate.java35 String initializeAccount(long nativeInfoBar, String realm, String account, String args) { in initializeAccount()
52 AutoLoginAccountDelegate account = in logIn() local
/external/chromium_org/chrome/browser/ui/android/infobars/
Dauto_login_infobar_delegate_android.h33 const std::string& account() const { return params_.header.account; } in account() function
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/
DOAuth2TokenServiceIntegrationTest.java244 public void onRefreshTokenAvailable(Account account) { in onRefreshTokenAvailable()
250 public void onRefreshTokenRevoked(Account account) { in onRefreshTokenRevoked()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwContentsClientAutoLoginTest.java42 public void notifyCalled(String realm, String account, String args) { in notifyCalled()
64 public void onReceivedLoginRequest(String realm, String account, String args) { in onReceivedLoginRequest()

123