Searched refs:mAccountManager (Results 1 - 3 of 3) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
H A DSyncAdapter.java56 private final AccountManager mAccountManager; field in class:SyncAdapter
63 mAccountManager = AccountManager.get(context);
90 final String authtoken = mAccountManager.blockingGetAuthToken(account,
169 String markerString = mAccountManager.getUserData(account, SYNC_MARKER_KEY);
182 mAccountManager.setUserData(account, SYNC_MARKER_KEY, Long.toString(marker));
/development/apps/Development/src/com/android/development/
H A DAccountsTester.java61 private AccountManager mAccountManager; field in class:AccountsTester
79 mAccountManager = AccountManager.get(this);
165 mAuthenticatorDescs = mAccountManager.getAuthenticatorTypes();
196 mAccountManager.addOnAccountsUpdatedListener(this, mainHandler,
202 mAccountManager.removeOnAccountsUpdatedListener(this);
208 onAccountsUpdated(mAccountManager.getAccounts());
211 onAccountsUpdated(mAccountManager.getAccountsByType(type));
222 mAccountManager.addAccount(getSelectedAuthenticator().type,
228 mAccountManager.editProperties(getSelectedAuthenticator().type,
270 mAccountManager
[all...]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticatorActivity.java60 private AccountManager mAccountManager; field in class:AuthenticatorActivity
99 mAccountManager = AccountManager.get(this);
174 mAccountManager.setPassword(account, mPassword);
196 mAccountManager.addAccountExplicitly(account, mPassword, null);
200 mAccountManager.setPassword(account, mPassword);

Completed in 169 milliseconds