Searched defs:account (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/android/infobars/
H A Dauto_login_infobar_delegate_android.h33 const std::string& account() const { return params_.header.account; } function in class:AutoLoginInfoBarDelegateAndroid
/external/chromium_org/components/auto_login_parser/
H A Dauto_login_parser.h28 // "account" string from x-auto-login.
29 std::string account; member in struct:auto_login_parser::HeaderData
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_local_account_extension_tracker.cc21 const DeviceLocalAccount& account,
26 if (account.type == DeviceLocalAccount::TYPE_KIOSK_APP) {
28 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, account.kiosk_app_id);
30 } else if (account.type == DeviceLocalAccount::TYPE_PUBLIC_SESSION) {
20 DeviceLocalAccountExtensionTracker( const DeviceLocalAccount& account, CloudPolicyStore* store, SchemaRegistry* schema_registry) argument
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_provider_unittest.cc269 em::DeviceLocalAccountInfoProto* account = local
271 account->set_deprecated_public_session_id(
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPeriodicSync.java17 public void __constructor__(Account account, String authority, Bundle extras, long period) throws Exception { argument
18 setField("account", account);
H A DShadowAccountManager.java50 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) { argument
51 //TODO: Add complete activity to perform the account intent dance.
52 final Account finalAccount = account;
99 private void addBundleResults(Bundle bundle, final Account account) {
101 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
102 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
109 //TODO: Add complete activity to perform the account intent dance.
181 for (Account account : accounts) {
182 if (accountType.equals(account.type)) {
183 accountList.add(account);
191 peekAuthToken(Account account, String authTokenType) argument
196 setCachedAuthToken(Account account, String authTokenType, String authTokenValue) argument
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
H A DAndroidProfileOAuth2TokenServiceHelper.java30 Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) {
31 OAuth2TokenService.getOAuth2AccessToken(context, activity, account, scope, callback);
47 @Nullable Activity activity, Account account, String scope,
50 context, activity, account, scope, timeout, unit);
29 getOAuth2AccessToken(Context context, @Nullable Activity activity, Account account, String scope, AccountManagerHelper.GetAuthTokenCallback callback) argument
46 getOAuth2AccessTokenWithTimeout(Context context, @Nullable Activity activity, Account account, String scope, long timeout, TimeUnit unit) argument
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
H A DSyncContentResolverDelegate.java26 void setSyncAutomatically(Account account, String authority, boolean sync); argument
28 boolean getSyncAutomatically(Account account, String authority); argument
30 void setIsSyncable(Account account, String authority, int syncable); argument
32 int getIsSyncable(Account account, String authority); argument
H A DSystemSyncContentResolverDelegate.java35 public boolean getSyncAutomatically(Account account, String authority) { argument
36 return ContentResolver.getSyncAutomatically(account, authority);
40 public void setSyncAutomatically(Account account, String authority, boolean sync) { argument
41 ContentResolver.setSyncAutomatically(account, authority, sync);
45 public void setIsSyncable(Account account, String authority, int syncable) { argument
46 ContentResolver.setIsSyncable(account, authority, syncable);
50 public int getIsSyncable(Account account, String authority) { argument
51 return ContentResolver.getIsSyncable(account, authority);
H A DInvalidationIntentProtocol.java32 * Parcelable-valued intent extra containing the account of the user.
34 public static final String EXTRA_ACCOUNT = "account";
62 public static Intent createRegisterIntent(Account account, argument
77 registerIntent.putExtra(EXTRA_ACCOUNT, account);
87 public static Intent createRegisterIntent(Account account, int[] objectSources, argument
107 registerIntent.putExtra(EXTRA_ACCOUNT, account);
H A DInvalidationPreferences.java66 /** Shared preference key to store the name of the account in use. */
70 /** Shared preference key to store the type of account in use. */
147 /** Returns the saved account, or {@code null} if none exists. */
158 /** Sets the saved account to {@code account} in {@code editContext}. */
159 public void setAccount(EditContext editContext, Account account) { argument
160 editContext.mEditor.putString(PrefKeys.SYNC_ACCT_NAME, account.name);
161 editContext.mEditor.putString(PrefKeys.SYNC_ACCT_TYPE, account.type);
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwContentsIoThreadClient.java40 public abstract void newLoginRequest(String realm, String account, String args); argument
H A DAwContentsClientCallbackHelper.java54 LoginRequestInfo(String realm, String account, String args) { argument
56 mAccount = account;
172 public void postOnReceivedLoginRequest(String realm, String account, String args) { argument
173 LoginRequestInfo info = new LoginRequestInfo(realm, account, args);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
H A DAutoLoginAccountDelegate.java31 String realm, String account, String accountArgs) {
46 Log.i("InfoBar", "auto-login failed because account is no longer valid");
83 // Can't rely on the Bundle's auth token or account name as they might be null
30 AutoLoginAccountDelegate(Activity activity, AutoLoginProcessor autoLoginProcessor, String realm, String account, String accountArgs) argument
H A DAutoLoginDelegate.java15 * Offers functionality to log in using the account in the system and keeps track
32 * @return the account name of the device if any.
35 String initializeAccount(long nativeInfoBar, String realm, String account, String args) { argument
37 new AutoLoginAccountDelegate(mActivity, mAutoLoginProcessor, realm, account, args);
52 AutoLoginAccountDelegate account =
56 if (account == null || !account.logIn()) {
64 * Clear account information for cancelled login requests.
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/invalidation/
H A DInvalidationController.java38 * @param account Account of the user.
42 public void setRegisteredTypes(Account account, boolean allTypes, Set<ModelType> types) { argument
44 InvalidationIntentProtocol.createRegisterIntent(account, allTypes, types);
59 Account account = invalidationPreferences.getSavedSyncedAccount();
62 setRegisteredTypes(account, allTypes, types);
75 Account account = invalidationPreferences.getSavedSyncedAccount();
78 account, objectSources, objectNames);
141 * identifier that is unique for every invalidation client instance in an account as the client
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/
H A DDelayedSyncController.java51 Account account = AccountManagerHelper.createAccountFromName(accountName);
52 requestSyncOnBackgroundThread(context, account);
62 void requestSyncOnBackgroundThread(final Context context, final Account account) { argument
68 ContentResolver.requestSync(account, contractAuthority, new Bundle());
92 boolean shouldPerformSync(Context ctx, Bundle extras, Account account) { argument
100 setDelayedSync(ctx, account.name);
H A DChromiumSyncAdapter.java57 public void onPerformSync(Account account, Bundle extras, String authority, argument
59 if (!DelayedSyncController.getInstance().shouldPerformSync(getContext(), extras, account)) {
68 getStartupCallback(mApplication, account, extras, syncResult, semaphore);
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
H A DDelayedSyncControllerTest.java38 void requestSyncOnBackgroundThread(Context context, Account account) { argument
/external/chromium_org/google_apis/gaia/
H A Dgaia_auth_util.cc109 // Get list of account info.
115 // account in the list is the primary account.
117 base::ListValue* account; local
118 if (account_list->GetList(i, &account) && account != NULL) {
121 if (account->GetString(3, &email) && !email.empty()) {
127 if (!account->GetInteger(9, &is_email_valid))
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/
H A DTestableInvalidationService.java85 public void requestSyncFromContentResolver(Bundle bundle, Account account, argument
88 super.requestSyncFromContentResolver(bundle, account, contractAuthority);
/external/chromium_org/chrome/browser/sync/
H A Dstartup_controller_unittest.cc47 void set_account(const std::string& account) { account_ = account; } argument
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
H A DAccountManagerDelegate.java20 * Wrapper around the Android account manager, to facilitate dependency injection during testing.
25 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, argument
28 AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, argument
33 String blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument
38 boolean addAccountExplicitly(Account account, String password, Bundle userdata); argument
40 AccountManagerFuture<Boolean> removeAccount(Account account, argument
43 String getPassword(Account account); argument
45 void setPassword(Account account, String password); argument
47 void clearPassword(Account account); argument
49 AccountManagerFuture<Bundle> confirmCredentials(Account account, Bundl argument
52 peekAuthToken(Account account, String authTokenType) argument
[all...]
H A DSystemAccountManagerDelegate.java23 * Android account manager.
39 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, argument
41 return mAccountManager.getAuthToken(account, authTokenType, null, notifyAuthFailure,
46 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, argument
49 return mAccountManager.getAuthToken(account, authTokenType, options, activity, callback,
59 public String blockingGetAuthToken(Account account, String authTokenType, argument
62 return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure);
71 public boolean addAccountExplicitly(Account account, String password, Bundle userdata) { argument
72 return mAccountManager.addAccountExplicitly(account, password, userdata);
76 public AccountManagerFuture<Boolean> removeAccount(Account account, argument
82 getPassword(Account account) argument
87 setPassword(Account account, String password) argument
92 clearPassword(Account account) argument
97 confirmCredentials(Account account, Bundle bundle, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
103 peekAuthToken(Account account, String authTokenType) argument
[all...]
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
H A DMockSyncContentResolverDelegate.java85 public boolean getSyncAutomatically(Account account, String authority) { argument
86 String key = createKey(account, authority);
93 public void setSyncAutomatically(Account account, String authority, boolean sync) { argument
94 String key = createKey(account, authority);
97 throw new IllegalArgumentException("Account " + account +
111 public void setIsSyncable(Account account, String authority, int syncable) { argument
112 String key = createKey(account, authority);
140 public int getIsSyncable(Account account, String authority) { argument
141 String key = createKey(account, authority);
151 private static String createKey(Account account, Strin argument
[all...]

Completed in 393 milliseconds

123