/cts/tests/tests/permission/src/android/permission/cts/ |
AccountManagerTest.java | 31 private AccountManager mAccountManager; 36 mAccountManager = AccountManager.get(getContext()); 37 assertNotNull(mAccountManager); 48 mAccountManager.getAccounts(); 63 mAccountManager.getAccountsByType(null); 79 mAccountManager.getAccountsByTypeAndFeatures("", null, null, null);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
SystemAccountManagerDelegate.java | 27 private final AccountManager mAccountManager; 30 mAccountManager = AccountManager.get(context); 35 return mAccountManager.getAccountsByType(type); 41 return mAccountManager.getAuthToken(account, authTokenType, null, notifyAuthFailure, 49 return mAccountManager.getAuthToken(account, authTokenType, options, activity, callback, 55 mAccountManager.invalidateAuthToken(accountType, authToken); 62 return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure); 67 return mAccountManager.getAccounts(); 72 return mAccountManager.addAccountExplicitly(account, password, userdata); 78 return mAccountManager.removeAccount(account, callback, handler) [all...] |
AccountManagerHelper.java | 51 private final AccountManagerDelegate mAccountManager; 71 mAccountManager = accountManager; 111 Account[] accounts = mAccountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE); 119 return mAccountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE); 130 Account[] accounts = mAccountManager.getAccountsByType(GOOGLE_ACCOUNT_TYPE); 150 AuthenticatorDescription[] descs = mAccountManager.getAuthenticatorTypes(); 165 AccountManagerFuture<Bundle> future = mAccountManager.getAuthToken(account, 254 future = mAccountManager.getAuthToken( 257 future = mAccountManager.getAuthToken( 316 mAccountManager.invalidateAuthToken(GOOGLE_ACCOUNT_TYPE, authToken) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsProvider2_AccountRemovalTest.java | 57 private AccountManager mAccountManager; 63 mAccountManager = AccountManager.get(getContext()); 72 mAccountManager.addAccountExplicitly(ACCT_1, null, null); 73 mAccountManager.addAccountExplicitly(ACCT_2, null, null); 77 mAccountManager.removeAccount(ACCT_2, null, null); 80 mAccountManager.removeAccount(ACCT_1, null, null); 85 mAccountManager.addAccountExplicitly(ACCT_1, null, null); 86 mAccountManager.addAccountExplicitly(ACCT_2, null, null); 91 mAccountManager.removeAccount(ACCT_2, null, null); 95 mAccountManager.removeAccount(ACCT_1, null, null) [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 23 private MockAccountManager mAccountManager; 31 mAccountManager = new MockAccountManager(mContext, getInstrumentation().getContext()); 32 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); 47 mAccountManager.addAccountHolderExplicitly(accountHolder1); 59 mAccountManager.addAccountHolderExplicitly(accountHolder1); 62 mAccountManager.addAccountHolderExplicitly(accountHolder2); 99 mAccountManager.addAccountHolderExplicitly(accountHolder);
|
OAuth2TokenServiceIntegrationTest.java | 41 private MockAccountManager mAccountManager; 53 mAccountManager = new MockAccountManager(mContext, getInstrumentation().getContext()); 54 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); 173 mAccountManager.addAccountHolderExplicitly(TEST_ACCOUNT_HOLDER_1); 188 mAccountManager.addAccountHolderExplicitly(TEST_ACCOUNT_HOLDER_1); 206 mAccountManager.addAccountHolderExplicitly(TEST_ACCOUNT_HOLDER_1); 207 mAccountManager.addAccountHolderExplicitly(TEST_ACCOUNT_HOLDER_2);
|
/packages/apps/Browser/src/com/android/browser/ |
DeviceAccountLogin.java | 34 private final AccountManager mAccountManager; 56 mAccountManager = AccountManager.get(activity); 60 mAccounts = mAccountManager.getAccountsByType(realm); 73 mAccountManager.getAuthToken(a, mAuthToken, null, 131 mAccountManager.getAuthToken(
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
AutoLoginAccountDelegate.java | 25 private final AccountManager mAccountManager; 34 mAccountManager = AccountManager.get(activity); 51 mAccountManager.getAuthToken(mAccount, mAuthTokenType, null, mActivity, this, null);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestSyncAdapter.java | 35 private final AccountManager mAccountManager; 42 mAccountManager = AccountManager.get(mContext);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 56 private final AccountManager mAccountManager; 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/ |
AccountsTester.java | 61 private AccountManager mAccountManager; 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.removeAccount(account, new AccountManagerCallback<Boolean>() [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivity.java | 60 private AccountManager mAccountManager; 99 mAccountManager = AccountManager.get(this); 174 mAccountManager.setPassword(account, mPassword); 196 mAccountManager.addAccountExplicitly(account, mPassword, null); 200 mAccountManager.setPassword(account, mPassword);
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/ |
SyncTest.java | 44 private MockAccountManager mAccountManager; 55 mAccountManager = new MockAccountManager(mContext, getInstrumentation().getContext()); 56 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager); 156 Account defaultTestAccount = SyncTestUtil.setupTestAccount(mAccountManager,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 56 private AccountManager mAccountManager; 85 mAccountManager = AccountManager.get(mApplicationContext); 108 mAccountManager.addOnAccountsUpdatedListener(this, null, false); 189 final AccountManager am = mAccountManager; 250 final AccountManager am = mAccountManager;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPatternView.java | 299 private final AccountManager mAccountManager; 304 mAccountManager = accountManager; 317 mAccountManager.confirmCredentialsAsUser(mAccounts[mAccountIndex], null, null, this,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
AccountTypeManager.java | 195 private AccountManager mAccountManager; 293 mAccountManager = AccountManager.get(mContext); 329 mAccountManager.addOnAccountsUpdatedListener(this, mListenerHandler, false); 396 final AccountManager am = mAccountManager; 480 Account[] accounts = mAccountManager.getAccounts(); [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 41 protected AccountManager mAccountManager; 75 mAccountManager = AccountManager.get(mTargetContext); 352 Account[] accounts = mAccountManager.getAccountsByType("com.google");
|
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 136 private final AccountManager mAccountManager; 140 mAccountManager = AccountManager.get(context); 142 mAccountManager = null; 147 if (mAccountManager != null) { 148 return mAccountManager.getAccounts().length; [all...] |