Home
last modified time | relevance | path

Searched refs:mAccount (Results 1 – 13 of 13) sorted by relevance

/frameworks/volley/src/test/java/com/android/volley/toolbox/
DAndroidAuthenticatorTest.java41 private Account mAccount; field in AndroidAuthenticatorTest
49 mAccount = new Account("coolperson", "cooltype"); in setUp()
50 mAuthenticator = new AndroidAuthenticator(mAccountManager, mAccount, "cooltype", false); in setUp()
55 … when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); in failedGetAuthToken()
65 … when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); in resultContainsIntent()
75 … when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); in missingAuthToken()
92 … when(mAccountManager.getAuthToken(mAccount, "cooltype", false, null, null)).thenReturn(mFuture); in goodToken()
103 new AndroidAuthenticator(context, mAccount, "cooltype"); in publicMethods()
104 new AndroidAuthenticator(context, mAccount, "cooltype", true); in publicMethods()
105 Assert.assertSame(mAccount, mAuthenticator.getAccount()); in publicMethods()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java44 private Account mAccount; field in GrantCredentialsPermissionActivity
66 mAccount = extras.getParcelable(EXTRAS_ACCOUNT); in onCreate()
72 if (mAccount == null || mAuthTokenType == null || packages == null) { in onCreate()
81 accountTypeLabel = getAccountLabel(mAccount); in onCreate()
112 AccountManager.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null); in onCreate()
129 ((TextView) findViewById(R.id.account_name)).setText(mAccount.name); in onCreate()
160 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true); in onClick()
168 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false); in onClick()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DAndroidAuthenticator.java34 private final Account mAccount; field in AndroidAuthenticator
64 mAccount = account; in AndroidAuthenticator()
73 return mAccount; in getAccount()
87 AccountManagerFuture<Bundle> future = mAccountManager.getAuthToken(mAccount, in getAuthToken()
112 mAccountManager.invalidateAuthToken(mAccount.type, authToken); in invalidateAuthToken()
/frameworks/base/core/java/android/content/
DSyncActivityTooManyDeletes.java42 private Account mAccount; field in SyncActivityTooManyDeletes
57 mAccount = (Account) extras.getParcelable("account"); in onCreate()
82 mNumDeletes, mProvider, mAccount.name)); in onCreate()
122 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncReallyDelete()
131 ContentResolver.requestSync(mAccount, mAuthority, extras); in startSyncUndoDeletes()
DAbstractThreadedSyncAdapter.java241 private final Account mAccount; field in AbstractThreadedSyncAdapter.SyncThread
250 mAccount = account; in SyncThread()
272 AbstractThreadedSyncAdapter.this.onPerformSync(mAccount, mExtras, in run()
278 AbstractThreadedSyncAdapter.this.onSecurityException(mAccount, mExtras, in run()
DSyncRequest.java165 mAccountToSync = b.mAccount; in SyncRequest()
243 private Account mAccount; field in SyncRequest.Builder
374 mAccount = account; in setSyncAdapter()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntryConstructor.java54 private final Account mAccount; field in VCardEntryConstructor
78 mAccount = account; in VCardEntryConstructor()
106 mCurrentEntry = new VCardEntry(mVCardType, mAccount); in onEntryStarted()
DVCardEntry.java1743 private final Account mAccount; field in VCardEntry
1764 mAccount = account; in VCardEntry()
2558 if (mAccount != null) { in constructInsertOperations()
2559 builder.withValue(RawContacts.ACCOUNT_NAME, mAccount.name); in constructInsertOperations()
2560 builder.withValue(RawContacts.ACCOUNT_TYPE, mAccount.type); in constructInsertOperations()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java180 if (mAccount != null) { in performFiltering()
181 builder.appendQueryParameter(PRIMARY_ACCOUNT_NAME, mAccount.name); in performFiltering()
182 builder.appendQueryParameter(PRIMARY_ACCOUNT_TYPE, mAccount.type); in performFiltering()
255 private Account mAccount; field in BaseEmailAddressAdapter
282 mAccount = account; in setAccount()
406 if (mAccount != null && mAccount.name.equals(partition.accountName) && in onDirectoryLoadFinished()
407 mAccount.type.equals(partition.accountType)) { in onDirectoryLoadFinished()
/frameworks/opt/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java379 return setupOtherDirectories(mContext, directoryCursor, mAccount); in searchOtherDirectories()
501 private Account mAccount; field in BaseRecipientAdapter
677 mAccount = account; in setAccount()
948 if (mAccount != null) { in doQuery()
949 builder.appendQueryParameter(PRIMARY_ACCOUNT_NAME, mAccount.name); in doQuery()
950 builder.appendQueryParameter(PRIMARY_ACCOUNT_TYPE, mAccount.type); in doQuery()
1017 return mAccount; in getAccount()
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd421 Account mAccount;
432 mAccount = CreateSyncAccount(this);
457 ContentResolver.requestSync(mAccount, AUTHORITY, settingsBundle);
Dcreating-sync-adapter.jd391 Account mAccount;
398 mAccount = CreateSyncAccount(this);
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1298 private final Account mAccount; field in AccountManagerService.TestFeaturesSession
1306 mAccount = account; in TestFeaturesSession()
1312 mAuthenticator.hasFeatures(this, mAccount, mFeatures); in run()
1348 + ", " + mAccount in toDebugString()
1602 final Account mAccount; field in AccountManagerService.RemoveAccountSession
1608 mAccount = account; in RemoveAccountSession()
1614 + ", account " + mAccount; in toDebugString()
1619 mAuthenticator.getAccountRemovalAllowed(this, mAccount); in run()
1629 removeAccountInternal(mAccounts, mAccount, getCallingUid()); in onResult()