/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSettingsTests.java | 46 private Account mAccount; 72 if (mAccount != null) { 156 mAccount = new Account(); 157 mAccount.setSenderName(name); 159 mAccount.mEmailAddress = "user@server.com"; 160 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthRecv(mContext), storeUri); 161 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthSend(mContext), senderUri); 162 mAccount.save(mContext); 163 mAccountId = mAccount.mId;
|
/frameworks/base/core/java/android/content/ |
SyncActivityTooManyDeletes.java | 42 private Account mAccount; 57 mAccount = (Account) extras.getParcelable("account"); 82 mNumDeletes, mProvider, mAccount.name)); 94 // if (desc.type.equals(mAccount.type)) { 122 ContentResolver.requestSync(mAccount, mAuthority, extras); 131 ContentResolver.requestSync(mAccount, mAuthority, extras);
|
AbstractThreadedSyncAdapter.java | 223 private final Account mAccount; 232 mAccount = account; 254 AbstractThreadedSyncAdapter.this.onPerformSync(mAccount, mExtras,
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
AndroidAuthenticator.java | 34 private final Account mAccount; 45 mAccount = account; 53 return mAccount; 59 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount, 84 AccountManager.get(mContext).invalidateAuthToken(mAccount.type, authToken);
|
/packages/apps/Email/tests/src/com/android/email/ |
MessagingControllerUnitTests.java | 36 private Account mAccount; 45 if (mAccount != null) { 79 mAccount = new Account(); 80 mAccount.save(getContext()); 82 mAccountId = mAccount.mId;
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardEntryConstructor.java | 54 private final Account mAccount; 78 mAccount = account; 106 mCurrentEntry = new VCardEntry(mVCardType, mAccount);
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
SyncAdapterTestCase.java | 41 public Account mAccount; 61 if (mAccount != null && mAccount.mId > 0) { 62 mResolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, 77 mAccount = new Account(); 78 mAccount.mEmailAddress = "__test__@android.com"; 79 mAccount.mId = -1; 82 return getTestService(mAccount, mailbox); 89 service.mAccount = account;
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
SyncAdapterTestCase.java | 41 public Account mAccount; 61 if (mAccount != null && mAccount.mId > 0) { 62 mResolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, 77 mAccount = new Account(); 78 mAccount.mEmailAddress = "__test__@android.com"; 79 mAccount.mId = -1; 82 return getTestService(mAccount, mailbox); 89 service.mAccount = account;
|
/packages/apps/Settings/src/com/android/settings/ |
AccountPreference.java | 40 private Account mAccount; 48 mAccount = account; 56 setTitle(mAccount.name); 63 return mAccount;
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
SyncStateCheckBoxPreference.java | 34 private Account mAccount; 46 mAccount = null; 52 mAccount = account; 139 return mAccount;
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
MakeIdentity.java | 34 private final String mAccount; 50 mAccount = account; 87 c.setEntityName(mAccount);
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountAuthenticator.java | 42 private Account mAccount; 72 return mAccount; 88 mAccount = null; 126 this.mAccount = account; 155 this.mAccount = account; 172 this.mAccount = account; 197 this.mAccount = account;
|
/packages/apps/Email/src/com/android/email/mail/ |
Store.java | 52 protected Account mAccount;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SynchronousContactsProvider2.java | 35 private Account mAccount; 141 if (mAccount == null) { 142 mAccount = new Account("androidtest@gmail.com", "com.google"); 144 return mAccount;
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupNames.java | 200 // Safety check here; If mAccount is null (due to external issues or bugs) 246 private final Account mAccount; 250 mAccount = account; 258 cv.put(AccountColumns.DISPLAY_NAME, mAccount.getDisplayName()); 259 cv.put(AccountColumns.SENDER_NAME, mAccount.getSenderName()); 260 mAccount.update(mContext, cv); 265 return Account.isSecurityHold(mContext, mAccount.mId); 273 AccountSetupNames.this, mAccount.mId, false);
|
AccountSettingsEditQuickResponsesFragment.java | 60 private Account mAccount; 234 mAccount = args.getParcelable("account"); 254 new QuickResponseFinder(mTaskTracker, mAccount.mId, mQuickResponsesView, 262 new QuickResponseFinder(mTaskTracker, mAccount.mId, mQuickResponsesView, 286 .newInstance(null, mAccount.mId)
|
AccountSettingsFragment.java | 111 private Account mAccount; 215 if (mAccount != null && !mLoaded) { 236 mAccount.mHostAuthRecv = 237 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv); 238 mAccount.mHostAuthSend = 239 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeySend); 242 Account refreshedAccount = Account.restoreAccountWithId(mContext, mAccount.mId); 243 if (refreshedAccount == null || mAccount.mHostAuthRecv == null 244 || mAccount.mHostAuthSend == null) { 249 mAccount.setDeletePolicy(refreshedAccount.getDeletePolicy()) [all...] |
AccountSecurity.java | 66 private Account mAccount; 117 mAccount = Account.restoreAccountWithId(AccountSecurity.this, accountId); 118 if (mAccount == null) { 127 PasswordExpirationDialog.newInstance(mAccount.getDisplayName(), 134 if (mAccount.mPolicyKey != 0) { 141 SecurityNeededDialog.newInstance(mAccount.getDisplayName()); 146 tryAdvanceSecurity(mAccount); 158 tryAdvanceSecurity(mAccount); 336 if (activity.mAccount == null) { 346 activity.tryAdvanceSecurity(activity.mAccount); [all...] |
/frameworks/base/core/java/android/accounts/ |
GrantCredentialsPermissionActivity.java | 46 private Account mAccount; 68 mAccount = extras.getParcelable(EXTRAS_ACCOUNT); 74 if (mAccount == null || mAuthTokenType == null || packages == null) { 83 accountTypeLabel = getAccountLabel(mAccount); 114 AccountManager.get(this).getAuthTokenLabel(mAccount.type, mAuthTokenType, callback, null); 131 ((TextView) findViewById(R.id.account_name)).setText(mAccount.name); 162 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true); 170 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncFragment.java | 69 private Account mAccount; 77 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), 110 || !ContentResolver.getSyncAutomatically(mAccount, CalendarContract.AUTHORITY)) { 130 mAccount = new Account(bundle.getString(Calendars.ACCOUNT_NAME), 165 mArgs[0] = mAccount.name; 166 mArgs[1] = mAccount.type;
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
NfcImportVCardActivity.java | 60 private AccountWithDataSet mAccount; 133 return new ImportRequest(mAccount, mRecord.getPayload(), null, 175 mAccount = null; 177 mAccount = accountList.get(0); 190 mAccount = new AccountWithDataSet(
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
AbstractSyncParser.java | 45 protected Account mAccount; 68 mAccount = mService.mAccount; 154 ExchangeService.reloadFolderList(mContext, mAccount.mId, true); 209 mAccount.mSyncInterval == Account.CHECK_INTERVAL_PUSH && 227 ExchangeService.stopAccountSyncs(mAccount.mId);
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
MailboxUtilitiesTests.java | 38 // All tests must build their accounts in mAccount so it will be deleted from live data 39 private Account mAccount; 53 mAccount = null; 63 if (mAccount != null && mAccount.mId > 0) { 65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null); 71 mAccount = setupTestAccount("acct1", true); 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MailboxUtilitiesTests.java | 38 // All tests must build their accounts in mAccount so it will be deleted from live data 39 private Account mAccount; 53 mAccount = null; 63 if (mAccount != null && mAccount.mId > 0) { 65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null); 71 mAccount = setupTestAccount("acct1", true); 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true [all...] |
/packages/apps/Browser/src/com/android/browser/ |
GoogleAccountLogin.java | 60 private final Account mAccount; 75 mAccount = account; 179 am.getAuthToken(mAccount, "SID", null, mActivity, this, null); 197 mAccount, "LSID", null, mActivity, this, null); 239 mAccount.name), 245 mAccount, "SID", null, mActivity, this, null); 267 Log.d(LOGTAG, "Finished login attempt for " + mAccount.name);
|