Home
last modified time | relevance | path

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

/development/apps/Development/src/com/android/development/
DAccountsTester.java61 private AccountManager mAccountManager; field in AccountsTester
79 mAccountManager = AccountManager.get(this); in onCreate()
165 mAuthenticatorDescs = mAccountManager.getAuthenticatorTypes(); in initializeAuthenticatorsSpinner()
196 mAccountManager.addOnAccountsUpdatedListener(this, mainHandler, in onStart()
202 mAccountManager.removeOnAccountsUpdatedListener(this); in onStop()
208 onAccountsUpdated(mAccountManager.getAccounts()); in onClick()
211 onAccountsUpdated(mAccountManager.getAccountsByType(type)); in onClick()
222 mAccountManager.addAccount(getSelectedAuthenticator().type, in onClick()
228 mAccountManager.editProperties(getSelectedAuthenticator().type, in onClick()
270 mAccountManager.removeAccount(account, new AccountManagerCallback<Boolean>() { in onContextItemSelected()
[all …]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
DSyncAdapter.java56 private final AccountManager mAccountManager; field in SyncAdapter
63 mAccountManager = AccountManager.get(context); in SyncAdapter()
90 final String authtoken = mAccountManager.blockingGetAuthToken(account, in onPerformSync()
157 String markerString = mAccountManager.getUserData(account, SYNC_MARKER_KEY); in getServerSyncMarker()
170 mAccountManager.setUserData(account, SYNC_MARKER_KEY, Long.toString(marker)); in setServerSyncMarker()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java60 private AccountManager mAccountManager; field in AuthenticatorActivity
99 mAccountManager = AccountManager.get(this); in onCreate()
174 mAccountManager.setPassword(account, mPassword); in finishConfirmCredentials()
196 mAccountManager.addAccountExplicitly(account, mPassword, null); in finishLogin()
200 mAccountManager.setPassword(account, mPassword); in finishLogin()