OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AccountManager
(Results
26 - 50
of
126
) sorted by null
1
2
3
4
5
6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
AccountUtils.java
20
import android.accounts.
AccountManager
;
34
return
AccountManager
.get(context).getAccounts();
/frameworks/base/core/java/android/accounts/
AbstractAccountAuthenticator.java
36
* with an intent with action {@link
AccountManager
#ACTION_AUTHENTICATOR_INTENT}. This service
57
* string that user will use when making calls on the {@link
AccountManager
} and it also
87
* {@link
AccountManager
#KEY_INTENT}.
90
* the {@link AccountAuthenticatorResponse} as {@link
AccountManager
#KEY_ACCOUNT_MANAGER_RESPONSE}.
133
Log.v(TAG, "addAccount: result " +
AccountManager
.sanitizeResult(result));
155
+
AccountManager
.sanitizeResult(result));
174
result.putString(
AccountManager
.KEY_AUTH_TOKEN_LABEL,
179
+
AccountManager
.sanitizeResult(result));
201
Log.v(TAG, "getAuthToken: result " +
AccountManager
.sanitizeResult(result));
226
+
AccountManager
.sanitizeResult(result))
[
all
...]
ChooseAccountActivity.java
43
private static final String TAG = "
AccountManager
";
56
mAccounts = getIntent().getParcelableArrayExtra(
AccountManager
.KEY_ACCOUNTS);
58
getIntent().getParcelableExtra(
AccountManager
.KEY_ACCOUNT_MANAGER_RESPONSE);
92
for(AuthenticatorDescription desc :
AccountManager
.get(this).getAuthenticatorTypes()) {
123
bundle.putString(
AccountManager
.KEY_ACCOUNT_NAME, account.name);
124
bundle.putString(
AccountManager
.KEY_ACCOUNT_TYPE, account.type);
134
mAccountManagerResponse.onError(
AccountManager
.ERROR_CODE_CANCELED, "canceled");
ChooseTypeAndAccountActivity.java
67
* This is passed as the addAccountOptions parameter in
AccountManager
.addAccount()
73
* This is passed as the requiredFeatures parameter in
AccountManager
.addAccount()
80
* This is passed as the authTokenType string in
AccountManager
.addAccount()
196
mAccounts = getAcceptableAccountChoices(
AccountManager
.get(this));
211
final
AccountManager
accountManager
=
AccountManager
.get(this);
213
mAccounts = getAcceptableAccountChoices(
accountManager
);
323
String accountType = data.getStringExtra(
AccountManager
.KEY_ACCOUNT_TYPE);
336
accountName = data.getStringExtra(
AccountManager
.KEY_ACCOUNT_NAME)
[
all
...]
GrantCredentialsPermissionActivity.java
112
AccountManager
.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null);
135
AccountManager
.get(this).getAuthenticatorTypes();
160
AccountManager
.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true);
168
AccountManager
.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false);
180
* Sends the result or a {@link
AccountManager
#ERROR_CODE_CANCELED} error if a
191
response.onError(
AccountManager
.ERROR_CODE_CANCELED, "canceled");
/packages/apps/Browser/src/com/android/browser/
GoogleAccountLogin.java
20
import android.accounts.
AccountManager
;
174
AccountManager
am =
AccountManager
.get(mActivity);
182
//
AccountManager
callbacks.
187
AccountManager
.KEY_AUTHTOKEN);
196
AccountManager
.get(mActivity).getAuthToken(
244
AccountManager
.get(mActivity).getAuthToken(
249
return
AccountManager
.get(ctx).getAccountsByType(GOOGLE);
AccountsChangedReceiver.java
19
import android.accounts.
AccountManager
;
54
Account[] accounts =
AccountManager
.get(mContext).getAccounts();
/packages/apps/Contacts/src/com/android/contacts/util/
AccountPromptUtils.java
19
import android.accounts.
AccountManager
;
48
* The following intent keys are understood by the {@link
AccountManager
} and should not be
63
* account type is not available from the {@link
AccountManager
}.
67
// {@link
AccountManager
} to show a similar account prompt
68
// (see {@link
AccountManager
#addAccount()} in {@link #launchAccountPrompt()}
71
AccountManager
.get(context).getAuthenticatorTypes();
99
AccountManager
.get(activity).addAccount(GoogleAccountType.ACCOUNT_TYPE, null, null, options,
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
SelectAccountDialogFragment.java
20
import android.accounts.
AccountManager
;
46
AccountManager
accountManager
=
AccountManager
.get(getActivity());
47
Account[] accounts =
accountManager
.getAccounts();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
MainSettings.java
20
import android.accounts.
AccountManager
;
45
private
AccountManager
mAccountManager;
58
mAccountManager =
AccountManager
.get(this);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
RemoveAccountDialog.java
27
import android.accounts.
AccountManager
;
75
AccountManager
manager =
AccountManager
.get(getApplicationContext());
AccountSettingsActivity.java
20
import android.accounts.
AccountManager
;
78
for (Account account :
AccountManager
.get(this).getAccounts()) {
AuthenticatorHelper.java
20
import android.accounts.
AccountManager
;
100
mAuthDescs =
AccountManager
.get(context).getAuthenticatorTypes();
108
accounts =
AccountManager
.get(context).getAccounts();
/cts/tests/tests/accounts/src/android/accounts/cts/
AccountManagerTest.java
20
import android.accounts.
AccountManager
;
91
private static
AccountManager
am;
120
am =
AccountManager
.get(mContext);
129
AccountManager
.KEY_BOOLEAN_RESULT));
131
AccountManager
.KEY_BOOLEAN_RESULT));
140
assertEquals(ACCOUNT_NAME, result.get(
AccountManager
.KEY_ACCOUNT_NAME));
141
assertEquals(ACCOUNT_TYPE, result.get(
AccountManager
.KEY_ACCOUNT_TYPE));
142
assertEquals(AUTH_TOKEN, result.get(
AccountManager
.KEY_AUTHTOKEN));
146
assertEquals(ACCOUNT_NAME, result.get(
AccountManager
.KEY_ACCOUNT_NAME));
147
assertEquals(ACCOUNT_TYPE, result.get(
AccountManager
.KEY_ACCOUNT_TYPE))
[
all
...]
/packages/apps/Email/tests/src/com/android/email/
AccountTestCase.java
19
import android.accounts.
AccountManager
;
51
return
AccountManager
.get(getContext()).getAccountsByType(TEST_ACCOUNT_TYPE);
60
AccountManager
.get(getContext()).addAccountExplicitly(account, "password", null);
88
AccountManager
.get(getContext()).removeAccount(account, null, null);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
IntentHelper.java
8
import android.accounts.
AccountManager
;
50
Account[] accounts =
AccountManager
.get(context).getAccounts();
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java
25
import android.accounts.
AccountManager
;
60
private
AccountManager
mAccountManager;
99
mAccountManager =
AccountManager
.get(this);
176
intent.putExtra(
AccountManager
.KEY_BOOLEAN_RESULT, result);
203
intent.putExtra(
AccountManager
.KEY_ACCOUNT_NAME, mUsername);
204
intent.putExtra(
AccountManager
.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslatorTest.java
3
import android.accounts.
AccountManager
;
39
AccountManager
.get(context);
212
@Implements(
AccountManager
.class)
217
public static
AccountManager
get(Context context) {
220
return mock(
AccountManager
.class);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardAccountView.java
19
import android.accounts.
AccountManager
;
223
Account[] accounts =
AccountManager
.get(mContext).getAccountsByTypeAsUser("com.google",
270
options.putString(
AccountManager
.KEY_PASSWORD, password);
271
AccountManager
.get(mContext).confirmCredentialsAsUser(account, options, null /* activity */,
277
final boolean verified = result.getBoolean(
AccountManager
.KEY_BOOLEAN_RESULT);
/packages/apps/Settings/src/com/android/settings/accounts/
AuthenticatorHelper.java
22
import android.accounts.
AccountManager
;
182
mAuthDescs =
AccountManager
.get(context)
210
accounts =
AccountManager
.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier());
229
final Account[] accounts =
AccountManager
.get(mContext)
237
intentFilter.addAction(
AccountManager
.LOGIN_ACCOUNTS_CHANGED_ACTION);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java
28
import android.accounts.
AccountManager
;
56
private final
AccountManager
mAccountManager;
63
mAccountManager =
AccountManager
.get(context);
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
SystemAccountManagerDelegate.java
8
import android.accounts.
AccountManager
;
27
private final
AccountManager
mAccountManager;
30
mAccountManager =
AccountManager
.get(context.getApplicationContext());
/packages/apps/Calendar/src/com/android/calendar/
CalendarSettingsActivity.java
20
import android.accounts.
AccountManager
;
46
Account[] accounts =
AccountManager
.get(this).getAccounts();
124
Account[] accounts =
AccountManager
.get(CalendarSettingsActivity.this).getAccounts();
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
LocalizedNameResolver.java
19
import android.accounts.
AccountManager
;
63
final
AccountManager
am =
AccountManager
.get(context);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoPriorityResolver.java
19
import android.accounts.
AccountManager
;
106
final
AccountManager
am =
AccountManager
.get(mContext);
Completed in 1948 milliseconds
1
2
3
4
5
6