OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:accountmanager
(Results
51 - 75
of
241
) sorted by null
1
2
3
4
5
6
7
8
9
10
/packages/apps/Settings/src/com/android/settings/accounts/
ProviderPreference.java
29
* The preference ultimately calls
AccountManager
.addAccount() for the account type.
AuthenticatorHelper.java
20
import android.accounts.
AccountManager
;
115
mAuthDescs =
AccountManager
.get(context).getAuthenticatorTypes();
123
accounts =
AccountManager
.get(context).getAccounts();
SyncSettings.java
20
import android.accounts.
AccountManager
;
76
AccountManager
.get(activity).addOnAccountsUpdatedListener(this, null, true);
94
AccountManager
.get(activity).removeOnAccountsUpdatedListener(this);
/packages/apps/Email/tests/src/com/android/email/service/
MailServiceTests.java
19
import android.accounts.
AccountManager
;
97
android.accounts.Account[] accountManagerAccounts =
AccountManager
.get(context)
116
// Note that we can't use mMockContext for
AccountManager
interactions, as it isn't a fully
123
AccountManager
.get(context).getAccountsByType(TEST_ACCOUNT_TYPE);
125
// Set up three accounts, both in
AccountManager
and in EmailProvider
136
// Delete account "2" from
AccountManager
163
// There should now be only one
AccountManager
account
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
Sources.java
25
import android.accounts.
AccountManager
;
56
private
AccountManager
mAccountManager;
68
* with {@link
AccountManager
} is finished, so don't call from a UI thread.
85
mAccountManager =
AccountManager
.get(mApplicationContext);
183
* {@link
AccountManager
} on the system.
189
final
AccountManager
am = mAccountManager;
250
final
AccountManager
am = mAccountManager;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardAccountView.java
19
import android.accounts.
AccountManager
;
224
Account[] accounts =
AccountManager
.get(mContext).getAccountsByTypeAsUser("com.google",
271
options.putString(
AccountManager
.KEY_PASSWORD, password);
272
AccountManager
.get(mContext).confirmCredentialsAsUser(account, options, null /* activity */,
278
final boolean verified = result.getBoolean(
AccountManager
.KEY_BOOLEAN_RESULT);
/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);
/frameworks/base/docs/html/training/id-auth/
custom_auth.jd
55
<p>Because they need to interact with the {@link android.accounts.
AccountManager
} system,
75
<p>It's important to understand that {@link android.accounts.
AccountManager
} is not an encryption
84
password to {@link android.accounts.
AccountManager
#addAccountExplicitly
85
AccountManager
.addAccountExplicitly()}. Instead, you should store a
101
<p>In order for the {@link android.accounts.
AccountManager
} to work with your custom account
103
need a class that implements the interfaces that {@link android.accounts.
AccountManager
} expects.
/frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java
23
import android.accounts.
AccountManager
;
100
* instead one uses an instance of {@link
AccountManager
}, which can be accessed as follows:
101
*
AccountManager
accountManager
=
AccountManager
.get(context);
214
ACCOUNTS_CHANGED_INTENT = new Intent(
AccountManager
.LOGIN_ACCOUNTS_CHANGED_ACTION);
613
if (result.getBoolean(
AccountManager
.KEY_BOOLEAN_RESULT, false)) {
659
if (result.getBoolean(
AccountManager
.KEY_BOOLEAN_RESULT, false)) {
[
all
...]
/packages/apps/Exchange/src/com/android/exchange/
CalendarSyncEnabler.java
23
import android.accounts.
AccountManager
;
69
Account[] exchangeAccounts =
AccountManager
.get(mContext)
/cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java
20
import android.accounts.
AccountManager
;
44
private static
AccountManager
sAccountManager;
50
sAccountManager =
AccountManager
.get(getContext());
79
private boolean removeAccount(
AccountManager
am, Account account,
/frameworks/base/core/java/android/accounts/
AccountManagerResponse.java
25
* Used to return a response to the
AccountManager
.
ChooseAccountTypeActivity.java
89
bundle.putString(
AccountManager
.KEY_ERROR_MESSAGE, "no allowable account types");
117
bundle.putString(
AccountManager
.KEY_ACCOUNT_TYPE, type);
127
for(AuthenticatorDescription desc :
AccountManager
.get(this).getAuthenticatorTypes()) {
/packages/apps/Settings/src/com/android/settings/
MasterClear.java
20
import android.accounts.
AccountManager
;
203
AccountManager
mgr =
AccountManager
.get(context);
215
AuthenticatorDescription[] descs =
AccountManager
.get(context).getAuthenticatorTypes();
/frameworks/base/docs/html/sdk/api_diff/11/changes/
pkg_android.accounts.html
84
<A NAME="
AccountManager
"></A>
85
<nobr><A HREF="android.accounts.
AccountManager
.html">
AccountManager
</A></nobr>
/frameworks/base/docs/html/sdk/api_diff/14/changes/
pkg_android.accounts.html
84
<A NAME="
AccountManager
"></A>
85
<nobr><A HREF="android.accounts.
AccountManager
.html">
AccountManager
</A></nobr>
/frameworks/base/docs/html/sdk/api_diff/18/changes/
pkg_android.accounts.html
91
<A NAME="
AccountManager
"></A>
92
<nobr><A HREF="android.accounts.
AccountManager
.html">
AccountManager
</A></nobr>
/frameworks/base/docs/html/sdk/api_diff/8/changes/
pkg_android.accounts.html
84
<A NAME="
AccountManager
"></A>
85
<nobr><A HREF="android.accounts.
AccountManager
.html">
AccountManager
</A></nobr>
/frameworks/base/packages/Shell/src/com/android/shell/
BugreportReceiver.java
23
import android.accounts.
AccountManager
;
143
final
AccountManager
am = (
AccountManager
) context.getSystemService(
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
LocalizedNameResolver.java
19
import android.accounts.
AccountManager
;
67
final
AccountManager
am =
AccountManager
.get(context);
/packages/apps/Email/src/com/android/email/service/
EmailServiceUtils.java
19
import android.accounts.
AccountManager
;
270
* Add an account to the
AccountManager
.
276
* @param callback A callback for when the
AccountManager
is done.
277
* @return The result of {@link
AccountManager
#addAccount}.
295
return
AccountManager
.get(context).addAccount(info.accountType, null, null, options, null,
336
// trying to create the
AccountManager
account (below)
344
// Get current settings for the existing
AccountManager
account
395
// Set up a new
AccountManager
account with new type and old settings
399
LogUtils.w(Logging.LOG_TAG, "Created new
AccountManager
account");
408
// Delete the
AccountManager
accoun
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoPriorityResolver.java
19
import android.accounts.
AccountManager
;
93
final
AccountManager
am =
AccountManager
.get(mContext);
/development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java
20
import android.accounts.
AccountManager
;
137
AccountManager
.get(this).addOnAccountsUpdatedListener(this, null, true);
235
// Remove
AccountManager
callback
236
AccountManager
.get(this).removeOnAccountsUpdatedListener(this);
250
AuthenticatorDescription[] accountTypes =
AccountManager
.get(this).getAuthenticatorTypes();
270
* @param dictionary An array of AuthenticatorDescriptions, as returned by
AccountManager
.
305
* type of account returned, and can be obtained from the system
AccountManager
.
/development/apps/Development/src/com/android/development/
AccountsTester.java
20
import android.accounts.
AccountManager
;
61
private
AccountManager
mAccountManager;
79
mAccountManager =
AccountManager
.get(this);
410
Parcelable[] accounts = result.getParcelableArray(
AccountManager
.KEY_ACCOUNTS);
459
String authToken = result.getString(
AccountManager
.KEY_AUTHTOKEN);
513
if (
AccountManager
.KEY_AUTHTOKEN.equals(key)) {
/cts/tests/tests/provider/src/android/provider/cts/
ContactsProvider2_AccountRemovalTest.java
22
import android.accounts.
AccountManager
;
57
private
AccountManager
mAccountManager;
63
mAccountManager =
AccountManager
.get(getContext());
Completed in 3345 milliseconds
1
2
3
4
5
6
7
8
9
10